From 2ea2f268c2ad706102e95d62749f1a529b598c2e Mon Sep 17 00:00:00 2001 From: "Guillaume (guva)" Date: Thu, 24 Aug 2023 07:39:10 +0000 Subject: [PATCH] [FIX] account: don't auto save on boolean widget When creating a reconciliation model line on a new record, by activate the boolean toggle on `force_tax_included` field, the line is save but as the reco model is not, `check_company` will raise an error. Steps: - Create a new model - Before saving, create a line, set a tax and click on Tax included toggle button -> Error is raised opw-3473189 closes odoo/odoo#133233 X-original-commit: 796478445e5bc7da95b8a0aaab4dcbe235bb2957 Signed-off-by: Brice Bartoletti (bib) Signed-off-by: Guillaume Vanleynseele (guva) --- addons/account/views/account_reconcile_model_views.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/account/views/account_reconcile_model_views.xml b/addons/account/views/account_reconcile_model_views.xml index a39e0140990..bd39ed9e219 100644 --- a/addons/account/views/account_reconcile_model_views.xml +++ b/addons/account/views/account_reconcile_model_views.xml @@ -200,6 +200,7 @@ options="{'account_field': 'account_id', 'business_domain': 'general'}"/>