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

Delta Between Two Patch Sets: doc/topics/views/extension.rst

Issue 907042: First snapshot of trytond documentation refactoring (Closed)
Left Patch Set: Fix remarks Created 14 years, 11 months ago
Right Patch Set: Fix last comments Created 14 years, 11 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:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « doc/topics/reports/index.rst ('k') | doc/topics/views/index.rst » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 .. _topics-extension: 1 .. _topics-extension:
2 2
3 =========== 3 ==============
4 Extend view 4 Extending View
5 =========== 5 ==============
6 6
7 Extend a view means, that the original view will be modified by a set of rules 7 Extending a view means, that the original view will be modified by a set of
8 that are defined with XML. 8 rules which are defined with XML.
9 9
10 For this purpose, the extension engine uses xpath expressions. 10 For this purpose, the extension engine uses xpath expressions.
11 11
12 The view is defined with the field ``inherit`` of the ir.ui.view. 12 The view is defined with the field ``inherit`` of the ir.ui.view.
13 13
14 If the field ``domain`` (a Python string representation of a :ref:`domain 14 If the field ``domain`` (a Python string representation of a :ref:`domain
15 <topics-domain>`) is not set or evaluated to True, the inheritance will be 15 <topics-domain>`) is not set or evaluated to True, the inheritance will be
16 proceeded. 16 proceeded.
17 17
18 XML description 18 XML Description
19 =============== 19 ===============
20 20
21 data 21 data
22 ---- 22 ----
23 23
24 Each view must start with this tag. 24 Each view must start with this tag.
25 25
26 xpath 26 xpath
27 ----- 27 -----
28 28
(...skipping 15 matching lines...) Expand all
44 expr="/form/notebook/page/separator[@name=&quot;signature&quot;]" 44 expr="/form/notebook/page/separator[@name=&quot;signature&quot;]"
45 position="before"> 45 position="before">
46 <label name="main_company"/> 46 <label name="main_company"/>
47 <field name="main_company"/> 47 <field name="main_company"/>
48 <label name="company"/> 48 <label name="company"/>
49 <field name="company"/> 49 <field name="company"/>
50 <label name="employee"/> 50 <label name="employee"/>
51 <field name="employee"/> 51 <field name="employee"/>
52 </xpath> 52 </xpath>
53 </data> 53 </data>
LEFTRIGHT

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