Contributors mailing list archives

contributors@odoo-community.org

Browse archives

Avatar

Re: Handling 0% Tax in Invoices

by
MoaHub, Graeme Gellatly
- 21/05/2025 23:47:54
Hi,

I don't especially care to be honest. No Western regimes require this, or even much care about your internal accounting. 

But I would also consider that a country specific requirement is usually better added to the localisation in Odoo core. They are usually pretty responsive to l10n errors, just show them the links to the legislation/requirement,and propose a PR.

On Wed, May 21, 2025 at 6:57 PM Saran Limpajitkutaporn <notifications@odoo-community.org> wrote:
Hi Graeme,

Thank you for your reply, and sorry for the misleading post.

Yes, Odoo already supports 0% taxes,
but previously it didn’t add a tax line with 0 value, and there was no way to configure it.
Now, with this core improvement, it’s possible to hook into that behavior.

I believe this kind of module would still be useful in OCA,
especially for countries (like mine) where showing 0% tax lines is required.

I agree that the name should be more accurate — maybe account_move_keep_zero_tax_line would be better. What do you think?

Thank you,
Saran Lim.



On Wed, May 21, 2025 at 12:47 PM Graeme Gellatly <notifications@odoo-community.org> wrote:
Hi,

This is a bit of a misleading post and module name. Odoo supports 0% taxes with or without this config parameter, always has. In fact, the config parameter has nothing to do with the tax percentage. However if you want a specific account move line with a zero value entry for a particular tax (whether it is 0% or 1000%), then you need that parameter set. Note that this behaviour is to the best of my knowledge not new, merely a work around because if taxes are computed externally they will initially be set to zero.

But if you really need it, I would come up with a more accurate name, something like account_move_keep_zero_value_tax_lines

On Wed, May 21, 2025 at 5:17 PM Saran Limpajitkutaporn <notifications@odoo-community.org> wrote:
Dear Community,

In version 18, Odoo already supports creating 0% taxes via https://github.com/odoo/odoo/pull/199144

but it must config __keep_zero_line to True.
I think this should add a new module account_move_zero_tax in OCA to allow this configuration more conveniently.

Should I propose it under https://github.com/OCA/account-financial-tools or https://github.com/OCA/account-invoicing or has someone already contributed something similar?

Thank you,
Saran Lim.

_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe

_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe

_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe

Reference