fixes in print format

This commit is contained in:
Anand Doshi
2012-05-16 14:10:27 +05:30
parent 28335b7ee7
commit 9175100e3d
3 changed files with 8 additions and 4 deletions

View File

@@ -20,5 +20,11 @@ def execute():
'write': 1
},
]
for perms in new_perms:
doc = webnotes.model.doc.Document('DocPerm')
doc.fields.update(perms)
doc.save()
webnotes.conn.commit()
webnotes.conn.begin()
import webnotes.model.sync
webnotes.model.sync.sync('core', 'print_format')