Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong currency on PO lines from BO #8301

Open
2 of 6 tasks
HannesMorre opened this issue Oct 16, 2024 · 1 comment
Open
2 of 6 tasks

Wrong currency on PO lines from BO #8301

HannesMorre opened this issue Oct 16, 2024 · 1 comment
Labels
bug Identifies a bug which needs to be addressed question This is a question user interface User interface

Comments

@HannesMorre
Copy link

Please verify that this bug has NOT been raised before.

  • I checked and didn't find a similar issue

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 Image
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

  • Docker
  • Package
  • Bare metal
  • Other - added info in Steps to Reproduce

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.

  • I can reproduce this bug on the demo site.

Relevant log output

No response

@HannesMorre HannesMorre added 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 labels Oct 16, 2024
@matmair matmair added user interface User interface and removed triage:not-checked Item was not checked by the core team labels Nov 14, 2024
@matmair
Copy link
Member

matmair commented Nov 14, 2024

@HannesMorre can you reproduce this on PUI? CUI is going away soon https://inventree.org/blog/2024/09/23/ui-roadmap

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Identifies a bug which needs to be addressed question This is a question user interface User interface
Projects
None yet
Development

No branches or pull requests

2 participants