fix: Warehouse selection login

- Rename item_loactions -> locations, reference_items -> items
- Add customer and work_order field
- fix "Get Items" button UX
- fix get_pending_work_orders query

Co-authored-by: Nabin Hait <nabinhait@gmail.com>
This commit is contained in:
Suraj Shetty
2019-08-21 09:03:26 +05:30
parent dd63b656c7
commit d79a16c9f3
5 changed files with 126 additions and 82 deletions

View File

@@ -710,7 +710,7 @@ def get_work_order_operation_data(work_order, operation, workstation):
return d
@frappe.whitelist()
def make_pick_list(source_name, target_doc=None):
def create_pick_list(source_name, target_doc=None):
def update_item_quantity(source, target, source_parent):
qty = source.required_qty - source.transferred_qty
target.qty = qty