mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-25 16:04:46 +00:00
Update set_base_amount_in_invoice_payment_table.py
This commit is contained in:
@@ -6,7 +6,8 @@ def execute():
|
|||||||
si_list = frappe.db.sql("""
|
si_list = frappe.db.sql("""
|
||||||
select distinct parent
|
select distinct parent
|
||||||
from `tabSales Invoice Payment`
|
from `tabSales Invoice Payment`
|
||||||
where docstatus!=2 and amount != 0 and base_amount = 0
|
where docstatus!=2 and parenttype = 'Sales Invoice'
|
||||||
|
and amount != 0 and base_amount = 0
|
||||||
""")
|
""")
|
||||||
|
|
||||||
count = 0
|
count = 0
|
||||||
|
|||||||
Reference in New Issue
Block a user