mirror of
https://github.com/OCA/stock-logistics-warehouse.git
synced 2025-01-21 14:27:28 +02:00
no need to modify action, once the tree view is set as editable it will work as itended, no need to remove form from the view modes.
48 lines
1.7 KiB
XML
48 lines
1.7 KiB
XML
<?xml version="1.0" ?>
|
|
<odoo>
|
|
<record id="stock_demand_estimate_view_tree" model="ir.ui.view">
|
|
<field name="name">stock.demand.estimate.tree</field>
|
|
<field name="model">stock.demand.estimate</field>
|
|
<field
|
|
name="inherit_id"
|
|
ref="stock_demand_estimate.stock_demand_estimate_view_tree"
|
|
/>
|
|
<field name="arch" type="xml">
|
|
<field name="date_from" position="before">
|
|
<field name="date_range_id" />
|
|
</field>
|
|
<tree position="attributes">
|
|
<attribute name="edit">1</attribute>
|
|
<attribute name="editable">bottom</attribute>
|
|
</tree>
|
|
</field>
|
|
</record>
|
|
<record id="stock_demand_estimate_view_pivot" model="ir.ui.view">
|
|
<field name="name">stock.demand.estimate.pivot</field>
|
|
<field name="model">stock.demand.estimate</field>
|
|
<field
|
|
name="inherit_id"
|
|
ref="stock_demand_estimate.stock_demand_estimate_view_pivot"
|
|
/>
|
|
<field name="arch" type="xml">
|
|
<field name="product_id" position="after">
|
|
<field name="date_range_id" type="col" />
|
|
</field>
|
|
</field>
|
|
</record>
|
|
<record id="stock_demand_estimate_view_search" model="ir.ui.view">
|
|
<field name="name">stock.demand.estimate.search</field>
|
|
<field name="model">stock.demand.estimate</field>
|
|
<field
|
|
name="inherit_id"
|
|
ref="stock_demand_estimate.stock_demand_estimate_view_search"
|
|
/>
|
|
<field name="arch" type="xml">
|
|
<field name="location_id" position="after">
|
|
<field name="date_range_id" />
|
|
</field>
|
|
</field>
|
|
</record>
|
|
|
|
</odoo>
|