Rushabh Mehta
13 years ago
14 changed files with 76 additions and 45 deletions
@ -1,4 +1,4 @@ |
|||
def execute(): |
|||
import webnotes |
|||
from webnotes.modules.module_manager import reload_doc |
|||
from webnotes.modules import reload_doc |
|||
reload_doc('selling', 'doctype', 'quotation') |
|||
|
@ -1,11 +1,3 @@ |
|||
def execute(): |
|||
import webnotes |
|||
from webnotes.modules import reload_doc |
|||
reload_doc('selling', 'doctype', 'quotation_detail') |
|||
reload_doc('selling', 'doctype', 'sales_order_detail') |
|||
reload_doc('stock', 'doctype', 'delivery_note_detail') |
|||
reload_doc('stock', 'doctype', 'purchase_receipt_detail') |
|||
reload_doc('buying', 'doctype', 'po_detail') |
|||
reload_doc('accounts', 'doctype', 'rv_detail') |
|||
reload_doc('accounts', 'doctype', 'pv_detail') |
|||
pass |
|||
|
|||
|
@ -1,6 +1,6 @@ |
|||
def execute(): |
|||
import webnotes |
|||
from webnotes.modules.module_manager import reload_doc |
|||
from webnotes.modules import reload_doc |
|||
reload_doc('stock', 'doctype', 'stock_entry') |
|||
|
|||
webnotes.conn.sql("update `tabDocField` set options = concat(options, '\nOthers') where fieldname = 'purpose' and parent = 'Stock Entry'") |
|||
|
@ -1,5 +1,3 @@ |
|||
def execute(): |
|||
import webnotes |
|||
webnotes.conn.sql("DELETE FROM `tabDocFormat` WHERE format='POS Invoice'") |
|||
from webnotes.modules.module_manager import reload_doc |
|||
from webnotes.modules import reload_doc |
|||
reload_doc('accounts', 'Print Format', 'POS Invoice') |
|||
|
Loading…
Reference in new issue