OdooWiki OCA HUB

Product Origin (French Departments)

l10n_fr_department_product_origin folder_open OCA/l10n-france open_in_new
Sales License: AGPL-3

This module extends the functionality of Product Origin module to add french department on products.

auto_awesome What this module does

AI-generated from the code · Odoo 16.0

Adds a "Department of Origin" field to products, so you can record the French department a product comes from alongside its country and state of origin.

This module builds on the product origin feature and the French departments data. It adds a new "Department of Origin" field on both product templates and product variants, shown right after the state of origin on the product form.

  • When you pick a department, the state of origin is filled in automatically from that department.
  • If you change the state of origin and the selected department no longer belongs to it, the department is cleared.
  • Odoo blocks saving if the department does not belong to the chosen state, with an error message naming both.
  • The list of selectable departments is filtered automatically: by the chosen state, or by all states of the chosen country if no state is set.

On the product search view you get a new "Department of Origin" filter and grouping option, so you can find or group products by department.

For products with a single variant, the department is shared between the template and the variant. The module touches product.product and product.template and depends on the product origin and French department modules.

Models and fields (2)
  • product.product · extends an existing modeldepartment_id (Department of Origin), department_id_domain
  • product.template · extends an existing modeldepartment_id (Department of Origin), department_id_domain

Text generated by AI (DeepSeek) from reading the Odoo 16.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 16.0

Confirmed on 2026-11-03 in branch 16.0 of OCA/l10n-france.

terminal Installation and usage

No verified information

Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.

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.