Skip to content
Snippets Groups Projects
Commit 5bf911fe authored by Andrea Grazioso (agr-odoo)'s avatar Andrea Grazioso (agr-odoo)
Browse files

[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#48700

Signed-off-by: default avatarNicolas Martinelli (nim) <nim@odoo.com>
parent 1a2dc192
No related branches found
No related tags found
No related merge requests found
......@@ -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="[
......
......@@ -246,7 +246,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">TRUE</field>
<field name="tax_group_id" ref="tax_group_100000000"/>
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment