Wrong currency on PO lines from BO #8301
Labels
bug
Identifies a bug which needs to be addressed
question
This is a question
triage:not-checked
Item was not checked by the core team
Please verify that this bug has NOT been raised before.
Describe the bug*
When parts are ordered from a build order, the currency is set to USD while the server, and supplier default currency is EUR. When a new PO line is added on the order itself the currency is set correctly.
Steps to Reproduce
Have your default currencies set to EUR
2. Create a build order
3. Click on the order stock button on the build order
4. Create a PO in this form and add the line
5. Check the PO and the currency will be USD
Expected behaviour
Currency should be the system or supplier default.
Deployment Method
Version Information
Version Information:
InvenTree-Version: 0.16.1
Django Version: 4.2.15
Commit Hash: 4c15e5c
Commit Date: 30-08-2024
Database: postgresql
Debug-Mode: False
Deployed using Docker: True
Platform: Linux-5.4.0-196-generic-x86_64-with
Installer: DOC
Active plugins: [{'name': 'InvenTreeBarcode', 'slug': 'inventreebarcode', 'version': '2.1.0'}, {'name': 'InvenTreeCoreNotificationsPlugin', 'slug': 'inventreecorenotificationsplugin', 'version': '1.0.0'}, {'name': 'InvenTreeCurrencyExchange', 'slug': 'inventreecurrencyexchange', 'version': '1.0.0'}, {'name': 'InvenTreeLabel', 'slug': 'inventreelabel', 'version': '1.1.0'}, {'name': 'InvenTreeLabelMachine', 'slug': 'inventreelabelmachine', 'version': '1.0.0'}, {'name': 'InvenTreeLabelSheet', 'slug': 'inventreelabelsheet', 'version': '1.0.0'}, {'name': 'DigiKeyPlugin', 'slug': 'digikeyplugin', 'version': '1.0.0'}, {'name': 'LCSCPlugin', 'slug': 'lcscplugin', 'version': '1.0.0'}, {'name': 'MouserPlugin', 'slug': 'mouserplugin', 'version': '1.0.0'}, {'name': 'TMEPlugin', 'slug': 'tmeplugin', 'version': '1.0.0'}, {'name': 'SupplierCart', 'slug': 'suppliercart', 'version': '0.4.0.dev'}]
Please verify if you can reproduce this bug on the demo site.
Relevant log output
No response
The text was updated successfully, but these errors were encountered: