[IMP] Improve tree and form view to be more readable

[IMP] Change the order
[IMP] Update template and french translation

bzr revid: christophe.chauvet@syleam.fr-20091208100027-r0jsx0b0g7f2yel2
This commit is contained in:
Christophe Chauvet
2009-12-08 11:00:27 +01:00
parent db949d535e
commit a4cfc08caf
4 changed files with 38 additions and 14 deletions
+12 -2
View File
@@ -5,8 +5,8 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: support@openerp.com\n"
"POT-Creation-Date: 2009-12-07 22:08:12+0000\n"
"PO-Revision-Date: 2009-12-07 23:14+0100\n"
"POT-Creation-Date: 2009-12-08 09:51:18+0000\n"
"PO-Revision-Date: 2009-12-08 10:52+0100\n"
"Last-Translator: Christophe Chauvet <christophe.chauvet@syleam.fr>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
@@ -82,6 +82,11 @@ msgstr ""
msgid "Main Company"
msgstr "Société principale"
#. module: multi_company
#: view:multi_company.default:0
msgid "Condition"
msgstr "Condition"
#. module: multi_company
#: help:multi_company.default,company_dest_id:0
msgid "Company to store the current record"
@@ -157,3 +162,8 @@ msgstr "Erreur: code EAN invalide"
msgid "Expression, must be True to match"
msgstr "L'expression doit être à True pour correspondre"
#. module: multi_company
#: view:multi_company.default:0
msgid "Matching"
msgstr "Critère de correspondance"
+12 -2
View File
@@ -6,8 +6,8 @@ msgid ""
msgstr ""
"Project-Id-Version: OpenERP Server 5.0.6\n"
"Report-Msgid-Bugs-To: support@openerp.com\n"
"POT-Creation-Date: 2009-12-07 22:08:12+0000\n"
"PO-Revision-Date: 2009-12-07 22:08:12+0000\n"
"POT-Creation-Date: 2009-12-08 09:51:18+0000\n"
"PO-Revision-Date: 2009-12-08 09:51:18+0000\n"
"Last-Translator: <>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
@@ -79,6 +79,11 @@ msgstr ""
msgid "Main Company"
msgstr ""
#. module: multi_company
#: view:multi_company.default:0
msgid "Condition"
msgstr ""
#. module: multi_company
#: help:multi_company.default,company_dest_id:0
msgid "Company to store the current record"
@@ -154,3 +159,8 @@ msgstr ""
msgid "Expression, must be True to match"
msgstr ""
#. module: multi_company
#: view:multi_company.default:0
msgid "Matching"
msgstr ""
+1 -1
View File
@@ -33,7 +33,7 @@ class multi_company_default(osv.osv):
"""
_name = 'multi_company.default'
_description = 'Default multi company'
_order = 'company_id,company_dest_id,sequence,id'
_order = 'company_id,sequence,id'
_columns = {
'sequence': fields.integer('Sequence'),
+13 -9
View File
@@ -8,12 +8,12 @@
<field name="priority" eval="8"/>
<field name="arch" type="xml">
<tree string="Multi Company">
<field name="sequence"/>
<field name="name"/>
<field name="company_id" groups="base.group_multi_company"/>
<field name="company_dest_id"/>
<field name="object_id"/>
<field name="expression" />
<field name="sequence"/>
<field name="company_dest_id"/>
<field name="name"/>
</tree>
</field>
</record>
@@ -24,12 +24,16 @@
<field name="priority" eval="8"/>
<field name="arch" type="xml">
<form string="Multi Company">
<field name="sequence"/>
<field name="name"/>
<field name="company_id" groups="base.group_multi_company"/>
<field name="company_dest_id"/>
<field name="object_id"/>
<field name="expression" />
<group col="6" colspan="4">
<field name="name" colspan="6"/>
<separator string="Matching" colspan="6"/>
<field name="company_id" groups="base.group_multi_company"/>
<field name="object_id"/>
<field name="company_dest_id"/>
<separator string="Condition" colspan="6"/>
<field name="expression" colspan="4"/>
<field name="sequence"/>
</group>
</form>
</field>
</record>