Repository
OCA/manufacture · module folder · Try on Runboat
Module version
1.0.0
Category
Uncategorized
Folder size
0.09 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/manufacture
Last tracking update
2026-08-17 18:05:55
Authors
Odoo Community Association (OCA), Tecnativa
Maintainers
Odoo Community Association (OCA), Tecnativa
Committers
Carlos Roca, Weblate, OCA-git-bot
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description
This module adds a wizard for replenishment cases that have the product
manufacturing route marked as a route. This wizard allows to establish
which quantity to create and with which bill of materials to manufacture
it.

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
material_availability_wizard_view material.availability.wizard.view material.availability.wizard form New
stock_warehouse_orderpoint_replenish_wizard_view_form stock.warehouse.orderpoint.replenish.wizard.view.form stock.warehouse.orderpoint.replenish.wizard form New
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (5)

New fields (6)
  • bom_id Many2one → mrp.bom
    string='Bill of Materials' args: 'mrp.bom'
  • max_production_qty Float
    compute='_compute_max_production_qty' digits='Product Unit' string='Maximum Production Quantity'
  • product_uom_id Many2one → uom.uom
    comodel_name='uom.uom' readonly=True related='bom_id.product_uom_id'
  • production_time Float
    compute='_compute_production_time'
  • qty_to_produce Float
    digits='Product Unit' string='Quantity to produce'
  • wizard_id Many2one → stock.warehouse.orderpoint.replenish.wizard
    comodel_name='stock.warehouse.orderpoint.replenish.wizard'
Public methods (1)
  • action_material_availability_popup(self)

New fields (3)
  • bom_id Many2one → mrp.bom
    string='Bill of Materials' args: 'mrp.bom'
  • product_ids One2many → material.availability.wizard.line
    comodel_name='material.availability.wizard.line' compute='_compute_product_ids' inverse_name='wizard_id' readonly=False store=True string='Products'
  • replenish_wizard_id Many2one → stock.warehouse.orderpoint.replenish.wizard
    args: 'stock.warehouse.orderpoint.replenish.wizard'
Public methods (1)
  • action_close(self)

New fields (4)
  • product_id Many2one → product.product
    string='Product' args: 'product.product'
  • product_qty_available Float
    digits='Product Unit' string='Quantity Available'
  • product_uom_id Many2one → uom.uom
    related='product_id.uom_id' string='Unit' args: 'uom.uom'
  • wizard_id Many2one → material.availability.wizard
    args: 'material.availability.wizard'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • action_replenish(self, force_to_max=False)

New fields (8)
  • bom_line_ids One2many → bom.line.wizard
    comodel_name='bom.line.wizard' compute='_compute_bom_line_ids' inverse_name='wizard_id' readonly=False store=True
  • orderpoint_id Many2one → stock.warehouse.orderpoint
    args: 'stock.warehouse.orderpoint'
  • product_id Many2one → product.product
    related='orderpoint_id.product_id' args: 'product.product'
  • product_tmpl_id Many2one → product.template
    related='product_id.product_tmpl_id' args: 'product.template'
  • product_uom_id Many2one → uom.uom
    related='orderpoint_id.product_uom' args: 'uom.uom'
  • qty_remaining_to_produce Float
    compute='_compute_qty_remaining_to_produce' digits='Product Unit' string='Quantity Remaining to Produce'
  • qty_to_order Float
    digits='Product Unit' related='orderpoint_id.qty_to_order'
  • total_qty_to_produce Float
    compute='_compute_total_qty_to_produce' digits='Product Unit' string='Total Quantity to Produce'
Public methods (1)
  • action_confirm(self)

Loading…

Loading…