[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 <las@odoo.com>
Signed-off-by: Olivier Colson (oco) <oco@odoo.com>
This commit is contained in:
oco-odoo
2022-11-08 11:39:56 +01:00
parent c3c3f13eb7
commit db0672fa49
@@ -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),