← Back to team overview

openerp-expert-accounting team mailing list archive

[Bug 524278] Re: Invoice tax : Onchanges on tax amount and base should consider the tax-code and base-code signs respectively

 

Hello Vincent/Frederic,

Can you please try with this patch?

Thanks.

** Patch added: "524278.patch"
   https://bugs.launchpad.net/openobject-addons/+bug/524278/+attachment/1742469/+files/524278.patch

-- 
Invoice tax  : Onchanges on tax amount and base should consider the tax-code and base-code signs respectively
https://bugs.launchpad.net/bugs/524278
You received this bug notification because you are a member of OpenERP
Accounting Experts, which is a direct subscriber.

Status in OpenObject Addons Modules: Fix Released
Status in OpenObject Addons 5.0 series: In Progress
Status in OpenObject Addons trunk series: Fix Released

Bug description:
When you manually edit the amount of an invoice tax line on an purchase invoice (it will probably do the same on customer), the tax amount is recomputed, the amount is right but the sign is wrong if the tax sign is negative. It appears that the tax code sign in ignored.

That error report itself in the accounting line and spoiled the Vat report. 

Maybe we should use a rule based on debit or credit and account type instead of having a tax code sign in order to avoid this kind of problems. 

Regards

Nicolas