Repository
OCA/manufacture · module folder · Try on Runboat
Module version
1.0.1
Category
Manufacturing
Folder size
0.11 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/manufacture
Last tracking update
2026-08-07 07:47:35
Authors
Odoo Community Association (OCA), ForgeFlow
Maintainers
Odoo Community Association (OCA), ForgeFlow
Committers
Christopher Ormaza, Weblate, OCA-git-bot, oca-ci, Alessandro Uffreduzzi
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description

Code Analysis

Views touched (10)
XML IDNameModelTypeStatus
mrp_bom_form_view mrp.bom.form.view mrp.bom form 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 form 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 tree Inherits mrp.mrp_routing_workcenter_tree_view
HTTP endpoints (0)

No HTTP endpoints found for this module.

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)