from odoo import models, fields # 为公司增加字段 class Company(models.Model): _inherit = 'res.company' factory_name = fields.Char('加工工厂')