Added patch to add Module Def 'Home' where it does not exist
This commit is contained in:
parent
b9f7e39bb4
commit
f14abfb0c7
@ -1153,7 +1153,7 @@ def execute(patch_no):
|
|||||||
sql("update `tabDocType` set subject = 'From %(supplier_name)s worth %(grand_total)s due on %(due_date)s | %(outstanding_amount)s outstanding' where name = 'Payable Voucher'")
|
sql("update `tabDocType` set subject = 'From %(supplier_name)s worth %(grand_total)s due on %(due_date)s | %(outstanding_amount)s outstanding' where name = 'Payable Voucher'")
|
||||||
sql("update `tabDocType` set search_fields = 'status,transaction_date,customer,lead,order_type' where name = 'Quotation'")
|
sql("update `tabDocType` set search_fields = 'status,transaction_date,customer,lead,order_type' where name = 'Quotation'")
|
||||||
elif patch_no == 290:
|
elif patch_no == 290:
|
||||||
count = sql("""SELECT * FROM `tabModule Def`
|
count = sql("""SELECT * FROM `tabModule Def`
|
||||||
WHERE `module_name` LIKE 'Home'""")
|
WHERE `module_name` LIKE 'Home'""")
|
||||||
if not count:
|
if not count:
|
||||||
md = Document('Module Def')
|
md = Document('Module Def')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user