mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-20 21:49:18 +00:00
[fix] [minor] is_pos zero when mapping
This commit is contained in:
@@ -387,6 +387,7 @@ def make_sales_invoice(source_name, target_doclist=None):
|
||||
|
||||
def update_accounts(source, target):
|
||||
si = webnotes.bean(target)
|
||||
si.doc.is_pos = 0
|
||||
si.run_method("onload_post_render")
|
||||
|
||||
si.set_doclist(si.doclist.get({"parentfield": ["!=", "entries"]}) +
|
||||
|
||||
Reference in New Issue
Block a user