Files
odoo_source/addons/google_spreadsheet/models/base_config_settings.py
T
Akash Bhavsar 4b373c1035 [FIX] google_spreadsheet: add a related field to generate a google_drive_uri code
As the field was displayed twice on the General Settings form by specification, we need to add a related field.
2017-01-06 09:56:28 +01:00

11 lines
367 B
Python

# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from odoo import fields, models
class BaseConfigSettings(models.TransientModel):
_inherit = "base.config.settings"
google_drive_uri_copy = fields.Char(related='google_drive_uri', string='URI', help="The URL to generate the authorization code from Google")