From d57c55c173a2dc1f9e7db48c08e5c9db8303af64 Mon Sep 17 00:00:00 2001 From: PoMa Date: Wed, 17 Aug 2022 15:32:54 +0000 Subject: [PATCH] [IMP] account: UX improvements Remove quick create from the places that is either not needed or not possible Task #2850996 closes odoo/odoo#104640 X-original-commit: ae0a11a8ce3c35542ba5ae8f6366018b88ec40d5 Signed-off-by: Olivier Colson (oco) Signed-off-by: Pouya Malekinejad (poma) --- addons/account/views/account_account_views.xml | 2 +- addons/account/views/account_journal_views.xml | 8 +++++--- addons/account/views/account_payment_view.xml | 2 ++ addons/account/views/account_reconcile_model_views.xml | 1 + 4 files changed, 9 insertions(+), 4 deletions(-) diff --git a/addons/account/views/account_account_views.xml b/addons/account/views/account_account_views.xml index 911bd57c607..402e942dfbb 100644 --- a/addons/account/views/account_account_views.xml +++ b/addons/account/views/account_account_views.xml @@ -60,7 +60,7 @@ - + diff --git a/addons/account/views/account_journal_views.xml b/addons/account/views/account_journal_views.xml index d9c668b1409..6469087f6d0 100644 --- a/addons/account/views/account_journal_views.xml +++ b/addons/account/views/account_journal_views.xml @@ -115,6 +115,7 @@ placeholder="Leave empty to use the default outstanding account" string="Outstanding Receipts accounts" optional="hide" + options="{'no_quick_create': True}" groups="account.group_account_readonly"/> @@ -132,6 +133,7 @@ placeholder="Leave empty to use the default outstanding account" string="Outstanding Payments accounts" optional="hide" + options="{'no_quick_create': True}" groups="account.group_account_readonly"/> @@ -142,7 +144,7 @@
Keep empty for no control
- +
@@ -166,8 +168,8 @@
- - + +
diff --git a/addons/account/views/account_payment_view.xml b/addons/account/views/account_payment_view.xml index 917312683fe..a1afe015ab4 100644 --- a/addons/account/views/account_payment_view.xml +++ b/addons/account/views/account_payment_view.xml @@ -249,9 +249,11 @@