agritheory / beam

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

Cancelled SLEs ignored by `get_handling_unit` #67

Closed agritheory closed 9 months ago

agritheory commented 9 months ago
agritheory commented 9 months ago

Discussion in #65 should be resolved before merging.

agritheory commented 9 months ago

@HKuz Can you take a look at this one? To test cancellation workflow I was setting up a transfer stock entry:

from beam.tests.test_handling_unit import *
test_stock_entry_material_transfer_for_manufacture()
frappe.db.commit()

I still need to add to the docs to show the new recombine/ cancellation workflow.

@Rgottsch1 I found the bug you were showing, the fix will be included when this is merged.

HKuz commented 9 months ago

@agritheory this looks good - two things I noticed, which may be by design but wanted to ask about:

agritheory commented 9 months ago

@HKuz Ready for review

HKuz commented 9 months ago

@agritheory docs look good!