Set ignore pricing rule while mapping SI to DN
This commit is contained in:
parent
7555d619f2
commit
d4b92a1d20
@ -786,6 +786,7 @@ def get_income_account(doctype, txt, searchfield, start, page_len, filters):
|
||||
@frappe.whitelist()
|
||||
def make_delivery_note(source_name, target_doc=None):
|
||||
def set_missing_values(source, target):
|
||||
target.ignore_pricing_rule = 1
|
||||
target.run_method("set_missing_values")
|
||||
target.run_method("calculate_taxes_and_totals")
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user