OCA / l10n-argentina

Odoo modules for Argentina
GNU Affero General Public License v3.0
22 stars 51 forks source link

Error l10n_ar_wsfe_jasper: When viewing a customer invoice #39

Closed ssaid closed 1 year ago

ssaid commented 8 years ago

This error affects branch 8.0 When trying to view a customer invoice, the line [1] fails:

TypeError: unsupported operand type(s) for +: 'bool' and 'str'

[1] https://github.com/OCA/l10n-argentina/blob/8.0/l10n_ar_wsfe_jasper/invoice.py#L56

ssaid commented 8 years ago

The problem was that the partner defined for the current company had not set the vat field[1], soon I will do a PR to handle this kind of error.

[1] https://github.com/OCA/l10n-argentina/blob/8.0/l10n_ar_wsfe_jasper/invoice.py#L37