#1133 1.3 - Purchase order - Exchange rate saving problem - critical

1.3
closed-fixed
None
5
2014-05-11
2014-05-05
Pongracz Istvan
No

I have 1.000,00 format.
Steps:
- create a new order, select foreign vendor, other currency than the base
- enter 224,34
- select a product from list (choose a group, update, select some, OK) -> you can get the number as 22.434

Similar to the other bug with RFQ to vendors.
It seems it has a common issue with number format.

Discussion

  • Confirmed, same issue on demo.cloud.efficito.com/erp
    How to reproduce:
    - change the number format to: 1.000,00
    - create a new order/quotation
    - select a customer
    - set different currency, enter an exchange rate like this: 1,4
    - select a parts group and update
    - select a product -> ok
    - surprise - the displayed exchange rate is 14

    Please note, the hidden rate value from the DB is correct: 1.4 or similar (in normal form: xxxxx.xx).

    As I figured out, it happens only if retrieve_item called.

     
    Last edit: Pongracz Istvan 2014-05-08
  • It is a general issue, the steps described above produced the same issue with sales invoice, too.

     
  • Screenshot.

     
    Attachments
  • Definitely, it happens when retrieve_item called.
    I checked oe.pl from line 1109.
    I try to solve it.

     
    • status: open --> pending-fixed
    • assigned_to: Pongracz Istvan
     
  • Issue fixed, I have to commit to my own branch first.

     
  • Erik Huelsmann
    Erik Huelsmann
    2014-05-11

    • status: pending-fixed --> closed-fixed