OdooWiki OCA HUB

Manufacturing - Workcenter Cost Duration

mrp_workcenter_cost folder_open OCA/manufacture open_in_new
Manufacturing/Manufacturing License: AGPL-3

This module allows you to configure how to compute the cost of a manufactured product:

  • Effective: standard Odoo behavior, the cost is computed based on the real duration of the workcenter.
  • Theoretical: the cost is computed based on the theoretical duration of the workcenter.

auto_awesome What this module does

AI-generated from the code · Odoo 16.0

Lets you choose, per product, whether manufacturing workcenter costs are calculated from the real time spent or the planned (theoretical) time. The setting appears on the product form and is used when a manufacturing order is valued.

This module adds a new option on manufactured products that decides how the workcenter portion of the manufacturing cost is valued.

On the product form, in the same section as lots and weight, you now find a radio-button choice called "Workcenter Cost Duration" with two options: - Effective: the cost uses the real duration recorded on the work orders (this is the standard Odoo behaviour and the default). - Theoretical: the cost uses the planned duration of the work orders instead of the real time.

The choice is stored on product.template and is required, so every product always has one of the two values.

When a manufacturing order is marked as done and its cost is computed, the module checks the product's setting. If it is set to Theoretical and no work order time has already been recorded as a cost, the system temporarily replaces the real durations with the planned durations before calculating the cost, then restores the original real durations afterwards. This means the accounting valuation reflects the planned time, while the actual time entries remain unchanged for reporting.

If the product is set to Effective, nothing changes compared with standard Odoo. The module touches product.template and mrp.production and depends on mrp_account.

Depends on

mrp_account
Models and fields (1)
  • product.template · extends an existing modelmrp_workcenter_cost (Workcenter Cost Duration)

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/manufacture.

terminal Installation and usage

OCA documentation · Odoo 16.0

On a product form, you can configure the Workcenter Cost Duration method.

By default it is set to Effective (standard Odoo behavior). By setting it to Theoretical, the cost will be computed based on the theoretical duration of the workcenter (ignoring the real duration fill by the user).

No verified information in OCA: Installation, Configuration.

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.