mirror of
https://github.com/ForgeFlow/stock-rma.git
synced 2025-01-21 12:57:49 +02:00
[14.0][IMP]Fill rma lines in tree (#156)
* [IMP] rma: Fill rma lines in tree
This commit is contained in:
committed by
Jasmin Solanki
parent
0b898e5b1c
commit
7d0936617a
@@ -146,17 +146,27 @@
|
||||
'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"
|
||||
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>
|
||||
@@ -287,20 +297,29 @@
|
||||
'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"
|
||||
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="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