[UPD] upd module
@@ -3,7 +3,7 @@
'description': """
Change the rfc of the client
""",
- "version": "16.0.1.0.4",
+ "version": "16.0.1.0.5",
"category": "Partner",
"author": "M22",
'website': "https://www.m22.mx",
@@ -8,6 +8,7 @@ class ResPartner(models.Model):
@api.model_create_multi
def create(self, vals_list):
vals = super().create(vals_list)
- if vals.type == 'invoice':
- vals['vat'] = ""
+ for val in vals:
+ if val.type == 'invoice':
+ val['vat'] = ""
return vals