Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(4)

Side by Side Diff: sale.xml

Issue 4642048: Update to 2.0 and add Shipment Cost Method (Closed)
Patch Set: Created 13 years, 9 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « sale.py ('k') | setup.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <?xml version="1.0"?>
2 <!-- This file is part of Tryton. The COPYRIGHT file at the top level of
3 this repository contains the full copyright notices and license terms. -->
4 <tryton>
5 <data>
6 <record model="ir.ui.view" id="sale_configuration_view_form">
7 <field name="model">sale.configuration</field>
8 <field name="type">form</field>
9 <field name="inherit" ref="sale.sale_configuration_view_form"/>
10 <field name="arch" type="xml">
11 <![CDATA[
12 <data>
13 <xpath expr="/form/field[@name='sale_shipment_method']"
14 position="after">
15 <label name="sale_shipment_cost_method"/>
16 <field name="sale_shipment_cost_method"/>
17 </xpath>
18 </data>
19 ]]>
20 </field>
21 </record>
22
23 <record model="ir.property" id="property_sale_shipment_cost_method">
24 <field name="name">sale_shipment_cost_method</field>
25 <field name="field"
26 search="[('model.model', '=', 'sale.configuration'), ('name', '= ', 'sale_shipment_cost_method')]" />
27 <field name="value">,order</field>
28 </record>
29
30 <record model="ir.ui.view" id="sale_view_form">
31 <field name="model">sale.sale</field>
32 <field name="type">form</field>
33 <field name="inherit" ref="sale.sale_view_form"/>
34 <field name="arch" type="xml">
35 <![CDATA[
36 <data>
37 <xpath expr="/form/notebook/page[@id='sale']/field[@name='cu rrency']"
38 position="after">
39 <label name="carrier"/>
40 <field name="carrier"/>
41 </xpath>
42 <xpath expr="/form/notebook/page[@id='sale']/field[@name='li nes']/tree"
43 position='inside'>
44 <field name="shipment_cost" tree_invisible="1"/>
45 </xpath>
46 <xpath
47 expr="/form/notebook/page[@id='other']/field[@name='ship ment_method']"
48 position="after">
49 <label name="shipment_cost_method"/>
50 <field name="shipment_cost_method"/>
51 </xpath>
52 </data>
53 ]]>
54 </field>
55 </record>
56 </data>
57 </tryton>
OLDNEW
« no previous file with comments | « sale.py ('k') | setup.py » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b