Reviewers: ,


Please review this at http://codereview.tryton.org/228002/

Affected files:
  M sale.xml


Index: sale.xml
===================================================================

--- a/sale.xml
+++ b/sale.xml
@@ -40,10 +40,6 @@
                         <label name="carrier"/>
                         <field name="carrier"/>
                     </xpath>
- <xpath expr="/form/notebook/page[@id='sale']/field[@name='lines']/tree"
-                        position='inside'>
-                        <field name="shipment_cost" tree_invisible="1"/>
-                    </xpath>
                     <xpath
expr="/form/notebook/page[@id='other']/field[@name='shipment_method']"
                         position="after">
@@ -54,5 +50,21 @@
                 ]]>
             </field>
         </record>
+
+        <record model="ir.ui.view" id="sale_line_view_tree_sequence">
+            <field name="model">sale.line</field>
+            <field name="type">tree</field>
+            <field name="inherit" ref="sale.sale_line_view_tree_sequence"/>
+            <field name="arch" type="xml">
+                <![CDATA[
+                <data>
+                    <xpath expr="/tree" position="inside">
+                        <field name="shipment_cost" tree_invisible="1"/>
+                    </xpath>
+                </data>
+                ]]>
+            </field>
+        </record>
+
     </data>
 </tryton>



--
[email protected] mailing list

Reply via email to