Nabin Hait | 2eb5ae4 | 2011-10-19 16:06:37 +0530 | [diff] [blame] | 1 | def execute(): |
2 | import webnotes | ||||
3 | if not webnotes.conn.sql("select name from tabDocFormat where parent = 'Receivable Voucher' and format != 'POS Invoice'"): | ||||
Nabin Hait | 6955451 | 2011-10-19 16:35:39 +0530 | [diff] [blame] | 4 | webnotes.conn.sql("update tabDocType set default_print_format = 'Standard' where name = 'Receivable Voucher'") |