fix: do not auto-populate item delivery date
(cherry picked from commit 49cb11c1f357bd73afb0b150a502a418d5560067)
This commit is contained in:
parent
9e36ab7de7
commit
5cdc22adf3
@ -391,7 +391,6 @@ def _make_sales_order(source_name, target_doc=None, customer_group=None, ignore_
|
||||
balance_qty = obj.qty - ordered_items.get(obj.item_code, 0.0)
|
||||
target.qty = balance_qty if balance_qty > 0 else 0
|
||||
target.stock_qty = flt(target.qty) * flt(obj.conversion_factor)
|
||||
target.delivery_date = nowdate()
|
||||
|
||||
if obj.against_blanket_order:
|
||||
target.against_blanket_order = obj.against_blanket_order
|
||||
|
Loading…
x
Reference in New Issue
Block a user