You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

18 lines
516 B

# © 2016 Yannick Vaucher (Camptocamp SA)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from odoo import fields, models
class ResCompany(models.Model):
_inherit = 'res.company'
prefix_a_name = fields.Char()
prefix_a_integer = fields.Integer()
prefix_a_partner_id = fields.Many2one(comodel_name='res.partner')
class MyConfigA(models.TransientModel):
_name = 'res.config.settings'
_inherit = ['res.config.settings', 'abstract.config.settings']
_prefix = 'prefix_a_'