Tax base in cash discount payment certified modules

Bug #877395 reported by Grzegorz Grzelak (OpenGLOBE.pl)
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Committed
Undecided
OpenERP Publisher's Warranty Team

Bug Description

Install module account_payment_discount extension with its dependencies.

Create payment term:
2% Cash Discount for payment in 14 days, 30 days net

Create customer invoice for 100EUR net with 19% VAT, Validate it and pay by "Pay Invoice" wizard to the right of invoice form.
amounts in Pay Invoice wizard are correct, but when you click "Full Payment" and take a look on account moves you will see that
Tax Base for discount has wrong sign. In the wizard Tax Base (-2.00) and Tax Amount (-0.38) has the same negative sign. On Account move Tax Base is positive (2.00) and Tax Amount is negative (-0.38). Both should be negative.

Tags: maintenance

Related branches

Revision history for this message
Grzegorz Grzelak (OpenGLOBE.pl) (grzegorz-og.pl) wrote :
Revision history for this message
Grzegorz Grzelak (OpenGLOBE.pl) (grzegorz-og.pl) wrote :
Revision history for this message
Grzegorz Grzelak (OpenGLOBE.pl) (grzegorz-og.pl) wrote :

Server and modules version 6.0.3.

Modules:
account_invoice_cash_discount
account_payment_discount_extension
account_payment_extension
sale_tax_include
from lp:~openerp/openobject-addons/6.0-certified-addons

Revision history for this message
Grzegorz Grzelak (OpenGLOBE.pl) (grzegorz-og.pl) wrote :

The same bug is for Supplier invoices. Both values should be positive in this case but they are:
In "Pay Invoice" wizard both are negative (should be positive)
And in account moves:
Tax Base 2.00 (ok)
Tax Amount -0.38 (should be +0.38)

Amit Parik (amit-parik)
Changed in openobject-addons:
assignee: nobody → OpenERP Publisher's Warranty Team (openerp-opw)
tags: added: maintenance
Revision history for this message
Amit Dodiya (OpenERP) (ado-openerp) wrote :

Hello,

This issue is fixed with following branch:
Branch : lp:~openerp-dev/openobject-addons/6.0-opw-18393-ado
Revision-id: <email address hidden>
Revision-no : 5

Regards,
Amit Dodiya

Changed in openobject-addons:
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.