Browse Source

[MIG]partner_contact_department: Migration to 13.0

14.0
Harald Panten 5 years ago
committed by newtratip
parent
commit
15b0a561bd
  1. 4
      partner_contact_department/models/res_partner.py

4
partner_contact_department/models/res_partner.py

@ -9,9 +9,7 @@ from odoo.exceptions import ValidationError
class ResPartner(models.Model): class ResPartner(models.Model):
_inherit = "res.partner" _inherit = "res.partner"
department_id = fields.Many2one(
"res.partner.department", "Department", oldname="department"
)
department_id = fields.Many2one("res.partner.department", "Department")
class ResPartnerDepartment(models.Model): class ResPartnerDepartment(models.Model):

Loading…
Cancel
Save