OdooWiki OCA HUB

Mrp Production Move Line Auto Fill

mrp_production_move_line_auto_fill folder_open OCA/manufacture open_in_new
Uncategorised License: AGPL-3

This module adopts the functionality of stock_move_line_auto_fill in the manufacturing order.

auto_awesome What this module does

AI-generated from the code · Odoo 16.0

Adds an AutoFill button on manufacturing orders that automatically fills consumed quantities for raw material moves, based on what is reserved and should be consumed.

This module brings the automatic move line filling behaviour of stock_move_line_auto_fill into manufacturing orders.

On a manufacturing order form, an AutoFill button appears next to the Mark as Done button. It is only visible when the production is in progress or to close and has raw material moves, and when the operation type is not already set to auto fill operations.

When clicked, the button checks that the production is in a valid state. If not, it shows an error explaining that automatic filling is not possible, perhaps because the production is not in the right state. Otherwise, it fills the consumed quantity of each raw material move with the smaller of the quantity that should be consumed and the quantity currently reserved. Moves that already have a consumed quantity are left untouched.

A related field, Auto Fill Operations, comes from the operation type and controls whether the manual button is shown. When that option is enabled on the operation type, the button is hidden.

Changing the quantity producing on a manufacturing order resets the consumed quantities of raw material moves to zero, so they can be filled again.

The module also adjusts stock moves linked to a manufacturing order so they follow the auto fill and lot assignment settings of the production's operation type.

Models and fields (2)
  • stock.move · extends an existing model
  • mrp.production · extends an existing modelauto_fill_operation (Auto Fill Operations), action_op_auto_fill_allowed

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

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.