Anpassung Angebot/Auftrag keine on-the-fly Anlage von Produkten
parent
90291a1f42
commit
62e07dd6a5
|
|
@ -42,6 +42,18 @@
|
|||
<xpath expr="//field[@name='order_line']/form//field[@name='name']" position="after">
|
||||
<field name="intrastat_id"/>
|
||||
</xpath>
|
||||
<!--
|
||||
<xpath expr="//field[@name='order_line']/form//field[@name='product_id']" position="replace">
|
||||
<field name="product_id" options="{'no_create': True}"/>
|
||||
</xpath>
|
||||
-->
|
||||
<xpath expr="//field[@name='order_line']/tree//field[@name='product_id']" position="replace">
|
||||
<field name="product_id"
|
||||
context="{'partner_id':parent.partner_id, 'quantity':product_uom_qty, 'pricelist':parent.pricelist_id, 'uom':product_uom, 'company_id': parent.company_id}"
|
||||
attrs="{'readonly': [('product_updatable', '=', False)]}"
|
||||
force_save="1"
|
||||
options="{'no_create': True}"/>
|
||||
</xpath>
|
||||
<xpath expr="//field[@name='order_line']/form//field[@name='product_id']" position="after">
|
||||
<field name="lot_id"/>
|
||||
<field name="from_designbox"/>
|
||||
|
|
|
|||
Loading…
Reference in New Issue