MRP Routing

mrp_routing
REPOSITORY
REPOSITORYOCA/manufacture
GIT
GIThttps://github.com/OCA/manufacture.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/manufacture/tree/14.0/mrp_routing
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYManufacturing
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ForgeFlow
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ForgeFlow
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Christopher Ormaza, Alessandro Uffreduzzi
WEBSITE
WEBSITEhttps://github.com/OCA/manufacture
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:41:03
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - mrp
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
    - stock
    - barcodes
    - digest
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (10)
XML IDNameModelTypeStatus
mrp_bom_form_view mrp.bom.form.view mrp.bom xpath Inherits mrp.mrp_bom_form_view
mrp_routing_form_view mrp.routing.form mrp.routing form New
mrp_routing_kanban_view mrp.routing.kanban mrp.routing kanban New
mrp_routing_search_view mrp.routing.search mrp.routing search New
mrp_routing_tree_view mrp.routing.tree mrp.routing tree New
mrp_routing_workcenter_form_view mrp.routing.workcenter.form mrp.routing.workcenter xpath Inherits mrp.mrp_routing_workcenter_form_view
mrp_routing_workcenter_template_form_view mrp.routing.workcenter.template.form mrp.routing.workcenter.template form New
mrp_routing_workcenter_template_search_view mrp.routing.workcenter.template.search mrp.routing.workcenter.template search New
mrp_routing_workcenter_template_tree_view mrp.routing.workcenter.template.tree mrp.routing.workcenter.template tree New
mrp_routing_workcenter_tree_view mrp.routing.workcenter.tree mrp.routing.workcenter xpath Inherits mrp.mrp_routing_workcenter_tree_view
Models touched (4)

New fields (1)
  • routing_id Many2one → mrp.routing
    check_company=True comodel_name='mrp.routing' string='Predefined Operations' tracking=True
Public methods (1)
  • onchange_routing_id(self)
    @api.onchange('routing_id')

New fields (7)
  • active Boolean
    default=True help='If the active field is set to False, it will allow you to hide the routing without removing it.' args: 'Active'
  • bom_ids One2many → mrp.bom
    comodel_name='mrp.bom' copy=False inverse_name='routing_id' required=False string='Boms'
  • code Char
    copy=False default=<expr> readonly=True args: 'Reference'
  • company_id Many2one → res.company
    default=<expr> args: 'res.company', 'Company'
  • name Char
    required=True args: 'Routing'
  • note Text
    args: 'Description'
  • operation_ids Many2many → mrp.routing.workcenter.template
    comodel_name='mrp.routing.workcenter.template' string='Operations'
Public methods (2)
  • create(self, vals)
    @api.model
  • write(self, values)

New fields (2)
  • on_template_change Selection
    default='sync' required=False selection=[('nothing', 'Do nothing'), ('sync', 'Sync')] string='On template change?'
  • template_id Many2one → mrp.routing.workcenter.template
    comodel_name='mrp.routing.workcenter.template' readonly=False string='Template'
Public methods (1)
  • onchange_template_id(self)
    @api.onchange('template_id')

New fields (14)
  • company_id Many2one → res.company
    default=<expr> args: 'res.company', 'Company'
  • name Char
    required=True args: 'Operation'
  • note Text
    help='Text worksheet description' args: 'Description'
  • on_template_change Selection
    default='sync' required=False selection=[('nothing', 'Do nothing'), ('sync', 'Sync')] string='On template change?'
  • operation_ids One2many → mrp.routing.workcenter
    comodel_name='mrp.routing.workcenter' copy=False inverse_name='template_id' required=False string='Operations'
  • routing_ids Many2many → mrp.routing
    comodel_name='mrp.routing' string='Routings'
  • sequence Integer
    default=100 help='Gives the sequence order when displaying a list of routing Work Centers.' args: 'Sequence'
  • time_cycle_manual Float
    default=60 help="Time in minutes:- In manual mode, time used- In automatic mode, supposed first time when there aren't any work orders yet" args: 'Manual Duration'
  • time_mode Selection
    default='manual' string='Duration Computation' args: [('auto', 'Compute based on tracked time'), ('manual', 'Set duration manually')]
  • time_mode_batch Integer
    default=10 args: 'Based on'
  • workcenter_id Many2one → mrp.workcenter
    check_company=True required=True args: 'mrp.workcenter', 'Work Center'
  • worksheet Binary
    args: 'PDF'
  • worksheet_google_slide Char
    help='Paste the url of your Google Slide. Make sure the access to the document is public.' args: 'Google Slide'
  • worksheet_type Selection
    default='text' help='Defines if you want to use a PDF or a Google Slide as work sheet.' string='Work Sheet' args: [('pdf', 'PDF'), ('google_slide', 'Google Slide'), ('text', 'Text')]
Public methods (4)
  • create(self, values)
    @api.model_create_multi
  • create_operation_from_template(self, bom)
  • unlink(self)
  • write(self, values)