Contributors mailing list archives
contributors@odoo-community.org
Browse archives
Want tax move line with zero balance, possible? (odoo 13)
by
Ecosoft Co. Ltd., Kitti Upariphutthiphong
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'] = False
Any 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
Follow-Ups
-
Re: Want tax move line with zero balance, possible? (odoo 13)
byJuan José Scarafía- 17/07/2020 17:47:00 - 0 -
RE: Want tax move line with zero balance, possible? (odoo 13)
byKevin McMenamin- 18/06/2020 21:58:08 - 0 -
Re: Want tax move line with zero balance, possible? (odoo 13)
byEcosoft Co. Ltd., Kitti Upariphutthiphong- 18/06/2020 15:17:31 - 0 -
Re: Want tax move line with zero balance, possible? (odoo 13)
byJuan José Scarafía- 18/06/2020 14:22:56 - 0 -
RE: Want tax move line with zero balance, possible? (odoo 13)
byNoviat sa/nv, Luc De Meyer.- 17/06/2020 20:05:03 - 0 -
Re: Want tax move line with zero balance, possible? (odoo 13)
byTecnativa. S. L., Pedro M. Baeza- 17/06/2020 19:44:27 - 0 -
Re: Want tax move line with zero balance, possible? (odoo 13)
byJuan José Scarafía- 17/06/2020 19:34:52 - 0 -
Re: Want tax move line with zero balance, possible? (odoo 13)
byTecnativa. S. L., Pedro M. Baeza- 17/06/2020 18:47:14 - 0 -
Re: Want tax move line with zero balance, possible? (odoo 13)
byEcosoft Co. Ltd., Kitti Upariphutthiphong- 17/06/2020 18:18:16 - 0 -
Re: Want tax move line with zero balance, possible? (odoo 13)
byTecnativa. S. L., Pedro M. Baeza- 17/06/2020 17:59:36 - 0