|
@@ -93,12 +93,14 @@
|
|
<field colspan="4" name="lines" nolabel="1" attrs="{'readonly':[('state','!=','draft')]}">
|
|
<field colspan="4" name="lines" nolabel="1" attrs="{'readonly':[('state','!=','draft')]}">
|
|
<tree editable="bottom">
|
|
<tree editable="bottom">
|
|
<field name="product_id" domain="[('type','!=','service')]" required="1" options="{'no_create':True,'no_open':True}"/>
|
|
<field name="product_id" domain="[('type','!=','service')]" required="1" options="{'no_create':True,'no_open':True}"/>
|
|
- <field name="factory_reference" readonly="1"/>
|
|
|
|
|
|
+ <field name="factory_reference" invisible="1"/>
|
|
<field name="product_qty" required="1" sum="qty"/>
|
|
<field name="product_qty" required="1" sum="qty"/>
|
|
<field name="product_uom_id" required="1" invisible="1"/>
|
|
<field name="product_uom_id" required="1" invisible="1"/>
|
|
<field name="source_location" invisible="1"/>
|
|
<field name="source_location" invisible="1"/>
|
|
<field name="dest_location" invisible="1"/>
|
|
<field name="dest_location" invisible="1"/>
|
|
<field name="note" invisible="1"/>
|
|
<field name="note" invisible="1"/>
|
|
|
|
+ <field name="lot_id" domain="[('product_id','=',product_id)]"/>
|
|
|
|
+
|
|
</tree>
|
|
</tree>
|
|
</field>
|
|
</field>
|
|
<group>
|
|
<group>
|