diff --git a/erpnext/accounts/Print Format/POS Invoice/POS Invoice.txt b/erpnext/accounts/Print Format/POS Invoice/POS Invoice.txt
index 6a7e83589f1..8664b3882ba 100644
--- a/erpnext/accounts/Print Format/POS Invoice/POS Invoice.txt
+++ b/erpnext/accounts/Print Format/POS Invoice/POS Invoice.txt
@@ -3,25 +3,26 @@
# These values are common in all dictionaries
{
- 'creation': '2011-10-19 14:27:47',
+ 'creation': '2011-12-21 11:08:55',
'docstatus': 0,
- 'modified': '2011-10-19 14:29:45',
- 'modified_by': 'Administrator',
- 'owner': 'Administrator'
+ 'modified': '2012-03-20 12:29:49',
+ 'modified_by': u'Administrator',
+ 'owner': u'Administrator'
},
# These values are common for all Print Format
{
+ 'doc_type': u'Receivable Voucher',
'doctype': 'Print Format',
- 'html': '\n
\n\n\n\n\n\n\n\n\n| NO: | \nDATE: | \n
\n\n| M/s | \n
\n
\n\n\n \n\n
\n\n\n\n \n
\n\n
\n\n\n',
- 'module': 'Accounts',
+ 'html': u'\n\n\n\n\n\n\n\n\n\n | NO: | \n DATE: | \n
\n\n | M/s | \n
\n
\n\n\n\n
\n\n
\n\n |
\n | For |
\n | |
\n | Signatory |
\n
\n\n\n',
+ 'module': u'Accounts',
'name': '__common__',
- 'standard': 'Yes'
+ 'standard': u'Yes'
},
# Print Format, POS Invoice
{
'doctype': 'Print Format',
- 'name': 'POS Invoice'
+ 'name': u'POS Invoice'
}
]
\ No newline at end of file
diff --git a/erpnext/patches/mar_2012/__init__.py b/erpnext/patches/mar_2012/__init__.py
new file mode 100644
index 00000000000..e69de29bb2d
diff --git a/erpnext/patches/mar_2012/pos_invoice_fix.py b/erpnext/patches/mar_2012/pos_invoice_fix.py
new file mode 100644
index 00000000000..77ebcb4e4c1
--- /dev/null
+++ b/erpnext/patches/mar_2012/pos_invoice_fix.py
@@ -0,0 +1,5 @@
+def execute():
+ import webnotes
+ webnotes.conn.sql("DELETE FROM `tabDocFormat` WHERE format='POS Invoice'")
+ from webnotes.modules.module_manager import reload_doc
+ reload_doc('accounts', 'Print Format', 'POS Invoice')