[MERGE] base: raise an exception if the format of the bank account is wrong
[odoo/odoo.git] / openerp / addons / base / res / res_lang_view.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <openerp>
3     <data>
4         <record id="res_lang_tree" model="ir.ui.view">
5             <field name="name">res.lang.tree</field>
6             <field name="model">res.lang</field>
7             <field name="arch" type="xml">
8                 <tree string="Languages">
9                     <field name="name"/>
10                     <field name="code"/>
11                     <field name="iso_code"/>
12                     <field name="direction"/>
13                     <field name="translatable"/>
14                     <field name="active"/>
15                     <button name="%(base.action_wizard_update_translations)d"
16                     string="Update Terms" type="action" icon="gtk-ok" help="Update Languague Terms"/>
17                 </tree>
18             </field>
19         </record>
20         <record id="res_lang_form" model="ir.ui.view">
21             <field name="name">res.lang.form</field>
22             <field name="model">res.lang</field>
23             <field name="arch" type="xml">
24                 <form string="Languages" version="7.0">
25                    <sheet>
26                     <group col="6" colspan="4">
27                         <field name="name"/>
28                         <field name="code" />
29                         <field name="iso_code"/>
30                         <newline/>
31                         <field name="grouping" />
32                         <field name="date_format"/>
33                         <field name="time_format"/>
34                         <newline/>
35                         <field name="direction" />
36                         <field name="decimal_point"/>
37                         <field name="thousands_sep"/>
38                         <newline/>
39                         <field name="active" />
40                         <field name="translatable"/>
41                     </group>
42                     <separator colspan="4" string="Legends for Date and Time Formats"/>
43                     <group col="4" colspan="4">
44                          <label align="0.0" string="%%a - Abbreviated weekday name."/>
45                          <label align="0.0" string="%%A - Full weekday name."/>
46                          <newline/>
47                          <label align="0.0" string="%%b - Abbreviated month name."/>
48                          <label align="0.0" string="%%B - Full month name." />
49                          <newline/>
50                          <label align="0.0" string="%%c - Appropriate date and time representation." />
51                          <label align="0.0" string="%%d - Day of the month [01,31]." />
52                          <newline/>
53                          <label align="0.0" string="%%H - Hour (24-hour clock) [00,23]." />
54                          <label align="0.0" string="%%I - Hour (12-hour clock) [01,12]." />
55                          <newline/>
56                          <label align="0.0" string="%%j - Day of the year [001,366]." />
57                          <label align="0.0" string="%%m - Month number [01,12]." />
58                          <newline/>
59                          <label align="0.0" string="%%M - Minute [00,59]." />
60                          <label align="0.0" string="%%p - Equivalent of either AM or PM." />
61                          <newline/>
62                          <label align="0.0" string="%%S - Seconds [00,61]." />
63                          <label align="0.0" string="%%w - Weekday number [0(Sunday),6]." />
64                          <newline/>
65                          <label align="0.0" string="%%x - Appropriate date representation." />
66                          <label align="0.0" string="%%X - Appropriate time representation." />
67                          <newline/>
68                          <label align="0.0" string="%%y - Year without century [00,99]." />
69                          <label align="0.0" string="%%Y - Year with century." />
70                          <newline/>
71                          <label align="0.0" string="%%U - Week number of the year (Sunday as the first day of the week) as a decimal number [00,53]. All days in a new year preceding the first Sunday are considered to be in week 0." />
72                          <label align="0.0" string="%%W - Week number of the year (Monday as the first day of the week) as a decimal number [00,53]. All days in a new year preceding the first Monday are considered to be in week 0." />
73                          <newline/>
74                          <label align="0.0" string="======================================================" />
75                     </group>
76                     <newline/>
77                     <group colspan="4" col="4">
78                         <separator string="Examples" colspan="4"/>
79                         <newline/>
80                         <label align="0.0" string="1.  %%c              ==> Fri Dec  5 18:25:20 2008"/>
81                         <label align="0.0" string="2.  %%a ,%%A         ==> Fri, Friday"/>
82                         <newline/>
83                         <label align="0.0" string="3.  %%x ,%%X         ==> 12/05/08, 18:25:20"/>
84                         <label align="0.0" string="4.  %%b, %%B         ==> Dec, December"/>
85                         <newline/>
86                         <label align="0.0" string="5.  %%y, %%Y         ==> 08, 2008"/>
87                         <label align="0.0" string="6.  %%d, %%m         ==> 05, 12"/>
88                         <newline/>
89                         <label align="0.0" string="7.  %%H:%%M:%%S      ==> 18:25:20"/>
90                         <label align="0.0" string="8.  %%I:%%M:%%S %%p  ==> 06:25:20 PM"/>
91                         <newline/>
92                         <label align="0.0" string="9.  %%j              ==> 340"/>
93                         <label align="0.0" string="10. %%S              ==> 20"/>
94                         <newline/>
95                         <label align="0.0" string="11. %%U or %%W       ==> 48 (49th week)"/>
96                         <label align="0.0" string="12. %%w              ==> 5 ( Friday is the 6th day)"/>
97                         <newline/>
98                     </group>
99                   </sheet>
100                 </form>
101             </field>
102         </record>
103         <record id="res_lang_search" model="ir.ui.view">
104             <field name="name">res.lang.search</field>
105             <field name="model">res.lang</field>
106             <field name="arch" type="xml">
107                 <search string="Languages">
108                     <field name="name"
109                         filter_domain="['|', '|', ('name','ilike',self), ('code','ilike',self), ('iso_code','ilike',self)]"
110                         string="Language"/>
111                     <filter string="Translatable" icon="terp-tools" domain="[('translatable','=',True)]"/>
112                     <field name="direction"/>
113                 </search>
114             </field>
115         </record>
116
117         <record id="res_lang_act_window" model="ir.actions.act_window">
118             <field name="name">Languages</field>
119             <field name="res_model">res.lang</field>
120             <field name="view_type">form</field>
121             <field name="context">{'active_test': False}</field>
122             <field name="search_view_id" ref="res_lang_search"/>
123         </record>
124         <menuitem action="res_lang_act_window" id="menu_res_lang_act_window" parent="menu_translation" groups="base.group_no_one" sequence="1"/>
125     </data>
126 </openerp>