mirror of
https://github.com/bringout/oca-ocb-mrp.git
synced 2026-04-25 03:32:01 +02:00
19.0 vanilla
This commit is contained in:
parent
accf5918df
commit
6e65e8c877
688 changed files with 225434 additions and 199401 deletions
|
|
@ -7,150 +7,70 @@
|
|||
<field name="priority" eval="35"/>
|
||||
<field name="inherit_id" ref="base.res_config_settings_view_form" />
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//div[hasclass('settings')]" position="inside">
|
||||
<div class="app_settings_block" data-string="Manufacturing" string="Manufacturing" data-key="mrp" groups="mrp.group_mrp_manager">
|
||||
<h2>Operations</h2>
|
||||
<div class="row mt16 o_settings_container" name="process_operations_setting_container">
|
||||
<div class="col-lg-6 col-12 o_setting_box" id="work_order" title="Work Order Operations allow you to create and manage the manufacturing operations that should be followed within your work centers in order to produce a product. They are attached to bills of materials that will define the required components.">
|
||||
<div class="o_setting_left_pane">
|
||||
<field name="group_mrp_routings"/>
|
||||
<field name="module_mrp_workorder" invisible="1"/>
|
||||
</div>
|
||||
<div class="o_setting_right_pane" id="workorder_settings">
|
||||
<label for="group_mrp_routings" string="Work Orders"/>
|
||||
<a href="https://www.odoo.com/documentation/16.0/applications/inventory_and_mrp/manufacturing/management/bill_configuration.html#adding-a-routing" title="Documentation" class="o_doc_link" target="_blank"></a>
|
||||
<div class="text-muted">
|
||||
Process operations at specific work centers
|
||||
</div>
|
||||
<div id="workorder_settings_workcenters" class="content-group" attrs="{'invisible': [('group_mrp_routings','=',False)]}">
|
||||
<div class="mt8">
|
||||
<div>
|
||||
<button name="%(mrp.mrp_workcenter_action)d" icon="fa-arrow-right" type="action" string="Work Centers" class="btn-link"/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="workorder_settings_dependencies" class="row mt-2" attrs="{'invisible': [('group_mrp_routings','=',False)]}">
|
||||
<field name="group_mrp_workorder_dependencies" class="col flex-grow-0 ml16 mr0 pe-2"/>
|
||||
<div class="col ps-0">
|
||||
<label for="group_mrp_workorder_dependencies"/>
|
||||
<div class="text-muted">
|
||||
Set the order that work orders should be processed in. Activate the feature within each BoM's Miscellaneous tab
|
||||
</div>
|
||||
<xpath expr="//form" position="inside">
|
||||
<app data-string="Manufacturing" string="Manufacturing" name="mrp" groups="mrp.group_mrp_manager">
|
||||
<block title="Operations" name="process_operations_setting_container">
|
||||
<setting id="work_order" string="Work Orders" help="Process operations at specific work centers" documentation="/applications/inventory_and_mrp/manufacturing/management/bill_configuration.html#adding-a-routing" title="Work Order Operations allow you to create and manage the manufacturing operations that should be followed within your work centers in order to produce a product. They are attached to bills of materials that will define the required components.">
|
||||
<field name="group_mrp_routings"/>
|
||||
<div id="workorder_settings_workcenters" class="content-group" invisible="not group_mrp_routings">
|
||||
<div class="mt8">
|
||||
<div>
|
||||
<button name="%(mrp.mrp_workcenter_action)d" icon="oi-arrow-right" type="action" string="Work Centers" class="btn-link"/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-6 col-12 o_setting_box">
|
||||
<div class="o_setting_left_pane">
|
||||
<field name="module_mrp_subcontracting"/>
|
||||
</div>
|
||||
<div class="o_setting_right_pane">
|
||||
<label for="module_mrp_subcontracting"/>
|
||||
<a href="https://www.odoo.com/documentation/16.0/applications/inventory_and_mrp/manufacturing/management/subcontracting.html" title="Documentation" class="o_doc_link" target="_blank"></a>
|
||||
<div class="text-muted">
|
||||
Subcontract the production of some products
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-6 col-12 o_setting_box" id="quality_control_mrp">
|
||||
<div class="o_setting_left_pane">
|
||||
<field name="module_quality_control" widget="upgrade_boolean"/>
|
||||
</div>
|
||||
<div class="o_setting_right_pane">
|
||||
<label for="module_quality_control"/>
|
||||
<div class="text-muted">
|
||||
Add quality checks to your work orders
|
||||
</div>
|
||||
<div class="row mt-2" attrs="{'invisible': [('module_quality_control','=',False)]}">
|
||||
<field name="module_quality_control_worksheet" widget="upgrade_boolean" class="col flex-grow-0 ml16 mr0 pe-2"/>
|
||||
<div class="col ps-0">
|
||||
<label for="module_quality_control_worksheet"/>
|
||||
<div class="text-muted">
|
||||
Create customizable worksheets for your quality checks
|
||||
</div>
|
||||
<div id="workorder_settings_dependencies" class="row mt-2" invisible="not group_mrp_routings">
|
||||
<field name="group_mrp_workorder_dependencies" class="col flex-grow-0 ml16 mr0 pe-2"/>
|
||||
<div class="col ps-0">
|
||||
<label for="group_mrp_workorder_dependencies"/>
|
||||
<div class="text-muted">
|
||||
Set the order that work orders should be processed in. Activate the feature within each BoM's Miscellaneous tab
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-6 col-12 o_setting_box" id="mrp_lock">
|
||||
<div class="o_setting_left_pane">
|
||||
<field name="group_unlocked_by_default"/>
|
||||
</div>
|
||||
<div class="o_setting_right_pane">
|
||||
<label for="group_unlocked_by_default"/>
|
||||
<div class="text-muted">
|
||||
Allow manufacturing users to modify quantities to consume, without the need for prior approval
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-6 col-12 o_setting_box" id="mrp_byproduct" title="Add by-products to bills of materials. This can be used to get several finished products as well. Without this option you only do: A + B = C. With the option: A + B = C + D.">
|
||||
<div class="o_setting_left_pane">
|
||||
<field name="group_mrp_byproducts"/>
|
||||
</div>
|
||||
<div class="o_setting_right_pane">
|
||||
<label for="group_mrp_byproducts"/>
|
||||
<div class="text-muted">
|
||||
Produce residual products (A + B -> C + D)
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-12 col-lg-6 o_setting_box" id="mrp_reception_report">
|
||||
<div class="o_setting_left_pane">
|
||||
<field name="group_mrp_reception_report"/>
|
||||
</div>
|
||||
<div class="o_setting_right_pane">
|
||||
<label for="group_mrp_reception_report"/>
|
||||
<div class="text-muted">
|
||||
View and allocate manufactured quantities
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<h2>Planning</h2>
|
||||
<div class="row mt16 o_settings_container">
|
||||
<div class="col-lg-6 col-12 o_setting_box" id="mrp_mps" title="Using a MPS report to schedule your reordering and manufacturing operations is useful if you have long lead time and if you produce based on sales forecasts.">
|
||||
<div class="o_setting_left_pane">
|
||||
<field name="module_mrp_mps" widget="upgrade_boolean"/>
|
||||
</div>
|
||||
<div class="o_setting_right_pane">
|
||||
<label for="module_mrp_mps"/>
|
||||
<a href="https://www.odoo.com/documentation/16.0/applications/inventory_and_mrp/manufacturing/management/use_mps.html" title="Documentation" class="o_doc_link" target="_blank"></a>
|
||||
<div class="text-muted">
|
||||
Plan manufacturing or purchase orders based on forecasts
|
||||
</div>
|
||||
<div class="content-group" id="content_mrp_mps"/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-6 col-12 o_setting_box" id="security_lead_time">
|
||||
<div class="o_setting_left_pane">
|
||||
<field name="use_manufacturing_lead"/>
|
||||
</div>
|
||||
<div class="o_setting_right_pane">
|
||||
<label string="Security Lead Time" for="use_manufacturing_lead"/>
|
||||
<a href="https://www.odoo.com/documentation/16.0/applications/inventory_and_mrp/inventory/management/planning/scheduled_dates.html" title="Documentation" class="me-2 o_doc_link" target="_blank"></a>
|
||||
<span class="fa fa-lg fa-building-o" title="Values set here are company-specific." role="img" aria-label="Values set here are company-specific." groups="base.group_multi_company"/>
|
||||
<div class="text-muted">
|
||||
Schedule manufacturing orders earlier to avoid delays
|
||||
</div>
|
||||
<div class="content-group" attrs="{'invisible': [('use_manufacturing_lead','=',False)]}">
|
||||
<div class="mt16" >
|
||||
<field name="manufacturing_lead" class="oe_inline"/> days
|
||||
</setting>
|
||||
<setting help="Delegate part of the production process to subcontractors" documentation="/applications/inventory_and_mrp/manufacturing/management/subcontracting.html">
|
||||
<field name="module_mrp_subcontracting"/>
|
||||
</setting>
|
||||
<setting id="process_mrp_barcodes" help="Process manufacturing orders from the barcode application">
|
||||
<field name="module_stock_barcode" widget="upgrade_boolean"/>
|
||||
</setting>
|
||||
<setting id="quality_control_mrp" help="Add quality checks to your work orders">
|
||||
<field name="module_quality_control" widget="upgrade_boolean"/>
|
||||
<div class="row mt-2" invisible="not module_quality_control">
|
||||
<field name="module_quality_control_worksheet" widget="upgrade_boolean" class="col flex-grow-0 ml16 mr0 pe-2"/>
|
||||
<div class="col ps-0">
|
||||
<label for="module_quality_control_worksheet"/>
|
||||
<div class="text-muted">
|
||||
Create customizable worksheets for your quality checks
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</setting>
|
||||
<setting help="Allow manufacturing users to modify quantities to consume, without the need for prior approval" id="mrp_lock">
|
||||
<field name="group_unlocked_by_default"/>
|
||||
</setting>
|
||||
<setting id="mrp_byproduct" help="Produce residual products (A + B -> C + D)" title="Add by-products to bills of materials. This can be used to get several finished products as well. Without this option you only do: A + B = C. With the option: A + B = C + D.">
|
||||
<field name="group_mrp_byproducts"/>
|
||||
</setting>
|
||||
<setting id="mrp_reception_report" help="View and allocate production quantities to customer orders or other manufacturing orders">
|
||||
<field name="group_mrp_reception_report"/>
|
||||
</setting>
|
||||
</block>
|
||||
<block title="Planning">
|
||||
<setting id="mrp_mps" help="Plan manufacturing or purchase orders based on forecasts" documentation="/applications/inventory_and_mrp/manufacturing/management/use_mps.html" title="Using a MPS report to schedule your reordering and manufacturing operations is useful if you have long lead time and if you produce based on sales forecasts.">
|
||||
<field name="module_mrp_mps" widget="upgrade_boolean"/>
|
||||
</setting>
|
||||
</block>
|
||||
</app>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="action_mrp_configuration" model="ir.actions.act_window">
|
||||
<field name="name">Settings</field>
|
||||
<field name="type">ir.actions.act_window</field>
|
||||
<field name="res_model">res.config.settings</field>
|
||||
<field name="view_mode">form</field>
|
||||
<field name="target">inline</field>
|
||||
<field name="context">{'module' : 'mrp', 'bin_size': False}</field>
|
||||
</record>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue