Merge lp:~openerp-dev/openobject-addons/6.0-opw-18393-ado into lp:~openerp/openobject-addons/6.0-certified-addons
Status: | Needs review | ||||
---|---|---|---|---|---|
Proposed branch: | lp:~openerp-dev/openobject-addons/6.0-opw-18393-ado | ||||
Merge into: | lp:~openerp/openobject-addons/6.0-certified-addons | ||||
Diff against target: |
176 lines (+49/-8) 2 files modified
account_invoice_cash_discount/account_invoice_cash_discount.py (+24/-4) account_invoice_cash_discount/wizard/account_pay_invoice.py (+25/-4) |
||||
To merge this branch: | bzr merge lp:~openerp-dev/openobject-addons/6.0-opw-18393-ado | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Naresh(OpenERP) | Pending | ||
Review via email:
|
Description of the change
Hello,
"[FIX] sign of tax amount in payment wizard for customer should be negative and for supplier it should be positive"
1). Install module account_
2). Create payment term: 2% Cash Discount for payment in 14 days, 30 days net
3). 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.
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)
Regards,
Amit Dodiya
Unmerged revisions
- 5. By Amit Dodiya<email address hidden>
-
[FIX] sign of tax amount in payment wizard for customer should be negative and for supplier it should be positive