From e660b4db6dbb9388ff12310eed55b384a15dd495 Mon Sep 17 00:00:00 2001 From: "maximilien(malb)" Date: Wed, 30 Nov 2022 14:45:49 +0000 Subject: [PATCH] [IMP] accounting: invoice view modifications Following some user brain tests analysis, the following small modifications have been implemented to improve the usability of the app. * Delete the quick create option of the payment terms * Change the name of the payment column in the invoice menu * Removing the tags of the payment column when the state is different of posted * When only one currency is activated the currency symbol wasn't displayed anymore cause of recent change on the js side with "group", by adding the field currency_id invisible in the arch the problem is solved closes odoo/odoo#106903 Task-id: 3085423 Related: odoo/enterprise#34558 Signed-off-by: Florian Gilbert (flg) --- addons/account/views/account_move_views.xml | 6 ++++-- addons/account/wizard/account_payment_register_views.xml | 1 + 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/addons/account/views/account_move_views.xml b/addons/account/views/account_move_views.xml index 9012f348e9c..4d8a8f83936 100644 --- a/addons/account/views/account_move_views.xml +++ b/addons/account/views/account_move_views.xml @@ -421,11 +421,12 @@ @@ -825,7 +826,8 @@ attrs="{'invisible': ['|', ('state', '!=', 'draft'), ('invoice_payment_term_id', '!=', False)]}"> or + placeholder="Terms" + options="{'no_quick_create':True}"/>