From db0672fa49af9809b5d3e623dbd2b0491d37a438 Mon Sep 17 00:00:00 2001 From: oco-odoo Date: Fri, 4 Nov 2022 13:03:20 +0000 Subject: [PATCH] [FIX] account: forbid quick create on tax tags on account.move's form Those tags should only be created by the tax reports; creating them manually makes no sense. closes odoo/odoo#105227 X-original-commit: 116c8090da9d900c04c9257269b42c462ec77f98 Signed-off-by: Laurent Smet Signed-off-by: Olivier Colson (oco) --- addons/account/views/account_move_views.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/account/views/account_move_views.xml b/addons/account/views/account_move_views.xml index 919e0ab4940..39a27c1cbc5 100644 --- a/addons/account/views/account_move_views.xml +++ b/addons/account/views/account_move_views.xml @@ -1104,6 +1104,7 @@ widget="many2many_tags" string="Tax Grids" optional="show" + options="{'no_create': True}" domain="[ ('applicability', '=', 'taxes'), '|', ('country_id', '=', parent.tax_country_id),