mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-13 20:05:09 +00:00
[fix] Uncheck Is POS option while creating return entry against POS Invoice
This commit is contained in:
@@ -107,6 +107,8 @@ def make_return_doc(doctype, source_name, target_doc=None):
|
||||
doc.is_return = 1
|
||||
doc.return_against = source.name
|
||||
doc.ignore_pricing_rule = 1
|
||||
if doctype == "Sales Invoice":
|
||||
doc.is_pos = 0
|
||||
doc.run_method("calculate_taxes_and_totals")
|
||||
|
||||
def update_item(source_doc, target_doc, source_parent):
|
||||
|
||||
Reference in New Issue
Block a user