When base currency rate set 0, float division error generated when going to pay invoice
Bug #1032928 reported by
James Monod
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Committed
|
Low
|
OpenERP R&D Addons Team 3 |
Bug Description
Hello all,
When set base currency rate to zero, and going to pay invoice by "Payment" button of invoice then float division error generated.
Step1. Go to currencies and Click on check box "Base" make it true then Currency Rate become Readonly if rate is set to zero.
Step2: Create invoice on this base currency. Validate it
Step2:Make it Payment, then error is generated "float division error"
When we set any currency our base currency it's rate never be zero
Thanks
Related branches
lp:~openerp-dev/openobject-server/trunk-bug-1032928-pja
Ready for review
for merging
into
lp:openobject-server
- Atul Patel(OpenERP): Pending requested
-
Diff: 27 lines (+3/-2)2 files modifiedopenerp/addons/base/res/res_currency.py (+3/-0)
openerp/addons/base/test/base_test.yml (+0/-2)
Changed in openobject-addons: | |
importance: | Undecided → Low |
status: | New → Confirmed |
assignee: | nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3) |
Changed in openobject-addons: | |
status: | Confirmed → In Progress |
To post a comment you must log in.
Hello,
It has been Fixed in https:/ /code.launchpad .net/~openerp- dev/openobject- server/ trunk-bug- 1032928- pja
Revno: 4521
Revision ID: <email address hidden>
Thanks,
pja