res_config_settings.py 440 B

123456789101112
  1. # -*- coding: utf-8 -*-
  2. # Part of Odoo. See LICENSE file for full copyright and licensing details.
  3. from odoo import api, fields, models
  4. class ResConfigSettings(models.TransientModel):
  5. _inherit = 'res.config.settings'
  6. cal_client_id = fields.Char("Client_id", config_parameter='google_calendar_client_id', default='')
  7. cal_client_secret = fields.Char("Client_key", config_parameter='google_calendar_client_secret', default='')