Repository navigation
fix(demo): seed the demo in the company's own currency and chart of accounts - #221
Merged
Merged
Conversation
jeffrysurya
commented
Oct 4, 2026
Contributor
- Installing the demo data on a company that was not in Saudi riyal or Indian rupee, for example an Indonesian company, switched the whole company to Saudi riyal. Its currency, every account in its chart of accounts, its price lists and the site country were all rewritten.
- On a company whose chart of accounts has no "Freight and Forwarding Charges" account, such as an Indonesian chart, the demo's background job stopped with "Could not find Shipping Account: Freight and Forwarding Charges".
- The demo now uses the company's own currency and no longer changes the company or its accounts. Indonesian rupiah gets local prices the way Saudi riyal and Indian rupee already did. Any other currency, such as Malaysian ringgit or Brazilian real, is converted from the demo's dollar prices at the USD exchange rate.
- When the chart of accounts has no freight account, the demo creates one.
- Installing the demo before the setup wizard is finished now says "Please set up a company first" straight away, instead of failing later in a background job.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.