fix: Rate change issue on save and mapping from other doc

This commit is contained in:
Deepesh Garg
2022-03-25 10:46:09 +05:30
parent 20794ac9ce
commit 13fcda5776
2 changed files with 6 additions and 29 deletions

View File

@@ -399,6 +399,8 @@ def make_return_doc(doctype, source_name, target_doc=None):
}
}, target_doc, set_missing_values)
doclist.set_onload('ignore_price_list', True)
return doclist
def get_rate_for_return(voucher_type, voucher_no, item_code, return_against=None,