savoirfairelinux-openerp team mailing list archive
-
savoirfairelinux-openerp team
-
Mailing list archive
-
Message #00079
lp:~savoirfairelinux-openerp/openobject-addons/fix_l10n_ca_70_tvq into lp:openobject-addons/7.0
Jonatan Cloutier has proposed merging lp:~savoirfairelinux-openerp/openobject-addons/fix_l10n_ca_70_tvq into lp:openobject-addons/7.0.
Requested reviews:
OpenERP Core Team (openerp)
For more details, see:
https://code.launchpad.net/~savoirfairelinux-openerp/openobject-addons/fix_l10n_ca_70_tvq/+merge/163013
Fix the quebec, canada tax calculation
--
https://code.launchpad.net/~savoirfairelinux-openerp/openobject-addons/fix_l10n_ca_70_tvq/+merge/163013
Your team Savoir-faire Linux' OpenERP is subscribed to branch lp:~savoirfairelinux-openerp/openobject-addons/fix_l10n_ca_70_tvq.
=== modified file 'l10n_ca/account_tax_en.xml'
--- l10n_ca/account_tax_en.xml 2012-12-06 21:54:24 +0000
+++ l10n_ca/account_tax_en.xml 2013-05-08 17:08:56 +0000
@@ -132,8 +132,9 @@
<field name="name">TVQ for sales - 9.975%</field>
<field name="description">TVQ</field>
<field name="type_tax_use">sale</field>
- <field name="amount">0.099750</field>
- <field name="type">percent</field>
+ <field name="python_compute">result = price_unit * 0.09975</field>
+ <field name="python_compute_inv">result = price_unit * 0.09975</field>
+ <field name="type">code</field>
<field name="sequence">2</field>
<field name="account_collected_id" ref="chart2132_en"/>
<field name="account_paid_id" ref="chart2132_en"/>
@@ -401,8 +402,9 @@
<field name="name">TVQ for purchases - 9.975%</field>
<field name="description">TVQ</field>
<field name="type_tax_use">purchase</field>
- <field name="amount">0.099750</field>
- <field name="type">percent</field>
+ <field name="python_compute">result = price_unit * 0.09975</field>
+ <field name="python_compute_inv">result = price_unit * 0.09975</field>
+ <field name="type">code</field>
<field name="sequence">2</field>
<field name="account_collected_id" ref="chart1182_en"/>
<field name="account_paid_id" ref="chart1182_en"/>
=== modified file 'l10n_ca/account_tax_fr.xml'
--- l10n_ca/account_tax_fr.xml 2012-12-06 21:54:24 +0000
+++ l10n_ca/account_tax_fr.xml 2013-05-08 17:08:56 +0000
@@ -132,8 +132,9 @@
<field name="name">TVQ sur les ventes - 9.975%</field>
<field name="description">TVQ</field>
<field name="type_tax_use">sale</field>
- <field name="amount">0.099750</field>
- <field name="type">percent</field>
+ <field name="python_compute">result = price_unit * 0.09975</field>
+ <field name="python_compute_inv">result = price_unit * 0.09975</field>
+ <field name="type">code</field>
<field name="sequence">2</field>
<field name="account_collected_id" ref="chart2132_fr"/>
<field name="account_paid_id" ref="chart2132_fr"/>
@@ -401,8 +402,9 @@
<field name="name">TVQ sur les achats - 9.975%</field>
<field name="description">TVQ</field>
<field name="type_tax_use">purchase</field>
- <field name="amount">0.099750</field>
- <field name="type">percent</field>
+ <field name="python_compute">result = price_unit * 0.09975</field>
+ <field name="python_compute_inv">result = price_unit * 0.09975</field>
+ <field name="type">code</field>
<field name="sequence">2</field>
<field name="account_collected_id" ref="chart1182_fr"/>
<field name="account_paid_id" ref="chart1182_fr"/>
Follow ups