many2many_tax_tags
many2many_tax_tags is the tags widget tuned for accounting: identical options, one deliberate change, the dropdown always offers Search More, because tax grids are long and picking the wrong one is a filing error.
| Technical name | many2many_tax_tags |
|---|---|
| Field types | many2many, one2many |
| Views | form, list (journal items, tax configuration) |
| Module | account (Invoicing/Accounting) |
| Used in core | 35 occurrences across account and l10n modules, journal items and tax configuration views |
| Versions | Odoo 20.0, Odoo 19.0, Odoo 18.0, Odoo 17.0, Odoo 16.0 |
| No-code setup | Preset on accounting views; not a Studio-facing widget |
| Alternatives | many2many_tags, autosave_many2many_tax_tags, many2many_checkboxes |
What the tax tags widget does
What this means for your team
Supported options in Odoo 19
| Option | Type | What it does |
|---|---|---|
color_field | field name | Inherited from many2many_tags: integer field on the tag model for pill colors. |
no_create | boolean | Inherited: removes creation entirely. Recommended on grid-tag fields; tags belong to the localization. |
no_quick_create | boolean | Inherited: removes only inline creation from typed text. |
no_create_edit | boolean | Inherited: removes only the Create-and-edit popup entry. |
create | domain | Inherited: conditional creation domain. |
search_threshold | number | Inherited: minimum characters before the search fires. |
placeholder_field | field name | Inherited: char field supplying a dynamic placeholder. |
create_name_field | field name | Inherited undocumented option: which field receives typed text on inline creation.(default: name) |
The delta is behavior, not options. No new option exists to configure the Search More entry; it is unconditional by design. If you need the plain dropdown behavior on a tax-tag field, use the base many2many_tags widget instead, though for grid tags we would advise against it.
Working examples
Search More, guaranteed
Version compatibility
| Version | Status | Notes |
|---|---|---|
| Odoo 20.0 | Partial / changed | Not released. Own file unchanged; inherits the base tags widget's Odoo 20 changes. See below. |
| Odoo 19.0 | Verified | Verified against the shipped source and tested on a clean database. |
| Odoo 18.0 | Verified | Same behavior. No XML changes needed. |
| Odoo 17.0 | Verified | Same behavior. No XML changes needed. |
| Odoo 16.0 | Verified | Same behavior. No XML changes needed. |
Upgrade note. The widget inherits whatever the base tags widget does per version, so the notes on that page apply, including the Odoo 20 changes to the base. Its own delta, the guaranteed Search More, is unchanged across supported versions.
What is changing in Odoo 20
Common problems and fixes
| Symptom | Cause and fix |
|---|---|
| Amounts land in the wrong tax report box | Wrong grid tag on the journal items, manually set or from a misconfigured tax repartition. Fix the tax's repartition tags so documents tag themselves; correct affected entries. |
| Users created a bogus tax tag | Inherited creation paths are open by default. Add no_create: True on document-facing views; grid tags come from the localization. |
| Cannot find the right grid in the dropdown | Long localization lists truncate in any dropdown. Use the always-present Search More; your typed text carries into the dialog's search. |
| Tag change did not persist without saving the move | This widget commits with the document save, like normal fields. Save the entry, or use views built on the autosave sibling where immediate persistence is intended. |
| Tags show without colors | color_field is not set on this view, inherited behavior. Add options="{'color_field': ...}" if the tag model carries a color integer. |
Tax tags widget vs the alternatives
| Widget | Best for | Key difference |
|---|---|---|
many2many_tax_tags | Tax grid tags on journal items and tax configuration | Base tags widget plus a guaranteed Search More with carried-over search text |
| many2many_tags | General-purpose labels anywhere | Search More appears only when results overflow |
autosave_many2many_tax_tags | Tax tags that must save on change | Same widget with immediate persistence |
many2many_checkboxes | Short fixed sets shown in full | Every option visible, no search at all |
Frequently asked questions
What is the difference between many2many_tax_tags and many2many_tags?+
What do tax grid tags actually do?+
Should users edit tax tags on journal items by hand?+
Can I stop users creating new tax tags?+
What is autosave_many2many_tax_tags?+
Will Odoo 20 change this widget?+
Tax returns that fill themselves correctly?
Grid tags are only as good as the tax configuration behind them. We set up localizations, tax repartition and the controls that keep journal items filing-clean, on Odoo 16 through 19.
Book a free consultation