From 65345eb502a4bcc73c7f5b1a312f75018a20f344 Mon Sep 17 00:00:00 2001 From: michelerusti Date: Tue, 13 Jun 2023 22:03:00 +0200 Subject: [PATCH] [16.0][FIX] - account_vat_period_end_statement - wrong form proportions --- account_vat_period_end_statement/__manifest__.py | 5 +++++ .../static/src/css/l10n_it_vat_registries.css | 6 ++++++ account_vat_period_end_statement/views/account_view.xml | 6 +++++- 3 files changed, 16 insertions(+), 1 deletion(-) diff --git a/account_vat_period_end_statement/__manifest__.py b/account_vat_period_end_statement/__manifest__.py index 547311a1c96c..cb46559db561 100644 --- a/account_vat_period_end_statement/__manifest__.py +++ b/account_vat_period_end_statement/__manifest__.py @@ -30,5 +30,10 @@ "views/config.xml", "views/account_view.xml", ], + "assets": { + "web.assets_backend": [ + "account_vat_period_end_statement/static/src/css/l10n_it_vat_registries.css", + ], + }, "installable": True, } diff --git a/account_vat_period_end_statement/static/src/css/l10n_it_vat_registries.css b/account_vat_period_end_statement/static/src/css/l10n_it_vat_registries.css index fd51a6cf1fcf..c2b7c1094c97 100644 --- a/account_vat_period_end_statement/static/src/css/l10n_it_vat_registries.css +++ b/account_vat_period_end_statement/static/src/css/l10n_it_vat_registries.css @@ -58,3 +58,9 @@ thead { border-color: #a1a1a1; background: #fff; } + +@media (min-width: 576px) { + .o_form_view .o_inner_group.form_inner_group_auto_width { + grid-template-columns: auto auto; + } +} diff --git a/account_vat_period_end_statement/views/account_view.xml b/account_vat_period_end_statement/views/account_view.xml index b810264f97c7..e6d700e27f73 100644 --- a/account_vat_period_end_statement/views/account_view.xml +++ b/account_vat_period_end_statement/views/account_view.xml @@ -99,7 +99,11 @@ - +