Contributors mailing list archives

contributors@odoo-community.org

Avatar

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

by
Ecosoft Co. Ltd., Kitti Upariphutthiphong
- 18/06/2020 15:17:31
Hi Pedro, Juan and Luc,

Thanks a lot for sharing your thoughts. In our localization, we have made the decision to make the tax report out of account.move.line directly. That's part of my difficulties.

I think I understand, may be not on ES or BE localization thoroughly, but the general concept of Odoo's Tax Report.

Odoo Tax Report is quite the summarized report, which is not quite usable for us, I must say. Our tax submission requires more detailed information (frankly quite old fashioned paper based tax report).

So, currently, without zero tax amount move line, we will require rewriting the tax report, and it will become a lot less straightforward than before. This point I share and agree with Juan points.

Thanks a lot for what you guys are sharing, I do understand more. I will think more how to live without it.

Thank you!
Kitti

On Thu, Jun 18, 2020 at 7:27 PM Juan José Scarafía (ADHOC) <scarafia.juanjose@gmail.com> wrote:
I agree that they are not needed and there is a work around to work with them, but IMHO, as there is already a tax_base_amount stored field on aml, it would be much easier to get taxes and base amounts just filtering aml with "tax_line_id", and on that aml you already have the balance and the tax amount. That is already in odoo, the only problem is for zero taxes.

IMHO, with the current approach:
* it's litle ugly how "_compute_invoice_taxes_by_group" simulate the zero taxes
* more code needed for getting tax amounts on electronic invoice / tax declaration
* more code needed on the "tax engine"
You can't analyse directly any odoo model to get this info, is not visual. Just having those lines would make much easier to get visual information about the taxes from everywhere (on the invoice itself, checking the aml on journal items, menus, etc).

But yes, I agree it is not needed, I just believe it would make thing much easier and nicer. But still, is an odoo decision, I wouldn't make any module to change that behaviour .
BR




Ing. Juan José Scarafía

(+54 9 341) 3 278039

twitter: @jjscarafia

github: @jjscarafia



On Wed, Jun 17, 2020 at 3:07 PM <luc.demeyer@noviat.com> wrote:

We also have zero tax lines in Belgium and no need for aml with debit/credit 0.

I support Pedro here, with correct reports you solve the issue.

Cf. https://github.com/Noviat/noviat-apps/tree/13.0/l10n_be_coa_multilang

 

From: Pedro M. Baeza (Tecnativa) <pedro.baeza@tecnativa.com>
Sent: Wednesday, 17 June 2020 19:47
To: Contributors <contributors@odoo-community.org>
Subject: Re: Want tax move line with zero balance, possible? (odoo 13)

 

I think the need of that aml with 0 is because the tax engine / exporter is not considering the amls for the base on the said field. We are doing that way on our tax engine for Spanish legislation without problem:

 

 

The overall logic is:

 

- There are amls with tax_line_id field with that tax: the tax fee.

- There are amls with tax_ids field with that tax: the tax base.

 

Regards.

_______________________________________________
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