[7.0/6.1] Incorrect amount adding a manual line at Rec. payment order
Bug #1217299 reported by
Sebastán Jara
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Additional payment, bank statement and voucher addons for OpenERP |
Fix Committed
|
Medium
|
Pedro Manuel Baeza | ||
Odoo Addons (MOVED TO GITHUB) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
When you add a manual line at Rec. payment order, choosing a entry line, the amount of line comes negative, and when validate the Payment Order, make an inverse journal entry.
In this case, this amount must be always positive, because the sense of operation determinates the correct sense of journal entry.
Related branches
lp://staging/~pedro.baeza/account-payment/6.1-account_payment_extension-fix-amount-sign
- Maxime Chambreuil (http://www.savoirfairelinux.com): Approve (code review)
- mikel: Approve
-
Diff: 16 lines (+6/-0)1 file modifiedaccount_payment_extension/payment.py (+6/-0)
lp://staging/~pedro.baeza/account-payment/7.0-account_payment_extension-fix-amount-sign
- Yannick Vaucher @ Camptocamp: Approve (code review, no tests)
- Maxime Chambreuil (http://www.savoirfairelinux.com): Approve (code review)
-
Diff: 14 lines (+6/-0)1 file modifiedaccount_payment_extension/account_payment.py (+6/-0)
Changed in openobject-addons: | |
status: | Expired → New |
summary: |
- [6.1] Incorrect amount adding a manual line at Rec. payment order + [7.0/6.1] Incorrect amount adding a manual line at Rec. payment order |
To post a comment you must log in.
Hello Sebas.
Would you please try this with latest openerp7 payment order and let us know.
Thanks and waiting for your reply!