agritheory / beam

General Purpose 2D barcode scanning for ERPNext
https://agritheory.com/documentation/beam/
Other
20 stars 9 forks source link

Handling unit test cleanup #98

Closed agritheory closed 1 month ago

agritheory commented 3 months ago
agritheory commented 2 months ago

@HKuz Can you base this off of the staging branch?

Snippet to add to the Item creation in tests/setup.py, everything else you are working on now is already in flight.

i.enable_handling_unit = 0 if i.item_code in ("Water", "Ice Water") else 1