fix: Don't set delivery date as today while making SO from Quotation
(cherry picked from commit fec20decc1)
This commit is contained in:
@@ -302,7 +302,6 @@ def _make_sales_order(source_name, target_doc=None, ignore_permissions=False):
|
||||
)
|
||||
|
||||
target.flags.ignore_permissions = ignore_permissions
|
||||
target.delivery_date = nowdate()
|
||||
target.run_method("set_missing_values")
|
||||
target.run_method("calculate_taxes_and_totals")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user