Skip to Content

Contributors

Re: Want tax move line with zero balance, possible? (odoo 13)

For me, it doesn't make sense, as the journal item is going to be null. What you need is the tax added to the base amount, which is already done in core. We have multiple zero taxes in Spain, and it's the way it is done.

Regards.

by Pedro M. Baeza - 06:01 - 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'] = 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


    by Kitti Upariphutthiphong - 05:55 - 17 Jun 2020