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

WISH: Main currency should show up in API GET /setup/company #32900

Open
JonBendtsen opened this issue Feb 1, 2025 · 3 comments
Open

WISH: Main currency should show up in API GET /setup/company #32900

JonBendtsen opened this issue Feb 1, 2025 · 3 comments
Labels
Feature request This is a feature request

Comments

@JonBendtsen
Copy link
Contributor

Feature Request

WISH: Main currency should show up in API GET /setup/company, because it is set on the Setup page for Company/Organization.

Use case

I only use one currency for our products, and I use the API to show the price of a product. Thus I'd like to show the correct currency too, not just the amount

Suggested implementation

add a single line to API GET /setup/company same name as in the GUI, so "main_currency": ...

Suggested steps

No response

@JonBendtsen JonBendtsen added the Feature request This is a feature request label Feb 1, 2025
@hregis
Copy link
Contributor

hregis commented Feb 1, 2025

@JonBendtsen you can call "/setup/conf/MAIN_MONNAIE"

@JonBendtsen
Copy link
Contributor Author

@JonBendtsen you can call "/setup/conf/MAIN_MONNAIE"

thank @hregis this does work and solves my problem today. I still think it would be worth adding it to the company json.

@hregis
Copy link
Contributor

hregis commented Feb 1, 2025

@JonBendtsen in develop branch (v22) : #32903

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature request This is a feature request
Projects
None yet
Development

No branches or pull requests

2 participants