bump modified dates for purchase receipt and purchase invoice

This commit is contained in:
Pratik Vyas 2014-02-17 11:36:02 +05:30
parent d4f9af3498
commit 31affc0e67
4 changed files with 7 additions and 6 deletions

View File

@ -2,7 +2,7 @@
{
"creation": "2013-05-21 16:16:39",
"docstatus": 0,
"modified": "2014-02-11 12:01:59",
"modified": "2014-02-17 12:01:59",
"modified_by": "Administrator",
"owner": "Administrator"
},

View File

@ -1,4 +1,3 @@
erpnext.patches.1401.enable_all_price_list
erpnext.patches.4_0.update_user_properties
erpnext.patches.4_0.move_warehouse_user_to_restrictions
erpnext.patches.4_0.new_permissions

View File

@ -7,10 +7,12 @@ import frappe
def execute():
# udpate sales cycle
for d in ['Sales Invoice', 'Sales Order', 'Quotation', 'Delivery Note']:
print d, 'one'
frappe.conn.sql("""update `tab%s` set taxes_and_charges=charge""" % d)
# udpate purchase cycle
for d in ['Purchase Invoice', 'Purchase Order', 'Supplier Quotation', 'Purchase Receipt']:
print d, 'two'
frappe.conn.sql("""update `tab%s` set taxes_and_charges=purchase_other_charges""" % d)
frappe.conn.sql("""update `tabPurchase Taxes and Charges` set parentfield='other_charges'""")

View File

@ -2,7 +2,7 @@
{
"creation": "2013-05-21 16:16:39",
"docstatus": 0,
"modified": "2014-02-11 12:01:00",
"modified": "2014-02-17 12:01:00",
"modified_by": "Administrator",
"owner": "Administrator"
},