Skip to content

Purchase Orders - Unit and total price issue currency exchange #10049

@asnreadily3d

Description

@asnreadily3d

Please verify that this bug has NOT been raised before.

  • I checked and didn't find a similar issue

Describe the bug*

I'm currently filling some purchase orders and there's issues with the pricing.

I have a part that has a supplier cost of 442.5CHF
The PO's order currency is set to CHF
But checking the price displayed in the PO lines for 1 unit I get this:

Image

The value 552.903 is from 442.5CHF converted to USD

Edit: I have another PO with order currency set to EUR, the prices are displayed the same way as the previous screenshot (USD and CHF). The parts added to the PO have their supplier prices set to EUR, the exchange plugin takes it and converts it to USD.

Steps to Reproduce

  1. Have CHF, EUR and USD as currencies (CHF is primary)
  2. Create a PO in CHF
  3. Add parts that have supplier pricing in CHF
  4. Check Line Items and see prices

Expected behaviour

Have the correct currency displayed and correct amount

Deployment Method

Docker

Version Information

Image

Plugin InvenTree Currency Exchange used

Try to reproduce on the demo site

I did not try to reproduce

Is the bug reproducible on the demo site?

Not reproducible

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIdentifies a bug which needs to be addressedquestionThis is a questiontriage:not-checkedItem was not checked by the core team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions