mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-07 07:02:54 +00:00
bump modified dates for purchase receipt and purchase invoice
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
{
|
{
|
||||||
"creation": "2013-05-21 16:16:39",
|
"creation": "2013-05-21 16:16:39",
|
||||||
"docstatus": 0,
|
"docstatus": 0,
|
||||||
"modified": "2014-02-11 12:01:59",
|
"modified": "2014-02-17 12:01:59",
|
||||||
"modified_by": "Administrator",
|
"modified_by": "Administrator",
|
||||||
"owner": "Administrator"
|
"owner": "Administrator"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
erpnext.patches.1401.enable_all_price_list
|
|
||||||
erpnext.patches.4_0.update_user_properties
|
erpnext.patches.4_0.update_user_properties
|
||||||
erpnext.patches.4_0.move_warehouse_user_to_restrictions
|
erpnext.patches.4_0.move_warehouse_user_to_restrictions
|
||||||
erpnext.patches.4_0.new_permissions
|
erpnext.patches.4_0.new_permissions
|
||||||
|
|||||||
@@ -7,10 +7,12 @@ import frappe
|
|||||||
def execute():
|
def execute():
|
||||||
# udpate sales cycle
|
# udpate sales cycle
|
||||||
for d in ['Sales Invoice', 'Sales Order', 'Quotation', 'Delivery Note']:
|
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)
|
frappe.conn.sql("""update `tab%s` set taxes_and_charges=charge""" % d)
|
||||||
|
|
||||||
# udpate purchase cycle
|
# udpate purchase cycle
|
||||||
for d in ['Purchase Invoice', 'Purchase Order', 'Supplier Quotation', 'Purchase Receipt']:
|
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 `tab%s` set taxes_and_charges=purchase_other_charges""" % d)
|
||||||
|
|
||||||
frappe.conn.sql("""update `tabPurchase Taxes and Charges` set parentfield='other_charges'""")
|
frappe.conn.sql("""update `tabPurchase Taxes and Charges` set parentfield='other_charges'""")
|
||||||
@@ -2,7 +2,7 @@
|
|||||||
{
|
{
|
||||||
"creation": "2013-05-21 16:16:39",
|
"creation": "2013-05-21 16:16:39",
|
||||||
"docstatus": 0,
|
"docstatus": 0,
|
||||||
"modified": "2014-02-11 12:01:00",
|
"modified": "2014-02-17 12:01:00",
|
||||||
"modified_by": "Administrator",
|
"modified_by": "Administrator",
|
||||||
"owner": "Administrator"
|
"owner": "Administrator"
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user