Browse Source

fixed calling erroes

pull/21/head
blaggacao 11 years ago
parent
commit
c7fa9323d8
  1. 2
      res_partner_fiscal_document/res_partner.py

2
res_partner_fiscal_document/res_partner.py

@ -68,7 +68,7 @@ class ResPartner(models.Model):
# If everything is fine, call subclasses # If everything is fine, call subclasses
if self.fiscal_id_type and self.fiscal_id: if self.fiscal_id_type and self.fiscal_id:
# Function for String Operations # Function for String Operations
res = self._validateandformatid(self)
res = self._validateandformatid()
if res['output_type'] and res['output_id']: if res['output_type'] and res['output_id']:
self.fiscal_id_type = res['output_type'] self.fiscal_id_type = res['output_type']
self.fiscal_id = , res['output_id'] self.fiscal_id = , res['output_id']

Loading…
Cancel
Save