/usr/share/pyshared/trytond/ir/sequence.xml is in tryton-server 2.2.1-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 | <?xml version="1.0"?>
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
this repository contains the full copyright notices and license terms. -->
<tryton>
<data>
<menuitem name="Sequences" parent="menu_administration"
id="menu_sequences"/>
<record model="ir.ui.view" id="sequence_view_form">
<field name="model">ir.sequence</field>
<field name="type">form</field>
<field name="arch" type="xml">
<![CDATA[
<form string="Sequences">
<label name="name"/>
<field name="name" colspan="3"/>
<label name="code"/>
<field name="code"/>
<label name="active"/>
<field name="active"/>
<label name="prefix"/>
<field name="prefix"/>
<label name="suffix"/>
<field name="suffix"/>
<label name="type"/>
<field name="type"/>
<group string="Incremental" id="incremental" colspan="4"
states="{'invisible': Not(In(Eval('type'), ['incremental']))}">
<label name="padding"/>
<field name="padding" />
<label name="number_increment"/>
<field name="number_increment"/>
<label name="number_next"/>
<field name="number_next"/>
</group>
<group string="Timestamp" id="timestamp" colspan="4"
states="{'invisible': Not(In(Eval('type'), ['decimal timestamp', 'hexadecimal timestamp']))}">
<label name="timestamp_rounding"/>
<field name="timestamp_rounding"/>
<label name="timestamp_offset"/>
<field name="timestamp_offset"/>
<field name="last_timestamp"/>
</group>
<separator string="Legend (Placeholders for prefix, suffix)" colspan="4"
id="legend"/>
<label string="Year:" id="label_year"/>
<label string="${year}" colspan="3" xalign="0.0" xexpand="1" id="year"/>
<label string="Month:" id="label_month"/>
<label string="${month}" colspan="3" xalign="0.0" xexpand="1" id="month"/>
<label string="Day:" id="label_day"/>
<label string="${day}" colspan="3" xalign="0.0" xexpand="1" id="day"/>
</form>
]]>
</field>
</record>
<record model="ir.ui.view" id="sequence_view_tree">
<field name="model">ir.sequence</field>
<field name="type">tree</field>
<field name="arch" type="xml">
<![CDATA[
<tree string="Sequences">
<field name="name"/>
<field name="code"/>
<field name="type"/>
<field name="active"/>
</tree>
]]>
</field>
</record>
<record model="ir.action.act_window" id="act_sequence_form">
<field name="name">Sequences</field>
<field name="type">ir.action.act_window</field>
<field name="res_model">ir.sequence</field>
<field name="context">{'active_test': False}</field>
</record>
<record model="ir.action.act_window.view"
id="act_sequence_form_view1">
<field name="sequence" eval="1"/>
<field name="view" ref="sequence_view_tree"/>
<field name="act_window" ref="act_sequence_form"/>
</record>
<record model="ir.action.act_window.view"
id="act_sequence_form_view2">
<field name="sequence" eval="2"/>
<field name="view" ref="sequence_view_form"/>
<field name="act_window" ref="act_sequence_form"/>
</record>
<menuitem parent="menu_sequences"
action="act_sequence_form" id="menu_sequence_form"/>
<record model="ir.ui.view" id="sequence_strict_view_form">
<field name="model">ir.sequence.strict</field>
<field name="type">form</field>
<field name="inherit" ref="sequence_view_form"/>
<field name="arch" type="xml">
<![CDATA[
]]>
</field>
</record>
<record model="ir.ui.view" id="sequence_strict_view_tree">
<field name="model">ir.sequence.strict</field>
<field name="type">tree</field>
<field name="inherit" ref="sequence_view_tree"/>
<field name="arch" type="xml">
<![CDATA[
]]>
</field>
</record>
<record model="ir.action.act_window" id="act_sequence_strict_form">
<field name="name">Sequences Strict</field>
<field name="type">ir.action.act_window</field>
<field name="res_model">ir.sequence.strict</field>
<field name="context">{'active_test': False}</field>
</record>
<record model="ir.action.act_window.view"
id="act_sequence_strict_form_view1">
<field name="sequence" eval="1"/>
<field name="view" ref="sequence_strict_view_tree"/>
<field name="act_window" ref="act_sequence_strict_form"/>
</record>
<record model="ir.action.act_window.view"
id="act_sequence_strict_form_view2">
<field name="sequence" eval="2"/>
<field name="view" ref="sequence_strict_view_form"/>
<field name="act_window" ref="act_sequence_strict_form"/>
</record>
<menuitem parent="menu_sequences"
action="act_sequence_strict_form" id="menu_sequence_strict_form"/>
<record model="ir.ui.view" id="sequence_type_view_form">
<field name="model">ir.sequence.type</field>
<field name="type">form</field>
<field name="arch" type="xml">
<![CDATA[
<form string="Sequence Type">
<label name="name"/>
<field name="name"/>
<label name="code"/>
<field name="code" readonly="1"/>
</form>
]]>
</field>
</record>
<record model="ir.ui.view" id="sequence_type_view_tree">
<field name="model">ir.sequence.type</field>
<field name="type">tree</field>
<field name="arch" type="xml">
<![CDATA[
<tree string="Sequence Type">
<field name="name"/>
<field name="code"/>
</tree>
]]>
</field>
</record>
<record model="ir.action.act_window"
id="act_sequence_type_form">
<field name="name">Sequence Types</field>
<field name="type">ir.action.act_window</field>
<field name="res_model">ir.sequence.type</field>
</record>
<record model="ir.action.act_window.view"
id="act_sequence_type_form_view1">
<field name="sequence" eval="1"/>
<field name="view" ref="sequence_type_view_tree"/>
<field name="act_window" ref="act_sequence_type_form"/>
</record>
<record model="ir.action.act_window.view"
id="act_sequence_type_form_view2">
<field name="sequence" eval="2"/>
<field name="view" ref="sequence_type_view_form"/>
<field name="act_window" ref="act_sequence_type_form"/>
</record>
<menuitem parent="menu_sequences"
action="act_sequence_type_form" id="menu_ir_sequence_type"/>
</data>
</tryton>
|