[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:
Josse Colpaert
2021-03-21 10:17:02 +00:00
parent af80644984
commit cbae410ee5
+1 -1
View File
@@ -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'])