From 7db4373e946b241309d567a68b568cad8a5a2453 Mon Sep 17 00:00:00 2001 From: Marco Colombo Date: Fri, 7 Jun 2024 11:32:33 +0200 Subject: [PATCH] [FIX] l10n_it_declaration_of_intent: improve date description and positioning --- l10n_it_declaration_of_intent/models/declaration.py | 2 +- .../views/declaration_of_intent_view.xml | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/l10n_it_declaration_of_intent/models/declaration.py b/l10n_it_declaration_of_intent/models/declaration.py index ced3254e42a9..aadfc4345446 100644 --- a/l10n_it_declaration_of_intent/models/declaration.py +++ b/l10n_it_declaration_of_intent/models/declaration.py @@ -42,7 +42,7 @@ def _default_currency(self): return self.env.company.currency_id number = fields.Char(copy=False) - date = fields.Date(required=True) + date = fields.Date(required=True, string="Telematic Protocol Date") date_start = fields.Date(required=True) date_end = fields.Date(required=True) type = fields.Selection( diff --git a/l10n_it_declaration_of_intent/views/declaration_of_intent_view.xml b/l10n_it_declaration_of_intent/views/declaration_of_intent_view.xml index 4f488a57fe6e..8caeca0eaefd 100644 --- a/l10n_it_declaration_of_intent/views/declaration_of_intent_view.xml +++ b/l10n_it_declaration_of_intent/views/declaration_of_intent_view.xml @@ -44,16 +44,16 @@ name="telematic_protocol" attrs="{'readonly':[('state','!=','valid')]}" /> + -