From 0a14655b24744f6d3cd9e75d761173dca302af93 Mon Sep 17 00:00:00 2001 From: Eduard Adrian Dinu Date: Mon, 26 Jan 2026 14:31:21 +0100 Subject: [PATCH] [IMP] l10n_es: hide simplified invoice field for non-ES companies Before this commit, the 'l10n_es_is_simplified' field was visible on invoices for all companies, even if they were not Spanish. This commit hides the field if the company's country is not Spain. It also ensures the field is readonly when the entry is posted. Task-ID: 5867665 --- addons/l10n_es/views/account_move_views.xml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/addons/l10n_es/views/account_move_views.xml b/addons/l10n_es/views/account_move_views.xml index 9ac07b1c7b67e..6d53e86c1dab5 100644 --- a/addons/l10n_es/views/account_move_views.xml +++ b/addons/l10n_es/views/account_move_views.xml @@ -6,7 +6,10 @@ - +