rename Is Online field to Use POS in Offline Mode in pos settings

This commit is contained in:
Rohit Waghchaure
2017-09-11 11:49:25 +05:30
parent dfeadf876e
commit 4e006b0bc5
8 changed files with 74 additions and 13 deletions

View File

@@ -8,5 +8,5 @@ def execute():
frappe.reload_doc('accounts', 'doctype', 'pos_settings')
doc = frappe.get_doc('POS Settings')
doc.is_online = 0
doc.use_pos_in_offline_mode = 1
doc.save()