Hello team, I discovered that when using units of measure such as grams and milliliters in bills of materials, the system automatically generates a conversion to the main product unit.
For example, the default unit for a product named "Sugar" on the product page is kg, while in most bills of materials, customers use sugar in grams to make a recipe.
This situation is manageable because the system handles the conversion. However, if a BOM includes 9 grams of sugar, the conversion involves dividing by 1000 to convert to kg, resulting in 0.009 kg. This triggers the error message because the default decimal accuracy is set to only 2 digits, and the result requires 3 decimal places.
To resolve this issue, the solution is to adjust the Decimal Accuracy for the Product Unit of Measure to 3 digits. Here are the steps to do that:
- Activate Developer Mode: Go to Settings, scroll to the bottom of the page, and click on "Activate Developer Mode."
- In the main dashboard, type "Decimal Accuracy" in the search bar.
- Open "Product Unit of Measure" and change the number from 2 to 3.
- Finally, go to the POS app, and you should be able to close the session successfully.