[Trunk/7.0] Refund payment: Error occurred while validating the field(s) amount_currency
Bug #1181291 reported by
Stefano Sforzi
This bug affects 8 people
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Committed
|
Medium
|
OpenERP R&D Addons Team 3 | |||
OpenERP Community Backports (Addons) | Status tracked in 7.0 | |||||
7.0 |
Fix Released
|
Medium
|
OpenERP Community Backports |
Bug Description
I create a purchase refund in USD
I pay it with usd bank (USD journal)
pay and
ValidateError
Error occurred while validating the field(s) amount_currency: The amount expressed in the secondary currency must be positive when the journal item is a debit and negative when if it is a credit.
Related branches
lp://staging/~elbati/openobject-addons/7.0_fix_1181291_elbati
Ready for review
for merging
into
lp://staging/openobject-addons/7.0
- OpenERP Core Team: Pending requested
-
Diff: 23 lines (+3/-3)1 file modifiedaccount_voucher/account_voucher.py (+3/-3)
lp://staging/~elbati/ocb-addons/7.0_fix_1181291_elbati
- Pedro Manuel Baeza: Approve
- Nicolas JEUDY (community): Approve (code and test)
- Guewen Baconnier @ Camptocamp: Abstain
- Maxime Chambreuil (http://www.savoirfairelinux.com): Approve (code review)
- Stefan Rijnhart (Opener): Abstain
-
Diff: 23 lines (+3/-3)1 file modifiedaccount_voucher/account_voucher.py (+3/-3)
lp://staging/~openerp-dev/openobject-addons/trunk-bug-1181291-bde
Ready for review
for merging
into
lp://staging/openobject-addons
- OpenERP Core Team: Pending requested
-
Diff: 21 lines (+2/-2)1 file modifiedaccount_voucher/account_voucher.py (+2/-2)
summary: |
- Error occurred while validating the field(s) amount_currency + [7.0] Refund payment: Error occurred while validating the field(s) + amount_currency |
description: | updated |
Changed in openobject-addons: | |
assignee: | nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3) |
importance: | Undecided → Medium |
status: | New → Confirmed |
tags: | added: voucher |
Changed in openobject-addons: | |
status: | Confirmed → In Progress |
To post a comment you must log in.
Hello,
Same error faced when try following scenario.
Create journal voucher use the journal currency different then the company currency.
Try to create voucher with negative amount .
Thank you!