Closed MartinFulgueiras closed 3 months ago
@MartinFulgueiras thank you for reporting this.
During setup (app installation), ERPNext creates default UoM's, one of which is Nos
(no full stop/dot). We can confirm this here:
https://github.com/frappe/erpnext/blob/version-15/erpnext/setup/setup_wizard/data/uom_data.json#L10
Maybe this UoM was modified in your site at a later stage, to be Nos.
(with full stop)?
This means that I won't make a change for now, hope I've explained it clearly
Thanks for clarifying. Indeed my Nos. had the dot. Maybe it was a typo in a version or some other reason.
Current Behavior
When trying to 'Sync this item to Erpnext' leaving the UOM field empty in the woocommerce server configuration, the plugin should use the fallback UOM which says is "Nos". If left empty, it gives the error saying there doesn't exist a Nos UOM type.
I believe the reason is that the UOM is actully Nos. and not Nos without a final dot. Once I manually chose the Nos. it works ok.
Steps To Reproduce
Expected Behavior
The item should sync without problems
Anything else?
No response
Environment and Versions
Operating System
Other
What browsers are you seeing the problem on?
Firefox