This commit adapts the business code to changes introduced by the parent commit in order to keep the same behaviour as before. All readonly=False fields will have to be checked afterwards to confirm that the business case requires write access to the source field.
12 lines
417 B
Python
12 lines
417 B
Python
# -*- coding: utf-8 -*-
|
|
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
|
|
from odoo import fields, models
|
|
|
|
|
|
class ResConfigSettings(models.TransientModel):
|
|
_inherit = 'res.config.settings'
|
|
|
|
pad_server = fields.Char(related='company_id.pad_server', string="Pad Server *", readonly=False)
|
|
pad_key = fields.Char(related='company_id.pad_key', string="Pad Api Key *", readonly=False)
|