- Mailing Lists
- Contributors
- Re: Want tax move line with zero balance, possible? (odoo 13)
Archives
- By thread 1419
-
By date
- August 2019 59
- September 2019 118
- October 2019 165
- November 2019 97
- December 2019 35
- January 2020 58
- February 2020 204
- March 2020 121
- April 2020 172
- May 2020 50
- June 2020 158
- July 2020 85
- August 2020 94
- September 2020 193
- October 2020 277
- November 2020 100
- December 2020 159
- January 2021 38
- February 2021 87
- March 2021 146
- April 2021 73
- May 2021 90
- June 2021 86
- July 2021 123
- August 2021 50
- September 2021 68
- October 2021 66
- November 2021 74
- December 2021 75
- January 2022 98
- February 2022 77
- March 2022 68
- April 2022 31
- May 2022 59
- June 2022 87
- July 2022 141
- August 2022 38
- September 2022 73
- October 2022 152
- November 2022 39
- December 2022 50
- January 2023 93
- February 2023 49
- March 2023 106
- April 2023 47
- May 2023 69
- June 2023 92
- July 2023 64
- August 2023 103
- September 2023 91
- October 2023 101
- November 2023 94
- December 2023 46
- January 2024 75
- February 2024 79
- March 2024 104
- April 2024 63
- May 2024 40
- June 2024 160
- July 2024 80
- August 2024 70
- September 2024 62
- October 2024 121
- November 2024 117
- December 2024 89
- January 2025 59
- February 2025 104
- March 2025 96
- April 2025 107
- May 2025 52
- June 2025 72
- July 2025 60
- August 2025 81
- September 2025 124
- October 2025 63
- November 2025 22
Contributors
Re: Want tax move line with zero balance, possible? (odoo 13)
Re: Want tax move line with zero balance, possible? (odoo 13)
Re: Want tax move line with zero balance, possible? (odoo 13)
I understand and share Kitti needs. For me it would be better to have this line as aml. I understand that normally you don't need aml of 0. But on odo an aml is not just an aml, is an invoice line / tax line somehow.
If I understand correctly what Pedro suggest, that helps on financial reports. Or there is some generic method to get tax amounts and tax base amounts from aml's?
In our case, we need this information also in two cases:
* to build txt files related to invoices
* to build the xml for electronic invoice
Actually we get the amounts from aml for any tax not zero but then we need to get the base amounts "manually" for zero taxes.
For me it would be much clearer and easier if we just have an aml of 0 for zero taxes also. But I've lose this fight two many times :p
Actually we would need this line not only if the tax rate is 0, but also if the computed tax is zero (for example a line of 0,01 with VAT 21%, the rounded vat amount is zero and no line is created)
Also oidoo is "simulating" this zero lines on the new tax widget, I haven't analyze it yet, but I believe that code would be easier if an aml of zero would be there
On Wed, Jun 17, 2020 at 1:52 PM Pedro M. Baeza (Tecnativa) <pedro.baeza@tecnativa.com> wrote:
The field tax_line_ids in account.move.line is filled with the 0-tax ID for the journal item that represents the base amount for the tax.Example of tax: https://github.com/odoo/odoo/blob/517a13b967a07fe1e71b9c5308d185c4e45f1a2d/addons/l10n_es/data/account_tax_data.xml#L1073-L1106Regards._______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
by Juan José Scarafía - 07:35 - 17 Jun 2020
Reference
-
Want tax move line with zero balance, possible? (odoo 13)
Dear community,With Tax Exemption we need to set tax with zero percent. On invoice line, use will need to choose this Tax. And expect that it will also declared on tax report.Normally, as I see in this core code, Odoo just don't create move line if tax amount is zero. This oppose our need.def _recompute_tax_lines(self, recompute_tax_base_amount=False):
.......
# Don't create tax lines with zero balance.
if self.currency_id.is_zero(taxes_map_entry['balance']) and self.currency_id.is_zero(taxes_map_entry['amount_currency']):
taxes_map_entry['grouping_dict'] = FalseAny OCA module that do by pass this? Does this make sense to you if I will create one, or there is better way ??Many thanks,Kitti
by Kitti Upariphutthiphong - 05:55 - 17 Jun 2020