From efcdc274ff5084c75c301156905fcd51e563e861 Mon Sep 17 00:00:00 2001 From: Katherine Zaoral Date: Wed, 18 Mar 2020 19:55:52 +0000 Subject: [PATCH] [FIX] l10n_ar: Dedicated Credit Note Sequence field was appering in journals that were not of type sales and journals. We update the hence of the view to take into account the original invisible domain plus the domain we need for journals that use documents closes odoo/odoo#48526 X-original-commit: 085fd43fd0b8a13dd713fbb4e34126ebe63ea504 Signed-off-by: Josse Colpaert --- addons/l10n_ar/views/account_journal_view.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/addons/l10n_ar/views/account_journal_view.xml b/addons/l10n_ar/views/account_journal_view.xml index cec73b81d73..d40b674bd0f 100644 --- a/addons/l10n_ar/views/account_journal_view.xml +++ b/addons/l10n_ar/views/account_journal_view.xml @@ -15,6 +15,9 @@ + + {'invisible': ['|', ('type', 'not in', ['sale', 'purchase']), ('l10n_latam_use_documents', '=', True), ('l10n_latam_country_code', '=', 'AR')]} +