mirror of
https://github.com/ForgeFlow/stock-rma.git
synced 2025-01-21 12:57:49 +02:00
Merge pull request #131 from ForgeFlow/12.0-rma-lots-usability
[12.0][IMP]Fill rma lines in tree
This commit is contained in:
@@ -103,14 +103,22 @@
|
||||
<field name="rma_line_ids" context="{'default_rma_id': active_id,
|
||||
'default_partner_id': partner_id,
|
||||
'hide_title': True}">
|
||||
<tree string="RMA Lines" name="lines">
|
||||
<tree string="RMA Lines" name="lines" editable="bottom">
|
||||
<field name="sequence" widget="handle"/>
|
||||
<field name="state" invisible="True"/>
|
||||
<field name="partner_id" invisible="True"/>
|
||||
<field name="product_id"/>
|
||||
<field name="lot_id" groups="stock.group_production_lot"/>
|
||||
<field name="lot_id" groups="stock.group_production_lot" domain="[('product_id', '=', product_id)]" context="{'default_product_id': product_id}"/>
|
||||
<field name="name"/>
|
||||
<field name="uom_id" groups="uom.group_uom"/>
|
||||
<field name="operation_id"/>
|
||||
<field name="location_id" invisible="True"/>
|
||||
<field name="in_route_id" invisible="True"/>
|
||||
<field name="out_route_id" invisible="True"/>
|
||||
<field name="in_warehouse_id" invisible="True"/>
|
||||
<field name="out_warehouse_id" invisible="True"/>
|
||||
<field name="customer_to_supplier" invisible="True"/>
|
||||
<field name="supplier_address_id" invisible="True"/>
|
||||
<field name="product_qty"/>
|
||||
<field name="price_unit"/>
|
||||
</tree>
|
||||
@@ -210,17 +218,24 @@
|
||||
'default_partner_id': partner_id,
|
||||
'supplier': 1,
|
||||
'hide_title': True}">
|
||||
<tree string="RMA Lines">
|
||||
<tree string="RMA Lines" editable="bottom">
|
||||
<field name="sequence" widget="handle"/>
|
||||
<field name="state" invisible="True"/>
|
||||
<field name="name"/>
|
||||
<field name="partner_id" invisible="True"/>
|
||||
<field name="product_id"/>
|
||||
<field name="lot_id" groups="stock.group_production_lot"/>
|
||||
<field name="name"/>
|
||||
<field name="lot_id" groups="stock.group_production_lot" domain="[('product_id', '=', product_id)]" context="{'default_product_id': product_id}"/>
|
||||
<field name="uom_id" groups="uom.group_uom"/>
|
||||
<field name="operation_id"/>
|
||||
<field name="location_id" invisible="True"/>
|
||||
<field name="in_route_id" invisible="True"/>
|
||||
<field name="out_route_id" invisible="True"/>
|
||||
<field name="in_warehouse_id" invisible="True"/>
|
||||
<field name="out_warehouse_id" invisible="True"/>
|
||||
<field name="supplier_to_customer" invisible="True"/>
|
||||
<field name="customer_address_id" invisible="True"/>
|
||||
<field name="product_qty"/>
|
||||
<field name="origin"/>
|
||||
<field name="price_unit"/>
|
||||
</tree>
|
||||
</field>
|
||||
</page>
|
||||
|
||||
Reference in New Issue
Block a user