blob: e2304c760de503bb45918b7bf451ac4539593da2 [file] [log] [blame]
Nabin Hait2eb5ae42011-10-19 16:06:37 +05301def execute():
2 import webnotes
3 if not webnotes.conn.sql("select name from tabDocFormat where parent = 'Receivable Voucher' and format != 'POS Invoice'"):
Nabin Hait69554512011-10-19 16:35:39 +05304 webnotes.conn.sql("update tabDocType set default_print_format = 'Standard' where name = 'Receivable Voucher'")