MRP Request Workcenter Cycle

mrp_request_workcenter_cycle
REPOSITORY
REPOSITORYOCA/manufacture
GIT
GIThttps://github.com/OCA/manufacture.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/manufacture/tree/12.0/mrp_request_workcenter_cycle
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYManufacturing
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSHolger Brunn, OCA Transbot, David Beal, oca-travis, Weblate, OCA-git-bot
WEBSITE
WEBSITEhttps://github.com/OCA/manufacture/mrp_request_workcenter_cycle
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:29:20
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/manufacture:
    - mrp_production_request
OCA/stock-logistics-warehouse:
    - stock_available_unreserved
odoo/odoo:
    - mrp
    - product
    - base
    - decimal_precision
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
    - stock
    - barcodes
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
product_product_form_view_bom_button product.product xpath Inherits mrp.product_product_form_view_bom_button
view_mrp_production_request_form mrp.production.request xpath Inherits mrp_production_request.view_mrp_production_request_form
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.