From 1aa35de41ac1292a993b680e7befa471930ac4ef Mon Sep 17 00:00:00 2001 From: william-andre Date: Mon, 5 Dec 2022 13:52:28 +0000 Subject: [PATCH] [FIX] account: required default account on journal The default account was marked as required in the view (bold underline) but the validation didn't happen. This made it possible to set up journals without that required field. Since owl, only the last `required` attribute is remembered, so we need to define it at least correctly on the last field declaration. Related: 48ef812a635f70571b395f82ffdb2969ce99da9e bd6b98a65fca59e804faefea129c9e18acb196a6 opw-3061073 closes odoo/odoo#108173 X-original-commit: 7628888d61843ed9e9b76039884572e923ba382f Signed-off-by: Nicolas Viseur (vin) --- .../account/views/account_journal_views.xml | 39 +++++++------------ 1 file changed, 14 insertions(+), 25 deletions(-) diff --git a/addons/account/views/account_journal_views.xml b/addons/account/views/account_journal_views.xml index e7b5f352d6e..642cb39911d 100644 --- a/addons/account/views/account_journal_views.xml +++ b/addons/account/views/account_journal_views.xml @@ -28,7 +28,6 @@
-
@@ -56,38 +55,28 @@ - - +