Browse Source

[FIX][13.0] partner_identification id number check

14.0
Thierry Ducrest 4 years ago
committed by Tran Thanh Phuc
parent
commit
231ee55754
  1. 3
      partner_identification/models/res_partner_id_number.py

3
partner_identification/models/res_partner_id_number.py

@ -17,7 +17,8 @@ class ResPartnerIdNumber(models.Model):
@api.constrains("name", "category_id")
def validate_id_number(self):
self.category_id.validate_id_number(self)
for record in self:
record.category_id.validate_id_number(record)
name = fields.Char(
string="ID Number",

Loading…
Cancel
Save