diff --git a/erpnext/accounts/doctype/purchase_invoice/purchase_invoice.py b/erpnext/accounts/doctype/purchase_invoice/purchase_invoice.py
index 54078d91370..9b3968da2af 100644
--- a/erpnext/accounts/doctype/purchase_invoice/purchase_invoice.py
+++ b/erpnext/accounts/doctype/purchase_invoice/purchase_invoice.py
@@ -163,7 +163,7 @@ class DocType(TransactionBase):
def get_rate(self,arg):
return get_obj('Purchase Common').get_rate(arg,self)
- # Pull details from other charges master (Get Other Charges)
+ # Get Purchase Taxes and Charges Master
# -----------------------------------------------------------
def get_purchase_tax_details(self):
return get_obj('Purchase Common').get_purchase_tax_details(self)
diff --git a/erpnext/accounts/doctype/sales_invoice/sales_invoice.py b/erpnext/accounts/doctype/sales_invoice/sales_invoice.py
index 848e120b6d1..d89ff042d1c 100644
--- a/erpnext/accounts/doctype/sales_invoice/sales_invoice.py
+++ b/erpnext/accounts/doctype/sales_invoice/sales_invoice.py
@@ -230,7 +230,7 @@ class DocType(TransactionBase):
def load_default_taxes(self):
return get_obj('Sales Common').load_default_taxes(self)
- # Get Other Charges Details
+ # Get Sales Taxes and Charges Master Details
# --------------------------
def get_other_charges(self):
return get_obj('Sales Common').get_other_charges(self)
diff --git a/erpnext/accounts/page/accounts_home/accounts_home.html b/erpnext/accounts/page/accounts_home/accounts_home.html
index 8282ae8eb1d..fc08360112f 100644
--- a/erpnext/accounts/page/accounts_home/accounts_home.html
+++ b/erpnext/accounts/page/accounts_home/accounts_home.html
@@ -35,7 +35,7 @@
.
"""
- Reload DocLayer, Customize Form Field and Print Format doctypes
+ Reload Customize Form, Customize Form Field and Print Format doctypes
"""
def execute():
from webnotes.modules import reload_doc
diff --git a/erpnext/patches/jan_mar_2012/rename_dt.py b/erpnext/patches/jan_mar_2012/rename_dt.py
index a9a9c581b20..dfe0d276fb8 100644
--- a/erpnext/patches/jan_mar_2012/rename_dt.py
+++ b/erpnext/patches/jan_mar_2012/rename_dt.py
@@ -7,10 +7,12 @@ from webnotes.modules import reload_doc
from webnotes.utils import make_esc
import os
-def execute1():
- update_file_content({'Follow up': 'Communication'})
-
def execute():
+ rendt = get_dt_to_be_renamed()
+ rename_dt_files(rendt)
+ #update_local_file_system()
+
+def execute1():
# delete dt, mapper
delete_dt_and_mapper()
@@ -106,6 +108,7 @@ def delete_dt_and_mapper():
delete_doc('DocType', d)
+
def rename_in_db(ren_data, data_type, is_doctype):
for d in ren_data:
print colored('Renaming... ' + d + ' --> '+ ren_data[d], 'yellow')
@@ -301,23 +304,30 @@ def update_local_file_system():
def update_file_content(rendt):
for d in rendt:
print colored('Renaming... ' + d + ' --> '+ rendt[d], 'yellow')
- for extn in ['js', 'py', 'txt']:
- replace_code('/var/www/erpnext/', d, rendt[d], extn)
+ for extn in ['js', 'py', 'txt', 'html']:
+ res = replace_code('/var/www/erpnext/', d, rendt[d], extn)
+ if res == 'skip':
+ break
def rename_dt_files(rendt):
for d in rendt:
mod = webnotes.conn.sql("select module from tabDocType where name = %s", rendt[d])[0][0]
- path = 'erpnext/' + '_'.join(mod.lower().split()) + '/doctype/'
+ if mod == 'Core':
+ os.chdir('/var/www/erpnext/lib/')
+ path = 'py/core/doctype/'
+ else:
+ os.chdir('/var/www/erpnext/')
+ path = 'erpnext/' + '_'.join(mod.lower().split()) + '/doctype/'
old = '_'.join(d.lower().split())
new = '_'.join(rendt[d].lower().split())
+ print 'git mv ' + path + old + ' ' + path + new
# rename old dir
os.system('git mv ' + path + old + ' ' + path + new)
- print 'git mv ' + path + old + ' ' + path + new
# rename all files in that dir
- for extn in ['js', 'py', 'txt']:
+ for extn in ['js', 'py', 'txt', 'html']:
if os.path.exists(path + new + '/'+ old + '.' +extn):
os.system('git mv ' + path + new + '/'+ old + '.' +extn + ' ' + path + new + '/' + new + '.' +extn)
print 'git mv ' + path + new + '/'+ old + '.' +extn + ' ' + path + new + '/' + new + '.' +extn
diff --git a/erpnext/patches/mar_2012/usertags.py b/erpnext/patches/mar_2012/usertags.py
new file mode 100644
index 00000000000..eff25439976
--- /dev/null
+++ b/erpnext/patches/mar_2012/usertags.py
@@ -0,0 +1,17 @@
+def execute():
+ import webnotes
+ doctype_list = webnotes.conn.sql("""SELECT name FROM `tabDocType`
+ WHERE docstatus<2 AND IFNULL(issingle, 0)=0
+ AND IFNULL(istable, 0)=0""")
+ webnotes.conn.commit()
+ for d in doctype_list:
+ add_col = True
+ desc = webnotes.conn.sql("DESC `tab%s`" % d[0], as_dict=1)
+ for td in desc:
+ if td.get('Field')=='_user_tags':
+ add_col = False
+
+ if add_col:
+ webnotes.conn.sql("alter table `tab%s` add column `_user_tags` varchar(180)" % d[0])
+ webnotes.conn.begin()
+
diff --git a/erpnext/patches/patch_list.py b/erpnext/patches/patch_list.py
index db75ea4e994..d5ff35e8d08 100644
--- a/erpnext/patches/patch_list.py
+++ b/erpnext/patches/patch_list.py
@@ -256,5 +256,10 @@ patch_list = [
'patch_module': 'patches.mar_2012',
'patch_file': 'delete_docformat',
'description': 'Deletes DocFormat from database'
+ },
+ {
+ 'patch_module': 'patches.mar_2012',
+ 'patch_file': 'usertags',
+ 'description': 'Adds _user_tags columns to tables'
}
]
diff --git a/erpnext/patches/print_formats/DeliveryNoteClassic.html b/erpnext/patches/print_formats/DeliveryNoteClassic.html
deleted file mode 100644
index 65d30e65778..00000000000
--- a/erpnext/patches/print_formats/DeliveryNoteClassic.html
+++ /dev/null
@@ -1,291 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/erpnext/patches/print_formats/DeliveryNoteModern.html b/erpnext/patches/print_formats/DeliveryNoteModern.html
deleted file mode 100644
index 652358fca8e..00000000000
--- a/erpnext/patches/print_formats/DeliveryNoteModern.html
+++ /dev/null
@@ -1,317 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/erpnext/patches/print_formats/DeliveryNoteSpartan.html b/erpnext/patches/print_formats/DeliveryNoteSpartan.html
deleted file mode 100644
index 978183d2d58..00000000000
--- a/erpnext/patches/print_formats/DeliveryNoteSpartan.html
+++ /dev/null
@@ -1,312 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/erpnext/patches/print_formats/PurchaseOrderClassic.html b/erpnext/patches/print_formats/PurchaseOrderClassic.html
deleted file mode 100644
index e9a9ff8dae7..00000000000
--- a/erpnext/patches/print_formats/PurchaseOrderClassic.html
+++ /dev/null
@@ -1,248 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/erpnext/patches/print_formats/PurchaseOrderModern.html b/erpnext/patches/print_formats/PurchaseOrderModern.html
deleted file mode 100644
index 73b607b4ade..00000000000
--- a/erpnext/patches/print_formats/PurchaseOrderModern.html
+++ /dev/null
@@ -1,275 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/erpnext/patches/print_formats/PurchaseOrderSpartan.html b/erpnext/patches/print_formats/PurchaseOrderSpartan.html
deleted file mode 100644
index 9058e0c5889..00000000000
--- a/erpnext/patches/print_formats/PurchaseOrderSpartan.html
+++ /dev/null
@@ -1,270 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/erpnext/patches/print_formats/QuotationClassic.html b/erpnext/patches/print_formats/QuotationClassic.html
deleted file mode 100644
index ca6975594f2..00000000000
--- a/erpnext/patches/print_formats/QuotationClassic.html
+++ /dev/null
@@ -1,275 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/erpnext/patches/print_formats/QuotationModern.html b/erpnext/patches/print_formats/QuotationModern.html
deleted file mode 100644
index 7f7727ab47d..00000000000
--- a/erpnext/patches/print_formats/QuotationModern.html
+++ /dev/null
@@ -1,300 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/erpnext/patches/print_formats/QuotationSpartan.html b/erpnext/patches/print_formats/QuotationSpartan.html
deleted file mode 100644
index e0829933d5a..00000000000
--- a/erpnext/patches/print_formats/QuotationSpartan.html
+++ /dev/null
@@ -1,295 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/erpnext/patches/print_formats/SalesInvoiceClassic.html b/erpnext/patches/print_formats/SalesInvoiceClassic.html
deleted file mode 100644
index d40f80152b4..00000000000
--- a/erpnext/patches/print_formats/SalesInvoiceClassic.html
+++ /dev/null
@@ -1,277 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/erpnext/patches/print_formats/SalesInvoiceModern.html b/erpnext/patches/print_formats/SalesInvoiceModern.html
deleted file mode 100644
index ac664234956..00000000000
--- a/erpnext/patches/print_formats/SalesInvoiceModern.html
+++ /dev/null
@@ -1,304 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/erpnext/patches/print_formats/SalesInvoiceSpartan.html b/erpnext/patches/print_formats/SalesInvoiceSpartan.html
deleted file mode 100644
index 81e1c380fe3..00000000000
--- a/erpnext/patches/print_formats/SalesInvoiceSpartan.html
+++ /dev/null
@@ -1,299 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/erpnext/patches/print_formats/SalesOrderClassic.html b/erpnext/patches/print_formats/SalesOrderClassic.html
deleted file mode 100644
index 070feb05e1d..00000000000
--- a/erpnext/patches/print_formats/SalesOrderClassic.html
+++ /dev/null
@@ -1,277 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/erpnext/patches/print_formats/SalesOrderModern.html b/erpnext/patches/print_formats/SalesOrderModern.html
deleted file mode 100644
index e2ac0c1bd4f..00000000000
--- a/erpnext/patches/print_formats/SalesOrderModern.html
+++ /dev/null
@@ -1,304 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/erpnext/patches/print_formats/SalesOrderSpartan.html b/erpnext/patches/print_formats/SalesOrderSpartan.html
deleted file mode 100644
index 866e84fbc0e..00000000000
--- a/erpnext/patches/print_formats/SalesOrderSpartan.html
+++ /dev/null
@@ -1,299 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/erpnext/production/doctype/bom_replace_utility/__init__.py b/erpnext/production/doctype/bom_replace_utility/__init__.py
deleted file mode 100644
index e69de29bb2d..00000000000
diff --git a/erpnext/production/doctype/bom_replace_utility/bom_replace_utility.js b/erpnext/production/doctype/bom_replace_utility/bom_replace_utility.js
deleted file mode 100644
index efaf61f4e84..00000000000
--- a/erpnext/production/doctype/bom_replace_utility/bom_replace_utility.js
+++ /dev/null
@@ -1,36 +0,0 @@
-// ERPNext - web based ERP (http://erpnext.com)
-// Copyright (C) 2012 Web Notes Technologies Pvt Ltd
-//
-// This program is free software: you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation, either version 3 of the License, or
-// (at your option) any later version.
-//
-// This program is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-// GNU General Public License for more details.
-//
-// You should have received a copy of the GNU General Public License
-// along with this program. If not, see
.
-
-
-// Get Query functions
-cur_frm.fields_dict['s_bom'].get_query = function(doc) {
- return 'SELECT `tabBOM`.`name` FROM `tabBOM` WHERE `tabBOM`.`docstatus` = 1 AND `tabBOM`.%(key)s LIKE "%s" ORDER BY `tabBOM`.`name` DESC LIMIT 50';
-}
-
-cur_frm.fields_dict['r_bom'].get_query = function(doc) {
- return 'SELECT `tabBOM`.`name` FROM `tabBOM` WHERE `tabBOM`.`docstatus` = 1 and `tabBOM`.%(key)s LIKE "%s" ORDER BY `tabBOM`.`name` DESC LIMIT 50';
-}
-
-cur_frm.fields_dict['s_item'].get_query = function(doc) {
- return 'SELECT DISTINCT `tabItem`.name FROM `tabItem` WHERE (IFNULL(`tabItem`.`end_of_life`,"") = "" OR `tabItem`.`end_of_life` ="0000-00-00" OR `tabItem`.`end_of_life` > NOW()) AND (`tabItem`.is_purchase_item = "Yes" OR`tabItem`.is_sub_contracted_item = "Yes") AND tabItem.%(key)s LIKE "%s" ORDER BY `tabItem`.item_code LIMIT 50';
-}
-
-cur_frm.fields_dict['r_item'].get_query = function(doc) {
- return 'SELECT DISTINCT `tabItem`.name FROM `tabItem` WHERE (IFNULL(`tabItem`.`end_of_life`,"") = "" OR `tabItem`.`end_of_life` ="0000-00-00" OR `tabItem`.`end_of_life` > NOW()) AND (`tabItem`.is_purchase_item = "Yes" OR`tabItem`.is_sub_contracted_item = "Yes") AND tabItem.%(key)s LIKE "%s" ORDER BY `tabItem`.item_code LIMIT 50';
-}
-
-// Client Triggers
-
diff --git a/erpnext/production/doctype/bom_replace_utility/bom_replace_utility.py b/erpnext/production/doctype/bom_replace_utility/bom_replace_utility.py
deleted file mode 100644
index 31b147328e6..00000000000
--- a/erpnext/production/doctype/bom_replace_utility/bom_replace_utility.py
+++ /dev/null
@@ -1,143 +0,0 @@
-# ERPNext - web based ERP (http://erpnext.com)
-# Copyright (C) 2012 Web Notes Technologies Pvt Ltd
-#
-# This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 3 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program. If not, see
.
-
-# Please edit this list and import only required elements
-import webnotes
-
-from webnotes.utils import add_days, add_months, add_years, cint, cstr, date_diff, default_fields, flt, fmt_money, formatdate, generate_hash, getTraceback, get_defaults, get_first_day, get_last_day, getdate, has_common, month_name, now, nowdate, replace_newlines, sendmail, set_default, str_esc_quote, user_format, validate_email_add
-from webnotes.model import db_exists
-from webnotes.model.doc import Document, addchild, removechild, getchildren, make_autoname, SuperDocType
-from webnotes.model.doclist import getlist, copy_doclist
-from webnotes.model.code import get_obj, get_server_obj, run_server_obj, updatedb, check_syntax
-from webnotes import session, form, is_testing, msgprint, errprint
-
-set = webnotes.conn.set
-sql = webnotes.conn.sql
-get_value = webnotes.conn.get_value
-in_transaction = webnotes.conn.in_transaction
-convert_to_lists = webnotes.conn.convert_to_lists
-
-# -----------------------------------------------------------------------------------------
-
-
-class DocType:
- def __init__(self, doc, doclist=[]):
- self.doc = doc
- self.doclist = doclist
-
- def search_parent_bom_of_bom(self):
- pbom = sql("select parent from `tabBOM Item` where bom_no = '%s' and docstatus = 1 " % self.doc.s_bom )
- self.doc.clear_table(self.doclist,'replace_bom_details', 1)
- self.add_to_replace_bom_utility_detail(pbom, 'replace_bom_details')
-
- def search_parent_bom_of_item(self):
- pbom = sql("select parent from `tabBOM Item` where item_code = '%s' and (bom_no is NULL or bom_no = '') and docstatus =1" % self.doc.s_item )
- self.doc.clear_table(self.doclist,'replace_item_details', 1)
- self.add_to_replace_bom_utility_detail(pbom, 'replace_item_details')
-
- def add_to_replace_bom_utility_detail(self, pbom, t_fname):
- for d in pbom:
- br_child = addchild( self.doc, t_fname, 'BOM Replace Utility Detail', 0,self.doclist)
- br_child.parent_bom = d[0]
- br_child.save()
- self.doc.save()
-
- def replace_bom(self):
- # validate r_bom
- bom = sql("select name, is_active, docstatus from `tabBOM` where name = %s",self.doc.r_bom, as_dict =1)
- if not bom:
- msgprint("Please Enter Valid BOM to replace with.")
- raise Exception
- if bom and bom[0]['is_active'] != 'Yes':
- msgprint("BOM '%s' is not Active BOM." % cstr(self.doc.r_bom))
- raise Exception
- if bom and flt(bom[0]['docstatus']) != 1:
- msgprint("BOM '%s' is not Submitted BOM." % cstr(self.doc.r_bom))
- raise Exception
-
- # get item code of r_bom
- item_code = cstr(sql("select item from `tabBOM` where name = '%s' " % self.doc.r_bom)[0][0])
- # call replace bom engine
- self.replace_bom_engine('replace_bom_details', 'bom_no', self.doc.s_bom, self.doc.r_bom, item_code)
-
- def replace_item(self):
- item = sql("select name, is_active from `tabItem` where name = %s", self.doc.r_item, as_dict = 1)
- if not item:
- msgprint("Please enter Valid Item Code to replace with.")
- raise Exception
- if item and item[0]['is_active'] != 'Yes':
- msgprint("Item Code '%s' is not Active Item." % cstr(self.doc.r_item))
- raise Exception
- self.replace_bom_engine('replace_item_details', 'item_code', self.doc.s_item, self.doc.r_item)
-
- def replace_data_in_bom_materials(self, dl, fname, s_data, r_data, item_code =''):
- for d in getlist(dl, 'bom_materials'):
- if d.fields[fname] == s_data:
- d.fields[fname] = r_data
- if fname == 'bom_no':
- d.item_code = item_code
- d.save()
-
- def replace_bom_engine(self, t_fname, fname, s_data, r_data, item_code = ''):
- if not r_data:
- msgprint("Please Enter '%s' and then click on '%s'." % ((t_fname == 'replace_bom_details') and 'BOM to Replace' or 'Item to Replace',(t_fname == 'replace_bom_details') and 'Replace BOM' or 'Replace Item' ))
- raise Exception
-
- for d in getlist(self.doclist, t_fname):
- if d.bom_created:
- msgprint("Please click on '%s' and then on '%s'." % ((t_fname == 'replace_bom_details') and 'Search BOM' or 'Search Item',(t_fname == 'replace_bom_details') and 'Replace BOM' or 'Replace Item' ))
- raise Exception
-
- if d.replace:
- # copy_doclist is the framework funcn which create duplicate document and returns doclist of new document
- # Reinder :=
- # make copy
- if self.doc.create_new_bom:
- import webnotes.model.doc
- new_bom_dl = copy_doclist(webnotes.model.doc.get('BOM', d.parent_bom), no_copy = ['is_active', 'is_default', 'is_sub_assembly', 'remarks', 'flat_bom_details'])
-
- new_bom_dl[0].docstatus = 0
- new_bom_dl[0].save()
- else:
- new_bom_dl = get_obj('BOM', d.parent_bom, with_children = 1).doclist
-
- # replace s_data with r_data in Bom Material Detail Table
- self.replace_data_in_bom_materials(new_bom_dl, fname, s_data, r_data, item_code)
-
- d.bom_created = new_bom_dl[0].name
- d.save()
-
- def update_docstatus(self):
- sql("update `tabBOM` set docstatus = 0 where name = '%s' limit 1" % self.doc.bom)
- msgprint("Updated")
-
- def update_bom(self):
- self.check_bom_list = []
- main_bom_list = get_obj('Production Control').traverse_bom_tree(self.doc.fg_bom_no, 1)
- main_bom_list.reverse()
- # run calculate cost and get
- #msgprint(main_bom_list)
- for bom in main_bom_list:
- if bom and bom not in self.check_bom_list:
- bom_obj = get_obj('BOM', bom, with_children = 1)
- #print(bom_obj.doc.fields)
- bom_obj.validate()
- bom_obj.doc.docstatus = 1
- bom_obj.check_recursion()
- bom_obj.update_flat_bom_engine(is_submit = 1)
- bom_obj.doc.docstatus = 1
- bom_obj.doc.save()
- self.check_bom_list.append(bom)
diff --git a/erpnext/production/doctype/bom_replace_utility/bom_replace_utility.txt b/erpnext/production/doctype/bom_replace_utility/bom_replace_utility.txt
deleted file mode 100644
index acfc9647971..00000000000
--- a/erpnext/production/doctype/bom_replace_utility/bom_replace_utility.txt
+++ /dev/null
@@ -1,383 +0,0 @@
-# DocType, BOM Replace Utility
-[
-
- # These values are common in all dictionaries
- {
- 'creation': '2012-03-27 14:36:02',
- 'docstatus': 0,
- 'modified': '2012-03-27 14:36:02',
- 'modified_by': u'Administrator',
- 'owner': u'jai@webnotestech.com'
- },
-
- # These values are common for all DocType
- {
- 'colour': u'White:FFF',
- 'doctype': 'DocType',
- 'issingle': 1,
- 'module': u'Production',
- 'name': '__common__',
- 'section_style': u'Tray',
- 'server_code_error': u' ',
- 'show_in_menu': 1,
- 'version': 56
- },
-
- # These values are common for all DocField
- {
- 'doctype': u'DocField',
- 'name': '__common__',
- 'parent': u'BOM Replace Utility',
- 'parentfield': u'fields',
- 'parenttype': u'DocType',
- 'permlevel': 0
- },
-
- # These values are common for all DocPerm
- {
- 'doctype': u'DocPerm',
- 'name': '__common__',
- 'parent': u'BOM Replace Utility',
- 'parentfield': u'permissions',
- 'parenttype': u'DocType',
- 'read': 1
- },
-
- # DocType, BOM Replace Utility
- {
- 'doctype': 'DocType',
- 'name': u'BOM Replace Utility'
- },
-
- # DocPerm
- {
- 'create': 1,
- 'doctype': u'DocPerm',
- 'permlevel': 0,
- 'role': u'System Manager',
- 'write': 1
- },
-
- # DocPerm
- {
- 'create': 1,
- 'doctype': u'DocPerm',
- 'permlevel': 0,
- 'role': u'Production User',
- 'write': 1
- },
-
- # DocPerm
- {
- 'create': 1,
- 'doctype': u'DocPerm',
- 'permlevel': 0,
- 'role': u'Production Manager',
- 'submit': 0,
- 'write': 1
- },
-
- # DocPerm
- {
- 'doctype': u'DocPerm',
- 'permlevel': 1,
- 'role': u'System Manager'
- },
-
- # DocPerm
- {
- 'doctype': u'DocPerm',
- 'permlevel': 1,
- 'role': u'Production User'
- },
-
- # DocPerm
- {
- 'doctype': u'DocPerm',
- 'permlevel': 1,
- 'role': u'Production Manager'
- },
-
- # DocField
- {
- 'doctype': u'DocField',
- 'fieldname': u'create_new_bom',
- 'fieldtype': u'Check',
- 'label': u'Create New BOM'
- },
-
- # DocField
- {
- 'doctype': u'DocField',
- 'fieldname': u'bom_details',
- 'fieldtype': u'Section Break',
- 'label': u'BOM Details'
- },
-
- # DocField
- {
- 'colour': u'White:FFF',
- 'description': u'Select the relevant BOM to be replaced which is actually a raw material used for a parent BOM.',
- 'doctype': u'DocField',
- 'fieldname': u's_bom',
- 'fieldtype': u'Link',
- 'label': u'Select BOM',
- 'options': u'BOM',
- 'trigger': u'Client'
- },
-
- # DocField
- {
- 'colour': u'White:FFF',
- 'doctype': u'DocField',
- 'fieldname': u'note_1',
- 'fieldtype': u'HTML',
- 'label': u'Note 1',
- 'options': u'Click on the button "Search BOM" to fetch in the table below all the parent BOMs in which the above selected BOM is used as a raw material.'
- },
-
- # DocField
- {
- 'doctype': u'DocField',
- 'fieldname': u'column_break0',
- 'fieldtype': u'Column Break'
- },
-
- # DocField
- {
- 'colour': u'White:FFF',
- 'doctype': u'DocField',
- 'fieldname': u'search_bom',
- 'fieldtype': u'Button',
- 'label': u'Search BOM',
- 'options': u'search_parent_bom_of_bom'
- },
-
- # DocField
- {
- 'doctype': u'DocField',
- 'fieldname': u'section_break0',
- 'fieldtype': u'Section Break',
- 'options': u'Simple'
- },
-
- # DocField
- {
- 'colour': u'White:FFF',
- 'description': u'Select the BOM by which you want the above sected BOM to be replaced.',
- 'doctype': u'DocField',
- 'fieldname': u'r_bom',
- 'fieldtype': u'Link',
- 'label': u'Replace Bom with',
- 'options': u'BOM',
- 'trigger': u'Client'
- },
-
- # DocField
- {
- 'doctype': u'DocField',
- 'fieldname': u'note_2',
- 'fieldtype': u'HTML',
- 'label': u'Note 2',
- 'options': u'Click on the button "Replace BOM" after checking under the column Replace against relevant Parent BOMs'
- },
-
- # DocField
- {
- 'doctype': u'DocField',
- 'fieldname': u'column_break1',
- 'fieldtype': u'Column Break'
- },
-
- # DocField
- {
- 'colour': u'White:FFF',
- 'doctype': u'DocField',
- 'fieldname': u'replace_bom',
- 'fieldtype': u'Button',
- 'label': u'Replace BOM',
- 'options': u'replace_bom'
- },
-
- # DocField
- {
- 'doctype': u'DocField',
- 'fieldname': u'section_break1',
- 'fieldtype': u'Section Break',
- 'options': u'Simple'
- },
-
- # DocField
- {
- 'doctype': u'DocField',
- 'fieldname': u'replace_bom_details',
- 'fieldtype': u'Table',
- 'label': u'Replace BOM Detail',
- 'options': u'BOM Replace Utility Detail'
- },
-
- # DocField
- {
- 'doctype': u'DocField',
- 'fieldname': u'item_details',
- 'fieldtype': u'Section Break',
- 'label': u'Item Details'
- },
-
- # DocField
- {
- 'colour': u'White:FFF',
- 'description': u'Select the relevant item to be replaced which is actually a raw material used for a parent BOM.',
- 'doctype': u'DocField',
- 'fieldname': u's_item',
- 'fieldtype': u'Link',
- 'label': u'Select Item',
- 'options': u'Item',
- 'trigger': u'Client'
- },
-
- # DocField
- {
- 'doctype': u'DocField',
- 'fieldname': u'note_3',
- 'fieldtype': u'HTML',
- 'label': u'Note 3',
- 'options': u'Click on the button "Search Item" to fetch in the table below all the parent BOMs in which the above selected item is used as a raw material.'
- },
-
- # DocField
- {
- 'doctype': u'DocField',
- 'fieldname': u'column_break2',
- 'fieldtype': u'Column Break'
- },
-
- # DocField
- {
- 'colour': u'White:FFF',
- 'doctype': u'DocField',
- 'fieldname': u'search_item',
- 'fieldtype': u'Button',
- 'label': u'Search Item',
- 'options': u'search_parent_bom_of_item'
- },
-
- # DocField
- {
- 'doctype': u'DocField',
- 'fieldname': u'section_break2',
- 'fieldtype': u'Section Break',
- 'options': u'Simple'
- },
-
- # DocField
- {
- 'colour': u'White:FFF',
- 'description': u'Select the item by which you want the above sected item to be replaced.',
- 'doctype': u'DocField',
- 'fieldname': u'r_item',
- 'fieldtype': u'Link',
- 'label': u'Replace Item with',
- 'options': u'Item',
- 'trigger': u'Client'
- },
-
- # DocField
- {
- 'doctype': u'DocField',
- 'fieldname': u'note_4',
- 'fieldtype': u'HTML',
- 'label': u'Note 4',
- 'options': u'Click on the button "Replace Item" after checking under the column Replace against relevant Parent BOMs'
- },
-
- # DocField
- {
- 'doctype': u'DocField',
- 'fieldname': u'column_break3',
- 'fieldtype': u'Column Break'
- },
-
- # DocField
- {
- 'colour': u'White:FFF',
- 'doctype': u'DocField',
- 'fieldname': u'replace_item',
- 'fieldtype': u'Button',
- 'label': u'Replace Item',
- 'options': u'replace_item'
- },
-
- # DocField
- {
- 'doctype': u'DocField',
- 'fieldname': u'section_break3',
- 'fieldtype': u'Section Break',
- 'options': u'Simple'
- },
-
- # DocField
- {
- 'doctype': u'DocField',
- 'fieldname': u'replace_item_details',
- 'fieldtype': u'Table',
- 'label': u'Replace Item Detail',
- 'options': u'BOM Replace Utility Detail'
- },
-
- # DocField
- {
- 'doctype': u'DocField',
- 'fieldname': u'update_bom_tree',
- 'fieldtype': u'Section Break',
- 'label': u'Update BOM Tree'
- },
-
- # DocField
- {
- 'colour': u'White:FFF',
- 'description': u'Select the root Bill of Materials in which raw materials are replaced and click on the button below to update costs.',
- 'doctype': u'DocField',
- 'fieldname': u'fg_bom_no',
- 'fieldtype': u'Link',
- 'label': u'FG BOM No',
- 'options': u'BOM'
- },
-
- # DocField
- {
- 'doctype': u'DocField',
- 'fieldname': u'update',
- 'fieldtype': u'Button',
- 'label': u'Update',
- 'options': u'update_bom'
- },
-
- # DocField
- {
- 'doctype': u'DocField',
- 'fieldname': u'update_bom',
- 'fieldtype': u'Section Break',
- 'label': u'Update BOM'
- },
-
- # DocField
- {
- 'colour': u'White:FFF',
- 'doctype': u'DocField',
- 'fieldname': u'bom',
- 'fieldtype': u'Link',
- 'label': u'BOM',
- 'options': u'BOM'
- },
-
- # DocField
- {
- 'colour': u'White:FFF',
- 'doctype': u'DocField',
- 'fieldname': u'update_docstatus',
- 'fieldtype': u'Button',
- 'label': u'Update Docstatus',
- 'options': u'update_docstatus'
- }
-]
\ No newline at end of file
diff --git a/erpnext/production/doctype/bom_replace_utility_detail/__init__.py b/erpnext/production/doctype/bom_replace_utility_detail/__init__.py
deleted file mode 100644
index e69de29bb2d..00000000000
diff --git a/erpnext/production/doctype/bom_replace_utility_detail/bom_replace_utility_detail.txt b/erpnext/production/doctype/bom_replace_utility_detail/bom_replace_utility_detail.txt
deleted file mode 100644
index a001555b89b..00000000000
--- a/erpnext/production/doctype/bom_replace_utility_detail/bom_replace_utility_detail.txt
+++ /dev/null
@@ -1,101 +0,0 @@
-# DocType, BOM Replace Utility Detail
-[
-
- # These values are common in all dictionaries
- {
- 'creation': '2012-03-27 14:36:02',
- 'docstatus': 0,
- 'modified': '2012-03-27 14:36:02',
- 'modified_by': u'Administrator',
- 'owner': u'jai@webnotestech.com'
- },
-
- # These values are common for all DocType
- {
- 'autoname': u'BRUD/.#####',
- 'colour': u'White:FFF',
- 'doctype': 'DocType',
- 'hide_toolbar': 1,
- 'in_create': 1,
- 'istable': 1,
- 'module': u'Production',
- 'name': '__common__',
- 'read_only': 1,
- 'section_style': u'Simple',
- 'server_code_error': u' ',
- 'show_in_menu': 0,
- 'version': 8
- },
-
- # These values are common for all DocField
- {
- 'doctype': u'DocField',
- 'name': '__common__',
- 'parent': u'BOM Replace Utility Detail',
- 'parentfield': u'fields',
- 'parenttype': u'DocType'
- },
-
- # These values are common for all DocPerm
- {
- 'create': 0,
- 'doctype': u'DocPerm',
- 'name': '__common__',
- 'parent': u'BOM Replace Utility Detail',
- 'parentfield': u'permissions',
- 'parenttype': u'DocType',
- 'permlevel': 0,
- 'read': 1,
- 'role': u'System Manager',
- 'write': 1
- },
-
- # DocType, BOM Replace Utility Detail
- {
- 'doctype': 'DocType',
- 'name': u'BOM Replace Utility Detail'
- },
-
- # DocPerm
- {
- 'doctype': u'DocPerm'
- },
-
- # DocField
- {
- 'colour': u'White:FFF',
- 'doctype': u'DocField',
- 'fieldname': u'parent_bom',
- 'fieldtype': u'Link',
- 'label': u'Parent BOM',
- 'oldfieldname': u'parent_bom',
- 'oldfieldtype': u'Link',
- 'options': u'BOM',
- 'permlevel': 1,
- 'reqd': 1
- },
-
- # DocField
- {
- 'doctype': u'DocField',
- 'fieldname': u'replace',
- 'fieldtype': u'Check',
- 'label': u'Replace',
- 'oldfieldname': u'replace',
- 'oldfieldtype': u'Check',
- 'permlevel': 0
- },
-
- # DocField
- {
- 'doctype': u'DocField',
- 'fieldname': u'bom_created',
- 'fieldtype': u'Link',
- 'label': u'BOM Created',
- 'oldfieldname': u'bom_created',
- 'oldfieldtype': u'Link',
- 'options': u'BOM',
- 'permlevel': 1,
- 'search_index': 0
- }
-]
\ No newline at end of file
diff --git a/erpnext/production/doctype/bom_report_detail/__init__.py b/erpnext/production/doctype/bom_report_detail/__init__.py
deleted file mode 100644
index e69de29bb2d..00000000000
diff --git a/erpnext/production/doctype/bom_report_detail/bom_report_detail.txt b/erpnext/production/doctype/bom_report_detail/bom_report_detail.txt
deleted file mode 100644
index d74d9ba83be..00000000000
--- a/erpnext/production/doctype/bom_report_detail/bom_report_detail.txt
+++ /dev/null
@@ -1,152 +0,0 @@
-# DocType, BOM Report Detail
-[
-
- # These values are common in all dictionaries
- {
- 'creation': '2012-03-27 14:36:03',
- 'docstatus': 0,
- 'modified': '2012-03-27 14:36:03',
- 'modified_by': u'Administrator',
- 'owner': u'Administrator'
- },
-
- # These values are common for all DocType
- {
- 'colour': u'White:FFF',
- 'doctype': 'DocType',
- 'istable': 1,
- 'module': u'Production',
- 'name': '__common__',
- 'section_style': u'Simple',
- 'show_in_menu': 0,
- 'version': 8
- },
-
- # These values are common for all DocField
- {
- 'doctype': u'DocField',
- 'name': '__common__',
- 'parent': u'BOM Report Detail',
- 'parentfield': u'fields',
- 'parenttype': u'DocType'
- },
-
- # These values are common for all DocPerm
- {
- 'doctype': u'DocPerm',
- 'name': '__common__',
- 'parent': u'BOM Report Detail',
- 'parentfield': u'permissions',
- 'parenttype': u'DocType',
- 'read': 1,
- 'role': u'System Manager'
- },
-
- # DocType, BOM Report Detail
- {
- 'doctype': 'DocType',
- 'name': u'BOM Report Detail'
- },
-
- # DocPerm
- {
- 'doctype': u'DocPerm',
- 'permlevel': 0,
- 'write': 1
- },
-
- # DocPerm
- {
- 'doctype': u'DocPerm',
- 'permlevel': 1
- },
-
- # DocField
- {
- 'doctype': u'DocField',
- 'fieldname': u'item_code',
- 'fieldtype': u'Link',
- 'in_filter': 1,
- 'label': u'Item Code',
- 'oldfieldname': u'item_code',
- 'oldfieldtype': u'Link',
- 'options': u'Item',
- 'permlevel': 0,
- 'reqd': 1,
- 'search_index': 1,
- 'trigger': u'Client'
- },
-
- # DocField
- {
- 'doctype': u'DocField',
- 'fieldname': u'description',
- 'fieldtype': u'Text',
- 'label': u'Description',
- 'oldfieldname': u'description',
- 'oldfieldtype': u'Text',
- 'permlevel': 1,
- 'reqd': 0,
- 'width': u'300px'
- },
-
- # DocField
- {
- 'doctype': u'DocField',
- 'fieldname': u'moving_avg_rate',
- 'fieldtype': u'Currency',
- 'label': u'Moving Avg Rate',
- 'oldfieldname': u'moving_avg_rate',
- 'oldfieldtype': u'Currency',
- 'permlevel': 1
- },
-
- # DocField
- {
- 'doctype': u'DocField',
- 'fieldname': u'amount',
- 'fieldtype': u'Currency',
- 'label': u'Amount',
- 'oldfieldname': u'amount',
- 'oldfieldtype': u'Currency',
- 'permlevel': 1,
- 'reqd': 0
- },
-
- # DocField
- {
- 'doctype': u'DocField',
- 'fieldname': u'last_purchase_rate',
- 'fieldtype': u'Currency',
- 'label': u'Last Purchase Rate',
- 'oldfieldname': u'last_purchase_rate',
- 'oldfieldtype': u'Currency',
- 'permlevel': 1,
- 'width': u'150px'
- },
-
- # DocField
- {
- 'doctype': u'DocField',
- 'fieldname': u'qty',
- 'fieldtype': u'Data',
- 'label': u'Qty',
- 'oldfieldname': u'qty',
- 'oldfieldtype': u'Data',
- 'permlevel': 1,
- 'reqd': 1,
- 'trigger': u'Client'
- },
-
- # DocField
- {
- 'doctype': u'DocField',
- 'fieldname': u'stock_uom',
- 'fieldtype': u'Data',
- 'label': u'Stock UOM',
- 'oldfieldname': u'stock_uom',
- 'oldfieldtype': u'Data',
- 'permlevel': 1,
- 'reqd': 0
- }
-]
\ No newline at end of file
diff --git a/erpnext/production/doctype/pf_detail/__init__.py b/erpnext/production/doctype/pf_detail/__init__.py
deleted file mode 100644
index e69de29bb2d..00000000000
diff --git a/erpnext/production/doctype/pf_detail/pf_detail.txt b/erpnext/production/doctype/pf_detail/pf_detail.txt
deleted file mode 100644
index c222604244e..00000000000
--- a/erpnext/production/doctype/pf_detail/pf_detail.txt
+++ /dev/null
@@ -1,230 +0,0 @@
-# DocType, PF Detail
-[
-
- # These values are common in all dictionaries
- {
- 'creation': '2012-03-27 14:36:03',
- 'docstatus': 0,
- 'modified': '2012-03-27 14:45:49',
- 'modified_by': u'Administrator',
- 'owner': u'Administrator'
- },
-
- # These values are common for all DocType
- {
- 'autoname': u'PFD/.#####',
- 'colour': u'White:FFF',
- 'doctype': 'DocType',
- 'is_submittable': 1,
- 'istable': 1,
- 'module': u'Production',
- 'name': '__common__',
- 'section_style': u'Simple',
- 'show_in_menu': 0,
- 'version': 1
- },
-
- # These values are common for all DocField
- {
- 'doctype': u'DocField',
- 'name': '__common__',
- 'parent': u'PF Detail',
- 'parentfield': u'fields',
- 'parenttype': u'DocType'
- },
-
- # These values are common for all DocPerm
- {
- 'doctype': u'DocPerm',
- 'name': '__common__',
- 'parent': u'PF Detail',
- 'parentfield': u'permissions',
- 'parenttype': u'DocType',
- 'read': 1,
- 'role': u'System Manager'
- },
-
- # DocType, PF Detail
- {
- 'doctype': 'DocType',
- 'name': u'PF Detail'
- },
-
- # DocPerm
- {
- 'create': 1,
- 'doctype': u'DocPerm',
- 'permlevel': 0,
- 'submit': 1,
- 'write': 1
- },
-
- # DocPerm
- {
- 'doctype': u'DocPerm',
- 'permlevel': 1
- },
-
- # DocField
- {
- 'doctype': u'DocField',
- 'fieldname': u'item_code',
- 'fieldtype': u'Link',
- 'in_filter': 1,
- 'label': u'Item Code',
- 'oldfieldname': u'item_code',
- 'oldfieldtype': u'Link',
- 'options': u'Item',
- 'permlevel': 0,
- 'reqd': 1,
- 'search_index': 1,
- 'trigger': u'Client',
- 'width': u'150px'
- },
-
- # DocField
- {
- 'doctype': u'DocField',
- 'fieldname': u'description',
- 'fieldtype': u'Text',
- 'label': u'Description',
- 'oldfieldname': u'description',
- 'oldfieldtype': u'Text',
- 'permlevel': 1,
- 'width': u'300px'
- },
-
- # DocField
- {
- 'default': u'0.00',
- 'doctype': u'DocField',
- 'fieldname': u'planned_qty',
- 'fieldtype': u'Currency',
- 'label': u'Planned Quantity',
- 'oldfieldname': u'planned_qty',
- 'oldfieldtype': u'Currency',
- 'permlevel': 1,
- 'width': u'100px'
- },
-
- # DocField
- {
- 'doctype': u'DocField',
- 'fieldname': u'produced_qty',
- 'fieldtype': u'Currency',
- 'label': u'Produced Quantity',
- 'oldfieldname': u'produced_qty',
- 'oldfieldtype': u'Currency',
- 'permlevel': 1,
- 'width': u'100px'
- },
-
- # DocField
- {
- 'doctype': u'DocField',
- 'fieldname': u'start_date',
- 'fieldtype': u'Date',
- 'hidden': 0,
- 'in_filter': 0,
- 'label': u'Start Date',
- 'oldfieldname': u'start_date',
- 'oldfieldtype': u'Date',
- 'permlevel': 0,
- 'report_hide': 0,
- 'reqd': 1,
- 'search_index': 0,
- 'width': u'100px'
- },
-
- # DocField
- {
- 'doctype': u'DocField',
- 'fieldname': u'end_date',
- 'fieldtype': u'Date',
- 'hidden': 0,
- 'in_filter': 0,
- 'label': u'End Date',
- 'oldfieldname': u'end_date',
- 'oldfieldtype': u'Date',
- 'permlevel': 0,
- 'report_hide': 0,
- 'reqd': 1,
- 'search_index': 0,
- 'width': u'100px'
- },
-
- # DocField
- {
- 'doctype': u'DocField',
- 'fieldname': u'qty',
- 'fieldtype': u'Currency',
- 'label': u'Quantity',
- 'oldfieldname': u'qty',
- 'oldfieldtype': u'Currency',
- 'permlevel': 0,
- 'reqd': 1,
- 'width': u'100px'
- },
-
- # DocField
- {
- 'doctype': u'DocField',
- 'fieldname': u'forecast_date',
- 'fieldtype': u'Date',
- 'hidden': 1,
- 'label': u'Forecast Date',
- 'oldfieldname': u'forecast_date',
- 'oldfieldtype': u'Date',
- 'permlevel': 1,
- 'report_hide': 1
- },
-
- # DocField
- {
- 'doctype': u'DocField',
- 'fieldname': u'forecast_due_date',
- 'fieldtype': u'Date',
- 'hidden': 1,
- 'label': u'Forecast Due Date',
- 'oldfieldname': u'forecast_due_date',
- 'oldfieldtype': u'Date',
- 'permlevel': 1,
- 'report_hide': 1
- },
-
- # DocField
- {
- 'doctype': u'DocField',
- 'fieldname': u'stock_uom',
- 'fieldtype': u'Data',
- 'label': u'Stock UOM',
- 'oldfieldname': u'stock_uom',
- 'oldfieldtype': u'Data',
- 'permlevel': 1
- },
-
- # DocField
- {
- 'depends_on': u'eval:doc.amended_from',
- 'description': u'The date at which current entry is corrected in the system.',
- 'doctype': u'DocField',
- 'fieldname': u'amendment_date',
- 'fieldtype': u'Date',
- 'label': u'Amendment Date',
- 'no_copy': 1,
- 'permlevel': 0,
- 'print_hide': 1
- },
-
- # DocField
- {
- 'doctype': u'DocField',
- 'fieldname': u'amended_from',
- 'fieldtype': u'Link',
- 'label': u'Amended From',
- 'no_copy': 1,
- 'options': u'Sales Invoice',
- 'permlevel': 1,
- 'print_hide': 1
- }
-]
\ No newline at end of file
diff --git a/erpnext/production/doctype/ppw_detail/__init__.py b/erpnext/production/doctype/ppw_detail/__init__.py
deleted file mode 100644
index e69de29bb2d..00000000000
diff --git a/erpnext/production/doctype/ppw_detail/ppw_detail.txt b/erpnext/production/doctype/ppw_detail/ppw_detail.txt
deleted file mode 100644
index 3234af1eb58..00000000000
--- a/erpnext/production/doctype/ppw_detail/ppw_detail.txt
+++ /dev/null
@@ -1,51 +0,0 @@
-# DocType, PPW Detail
-[
-
- # These values are common in all dictionaries
- {
- 'creation': '2012-03-27 14:36:04',
- 'docstatus': 0,
- 'modified': '2012-03-27 14:36:04',
- 'modified_by': u'Administrator',
- 'owner': u'Administrator'
- },
-
- # These values are common for all DocType
- {
- 'autoname': u'PPWD/.#######',
- 'colour': u'White:FFF',
- 'doctype': 'DocType',
- 'module': u'Production',
- 'name': '__common__',
- 'section_style': u'Simple',
- 'show_in_menu': 0,
- 'version': 1
- },
-
- # These values are common for all DocField
- {
- 'doctype': u'DocField',
- 'fieldname': u'warehouse',
- 'fieldtype': u'Link',
- 'label': u'Warehouse',
- 'name': '__common__',
- 'oldfieldname': u'warehouse',
- 'oldfieldtype': u'Link',
- 'options': u'Warehouse',
- 'parent': u'PPW Detail',
- 'parentfield': u'fields',
- 'parenttype': u'DocType',
- 'permlevel': 0
- },
-
- # DocType, PPW Detail
- {
- 'doctype': 'DocType',
- 'name': u'PPW Detail'
- },
-
- # DocField
- {
- 'doctype': u'DocField'
- }
-]
\ No newline at end of file
diff --git a/erpnext/production/doctype/pro_detail/__init__.py b/erpnext/production/doctype/pro_detail/__init__.py
deleted file mode 100644
index e69de29bb2d..00000000000
diff --git a/erpnext/production/doctype/pro_detail/pro_detail.txt b/erpnext/production/doctype/pro_detail/pro_detail.txt
deleted file mode 100644
index cfe644e6bee..00000000000
--- a/erpnext/production/doctype/pro_detail/pro_detail.txt
+++ /dev/null
@@ -1,148 +0,0 @@
-# DocType, PRO Detail
-[
-
- # These values are common in all dictionaries
- {
- 'creation': '2012-03-27 14:36:04',
- 'docstatus': 0,
- 'modified': '2012-03-27 14:36:04',
- 'modified_by': u'Administrator',
- 'owner': u'Administrator'
- },
-
- # These values are common for all DocType
- {
- 'autoname': u'PRODC/.#######',
- 'colour': u'White:FFF',
- 'doctype': 'DocType',
- 'istable': 1,
- 'module': u'Production',
- 'name': '__common__',
- 'section_style': u'Simple',
- 'show_in_menu': 0,
- 'version': 4
- },
-
- # These values are common for all DocField
- {
- 'doctype': u'DocField',
- 'name': '__common__',
- 'parent': u'PRO Detail',
- 'parentfield': u'fields',
- 'parenttype': u'DocType'
- },
-
- # DocType, PRO Detail
- {
- 'doctype': 'DocType',
- 'name': u'PRO Detail'
- },
-
- # DocField
- {
- 'doctype': u'DocField',
- 'fieldname': u'item_code',
- 'fieldtype': u'Link',
- 'label': u'Item Code',
- 'oldfieldname': u'item_code',
- 'oldfieldtype': u'Link',
- 'options': u'Item',
- 'permlevel': 0,
- 'reqd': 1,
- 'trigger': u'Client'
- },
-
- # DocField
- {
- 'doctype': u'DocField',
- 'fieldname': u'description',
- 'fieldtype': u'Text',
- 'label': u'Description',
- 'oldfieldname': u'description',
- 'oldfieldtype': u'Text',
- 'permlevel': 1,
- 'width': u'300px'
- },
-
- # DocField
- {
- 'doctype': u'DocField',
- 'fieldname': u'source_warehouse',
- 'fieldtype': u'Link',
- 'label': u'Source Warehouse',
- 'oldfieldname': u'source_warehouse',
- 'oldfieldtype': u'Link',
- 'options': u'Warehouse',
- 'permlevel': 0,
- 'reqd': 1
- },
-
- # DocField
- {
- 'doctype': u'DocField',
- 'fieldname': u'actual_qty',
- 'fieldtype': u'Currency',
- 'label': u'Current Stock',
- 'oldfieldname': u'actual_qty',
- 'oldfieldtype': u'Currency',
- 'permlevel': 0,
- 'reqd': 1
- },
-
- # DocField
- {
- 'doctype': u'DocField',
- 'fieldname': u'qty_reqd',
- 'fieldtype': u'Currency',
- 'label': u'Qty Reqd',
- 'oldfieldname': u'qty_reqd',
- 'oldfieldtype': u'Currency',
- 'permlevel': 0,
- 'reqd': 1
- },
-
- # DocField
- {
- 'doctype': u'DocField',
- 'fieldname': u'issued_qty',
- 'fieldtype': u'Currency',
- 'label': u'Issued Qty',
- 'oldfieldname': u'issued_qty',
- 'oldfieldtype': u'Currency',
- 'permlevel': 0
- },
-
- # DocField
- {
- 'doctype': u'DocField',
- 'fieldname': u'consumed_qty',
- 'fieldtype': u'Currency',
- 'label': u'Consumed Qty',
- 'oldfieldname': u'consumed_qty',
- 'oldfieldtype': u'Currency',
- 'permlevel': 1
- },
-
- # DocField
- {
- 'doctype': u'DocField',
- 'fieldname': u'qty_consumed_per_unit',
- 'fieldtype': u'Currency',
- 'label': u'Qty Consumed Per Unit',
- 'oldfieldname': u'qty_consumed_per_unit',
- 'oldfieldtype': u'Currency',
- 'permlevel': 0
- },
-
- # DocField
- {
- 'doctype': u'DocField',
- 'fieldname': u'stock_uom',
- 'fieldtype': u'Data',
- 'label': u'Stock UOM',
- 'oldfieldname': u'stock_uom',
- 'oldfieldtype': u'Data',
- 'permlevel': 1,
- 'reqd': 1
- }
-]
\ No newline at end of file
diff --git a/erpnext/production/doctype/pro_pp_detail/__init__.py b/erpnext/production/doctype/pro_pp_detail/__init__.py
deleted file mode 100644
index e69de29bb2d..00000000000
diff --git a/erpnext/production/doctype/pro_pp_detail/pro_pp_detail.txt b/erpnext/production/doctype/pro_pp_detail/pro_pp_detail.txt
deleted file mode 100644
index 9b5e4fa4042..00000000000
--- a/erpnext/production/doctype/pro_pp_detail/pro_pp_detail.txt
+++ /dev/null
@@ -1,121 +0,0 @@
-# DocType, PRO PP Detail
-[
-
- # These values are common in all dictionaries
- {
- 'creation': '2012-03-27 14:36:04',
- 'docstatus': 0,
- 'modified': '2012-03-27 14:36:04',
- 'modified_by': u'Administrator',
- 'owner': u'jai@webnotestech.com'
- },
-
- # These values are common for all DocType
- {
- 'colour': u'White:FFF',
- 'doctype': 'DocType',
- 'istable': 1,
- 'module': u'Production',
- 'name': '__common__',
- 'section_style': u'Simple',
- 'show_in_menu': 0,
- 'version': 5
- },
-
- # These values are common for all DocField
- {
- 'doctype': u'DocField',
- 'name': '__common__',
- 'parent': u'PRO PP Detail',
- 'parentfield': u'fields',
- 'parenttype': u'DocType',
- 'permlevel': 0
- },
-
- # DocType, PRO PP Detail
- {
- 'doctype': 'DocType',
- 'name': u'PRO PP Detail'
- },
-
- # DocField
- {
- 'doctype': u'DocField',
- 'fieldname': u'source_doctype',
- 'fieldtype': u'Data',
- 'label': u'Source Doctype',
- 'oldfieldname': u'source_doctype',
- 'oldfieldtype': u'Data'
- },
-
- # DocField
- {
- 'doctype': u'DocField',
- 'fieldname': u'source_docname',
- 'fieldtype': u'Data',
- 'label': u'Source Docname',
- 'oldfieldname': u'source_docname',
- 'oldfieldtype': u'Data'
- },
-
- # DocField
- {
- 'doctype': u'DocField',
- 'fieldname': u'source_detail_docname',
- 'fieldtype': u'Data',
- 'label': u'Source Detail Docname ',
- 'oldfieldname': u'source_detail_docname',
- 'oldfieldtype': u'Data'
- },
-
- # DocField
- {
- 'doctype': u'DocField',
- 'fieldname': u'prevdoc_detail_docname',
- 'fieldtype': u'Data',
- 'label': u'Prevdoc Detail Docname',
- 'oldfieldname': u'prevdoc_detail_docname',
- 'oldfieldtype': u'Data'
- },
-
- # DocField
- {
- 'doctype': u'DocField',
- 'fieldname': u'confirm_date',
- 'fieldtype': u'Date',
- 'label': u'Confirm Date',
- 'oldfieldname': u'confirm_date',
- 'oldfieldtype': u'Date'
- },
-
- # DocField
- {
- 'doctype': u'DocField',
- 'fieldname': u'qty_reqd',
- 'fieldtype': u'Currency',
- 'label': u'Qty Reqd',
- 'oldfieldname': u'qty_reqd',
- 'oldfieldtype': u'Currency'
- },
-
- # DocField
- {
- 'doctype': u'DocField',
- 'fieldname': u'produced_qty',
- 'fieldtype': u'Currency',
- 'label': u'Produced Qty',
- 'oldfieldname': u'produced_qty',
- 'oldfieldtype': u'Currency'
- },
-
- # DocField
- {
- 'allow_on_submit': 1,
- 'doctype': u'DocField',
- 'fieldname': u'update',
- 'fieldtype': u'Check',
- 'label': u'Update',
- 'oldfieldname': u'update',
- 'oldfieldtype': u'Check'
- }
-]
\ No newline at end of file
diff --git a/erpnext/production/page/production_home/production_home.html b/erpnext/production/page/production_home/production_home.html
index 13e24684c2a..b2762ad60ce 100644
--- a/erpnext/production/page/production_home/production_home.html
+++ b/erpnext/production/page/production_home/production_home.html
@@ -10,7 +10,7 @@
Generate Purchase Requisition (MRP) and Production Orders
You can edit HTML for your banner or add an attachment and click on "Set from Attachment"
'
- },
-
- # DocField
- {
- 'doctype': u'DocField',
- 'fieldname': u'header_html',
- 'fieldtype': u'Code',
- 'label': u'Banner HTML'
- },
-
- # DocField
- {
- 'doctype': u'DocField',
- 'fieldname': u'set_from_attachment',
- 'fieldtype': u'Check',
- 'label': u'Set from attachment'
- },
-
- # DocField
- {
- 'doctype': u'DocField',
- 'fieldname': u'file_list',
- 'fieldtype': u'Text',
- 'hidden': 1,
- 'label': u'File List'
- }
-]
\ No newline at end of file
diff --git a/erpnext/setup/doctype/setup_wizard_control/__init__.py b/erpnext/setup/doctype/setup_wizard_control/__init__.py
deleted file mode 100644
index e69de29bb2d..00000000000
diff --git a/erpnext/setup/doctype/setup_wizard_control/setup_wizard_control.py b/erpnext/setup/doctype/setup_wizard_control/setup_wizard_control.py
deleted file mode 100644
index ec54f544274..00000000000
--- a/erpnext/setup/doctype/setup_wizard_control/setup_wizard_control.py
+++ /dev/null
@@ -1,73 +0,0 @@
-# ERPNext - web based ERP (http://erpnext.com)
-# Copyright (C) 2012 Web Notes Technologies Pvt Ltd
-#
-# This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 3 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program. If not, see