mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-13 10:11:20 +00:00
9 lines
282 B
Python
9 lines
282 B
Python
def execute():
|
|
import webnotes
|
|
vouchers = webnotes.conn.sql("""
|
|
select parent from `tabPurchase Taxes and Charges`
|
|
where modified >= '2012-10-02'
|
|
and (category = 'Total' or category = 'Valuation')
|
|
and parenttype != 'Purchase Taxes and Charges Master'
|
|
""")
|
|
print vouchers |