[FIX] l10n_ar: wrong fw-port as l10n_latam_country_code does not exist anymore
closes odoo/odoo#68181 X-original-commit: 82788f6b6a2501412b2deff8da70867b67db4d6f Signed-off-by: William André (wan) <wan@odoo.com>
This commit is contained in:
@@ -49,7 +49,7 @@ class AccountMove(models.Model):
|
||||
|
||||
In this method we exclude the argentinian document type 99 from the generic constraint """
|
||||
ar_doctype_99 = self.filtered(
|
||||
lambda x: x.l10n_latam_country_code == 'AR' and
|
||||
lambda x: x.country_code == 'AR' and
|
||||
x.l10n_latam_document_type_id.code == '99' and
|
||||
x.move_type in ['out_refund', 'in_refund'])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user