2019-01-22 12:52:20 +00:00
|
|
|
from __future__ import unicode_literals
|
2017-08-24 10:17:49 +00:00
|
|
|
import frappe
|
|
|
|
|
|
|
|
def execute():
|
|
|
|
# there is no more status called "Submitted", there was an old issue that used
|
|
|
|
# to set it as Submitted, fixed in this commit
|
|
|
|
frappe.db.sql("""
|
|
|
|
update
|
|
|
|
`tabPurchase Receipt`
|
|
|
|
set
|
|
|
|
status = 'To Bill'
|
|
|
|
where
|
|
|
|
status = 'Submitted'""")
|