Repository
OCA/manufacture · module folder · Try on Runboat
Module version
1.0.1
Category
Manufacturing
Folder size
0.23 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/manufacture/mrp_request_workcenter_cycle
Last tracking update
2026-08-07 07:31:54
Authors
Akretion, Odoo Community Association (OCA)
Maintainers
Akretion, Odoo Community Association (OCA)
Committers
Holger Brunn, David Beal, Weblate, OCA Transbot, OCA-git-bot, oca-travis
Odoo dependencies
OCA/manufacture:
OCA/stock-logistics-warehouse:
odoo/odoo:
- mrp
- web
- bus
- uom
Python dependencies
None
System dependencies
None
Required by
None
Description

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
product_product_form_view_bom_button product.product form Inherits mrp.product_product_form_view_bom_button
view_mrp_production_request_form mrp.production.request form Inherits mrp_production_request.view_mrp_production_request_form
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (5)

New fields (4)
  • auto_product_qty Float
    compute='_compute_auto_product_qty' compute_sudo=True digits=dp.get_precision('Product Unit of Measure') store=True
  • qty_by_workcenter_ids One2many → mrp.request.workcenter
    comodel_name='mrp.request.workcenter' inverse_name='request_id' string='Workcenters cycles number'
  • target_quantity Float
    digits=dp.get_precision('Product Unit of Measure') help='This is your initial quantity defined before any cycle adjustement.'
  • workcenter_lines_count Integer
    compute='_compute_workcenter_lines_count' help='Technical field: size of qty_by_workcenter_ids field'
Public methods (2)
  • button_create_mo_by_workcenter(self)
  • populate_qty_by_workcenter(self)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (4)
  • product_qty Float
    string='Products by cycle'
  • request_id Many2one → mrp.production.request
    comodel_name='mrp.production.request' string='Production Request'
  • workcenter_cycle_no Float
    default='1' help='A cycle is complete ended process for the machine.\nMultiple cycles are several machines of the same kind in parallel or the same machine used several times.' string='Cycles'
  • workcenter_id Many2one → mrp.workcenter
    comodel_name='mrp.workcenter' required=True string='Workcenter'
Public methods (0)

No public methods.

New fields (1)
  • qty_by_workcenter_ids One2many → product.workcenter.quantity
    comodel_name='product.workcenter.quantity' groups='mrp_production_request.group_mrp_production_request_user' inverse_name='product_id' string='Capacity by workcenter'
Public methods (0)

No public methods.

New fields (4)
  • product_id Many2one → product.product
    comodel_name='product.product' string='Product'
  • product_qty Float
    default=1 help='Quantity of the product that the workcenter use in a cycle.'
  • workcenter_cycle_no Float
    default=1 help='Default number of cycles for the workcenter set for Manufacturing Request of this product.\n' string='Cycle Number'
  • workcenter_id Many2one → mrp.workcenter
    comodel_name='mrp.workcenter' string='Workcenter'
Public methods (0)

No public methods.