Replace nested view by reference id
issue2401 review219007
This commit is contained in:
1 parent
6d46a12792
commit
d45e547f4b
1 file changed
+18
-5
+18
-5
@@ -11,11 +11,8 @@ this repository contains the full copyright notices and license terms. -->
|
||||
<data>
|
||||
<xpath expr="/form/field[@name="delivery_time"]"
|
||||
position="after">
|
||||
<field name="weekdays" colspan="4">
|
||||
<tree string="Week Days" editable="bottom" fill="1">
|
||||
<field name="weekday"/>
|
||||
</tree>
|
||||
</field>
|
||||
<field name="weekdays" colspan="4"
|
||||
view_ids="stock_supply_day.product_supplier_weekdayview_tree_editable"/>
|
||||
</xpath>
|
||||
</data>
|
||||
]]>
|
||||
@@ -41,6 +38,7 @@ this repository contains the full copyright notices and license terms. -->
|
||||
<record model="ir.ui.view" id="product_supplier_weekdayview_tree">
|
||||
<field name="model">purchase.product_supplier.day</field>
|
||||
<field name="type">tree</field>
|
||||
<field name="priority" eval="10"/>
|
||||
<field name="arch" type="xml">
|
||||
<![CDATA[
|
||||
<tree string="Week Day">
|
||||
@@ -51,5 +49,20 @@ this repository contains the full copyright notices and license terms. -->
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record model="ir.ui.view"
|
||||
id="product_supplier_weekdayview_tree_editable">
|
||||
<field name="model">purchase.product_supplier.day</field>
|
||||
<field name="type">tree</field>
|
||||
<field name="priority" eval="20"/>
|
||||
<field name="arch" type="xml">
|
||||
<![CDATA[
|
||||
<tree string="Week Day" editable="bottom" fill="1">
|
||||
<field name="product_supplier"/>
|
||||
<field name="weekday"/>
|
||||
</tree>
|
||||
]]>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
</data>
|
||||
</tryton>
|
||||
Reference in new issue
Block a user