mirror of
https://github.com/bringout/oca-ocb-mrp.git
synced 2026-04-26 04:12:03 +02:00
19.0 vanilla
This commit is contained in:
parent
accf5918df
commit
6e65e8c877
688 changed files with 225434 additions and 199401 deletions
|
|
@ -1,14 +1,15 @@
|
|||
<?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="name">stock.warehouse.orderpoint.list.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 name="show_bom" column_invisible="True"/>
|
||||
<field name="bom_id_placeholder" column_invisible="True"/> <!-- Needed for the placeholder widget -->
|
||||
<field name="bom_id" widget="stock.forced_placeholder" optional="hide" invisible="not show_bom" context="{'default_product_tmpl_id': product_tmpl_id, 'display_bom_uom_qty': True}" options="{'placeholder_field': 'bom_id_placeholder'}" decoration-muted="not bom_id"/>
|
||||
</field>
|
||||
</field>
|
||||
</record>
|
||||
</odoo>
|
||||
</odoo>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue