diff --git a/yuthon_purchase/models/inherit_res_partner.py b/yuthon_purchase/models/inherit_res_partner.py index 07df1fc85..e1aeb14ff 100644 --- a/yuthon_purchase/models/inherit_res_partner.py +++ b/yuthon_purchase/models/inherit_res_partner.py @@ -5,4 +5,4 @@ from odoo import api, fields, models class InheritResPartner(models.Model): _inherit = 'res.partner' - category = fields.Selection([('party', '乙方'), ('suppliers', '供应商')], string='类型') \ No newline at end of file + category1 = fields.Selection([('party', '乙方'), ('suppliers', '供应商')], string='类型') \ No newline at end of file diff --git a/yuthon_purchase/views/inherit_res_partner_views.xml b/yuthon_purchase/views/inherit_res_partner_views.xml index dcd022720..edd78bba4 100644 --- a/yuthon_purchase/views/inherit_res_partner_views.xml +++ b/yuthon_purchase/views/inherit_res_partner_views.xml @@ -16,7 +16,7 @@ - +