Files
odoo_source/addons/mrp/views/stock_orderpoint_views.xml
T
Arnold Moyaux 90f067cce8 [IMP] stock, mrp, purchase_stock: allow to define vendor, bom on orderpoints
Allow to set a BoM or a vendor on an orderpoint. In this case it's
passed to the values and will be processed by _run_buy and
_run_manufacture to use them.

Task: 2161378
2020-04-22 08:04:32 +00:00

14 lines
751 B
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="view_warehouse_orderpoint_tree_editable_inherited_purchase" model="ir.ui.view">
<field name="name">stock.warehouse.orderpoint.tree.editable.inherit.purchase</field>
<field name="model">stock.warehouse.orderpoint</field>
<field name="inherit_id" ref="stock.view_warehouse_orderpoint_tree_editable"/>
<field name="arch" type="xml">
<field name="route_id" position="after">
<field name="show_bom" invisible="1"/>
<field name="bom_id" optional="hide" attrs="{'invisible': [('show_bom', '=', False)]}" context="{'default_product_tmpl_id': product_tmpl_id}"/>
</field>
</field>
</record>
</odoo>