Make chart of accounts not translatable

issue3432
review21431002
This commit is contained in:
Sergi Almacellas Abellana
2015-10-05 17:11:09 +02:00
parent 2bcf33d95f
commit 4e64574063
12 changed files with 260 additions and 9 deletions
-9
View File
@@ -4,15 +4,6 @@ this repository contains the full copyright notices and license terms. -->
<tryton>
<data>
<record model="account.account.template" id="account_template_cogs">
<field name="name">COGS</field>
<field name="type" ref="account.account_type_template_expense"/>
<field name="reconcile" eval="True"/>
<field name="deferral" eval="True"/>
<field name="parent" ref="account.account_template_root"/>
<field name="kind">other</field>
</record>
<!-- Read access to compute anglo saxon account.move lines -->
<record model="ir.model.access" id="access_purchase_line_account">
<field name="model" search="[('model', '=', 'purchase.line')]"/>
+26
View File
@@ -0,0 +1,26 @@
<?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>
<record model="account.account.template" id="account_template_cogs">
<field name="name" lang="en">COGS</field>
<field name="name" lang="bg">COGS</field>
<field name="name" lang="ca">COGS</field>
<field name="name" lang="de">Kosten der verkauften Waren (COGS)</field>
<field name="name" lang="es">CMV</field>
<field name="name" lang="fr">Prix du bien vendu</field>
<field name="name" lang="nl">COGS</field>
<field name="name" lang="ru">COGS</field>
<field name="name" lang="sl">COGS</field>
<field name="type" ref="account.account_type_template_expense"/>
<field name="reconcile" eval="True"/>
<field name="deferral" eval="True"/>
<field name="parent" ref="account.account_template_root"/>
<field name="kind">other</field>
</record>
</data>
</tryton>
+25
View File
@@ -0,0 +1,25 @@
<?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>
<record id="account_template_cogs_bg" model="account.account.template">
<field name="name">COGS</field>
<field name="type" ref="account.account_type_template_expense_bg"/>
<field name="reconcile" eval="True"/>
<field name="deferral" eval="True"/>
<field name="parent" ref="account.account_template_root_bg"/>
<field name="kind">other</field>
</record>
</data>
</tryton>
+25
View File
@@ -0,0 +1,25 @@
<?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>
<record id="account_template_cogs_ca" model="account.account.template">
<field name="name">COGS</field>
<field name="type" ref="account.account_type_template_expense_ca"/>
<field name="reconcile" eval="True"/>
<field name="deferral" eval="True"/>
<field name="parent" ref="account.account_template_root_ca"/>
<field name="kind">other</field>
</record>
</data>
</tryton>
+25
View File
@@ -0,0 +1,25 @@
<?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>
<record id="account_template_cogs_de" model="account.account.template">
<field name="name">Kosten der verkauften Waren (COGS)</field>
<field name="type" ref="account.account_type_template_expense_de"/>
<field name="reconcile" eval="True"/>
<field name="deferral" eval="True"/>
<field name="parent" ref="account.account_template_root_de"/>
<field name="kind">other</field>
</record>
</data>
</tryton>
+25
View File
@@ -0,0 +1,25 @@
<?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>
<record id="account_template_cogs_en" model="account.account.template">
<field name="name">COGS</field>
<field name="type" ref="account.account_type_template_expense_en"/>
<field name="reconcile" eval="True"/>
<field name="deferral" eval="True"/>
<field name="parent" ref="account.account_template_root_en"/>
<field name="kind">other</field>
</record>
</data>
</tryton>
+25
View File
@@ -0,0 +1,25 @@
<?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>
<record id="account_template_cogs_es" model="account.account.template">
<field name="name">CMV</field>
<field name="type" ref="account.account_type_template_expense_es"/>
<field name="reconcile" eval="True"/>
<field name="deferral" eval="True"/>
<field name="parent" ref="account.account_template_root_es"/>
<field name="kind">other</field>
</record>
</data>
</tryton>
+25
View File
@@ -0,0 +1,25 @@
<?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>
<record id="account_template_cogs_fr" model="account.account.template">
<field name="name">Prix du bien vendu</field>
<field name="type" ref="account.account_type_template_expense_fr"/>
<field name="reconcile" eval="True"/>
<field name="deferral" eval="True"/>
<field name="parent" ref="account.account_template_root_fr"/>
<field name="kind">other</field>
</record>
</data>
</tryton>
+25
View File
@@ -0,0 +1,25 @@
<?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>
<record id="account_template_cogs_nl" model="account.account.template">
<field name="name">COGS</field>
<field name="type" ref="account.account_type_template_expense_nl"/>
<field name="reconcile" eval="True"/>
<field name="deferral" eval="True"/>
<field name="parent" ref="account.account_template_root_nl"/>
<field name="kind">other</field>
</record>
</data>
</tryton>
+25
View File
@@ -0,0 +1,25 @@
<?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>
<record id="account_template_cogs_ru" model="account.account.template">
<field name="name">COGS</field>
<field name="type" ref="account.account_type_template_expense_ru"/>
<field name="reconcile" eval="True"/>
<field name="deferral" eval="True"/>
<field name="parent" ref="account.account_template_root_ru"/>
<field name="kind">other</field>
</record>
</data>
</tryton>
+25
View File
@@ -0,0 +1,25 @@
<?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>
<record id="account_template_cogs_sl" model="account.account.template">
<field name="name">COGS</field>
<field name="type" ref="account.account_type_template_expense_sl"/>
<field name="reconcile" eval="True"/>
<field name="deferral" eval="True"/>
<field name="parent" ref="account.account_template_root_sl"/>
<field name="kind">other</field>
</record>
</data>
</tryton>
+9
View File
@@ -12,3 +12,12 @@ depends:
xml:
product.xml
account.xml
minimal_chart_bg.xml
minimal_chart_ca.xml
minimal_chart_de.xml
minimal_chart_en.xml
minimal_chart_es.xml
minimal_chart_fr.xml
minimal_chart_nl.xml
minimal_chart_ru.xml
minimal_chart_sl.xml