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

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