OdooWiki OCA HUB

Analytic Tag Dimension Purchase Warning

analytic_tag_dimension_purchase_warning folder_open OCA/account-analytic open_in_new
Generic Modules/Accounting License: AGPL-3

This module extends the functionality of analytic_tag_dimension to have the warning appear while saving purchase orders, if two tags from the same dimension are used.

auto_awesome What this module does

AI-generated from the code · Odoo 12.0

Adds a warning when saving purchase order lines that use two analytic tags from the same dimension, helping keep analytic accounting consistent.

This module connects the analytic tag dimension rules to purchase orders. It makes purchase order lines follow the same analytic dimension logic already used elsewhere in accounting.

When a user saves a purchase order line, the system checks the analytic tags selected on that line. If two tags belonging to the same dimension are used together, a warning is raised so the user can correct the entry before it is saved.

The module works on the purchase.order.line model and links it to the analytic dimension line behaviour. The analytic tags are read from the analytic_tag_ids field on the purchase order line.

It installs automatically when both the analytic tag dimension module and the purchase module are present, so no manual setup is needed. There are no new menus or screens; the change appears directly in the purchase order line form when tags are selected and the record is saved.

Depends on

Models and fields (1)
  • purchase.order.line · new model

Text generated by AI (DeepSeek) from reading the Odoo 12.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 1 confirmed, 8 with no information of 9 versions.

Sources · Odoo 12.0

Confirmed on 2026-11-03 in branch 12.0 of OCA/account-analytic.

terminal Installation and usage

OCA documentation · Odoo 12.0

Nothing to do if you already configured analytic_tag_dimension

No verified information in OCA: Installation, Usage.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.