summaryrefslogtreecommitdiff
path: root/addons/l10n_au/data
diff options
context:
space:
mode:
authorAndrea Grazioso (agr-odoo) <agr@odoo.com>2020-04-01 08:21:09 +0000
committerAndrea Grazioso (agr-odoo) <agr@odoo.com>2020-04-06 10:49:28 +0000
commit04dce1445acdb18607390e46f714312f26f188b7 (patch)
tree29cefe47ebb745e4314327e6af4539e0b4feade0 /addons/l10n_au/data
parentcbd103eafc2333435167c0d747f057ec5177bf21 (diff)
[FIX] l10n_au,l10n_nz: fix label percentage on gst imports tax
1. Install the Australian Accounting localization pack. 2. Create a Bill, use the existing pre-defined tax, "GST only on imports". 3. See that the subtotal of the line will be changed to 0.01. 4. See that at the bottom there will be a GST 100000000% amount showing. The tax data need a upper percentage to avoid the 0.01 rounding issue. opw-2226119 closes odoo/odoo#49032 X-original-commit: 5bf911fe3c0d2e461e31ab47b74bba173171dbea Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
Diffstat (limited to 'addons/l10n_au/data')
-rw-r--r--addons/l10n_au/data/account_tax_template_data.xml11
1 files changed, 10 insertions, 1 deletions
diff --git a/addons/l10n_au/data/account_tax_template_data.xml b/addons/l10n_au/data/account_tax_template_data.xml
index b43521d7fdb..a7d45802d6a 100644
--- a/addons/l10n_au/data/account_tax_template_data.xml
+++ b/addons/l10n_au/data/account_tax_template_data.xml
@@ -471,7 +471,16 @@
<field name="description">GST Only on Imports</field>
<field name="type_tax_use">purchase</field>
<field name="amount_type">percent</field>
- <field name="amount">100000000</field>
+ <field name="amount">100000000000</field>
+ <!--
+ The tax percentage is so high because on imported goods we
+ needed to link the tax line acknowledgment (not to be paid)
+ on the customer invoice and what need to actually be
+ paid from another invoice given by a clearance house
+ (i.e. customs)
+ For more info see the complete discussion below
+ https://github.com/odoo/odoo/pull/48700#issuecomment-607586417
+ -->
<field name="price_include" eval="1"/>
<field name="tax_group_id" ref="tax_group_gst_100000000"/>
<field name="invoice_repartition_line_ids" eval="[