fixes in patch
diff --git a/erpnext/accounts/doctype/receivable_voucher/receivable_voucher.txt b/erpnext/accounts/doctype/receivable_voucher/receivable_voucher.txt
index 99c1029..1abd6a7 100644
--- a/erpnext/accounts/doctype/receivable_voucher/receivable_voucher.txt
+++ b/erpnext/accounts/doctype/receivable_voucher/receivable_voucher.txt
@@ -5,7 +5,7 @@
{
'creation': '2010-08-08 17:09:18',
'docstatus': 0,
- 'modified': '2011-10-19 15:02:04',
+ 'modified': '2011-10-19 16:31:54',
'modified_by': 'Administrator',
'owner': 'Administrator'
},
@@ -34,7 +34,7 @@
'server_code_error': ' ',
'show_in_menu': 0,
'subject': 'To %(customer_name)s worth %(currency)s %(grand_total_export)s due on %(due_date)s | %(outstanding_amount)s outstanding',
- 'version': 361
+ 'version': 363
},
# These values are common for all DocFormat
diff --git a/erpnext/patches/p1.py b/erpnext/patches/p1.py
index c6f16ef..e2304c7 100644
--- a/erpnext/patches/p1.py
+++ b/erpnext/patches/p1.py
@@ -1,4 +1,4 @@
def execute():
import webnotes
if not webnotes.conn.sql("select name from tabDocFormat where parent = 'Receivable Voucher' and format != 'POS Invoice'"):
- webnotes.conn.sql("update tabDocType set default_print_format = 'Standard' where name = 'Receivable Voucher' and default_print_format = ''")
+ webnotes.conn.sql("update tabDocType set default_print_format = 'Standard' where name = 'Receivable Voucher'")