6 lines
235 B
Python
6 lines
235 B
Python
from odoo import fields, models, api, _
|
|
|
|
class ResConfigSettings(models.TransientModel):
|
|
_inherit = 'res.config.settings'
|
|
|
|
weather_api_key = fields.Char(string="OpenWeatherMap API Key", config_parameter="weather_infor.api_key") |