diff --git a/.gitignore b/.gitignore index 56149a0d5d3..7f90378aeca 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,5 @@ .DS_Store server_tools patch.log +lib +versions-local.db diff --git a/README b/README deleted file mode 100644 index 5f3ecd69968..00000000000 --- a/README +++ /dev/null @@ -1,3 +0,0 @@ -For more info, download, install - -http://erpnext.org \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 00000000000..3327238f2fe --- /dev/null +++ b/README.md @@ -0,0 +1,30 @@ +# ERPNext - Open Source + SAAS ERP + +Includes Accounting, Inventory, CRM, Sales, Purchase, Projects, HRMS + +Built on Python / MySQL / wnframework + +- [Download](http://erpnext.org) +- [Use now as SAAS @ $7/user/month](https://erpnext.com) + +## Platform + +ERPNext is built on [wnframework](https://github.com/webnotes/wnframework) + +## Download and Install + +For download and install details, please go to [erpnext.org](http://erpnext.org) + +## Forums + +- [User / Functional](http://groups.google.com/group/erpnext-user-forum) +- [Technical](http://groups.google.com/group/wnframework) + +## Contributing + +If you interested in contributing to ERPNext, you must go thorough the wnframework. The code is not easily understandable, but we are making a lot of effort to do it. + +## License + +ERPNext is available under the GNU/GPL license. + diff --git a/config/conf.py b/config/conf.py new file mode 100644 index 00000000000..1cf35e21cb8 --- /dev/null +++ b/config/conf.py @@ -0,0 +1,7 @@ +index_path = '/' + +include_paths = [ + 'erpnext', + 'lib/py', + 'lib/py/legacy' +] \ No newline at end of file diff --git a/master.sql.gz b/data/master.sql.gz similarity index 100% rename from master.sql.gz rename to data/master.sql.gz diff --git a/accounts/__init__.py b/erpnext/.no_timestamps similarity index 100% rename from accounts/__init__.py rename to erpnext/.no_timestamps diff --git a/accounts/DocType Label/Payable Voucher/Payable Voucher.txt b/erpnext/accounts/DocType Label/Payable Voucher/Payable Voucher.txt similarity index 100% rename from accounts/DocType Label/Payable Voucher/Payable Voucher.txt rename to erpnext/accounts/DocType Label/Payable Voucher/Payable Voucher.txt diff --git a/accounts/DocType Label/Receivable Voucher/Receivable Voucher.txt b/erpnext/accounts/DocType Label/Receivable Voucher/Receivable Voucher.txt similarity index 100% rename from accounts/DocType Label/Receivable Voucher/Receivable Voucher.txt rename to erpnext/accounts/DocType Label/Receivable Voucher/Receivable Voucher.txt diff --git a/accounts/DocType Mapper/Delivery Note-Receivable Voucher/Delivery Note-Receivable Voucher.txt b/erpnext/accounts/DocType Mapper/Delivery Note-Receivable Voucher/Delivery Note-Receivable Voucher.txt similarity index 100% rename from accounts/DocType Mapper/Delivery Note-Receivable Voucher/Delivery Note-Receivable Voucher.txt rename to erpnext/accounts/DocType Mapper/Delivery Note-Receivable Voucher/Delivery Note-Receivable Voucher.txt diff --git a/accounts/DocType Mapper/Project-Receivable Voucher/Project-Receivable Voucher.txt b/erpnext/accounts/DocType Mapper/Project-Receivable Voucher/Project-Receivable Voucher.txt similarity index 100% rename from accounts/DocType Mapper/Project-Receivable Voucher/Project-Receivable Voucher.txt rename to erpnext/accounts/DocType Mapper/Project-Receivable Voucher/Project-Receivable Voucher.txt diff --git a/accounts/DocType Mapper/Purchase Order-Payable Voucher/Purchase Order-Payable Voucher.txt b/erpnext/accounts/DocType Mapper/Purchase Order-Payable Voucher/Purchase Order-Payable Voucher.txt similarity index 100% rename from accounts/DocType Mapper/Purchase Order-Payable Voucher/Purchase Order-Payable Voucher.txt rename to erpnext/accounts/DocType Mapper/Purchase Order-Payable Voucher/Purchase Order-Payable Voucher.txt diff --git a/accounts/DocType Mapper/Purchase Receipt-Payable Voucher/Purchase Receipt-Payable Voucher.txt b/erpnext/accounts/DocType Mapper/Purchase Receipt-Payable Voucher/Purchase Receipt-Payable Voucher.txt similarity index 100% rename from accounts/DocType Mapper/Purchase Receipt-Payable Voucher/Purchase Receipt-Payable Voucher.txt rename to erpnext/accounts/DocType Mapper/Purchase Receipt-Payable Voucher/Purchase Receipt-Payable Voucher.txt diff --git a/accounts/DocType Mapper/Sales Order-Receivable Voucher/Sales Order-Receivable Voucher.txt b/erpnext/accounts/DocType Mapper/Sales Order-Receivable Voucher/Sales Order-Receivable Voucher.txt similarity index 100% rename from accounts/DocType Mapper/Sales Order-Receivable Voucher/Sales Order-Receivable Voucher.txt rename to erpnext/accounts/DocType Mapper/Sales Order-Receivable Voucher/Sales Order-Receivable Voucher.txt diff --git a/accounts/GL Mapper/Journal Voucher/Journal Voucher.txt b/erpnext/accounts/GL Mapper/Journal Voucher/Journal Voucher.txt similarity index 100% rename from accounts/GL Mapper/Journal Voucher/Journal Voucher.txt rename to erpnext/accounts/GL Mapper/Journal Voucher/Journal Voucher.txt diff --git a/accounts/GL Mapper/POS with write off/POS with write off.txt b/erpnext/accounts/GL Mapper/POS with write off/POS with write off.txt similarity index 100% rename from accounts/GL Mapper/POS with write off/POS with write off.txt rename to erpnext/accounts/GL Mapper/POS with write off/POS with write off.txt diff --git a/accounts/GL Mapper/POS/POS.txt b/erpnext/accounts/GL Mapper/POS/POS.txt similarity index 100% rename from accounts/GL Mapper/POS/POS.txt rename to erpnext/accounts/GL Mapper/POS/POS.txt diff --git a/accounts/GL Mapper/Payable Voucher/Payable Voucher.txt b/erpnext/accounts/GL Mapper/Payable Voucher/Payable Voucher.txt similarity index 100% rename from accounts/GL Mapper/Payable Voucher/Payable Voucher.txt rename to erpnext/accounts/GL Mapper/Payable Voucher/Payable Voucher.txt diff --git a/accounts/GL Mapper/Receivable Voucher/Receivable Voucher.txt b/erpnext/accounts/GL Mapper/Receivable Voucher/Receivable Voucher.txt similarity index 100% rename from accounts/GL Mapper/Receivable Voucher/Receivable Voucher.txt rename to erpnext/accounts/GL Mapper/Receivable Voucher/Receivable Voucher.txt diff --git a/accounts/Module Def/Accounts/Accounts.txt b/erpnext/accounts/Module Def/Accounts/Accounts.txt similarity index 100% rename from accounts/Module Def/Accounts/Accounts.txt rename to erpnext/accounts/Module Def/Accounts/Accounts.txt diff --git a/accounts/Print Format/Cheque Printing Format/Cheque Printing Format.txt b/erpnext/accounts/Print Format/Cheque Printing Format/Cheque Printing Format.txt similarity index 100% rename from accounts/Print Format/Cheque Printing Format/Cheque Printing Format.txt rename to erpnext/accounts/Print Format/Cheque Printing Format/Cheque Printing Format.txt diff --git a/accounts/Print Format/Form 16A Print Format/Form 16A Print Format.txt b/erpnext/accounts/Print Format/Form 16A Print Format/Form 16A Print Format.txt similarity index 100% rename from accounts/Print Format/Form 16A Print Format/Form 16A Print Format.txt rename to erpnext/accounts/Print Format/Form 16A Print Format/Form 16A Print Format.txt diff --git a/accounts/Print Format/Payment Receipt Voucher/Payment Receipt Voucher.txt b/erpnext/accounts/Print Format/Payment Receipt Voucher/Payment Receipt Voucher.txt similarity index 100% rename from accounts/Print Format/Payment Receipt Voucher/Payment Receipt Voucher.txt rename to erpnext/accounts/Print Format/Payment Receipt Voucher/Payment Receipt Voucher.txt diff --git a/accounts/Role/Accounts Manager/Accounts Manager.txt b/erpnext/accounts/Role/Accounts Manager/Accounts Manager.txt similarity index 100% rename from accounts/Role/Accounts Manager/Accounts Manager.txt rename to erpnext/accounts/Role/Accounts Manager/Accounts Manager.txt diff --git a/accounts/Role/Accounts User/Accounts User.txt b/erpnext/accounts/Role/Accounts User/Accounts User.txt similarity index 100% rename from accounts/Role/Accounts User/Accounts User.txt rename to erpnext/accounts/Role/Accounts User/Accounts User.txt diff --git a/accounts/TDS Rate Chart/Rate chart (01-07-2010)/Rate chart (01-07-2010).txt b/erpnext/accounts/TDS Rate Chart/Rate chart (01-07-2010)/Rate chart (01-07-2010).txt similarity index 100% rename from accounts/TDS Rate Chart/Rate chart (01-07-2010)/Rate chart (01-07-2010).txt rename to erpnext/accounts/TDS Rate Chart/Rate chart (01-07-2010)/Rate chart (01-07-2010).txt diff --git a/accounts/TDS Rate Chart/TDS Rate Chart October 2009 Onwards/TDS Rate Chart October 2009 Onwards.txt b/erpnext/accounts/TDS Rate Chart/TDS Rate Chart October 2009 Onwards/TDS Rate Chart October 2009 Onwards.txt similarity index 100% rename from accounts/TDS Rate Chart/TDS Rate Chart October 2009 Onwards/TDS Rate Chart October 2009 Onwards.txt rename to erpnext/accounts/TDS Rate Chart/TDS Rate Chart October 2009 Onwards/TDS Rate Chart October 2009 Onwards.txt diff --git a/accounts/TDS Rate Chart/TDS Rate Chart for 2009-10/TDS Rate Chart for 2009-10.txt b/erpnext/accounts/TDS Rate Chart/TDS Rate Chart for 2009-10/TDS Rate Chart for 2009-10.txt similarity index 100% rename from accounts/TDS Rate Chart/TDS Rate Chart for 2009-10/TDS Rate Chart for 2009-10.txt rename to erpnext/accounts/TDS Rate Chart/TDS Rate Chart for 2009-10/TDS Rate Chart for 2009-10.txt diff --git a/accounts/doctype/__init__.py b/erpnext/accounts/__init__.py similarity index 100% rename from accounts/doctype/__init__.py rename to erpnext/accounts/__init__.py diff --git a/accounts/doctype/account/__init__.py b/erpnext/accounts/doctype/__init__.py similarity index 100% rename from accounts/doctype/account/__init__.py rename to erpnext/accounts/doctype/__init__.py diff --git a/accounts/doctype/account_balance/__init__.py b/erpnext/accounts/doctype/account/__init__.py similarity index 100% rename from accounts/doctype/account_balance/__init__.py rename to erpnext/accounts/doctype/account/__init__.py diff --git a/accounts/doctype/account/account.js b/erpnext/accounts/doctype/account/account.js similarity index 100% rename from accounts/doctype/account/account.js rename to erpnext/accounts/doctype/account/account.js diff --git a/accounts/doctype/account/account.py b/erpnext/accounts/doctype/account/account.py similarity index 100% rename from accounts/doctype/account/account.py rename to erpnext/accounts/doctype/account/account.py diff --git a/accounts/doctype/account/account.txt b/erpnext/accounts/doctype/account/account.txt similarity index 100% rename from accounts/doctype/account/account.txt rename to erpnext/accounts/doctype/account/account.txt diff --git a/accounts/doctype/advance_adjustment_detail/__init__.py b/erpnext/accounts/doctype/account_balance/__init__.py similarity index 100% rename from accounts/doctype/advance_adjustment_detail/__init__.py rename to erpnext/accounts/doctype/account_balance/__init__.py diff --git a/accounts/doctype/account_balance/account_balance.txt b/erpnext/accounts/doctype/account_balance/account_balance.txt similarity index 100% rename from accounts/doctype/account_balance/account_balance.txt rename to erpnext/accounts/doctype/account_balance/account_balance.txt diff --git a/accounts/doctype/advance_allocation_detail/__init__.py b/erpnext/accounts/doctype/advance_adjustment_detail/__init__.py similarity index 100% rename from accounts/doctype/advance_allocation_detail/__init__.py rename to erpnext/accounts/doctype/advance_adjustment_detail/__init__.py diff --git a/accounts/doctype/advance_adjustment_detail/advance_adjustment_detail.txt b/erpnext/accounts/doctype/advance_adjustment_detail/advance_adjustment_detail.txt similarity index 100% rename from accounts/doctype/advance_adjustment_detail/advance_adjustment_detail.txt rename to erpnext/accounts/doctype/advance_adjustment_detail/advance_adjustment_detail.txt diff --git a/accounts/doctype/bank_reconciliation/__init__.py b/erpnext/accounts/doctype/advance_allocation_detail/__init__.py similarity index 100% rename from accounts/doctype/bank_reconciliation/__init__.py rename to erpnext/accounts/doctype/advance_allocation_detail/__init__.py diff --git a/accounts/doctype/advance_allocation_detail/advance_allocation_detail.txt b/erpnext/accounts/doctype/advance_allocation_detail/advance_allocation_detail.txt similarity index 100% rename from accounts/doctype/advance_allocation_detail/advance_allocation_detail.txt rename to erpnext/accounts/doctype/advance_allocation_detail/advance_allocation_detail.txt diff --git a/accounts/doctype/bank_reconciliation_detail/__init__.py b/erpnext/accounts/doctype/bank_reconciliation/__init__.py similarity index 100% rename from accounts/doctype/bank_reconciliation_detail/__init__.py rename to erpnext/accounts/doctype/bank_reconciliation/__init__.py diff --git a/accounts/doctype/bank_reconciliation/bank_reconciliation.js b/erpnext/accounts/doctype/bank_reconciliation/bank_reconciliation.js similarity index 100% rename from accounts/doctype/bank_reconciliation/bank_reconciliation.js rename to erpnext/accounts/doctype/bank_reconciliation/bank_reconciliation.js diff --git a/accounts/doctype/bank_reconciliation/bank_reconciliation.py b/erpnext/accounts/doctype/bank_reconciliation/bank_reconciliation.py similarity index 100% rename from accounts/doctype/bank_reconciliation/bank_reconciliation.py rename to erpnext/accounts/doctype/bank_reconciliation/bank_reconciliation.py diff --git a/accounts/doctype/bank_reconciliation/bank_reconciliation.txt b/erpnext/accounts/doctype/bank_reconciliation/bank_reconciliation.txt similarity index 100% rename from accounts/doctype/bank_reconciliation/bank_reconciliation.txt rename to erpnext/accounts/doctype/bank_reconciliation/bank_reconciliation.txt diff --git a/accounts/doctype/budget_control/__init__.py b/erpnext/accounts/doctype/bank_reconciliation_detail/__init__.py similarity index 100% rename from accounts/doctype/budget_control/__init__.py rename to erpnext/accounts/doctype/bank_reconciliation_detail/__init__.py diff --git a/accounts/doctype/bank_reconciliation_detail/bank_reconciliation_detail.txt b/erpnext/accounts/doctype/bank_reconciliation_detail/bank_reconciliation_detail.txt similarity index 100% rename from accounts/doctype/bank_reconciliation_detail/bank_reconciliation_detail.txt rename to erpnext/accounts/doctype/bank_reconciliation_detail/bank_reconciliation_detail.txt diff --git a/accounts/doctype/budget_detail/__init__.py b/erpnext/accounts/doctype/budget_control/__init__.py similarity index 100% rename from accounts/doctype/budget_detail/__init__.py rename to erpnext/accounts/doctype/budget_control/__init__.py diff --git a/accounts/doctype/budget_control/budget_control.js b/erpnext/accounts/doctype/budget_control/budget_control.js similarity index 100% rename from accounts/doctype/budget_control/budget_control.js rename to erpnext/accounts/doctype/budget_control/budget_control.js diff --git a/accounts/doctype/budget_control/budget_control.py b/erpnext/accounts/doctype/budget_control/budget_control.py similarity index 100% rename from accounts/doctype/budget_control/budget_control.py rename to erpnext/accounts/doctype/budget_control/budget_control.py diff --git a/accounts/doctype/budget_control/budget_control.txt b/erpnext/accounts/doctype/budget_control/budget_control.txt similarity index 100% rename from accounts/doctype/budget_control/budget_control.txt rename to erpnext/accounts/doctype/budget_control/budget_control.txt diff --git a/accounts/doctype/budget_distribution/__init__.py b/erpnext/accounts/doctype/budget_detail/__init__.py similarity index 100% rename from accounts/doctype/budget_distribution/__init__.py rename to erpnext/accounts/doctype/budget_detail/__init__.py diff --git a/accounts/doctype/budget_detail/budget_detail.txt b/erpnext/accounts/doctype/budget_detail/budget_detail.txt similarity index 100% rename from accounts/doctype/budget_detail/budget_detail.txt rename to erpnext/accounts/doctype/budget_detail/budget_detail.txt diff --git a/accounts/doctype/budget_distribution_detail/__init__.py b/erpnext/accounts/doctype/budget_distribution/__init__.py similarity index 100% rename from accounts/doctype/budget_distribution_detail/__init__.py rename to erpnext/accounts/doctype/budget_distribution/__init__.py diff --git a/accounts/doctype/budget_distribution/budget_distribution.js b/erpnext/accounts/doctype/budget_distribution/budget_distribution.js similarity index 100% rename from accounts/doctype/budget_distribution/budget_distribution.js rename to erpnext/accounts/doctype/budget_distribution/budget_distribution.js diff --git a/accounts/doctype/budget_distribution/budget_distribution.py b/erpnext/accounts/doctype/budget_distribution/budget_distribution.py similarity index 100% rename from accounts/doctype/budget_distribution/budget_distribution.py rename to erpnext/accounts/doctype/budget_distribution/budget_distribution.py diff --git a/accounts/doctype/budget_distribution/budget_distribution.txt b/erpnext/accounts/doctype/budget_distribution/budget_distribution.txt similarity index 100% rename from accounts/doctype/budget_distribution/budget_distribution.txt rename to erpnext/accounts/doctype/budget_distribution/budget_distribution.txt diff --git a/accounts/doctype/cost_center/__init__.py b/erpnext/accounts/doctype/budget_distribution_detail/__init__.py similarity index 100% rename from accounts/doctype/cost_center/__init__.py rename to erpnext/accounts/doctype/budget_distribution_detail/__init__.py diff --git a/accounts/doctype/budget_distribution_detail/budget_distribution_detail.txt b/erpnext/accounts/doctype/budget_distribution_detail/budget_distribution_detail.txt similarity index 100% rename from accounts/doctype/budget_distribution_detail/budget_distribution_detail.txt rename to erpnext/accounts/doctype/budget_distribution_detail/budget_distribution_detail.txt diff --git a/accounts/doctype/fiscal_year/__init__.py b/erpnext/accounts/doctype/cost_center/__init__.py similarity index 100% rename from accounts/doctype/fiscal_year/__init__.py rename to erpnext/accounts/doctype/cost_center/__init__.py diff --git a/accounts/doctype/cost_center/cost_center.js b/erpnext/accounts/doctype/cost_center/cost_center.js similarity index 100% rename from accounts/doctype/cost_center/cost_center.js rename to erpnext/accounts/doctype/cost_center/cost_center.js diff --git a/accounts/doctype/cost_center/cost_center.py b/erpnext/accounts/doctype/cost_center/cost_center.py similarity index 100% rename from accounts/doctype/cost_center/cost_center.py rename to erpnext/accounts/doctype/cost_center/cost_center.py diff --git a/accounts/doctype/cost_center/cost_center.txt b/erpnext/accounts/doctype/cost_center/cost_center.txt similarity index 100% rename from accounts/doctype/cost_center/cost_center.txt rename to erpnext/accounts/doctype/cost_center/cost_center.txt diff --git a/accounts/doctype/form_16a/__init__.py b/erpnext/accounts/doctype/fiscal_year/__init__.py similarity index 100% rename from accounts/doctype/form_16a/__init__.py rename to erpnext/accounts/doctype/fiscal_year/__init__.py diff --git a/accounts/doctype/fiscal_year/fiscal_year.py b/erpnext/accounts/doctype/fiscal_year/fiscal_year.py similarity index 100% rename from accounts/doctype/fiscal_year/fiscal_year.py rename to erpnext/accounts/doctype/fiscal_year/fiscal_year.py diff --git a/accounts/doctype/fiscal_year/fiscal_year.txt b/erpnext/accounts/doctype/fiscal_year/fiscal_year.txt similarity index 100% rename from accounts/doctype/fiscal_year/fiscal_year.txt rename to erpnext/accounts/doctype/fiscal_year/fiscal_year.txt diff --git a/accounts/doctype/form_16a_ack_detail/__init__.py b/erpnext/accounts/doctype/form_16a/__init__.py similarity index 100% rename from accounts/doctype/form_16a_ack_detail/__init__.py rename to erpnext/accounts/doctype/form_16a/__init__.py diff --git a/accounts/doctype/form_16a/form_16a.js b/erpnext/accounts/doctype/form_16a/form_16a.js similarity index 100% rename from accounts/doctype/form_16a/form_16a.js rename to erpnext/accounts/doctype/form_16a/form_16a.js diff --git a/accounts/doctype/form_16a/form_16a.py b/erpnext/accounts/doctype/form_16a/form_16a.py similarity index 100% rename from accounts/doctype/form_16a/form_16a.py rename to erpnext/accounts/doctype/form_16a/form_16a.py diff --git a/accounts/doctype/form_16a/form_16a.txt b/erpnext/accounts/doctype/form_16a/form_16a.txt similarity index 100% rename from accounts/doctype/form_16a/form_16a.txt rename to erpnext/accounts/doctype/form_16a/form_16a.txt diff --git a/accounts/doctype/form_16a_tax_detail/__init__.py b/erpnext/accounts/doctype/form_16a_ack_detail/__init__.py similarity index 100% rename from accounts/doctype/form_16a_tax_detail/__init__.py rename to erpnext/accounts/doctype/form_16a_ack_detail/__init__.py diff --git a/accounts/doctype/form_16a_ack_detail/form_16a_ack_detail.txt b/erpnext/accounts/doctype/form_16a_ack_detail/form_16a_ack_detail.txt similarity index 100% rename from accounts/doctype/form_16a_ack_detail/form_16a_ack_detail.txt rename to erpnext/accounts/doctype/form_16a_ack_detail/form_16a_ack_detail.txt diff --git a/accounts/doctype/gl_control/__init__.py b/erpnext/accounts/doctype/form_16a_tax_detail/__init__.py similarity index 100% rename from accounts/doctype/gl_control/__init__.py rename to erpnext/accounts/doctype/form_16a_tax_detail/__init__.py diff --git a/accounts/doctype/form_16a_tax_detail/form_16a_tax_detail.txt b/erpnext/accounts/doctype/form_16a_tax_detail/form_16a_tax_detail.txt similarity index 100% rename from accounts/doctype/form_16a_tax_detail/form_16a_tax_detail.txt rename to erpnext/accounts/doctype/form_16a_tax_detail/form_16a_tax_detail.txt diff --git a/accounts/doctype/gl_entry/__init__.py b/erpnext/accounts/doctype/gl_control/__init__.py similarity index 100% rename from accounts/doctype/gl_entry/__init__.py rename to erpnext/accounts/doctype/gl_control/__init__.py diff --git a/accounts/doctype/gl_control/gl_control.js b/erpnext/accounts/doctype/gl_control/gl_control.js similarity index 100% rename from accounts/doctype/gl_control/gl_control.js rename to erpnext/accounts/doctype/gl_control/gl_control.js diff --git a/accounts/doctype/gl_control/gl_control.py b/erpnext/accounts/doctype/gl_control/gl_control.py similarity index 100% rename from accounts/doctype/gl_control/gl_control.py rename to erpnext/accounts/doctype/gl_control/gl_control.py diff --git a/accounts/doctype/gl_control/gl_control.txt b/erpnext/accounts/doctype/gl_control/gl_control.txt similarity index 100% rename from accounts/doctype/gl_control/gl_control.txt rename to erpnext/accounts/doctype/gl_control/gl_control.txt diff --git a/accounts/doctype/journal_voucher/__init__.py b/erpnext/accounts/doctype/gl_entry/__init__.py similarity index 100% rename from accounts/doctype/journal_voucher/__init__.py rename to erpnext/accounts/doctype/gl_entry/__init__.py diff --git a/accounts/doctype/gl_entry/gl_entry.js b/erpnext/accounts/doctype/gl_entry/gl_entry.js similarity index 100% rename from accounts/doctype/gl_entry/gl_entry.js rename to erpnext/accounts/doctype/gl_entry/gl_entry.js diff --git a/accounts/doctype/gl_entry/gl_entry.py b/erpnext/accounts/doctype/gl_entry/gl_entry.py similarity index 100% rename from accounts/doctype/gl_entry/gl_entry.py rename to erpnext/accounts/doctype/gl_entry/gl_entry.py diff --git a/accounts/doctype/gl_entry/gl_entry.txt b/erpnext/accounts/doctype/gl_entry/gl_entry.txt similarity index 100% rename from accounts/doctype/gl_entry/gl_entry.txt rename to erpnext/accounts/doctype/gl_entry/gl_entry.txt diff --git a/accounts/doctype/journal_voucher_detail/__init__.py b/erpnext/accounts/doctype/journal_voucher/__init__.py similarity index 100% rename from accounts/doctype/journal_voucher_detail/__init__.py rename to erpnext/accounts/doctype/journal_voucher/__init__.py diff --git a/accounts/doctype/journal_voucher/journal_voucher.js b/erpnext/accounts/doctype/journal_voucher/journal_voucher.js similarity index 100% rename from accounts/doctype/journal_voucher/journal_voucher.js rename to erpnext/accounts/doctype/journal_voucher/journal_voucher.js diff --git a/accounts/doctype/journal_voucher/journal_voucher.py b/erpnext/accounts/doctype/journal_voucher/journal_voucher.py similarity index 100% rename from accounts/doctype/journal_voucher/journal_voucher.py rename to erpnext/accounts/doctype/journal_voucher/journal_voucher.py diff --git a/accounts/doctype/journal_voucher/journal_voucher.txt b/erpnext/accounts/doctype/journal_voucher/journal_voucher.txt similarity index 100% rename from accounts/doctype/journal_voucher/journal_voucher.txt rename to erpnext/accounts/doctype/journal_voucher/journal_voucher.txt diff --git a/accounts/doctype/lease_agreement/__init__.py b/erpnext/accounts/doctype/journal_voucher_detail/__init__.py similarity index 100% rename from accounts/doctype/lease_agreement/__init__.py rename to erpnext/accounts/doctype/journal_voucher_detail/__init__.py diff --git a/accounts/doctype/journal_voucher_detail/journal_voucher_detail.txt b/erpnext/accounts/doctype/journal_voucher_detail/journal_voucher_detail.txt similarity index 100% rename from accounts/doctype/journal_voucher_detail/journal_voucher_detail.txt rename to erpnext/accounts/doctype/journal_voucher_detail/journal_voucher_detail.txt diff --git a/accounts/doctype/lease_installment/__init__.py b/erpnext/accounts/doctype/lease_agreement/__init__.py similarity index 100% rename from accounts/doctype/lease_installment/__init__.py rename to erpnext/accounts/doctype/lease_agreement/__init__.py diff --git a/accounts/doctype/lease_agreement/lease_agreement.js b/erpnext/accounts/doctype/lease_agreement/lease_agreement.js similarity index 100% rename from accounts/doctype/lease_agreement/lease_agreement.js rename to erpnext/accounts/doctype/lease_agreement/lease_agreement.js diff --git a/accounts/doctype/lease_agreement/lease_agreement.py b/erpnext/accounts/doctype/lease_agreement/lease_agreement.py similarity index 100% rename from accounts/doctype/lease_agreement/lease_agreement.py rename to erpnext/accounts/doctype/lease_agreement/lease_agreement.py diff --git a/accounts/doctype/lease_agreement/lease_agreement.txt b/erpnext/accounts/doctype/lease_agreement/lease_agreement.txt similarity index 100% rename from accounts/doctype/lease_agreement/lease_agreement.txt rename to erpnext/accounts/doctype/lease_agreement/lease_agreement.txt diff --git a/accounts/doctype/ledger_balance_export/__init__.py b/erpnext/accounts/doctype/lease_installment/__init__.py old mode 100755 new mode 100644 similarity index 100% rename from accounts/doctype/ledger_balance_export/__init__.py rename to erpnext/accounts/doctype/lease_installment/__init__.py diff --git a/accounts/doctype/lease_installment/lease_installment.txt b/erpnext/accounts/doctype/lease_installment/lease_installment.txt similarity index 100% rename from accounts/doctype/lease_installment/lease_installment.txt rename to erpnext/accounts/doctype/lease_installment/lease_installment.txt diff --git a/accounts/doctype/ledger_detail/__init__.py b/erpnext/accounts/doctype/ledger_balance_export/__init__.py similarity index 100% rename from accounts/doctype/ledger_detail/__init__.py rename to erpnext/accounts/doctype/ledger_balance_export/__init__.py diff --git a/accounts/doctype/ledger_balance_export/ledger_balance_export.js b/erpnext/accounts/doctype/ledger_balance_export/ledger_balance_export.js similarity index 100% rename from accounts/doctype/ledger_balance_export/ledger_balance_export.js rename to erpnext/accounts/doctype/ledger_balance_export/ledger_balance_export.js diff --git a/accounts/doctype/ledger_balance_export/ledger_balance_export.py b/erpnext/accounts/doctype/ledger_balance_export/ledger_balance_export.py similarity index 100% rename from accounts/doctype/ledger_balance_export/ledger_balance_export.py rename to erpnext/accounts/doctype/ledger_balance_export/ledger_balance_export.py diff --git a/accounts/doctype/ledger_balance_export/ledger_balance_export.txt b/erpnext/accounts/doctype/ledger_balance_export/ledger_balance_export.txt similarity index 100% rename from accounts/doctype/ledger_balance_export/ledger_balance_export.txt rename to erpnext/accounts/doctype/ledger_balance_export/ledger_balance_export.txt diff --git a/accounts/doctype/mode_of_payment/__init__.py b/erpnext/accounts/doctype/ledger_detail/__init__.py old mode 100644 new mode 100755 similarity index 100% rename from accounts/doctype/mode_of_payment/__init__.py rename to erpnext/accounts/doctype/ledger_detail/__init__.py diff --git a/accounts/doctype/ledger_detail/ledger_detail.txt b/erpnext/accounts/doctype/ledger_detail/ledger_detail.txt similarity index 100% rename from accounts/doctype/ledger_detail/ledger_detail.txt rename to erpnext/accounts/doctype/ledger_detail/ledger_detail.txt diff --git a/accounts/doctype/payable_voucher/__init__.py b/erpnext/accounts/doctype/mode_of_payment/__init__.py similarity index 100% rename from accounts/doctype/payable_voucher/__init__.py rename to erpnext/accounts/doctype/mode_of_payment/__init__.py diff --git a/accounts/doctype/mode_of_payment/mode_of_payment.js b/erpnext/accounts/doctype/mode_of_payment/mode_of_payment.js similarity index 100% rename from accounts/doctype/mode_of_payment/mode_of_payment.js rename to erpnext/accounts/doctype/mode_of_payment/mode_of_payment.js diff --git a/accounts/doctype/mode_of_payment/mode_of_payment.txt b/erpnext/accounts/doctype/mode_of_payment/mode_of_payment.txt similarity index 100% rename from accounts/doctype/mode_of_payment/mode_of_payment.txt rename to erpnext/accounts/doctype/mode_of_payment/mode_of_payment.txt diff --git a/accounts/doctype/period_closing_voucher/__init__.py b/erpnext/accounts/doctype/payable_voucher/__init__.py similarity index 100% rename from accounts/doctype/period_closing_voucher/__init__.py rename to erpnext/accounts/doctype/payable_voucher/__init__.py diff --git a/accounts/doctype/payable_voucher/payable_voucher.js b/erpnext/accounts/doctype/payable_voucher/payable_voucher.js similarity index 100% rename from accounts/doctype/payable_voucher/payable_voucher.js rename to erpnext/accounts/doctype/payable_voucher/payable_voucher.js diff --git a/accounts/doctype/payable_voucher/payable_voucher.py b/erpnext/accounts/doctype/payable_voucher/payable_voucher.py similarity index 100% rename from accounts/doctype/payable_voucher/payable_voucher.py rename to erpnext/accounts/doctype/payable_voucher/payable_voucher.py diff --git a/accounts/doctype/payable_voucher/payable_voucher.txt b/erpnext/accounts/doctype/payable_voucher/payable_voucher.txt similarity index 100% rename from accounts/doctype/payable_voucher/payable_voucher.txt rename to erpnext/accounts/doctype/payable_voucher/payable_voucher.txt diff --git a/accounts/doctype/pos_setting/__init__.py b/erpnext/accounts/doctype/period_closing_voucher/__init__.py similarity index 100% rename from accounts/doctype/pos_setting/__init__.py rename to erpnext/accounts/doctype/period_closing_voucher/__init__.py diff --git a/accounts/doctype/period_closing_voucher/period_closing_voucher.js b/erpnext/accounts/doctype/period_closing_voucher/period_closing_voucher.js similarity index 100% rename from accounts/doctype/period_closing_voucher/period_closing_voucher.js rename to erpnext/accounts/doctype/period_closing_voucher/period_closing_voucher.js diff --git a/accounts/doctype/period_closing_voucher/period_closing_voucher.py b/erpnext/accounts/doctype/period_closing_voucher/period_closing_voucher.py similarity index 100% rename from accounts/doctype/period_closing_voucher/period_closing_voucher.py rename to erpnext/accounts/doctype/period_closing_voucher/period_closing_voucher.py diff --git a/accounts/doctype/period_closing_voucher/period_closing_voucher.txt b/erpnext/accounts/doctype/period_closing_voucher/period_closing_voucher.txt similarity index 100% rename from accounts/doctype/period_closing_voucher/period_closing_voucher.txt rename to erpnext/accounts/doctype/period_closing_voucher/period_closing_voucher.txt diff --git a/accounts/doctype/purchase_tax_detail/__init__.py b/erpnext/accounts/doctype/pos_setting/__init__.py similarity index 100% rename from accounts/doctype/purchase_tax_detail/__init__.py rename to erpnext/accounts/doctype/pos_setting/__init__.py diff --git a/accounts/doctype/pos_setting/pos_setting.js b/erpnext/accounts/doctype/pos_setting/pos_setting.js similarity index 100% rename from accounts/doctype/pos_setting/pos_setting.js rename to erpnext/accounts/doctype/pos_setting/pos_setting.js diff --git a/accounts/doctype/pos_setting/pos_setting.py b/erpnext/accounts/doctype/pos_setting/pos_setting.py similarity index 100% rename from accounts/doctype/pos_setting/pos_setting.py rename to erpnext/accounts/doctype/pos_setting/pos_setting.py diff --git a/accounts/doctype/pos_setting/pos_setting.txt b/erpnext/accounts/doctype/pos_setting/pos_setting.txt similarity index 100% rename from accounts/doctype/pos_setting/pos_setting.txt rename to erpnext/accounts/doctype/pos_setting/pos_setting.txt diff --git a/accounts/doctype/pv_detail/__init__.py b/erpnext/accounts/doctype/purchase_tax_detail/__init__.py similarity index 100% rename from accounts/doctype/pv_detail/__init__.py rename to erpnext/accounts/doctype/purchase_tax_detail/__init__.py diff --git a/accounts/doctype/purchase_tax_detail/purchase_tax_detail.txt b/erpnext/accounts/doctype/purchase_tax_detail/purchase_tax_detail.txt similarity index 100% rename from accounts/doctype/purchase_tax_detail/purchase_tax_detail.txt rename to erpnext/accounts/doctype/purchase_tax_detail/purchase_tax_detail.txt diff --git a/accounts/doctype/receivable_voucher/__init__.py b/erpnext/accounts/doctype/pv_detail/__init__.py similarity index 100% rename from accounts/doctype/receivable_voucher/__init__.py rename to erpnext/accounts/doctype/pv_detail/__init__.py diff --git a/accounts/doctype/pv_detail/pv_detail.txt b/erpnext/accounts/doctype/pv_detail/pv_detail.txt similarity index 100% rename from accounts/doctype/pv_detail/pv_detail.txt rename to erpnext/accounts/doctype/pv_detail/pv_detail.txt diff --git a/accounts/doctype/rv_detail/__init__.py b/erpnext/accounts/doctype/receivable_voucher/__init__.py similarity index 100% rename from accounts/doctype/rv_detail/__init__.py rename to erpnext/accounts/doctype/receivable_voucher/__init__.py diff --git a/accounts/doctype/receivable_voucher/receivable_voucher.js b/erpnext/accounts/doctype/receivable_voucher/receivable_voucher.js similarity index 100% rename from accounts/doctype/receivable_voucher/receivable_voucher.js rename to erpnext/accounts/doctype/receivable_voucher/receivable_voucher.js diff --git a/accounts/doctype/receivable_voucher/receivable_voucher.py b/erpnext/accounts/doctype/receivable_voucher/receivable_voucher.py similarity index 100% rename from accounts/doctype/receivable_voucher/receivable_voucher.py rename to erpnext/accounts/doctype/receivable_voucher/receivable_voucher.py diff --git a/accounts/doctype/receivable_voucher/receivable_voucher.txt b/erpnext/accounts/doctype/receivable_voucher/receivable_voucher.txt similarity index 100% rename from accounts/doctype/receivable_voucher/receivable_voucher.txt rename to erpnext/accounts/doctype/receivable_voucher/receivable_voucher.txt diff --git a/accounts/doctype/rv_tax_detail/__init__.py b/erpnext/accounts/doctype/rv_detail/__init__.py similarity index 100% rename from accounts/doctype/rv_tax_detail/__init__.py rename to erpnext/accounts/doctype/rv_detail/__init__.py diff --git a/accounts/doctype/rv_detail/rv_detail.txt b/erpnext/accounts/doctype/rv_detail/rv_detail.txt similarity index 100% rename from accounts/doctype/rv_detail/rv_detail.txt rename to erpnext/accounts/doctype/rv_detail/rv_detail.txt diff --git a/accounts/doctype/tds_category/__init__.py b/erpnext/accounts/doctype/rv_tax_detail/__init__.py similarity index 100% rename from accounts/doctype/tds_category/__init__.py rename to erpnext/accounts/doctype/rv_tax_detail/__init__.py diff --git a/accounts/doctype/rv_tax_detail/rv_tax_detail.txt b/erpnext/accounts/doctype/rv_tax_detail/rv_tax_detail.txt similarity index 100% rename from accounts/doctype/rv_tax_detail/rv_tax_detail.txt rename to erpnext/accounts/doctype/rv_tax_detail/rv_tax_detail.txt diff --git a/accounts/doctype/tds_category_account/__init__.py b/erpnext/accounts/doctype/tds_category/__init__.py similarity index 100% rename from accounts/doctype/tds_category_account/__init__.py rename to erpnext/accounts/doctype/tds_category/__init__.py diff --git a/accounts/doctype/tds_category/tds_category.js b/erpnext/accounts/doctype/tds_category/tds_category.js similarity index 100% rename from accounts/doctype/tds_category/tds_category.js rename to erpnext/accounts/doctype/tds_category/tds_category.js diff --git a/accounts/doctype/tds_category/tds_category.py b/erpnext/accounts/doctype/tds_category/tds_category.py similarity index 100% rename from accounts/doctype/tds_category/tds_category.py rename to erpnext/accounts/doctype/tds_category/tds_category.py diff --git a/accounts/doctype/tds_category/tds_category.txt b/erpnext/accounts/doctype/tds_category/tds_category.txt similarity index 100% rename from accounts/doctype/tds_category/tds_category.txt rename to erpnext/accounts/doctype/tds_category/tds_category.txt diff --git a/accounts/doctype/tds_control/__init__.py b/erpnext/accounts/doctype/tds_category_account/__init__.py similarity index 100% rename from accounts/doctype/tds_control/__init__.py rename to erpnext/accounts/doctype/tds_category_account/__init__.py diff --git a/accounts/doctype/tds_category_account/tds_category_account.txt b/erpnext/accounts/doctype/tds_category_account/tds_category_account.txt similarity index 100% rename from accounts/doctype/tds_category_account/tds_category_account.txt rename to erpnext/accounts/doctype/tds_category_account/tds_category_account.txt diff --git a/accounts/doctype/tds_detail/__init__.py b/erpnext/accounts/doctype/tds_control/__init__.py similarity index 100% rename from accounts/doctype/tds_detail/__init__.py rename to erpnext/accounts/doctype/tds_control/__init__.py diff --git a/accounts/doctype/tds_control/tds_control.js b/erpnext/accounts/doctype/tds_control/tds_control.js similarity index 100% rename from accounts/doctype/tds_control/tds_control.js rename to erpnext/accounts/doctype/tds_control/tds_control.js diff --git a/accounts/doctype/tds_control/tds_control.py b/erpnext/accounts/doctype/tds_control/tds_control.py similarity index 100% rename from accounts/doctype/tds_control/tds_control.py rename to erpnext/accounts/doctype/tds_control/tds_control.py diff --git a/accounts/doctype/tds_control/tds_control.txt b/erpnext/accounts/doctype/tds_control/tds_control.txt similarity index 100% rename from accounts/doctype/tds_control/tds_control.txt rename to erpnext/accounts/doctype/tds_control/tds_control.txt diff --git a/accounts/doctype/tds_payment/__init__.py b/erpnext/accounts/doctype/tds_detail/__init__.py similarity index 100% rename from accounts/doctype/tds_payment/__init__.py rename to erpnext/accounts/doctype/tds_detail/__init__.py diff --git a/accounts/doctype/tds_detail/tds_detail.txt b/erpnext/accounts/doctype/tds_detail/tds_detail.txt similarity index 100% rename from accounts/doctype/tds_detail/tds_detail.txt rename to erpnext/accounts/doctype/tds_detail/tds_detail.txt diff --git a/accounts/doctype/tds_payment_detail/__init__.py b/erpnext/accounts/doctype/tds_payment/__init__.py similarity index 100% rename from accounts/doctype/tds_payment_detail/__init__.py rename to erpnext/accounts/doctype/tds_payment/__init__.py diff --git a/accounts/doctype/tds_payment/tds_payment.js b/erpnext/accounts/doctype/tds_payment/tds_payment.js similarity index 100% rename from accounts/doctype/tds_payment/tds_payment.js rename to erpnext/accounts/doctype/tds_payment/tds_payment.js diff --git a/accounts/doctype/tds_payment/tds_payment.py b/erpnext/accounts/doctype/tds_payment/tds_payment.py similarity index 100% rename from accounts/doctype/tds_payment/tds_payment.py rename to erpnext/accounts/doctype/tds_payment/tds_payment.py diff --git a/accounts/doctype/tds_payment/tds_payment.txt b/erpnext/accounts/doctype/tds_payment/tds_payment.txt similarity index 100% rename from accounts/doctype/tds_payment/tds_payment.txt rename to erpnext/accounts/doctype/tds_payment/tds_payment.txt diff --git a/accounts/doctype/tds_rate_chart/__init__.py b/erpnext/accounts/doctype/tds_payment_detail/__init__.py similarity index 100% rename from accounts/doctype/tds_rate_chart/__init__.py rename to erpnext/accounts/doctype/tds_payment_detail/__init__.py diff --git a/accounts/doctype/tds_payment_detail/tds_payment_detail.txt b/erpnext/accounts/doctype/tds_payment_detail/tds_payment_detail.txt similarity index 100% rename from accounts/doctype/tds_payment_detail/tds_payment_detail.txt rename to erpnext/accounts/doctype/tds_payment_detail/tds_payment_detail.txt diff --git a/accounts/doctype/tds_rate_detail/__init__.py b/erpnext/accounts/doctype/tds_rate_chart/__init__.py similarity index 100% rename from accounts/doctype/tds_rate_detail/__init__.py rename to erpnext/accounts/doctype/tds_rate_chart/__init__.py diff --git a/accounts/doctype/tds_rate_chart/tds_rate_chart.txt b/erpnext/accounts/doctype/tds_rate_chart/tds_rate_chart.txt similarity index 100% rename from accounts/doctype/tds_rate_chart/tds_rate_chart.txt rename to erpnext/accounts/doctype/tds_rate_chart/tds_rate_chart.txt diff --git a/accounts/doctype/tds_return_acknowledgement/__init__.py b/erpnext/accounts/doctype/tds_rate_detail/__init__.py similarity index 100% rename from accounts/doctype/tds_return_acknowledgement/__init__.py rename to erpnext/accounts/doctype/tds_rate_detail/__init__.py diff --git a/accounts/doctype/tds_rate_detail/tds_rate_detail.txt b/erpnext/accounts/doctype/tds_rate_detail/tds_rate_detail.txt similarity index 100% rename from accounts/doctype/tds_rate_detail/tds_rate_detail.txt rename to erpnext/accounts/doctype/tds_rate_detail/tds_rate_detail.txt diff --git a/accounts/page/__init__.py b/erpnext/accounts/doctype/tds_return_acknowledgement/__init__.py similarity index 100% rename from accounts/page/__init__.py rename to erpnext/accounts/doctype/tds_return_acknowledgement/__init__.py diff --git a/accounts/doctype/tds_return_acknowledgement/tds_return_acknowledgement.js b/erpnext/accounts/doctype/tds_return_acknowledgement/tds_return_acknowledgement.js similarity index 100% rename from accounts/doctype/tds_return_acknowledgement/tds_return_acknowledgement.js rename to erpnext/accounts/doctype/tds_return_acknowledgement/tds_return_acknowledgement.js diff --git a/accounts/doctype/tds_return_acknowledgement/tds_return_acknowledgement.txt b/erpnext/accounts/doctype/tds_return_acknowledgement/tds_return_acknowledgement.txt similarity index 100% rename from accounts/doctype/tds_return_acknowledgement/tds_return_acknowledgement.txt rename to erpnext/accounts/doctype/tds_return_acknowledgement/tds_return_acknowledgement.txt diff --git a/accounts/page/accounts_browser/__init__.py b/erpnext/accounts/page/__init__.py similarity index 100% rename from accounts/page/accounts_browser/__init__.py rename to erpnext/accounts/page/__init__.py diff --git a/accounts/page/financial_statements/__init__.py b/erpnext/accounts/page/accounts_browser/__init__.py similarity index 100% rename from accounts/page/financial_statements/__init__.py rename to erpnext/accounts/page/accounts_browser/__init__.py diff --git a/accounts/page/accounts_browser/accounts_browser.css b/erpnext/accounts/page/accounts_browser/accounts_browser.css similarity index 100% rename from accounts/page/accounts_browser/accounts_browser.css rename to erpnext/accounts/page/accounts_browser/accounts_browser.css diff --git a/accounts/page/accounts_browser/accounts_browser.html b/erpnext/accounts/page/accounts_browser/accounts_browser.html similarity index 100% rename from accounts/page/accounts_browser/accounts_browser.html rename to erpnext/accounts/page/accounts_browser/accounts_browser.html diff --git a/accounts/page/accounts_browser/accounts_browser.js b/erpnext/accounts/page/accounts_browser/accounts_browser.js similarity index 100% rename from accounts/page/accounts_browser/accounts_browser.js rename to erpnext/accounts/page/accounts_browser/accounts_browser.js diff --git a/accounts/page/accounts_browser/accounts_browser.txt b/erpnext/accounts/page/accounts_browser/accounts_browser.txt similarity index 100% rename from accounts/page/accounts_browser/accounts_browser.txt rename to erpnext/accounts/page/accounts_browser/accounts_browser.txt diff --git a/accounts/search_criteria/__init__.py b/erpnext/accounts/page/financial_statements/__init__.py similarity index 100% rename from accounts/search_criteria/__init__.py rename to erpnext/accounts/page/financial_statements/__init__.py diff --git a/accounts/page/financial_statements/financial_statements.html b/erpnext/accounts/page/financial_statements/financial_statements.html similarity index 100% rename from accounts/page/financial_statements/financial_statements.html rename to erpnext/accounts/page/financial_statements/financial_statements.html diff --git a/accounts/page/financial_statements/financial_statements.js b/erpnext/accounts/page/financial_statements/financial_statements.js similarity index 100% rename from accounts/page/financial_statements/financial_statements.js rename to erpnext/accounts/page/financial_statements/financial_statements.js diff --git a/accounts/page/financial_statements/financial_statements.txt b/erpnext/accounts/page/financial_statements/financial_statements.txt similarity index 100% rename from accounts/page/financial_statements/financial_statements.txt rename to erpnext/accounts/page/financial_statements/financial_statements.txt diff --git a/accounts/search_criteria/accounts_payable/__init__.py b/erpnext/accounts/search_criteria/__init__.py similarity index 100% rename from accounts/search_criteria/accounts_payable/__init__.py rename to erpnext/accounts/search_criteria/__init__.py diff --git a/accounts/search_criteria/accounts_receivable/__init__.py b/erpnext/accounts/search_criteria/accounts_payable/__init__.py similarity index 100% rename from accounts/search_criteria/accounts_receivable/__init__.py rename to erpnext/accounts/search_criteria/accounts_payable/__init__.py diff --git a/accounts/search_criteria/accounts_payable/accounts_payable.js b/erpnext/accounts/search_criteria/accounts_payable/accounts_payable.js similarity index 100% rename from accounts/search_criteria/accounts_payable/accounts_payable.js rename to erpnext/accounts/search_criteria/accounts_payable/accounts_payable.js diff --git a/accounts/search_criteria/accounts_payable/accounts_payable.py b/erpnext/accounts/search_criteria/accounts_payable/accounts_payable.py similarity index 100% rename from accounts/search_criteria/accounts_payable/accounts_payable.py rename to erpnext/accounts/search_criteria/accounts_payable/accounts_payable.py diff --git a/accounts/search_criteria/accounts_payable/accounts_payable.sql b/erpnext/accounts/search_criteria/accounts_payable/accounts_payable.sql similarity index 100% rename from accounts/search_criteria/accounts_payable/accounts_payable.sql rename to erpnext/accounts/search_criteria/accounts_payable/accounts_payable.sql diff --git a/accounts/search_criteria/accounts_payable/accounts_payable.txt b/erpnext/accounts/search_criteria/accounts_payable/accounts_payable.txt similarity index 100% rename from accounts/search_criteria/accounts_payable/accounts_payable.txt rename to erpnext/accounts/search_criteria/accounts_payable/accounts_payable.txt diff --git a/accounts/search_criteria/bank_clearance_report/__init__.py b/erpnext/accounts/search_criteria/accounts_receivable/__init__.py similarity index 100% rename from accounts/search_criteria/bank_clearance_report/__init__.py rename to erpnext/accounts/search_criteria/accounts_receivable/__init__.py diff --git a/accounts/search_criteria/accounts_receivable/accounts_receivable.js b/erpnext/accounts/search_criteria/accounts_receivable/accounts_receivable.js similarity index 100% rename from accounts/search_criteria/accounts_receivable/accounts_receivable.js rename to erpnext/accounts/search_criteria/accounts_receivable/accounts_receivable.js diff --git a/accounts/search_criteria/accounts_receivable/accounts_receivable.py b/erpnext/accounts/search_criteria/accounts_receivable/accounts_receivable.py similarity index 100% rename from accounts/search_criteria/accounts_receivable/accounts_receivable.py rename to erpnext/accounts/search_criteria/accounts_receivable/accounts_receivable.py diff --git a/accounts/search_criteria/accounts_receivable/accounts_receivable.sql b/erpnext/accounts/search_criteria/accounts_receivable/accounts_receivable.sql similarity index 100% rename from accounts/search_criteria/accounts_receivable/accounts_receivable.sql rename to erpnext/accounts/search_criteria/accounts_receivable/accounts_receivable.sql diff --git a/accounts/search_criteria/accounts_receivable/accounts_receivable.txt b/erpnext/accounts/search_criteria/accounts_receivable/accounts_receivable.txt similarity index 100% rename from accounts/search_criteria/accounts_receivable/accounts_receivable.txt rename to erpnext/accounts/search_criteria/accounts_receivable/accounts_receivable.txt diff --git a/accounts/search_criteria/bank_reconciliation_statement/__init__.py b/erpnext/accounts/search_criteria/bank_clearance_report/__init__.py similarity index 100% rename from accounts/search_criteria/bank_reconciliation_statement/__init__.py rename to erpnext/accounts/search_criteria/bank_clearance_report/__init__.py diff --git a/accounts/search_criteria/bank_clearance_report/bank_clearance_report.js b/erpnext/accounts/search_criteria/bank_clearance_report/bank_clearance_report.js similarity index 100% rename from accounts/search_criteria/bank_clearance_report/bank_clearance_report.js rename to erpnext/accounts/search_criteria/bank_clearance_report/bank_clearance_report.js diff --git a/accounts/search_criteria/bank_clearance_report/bank_clearance_report.txt b/erpnext/accounts/search_criteria/bank_clearance_report/bank_clearance_report.txt similarity index 100% rename from accounts/search_criteria/bank_clearance_report/bank_clearance_report.txt rename to erpnext/accounts/search_criteria/bank_clearance_report/bank_clearance_report.txt diff --git a/accounts/search_criteria/budget_variance_report/__init__.py b/erpnext/accounts/search_criteria/bank_reconciliation_statement/__init__.py similarity index 100% rename from accounts/search_criteria/budget_variance_report/__init__.py rename to erpnext/accounts/search_criteria/bank_reconciliation_statement/__init__.py diff --git a/accounts/search_criteria/bank_reconciliation_statement/bank_reconciliation_statement.js b/erpnext/accounts/search_criteria/bank_reconciliation_statement/bank_reconciliation_statement.js similarity index 100% rename from accounts/search_criteria/bank_reconciliation_statement/bank_reconciliation_statement.js rename to erpnext/accounts/search_criteria/bank_reconciliation_statement/bank_reconciliation_statement.js diff --git a/accounts/search_criteria/bank_reconciliation_statement/bank_reconciliation_statement.py b/erpnext/accounts/search_criteria/bank_reconciliation_statement/bank_reconciliation_statement.py similarity index 100% rename from accounts/search_criteria/bank_reconciliation_statement/bank_reconciliation_statement.py rename to erpnext/accounts/search_criteria/bank_reconciliation_statement/bank_reconciliation_statement.py diff --git a/accounts/search_criteria/bank_reconciliation_statement/bank_reconciliation_statement.txt b/erpnext/accounts/search_criteria/bank_reconciliation_statement/bank_reconciliation_statement.txt similarity index 100% rename from accounts/search_criteria/bank_reconciliation_statement/bank_reconciliation_statement.txt rename to erpnext/accounts/search_criteria/bank_reconciliation_statement/bank_reconciliation_statement.txt diff --git a/accounts/search_criteria/business_associate_commission_report/__init__.py b/erpnext/accounts/search_criteria/budget_variance_report/__init__.py similarity index 100% rename from accounts/search_criteria/business_associate_commission_report/__init__.py rename to erpnext/accounts/search_criteria/budget_variance_report/__init__.py diff --git a/accounts/search_criteria/budget_variance_report/budget_variance_report.js b/erpnext/accounts/search_criteria/budget_variance_report/budget_variance_report.js similarity index 100% rename from accounts/search_criteria/budget_variance_report/budget_variance_report.js rename to erpnext/accounts/search_criteria/budget_variance_report/budget_variance_report.js diff --git a/accounts/search_criteria/budget_variance_report/budget_variance_report.py b/erpnext/accounts/search_criteria/budget_variance_report/budget_variance_report.py similarity index 100% rename from accounts/search_criteria/budget_variance_report/budget_variance_report.py rename to erpnext/accounts/search_criteria/budget_variance_report/budget_variance_report.py diff --git a/accounts/search_criteria/budget_variance_report/budget_variance_report.sql b/erpnext/accounts/search_criteria/budget_variance_report/budget_variance_report.sql similarity index 100% rename from accounts/search_criteria/budget_variance_report/budget_variance_report.sql rename to erpnext/accounts/search_criteria/budget_variance_report/budget_variance_report.sql diff --git a/accounts/search_criteria/budget_variance_report/budget_variance_report.txt b/erpnext/accounts/search_criteria/budget_variance_report/budget_variance_report.txt similarity index 100% rename from accounts/search_criteria/budget_variance_report/budget_variance_report.txt rename to erpnext/accounts/search_criteria/budget_variance_report/budget_variance_report.txt diff --git a/accounts/search_criteria/cash_flow_statement/__init__.py b/erpnext/accounts/search_criteria/business_associate_commission_report/__init__.py similarity index 100% rename from accounts/search_criteria/cash_flow_statement/__init__.py rename to erpnext/accounts/search_criteria/business_associate_commission_report/__init__.py diff --git a/accounts/search_criteria/business_associate_commission_report/business_associate_commission_report.js b/erpnext/accounts/search_criteria/business_associate_commission_report/business_associate_commission_report.js similarity index 100% rename from accounts/search_criteria/business_associate_commission_report/business_associate_commission_report.js rename to erpnext/accounts/search_criteria/business_associate_commission_report/business_associate_commission_report.js diff --git a/accounts/search_criteria/business_associate_commission_report/business_associate_commission_report.py b/erpnext/accounts/search_criteria/business_associate_commission_report/business_associate_commission_report.py similarity index 100% rename from accounts/search_criteria/business_associate_commission_report/business_associate_commission_report.py rename to erpnext/accounts/search_criteria/business_associate_commission_report/business_associate_commission_report.py diff --git a/accounts/search_criteria/business_associate_commission_report/business_associate_commission_report.txt b/erpnext/accounts/search_criteria/business_associate_commission_report/business_associate_commission_report.txt similarity index 100% rename from accounts/search_criteria/business_associate_commission_report/business_associate_commission_report.txt rename to erpnext/accounts/search_criteria/business_associate_commission_report/business_associate_commission_report.txt diff --git a/accounts/search_criteria/cenvat_credit___input_or_capital_goods/__init__.py b/erpnext/accounts/search_criteria/cash_flow_statement/__init__.py similarity index 100% rename from accounts/search_criteria/cenvat_credit___input_or_capital_goods/__init__.py rename to erpnext/accounts/search_criteria/cash_flow_statement/__init__.py diff --git a/accounts/search_criteria/cash_flow_statement/cash_flow_statement.js b/erpnext/accounts/search_criteria/cash_flow_statement/cash_flow_statement.js similarity index 100% rename from accounts/search_criteria/cash_flow_statement/cash_flow_statement.js rename to erpnext/accounts/search_criteria/cash_flow_statement/cash_flow_statement.js diff --git a/accounts/search_criteria/cash_flow_statement/cash_flow_statement.py b/erpnext/accounts/search_criteria/cash_flow_statement/cash_flow_statement.py similarity index 100% rename from accounts/search_criteria/cash_flow_statement/cash_flow_statement.py rename to erpnext/accounts/search_criteria/cash_flow_statement/cash_flow_statement.py diff --git a/accounts/search_criteria/cash_flow_statement/cash_flow_statement.sql b/erpnext/accounts/search_criteria/cash_flow_statement/cash_flow_statement.sql similarity index 100% rename from accounts/search_criteria/cash_flow_statement/cash_flow_statement.sql rename to erpnext/accounts/search_criteria/cash_flow_statement/cash_flow_statement.sql diff --git a/accounts/search_criteria/cash_flow_statement/cash_flow_statement.txt b/erpnext/accounts/search_criteria/cash_flow_statement/cash_flow_statement.txt similarity index 100% rename from accounts/search_criteria/cash_flow_statement/cash_flow_statement.txt rename to erpnext/accounts/search_criteria/cash_flow_statement/cash_flow_statement.txt diff --git a/accounts/search_criteria/collection_report/__init__.py b/erpnext/accounts/search_criteria/cenvat_credit___input_or_capital_goods/__init__.py similarity index 100% rename from accounts/search_criteria/collection_report/__init__.py rename to erpnext/accounts/search_criteria/cenvat_credit___input_or_capital_goods/__init__.py diff --git a/accounts/search_criteria/cenvat_credit___input_or_capital_goods/cenvat_credit___input_or_capital_goods.js b/erpnext/accounts/search_criteria/cenvat_credit___input_or_capital_goods/cenvat_credit___input_or_capital_goods.js similarity index 100% rename from accounts/search_criteria/cenvat_credit___input_or_capital_goods/cenvat_credit___input_or_capital_goods.js rename to erpnext/accounts/search_criteria/cenvat_credit___input_or_capital_goods/cenvat_credit___input_or_capital_goods.js diff --git a/accounts/search_criteria/cenvat_credit___input_or_capital_goods/cenvat_credit___input_or_capital_goods.py b/erpnext/accounts/search_criteria/cenvat_credit___input_or_capital_goods/cenvat_credit___input_or_capital_goods.py similarity index 100% rename from accounts/search_criteria/cenvat_credit___input_or_capital_goods/cenvat_credit___input_or_capital_goods.py rename to erpnext/accounts/search_criteria/cenvat_credit___input_or_capital_goods/cenvat_credit___input_or_capital_goods.py diff --git a/accounts/search_criteria/cenvat_credit___input_or_capital_goods/cenvat_credit___input_or_capital_goods.sql b/erpnext/accounts/search_criteria/cenvat_credit___input_or_capital_goods/cenvat_credit___input_or_capital_goods.sql similarity index 100% rename from accounts/search_criteria/cenvat_credit___input_or_capital_goods/cenvat_credit___input_or_capital_goods.sql rename to erpnext/accounts/search_criteria/cenvat_credit___input_or_capital_goods/cenvat_credit___input_or_capital_goods.sql diff --git a/accounts/search_criteria/cenvat_credit___input_or_capital_goods/cenvat_credit___input_or_capital_goods.txt b/erpnext/accounts/search_criteria/cenvat_credit___input_or_capital_goods/cenvat_credit___input_or_capital_goods.txt similarity index 100% rename from accounts/search_criteria/cenvat_credit___input_or_capital_goods/cenvat_credit___input_or_capital_goods.txt rename to erpnext/accounts/search_criteria/cenvat_credit___input_or_capital_goods/cenvat_credit___input_or_capital_goods.txt diff --git a/accounts/search_criteria/cost_center_wise_expense/__init__.py b/erpnext/accounts/search_criteria/collection_report/__init__.py similarity index 100% rename from accounts/search_criteria/cost_center_wise_expense/__init__.py rename to erpnext/accounts/search_criteria/collection_report/__init__.py diff --git a/accounts/search_criteria/collection_report/collection_report.js b/erpnext/accounts/search_criteria/collection_report/collection_report.js similarity index 100% rename from accounts/search_criteria/collection_report/collection_report.js rename to erpnext/accounts/search_criteria/collection_report/collection_report.js diff --git a/accounts/search_criteria/collection_report/collection_report.py b/erpnext/accounts/search_criteria/collection_report/collection_report.py similarity index 100% rename from accounts/search_criteria/collection_report/collection_report.py rename to erpnext/accounts/search_criteria/collection_report/collection_report.py diff --git a/accounts/search_criteria/collection_report/collection_report.sql b/erpnext/accounts/search_criteria/collection_report/collection_report.sql similarity index 100% rename from accounts/search_criteria/collection_report/collection_report.sql rename to erpnext/accounts/search_criteria/collection_report/collection_report.sql diff --git a/accounts/search_criteria/collection_report/collection_report.txt b/erpnext/accounts/search_criteria/collection_report/collection_report.txt similarity index 100% rename from accounts/search_criteria/collection_report/collection_report.txt rename to erpnext/accounts/search_criteria/collection_report/collection_report.txt diff --git a/accounts/search_criteria/creditors_ledger/__init__.py b/erpnext/accounts/search_criteria/cost_center_wise_expense/__init__.py similarity index 100% rename from accounts/search_criteria/creditors_ledger/__init__.py rename to erpnext/accounts/search_criteria/cost_center_wise_expense/__init__.py diff --git a/accounts/search_criteria/cost_center_wise_expense/cost_center_wise_expense.js b/erpnext/accounts/search_criteria/cost_center_wise_expense/cost_center_wise_expense.js similarity index 100% rename from accounts/search_criteria/cost_center_wise_expense/cost_center_wise_expense.js rename to erpnext/accounts/search_criteria/cost_center_wise_expense/cost_center_wise_expense.js diff --git a/accounts/search_criteria/cost_center_wise_expense/cost_center_wise_expense.py b/erpnext/accounts/search_criteria/cost_center_wise_expense/cost_center_wise_expense.py similarity index 100% rename from accounts/search_criteria/cost_center_wise_expense/cost_center_wise_expense.py rename to erpnext/accounts/search_criteria/cost_center_wise_expense/cost_center_wise_expense.py diff --git a/accounts/search_criteria/cost_center_wise_expense/cost_center_wise_expense.sql b/erpnext/accounts/search_criteria/cost_center_wise_expense/cost_center_wise_expense.sql similarity index 100% rename from accounts/search_criteria/cost_center_wise_expense/cost_center_wise_expense.sql rename to erpnext/accounts/search_criteria/cost_center_wise_expense/cost_center_wise_expense.sql diff --git a/accounts/search_criteria/cost_center_wise_expense/cost_center_wise_expense.txt b/erpnext/accounts/search_criteria/cost_center_wise_expense/cost_center_wise_expense.txt similarity index 100% rename from accounts/search_criteria/cost_center_wise_expense/cost_center_wise_expense.txt rename to erpnext/accounts/search_criteria/cost_center_wise_expense/cost_center_wise_expense.txt diff --git a/accounts/search_criteria/debtors_ledger/__init__.py b/erpnext/accounts/search_criteria/creditors_ledger/__init__.py similarity index 100% rename from accounts/search_criteria/debtors_ledger/__init__.py rename to erpnext/accounts/search_criteria/creditors_ledger/__init__.py diff --git a/accounts/search_criteria/creditors_ledger/creditors_ledger.js b/erpnext/accounts/search_criteria/creditors_ledger/creditors_ledger.js similarity index 100% rename from accounts/search_criteria/creditors_ledger/creditors_ledger.js rename to erpnext/accounts/search_criteria/creditors_ledger/creditors_ledger.js diff --git a/accounts/search_criteria/creditors_ledger/creditors_ledger.py b/erpnext/accounts/search_criteria/creditors_ledger/creditors_ledger.py similarity index 100% rename from accounts/search_criteria/creditors_ledger/creditors_ledger.py rename to erpnext/accounts/search_criteria/creditors_ledger/creditors_ledger.py diff --git a/accounts/search_criteria/creditors_ledger/creditors_ledger.sql b/erpnext/accounts/search_criteria/creditors_ledger/creditors_ledger.sql similarity index 100% rename from accounts/search_criteria/creditors_ledger/creditors_ledger.sql rename to erpnext/accounts/search_criteria/creditors_ledger/creditors_ledger.sql diff --git a/accounts/search_criteria/creditors_ledger/creditors_ledger.txt b/erpnext/accounts/search_criteria/creditors_ledger/creditors_ledger.txt similarity index 100% rename from accounts/search_criteria/creditors_ledger/creditors_ledger.txt rename to erpnext/accounts/search_criteria/creditors_ledger/creditors_ledger.txt diff --git a/accounts/search_criteria/general_ledger/__init__.py b/erpnext/accounts/search_criteria/debtors_ledger/__init__.py similarity index 100% rename from accounts/search_criteria/general_ledger/__init__.py rename to erpnext/accounts/search_criteria/debtors_ledger/__init__.py diff --git a/accounts/search_criteria/debtors_ledger/debtors_ledger.js b/erpnext/accounts/search_criteria/debtors_ledger/debtors_ledger.js similarity index 100% rename from accounts/search_criteria/debtors_ledger/debtors_ledger.js rename to erpnext/accounts/search_criteria/debtors_ledger/debtors_ledger.js diff --git a/accounts/search_criteria/debtors_ledger/debtors_ledger.py b/erpnext/accounts/search_criteria/debtors_ledger/debtors_ledger.py similarity index 100% rename from accounts/search_criteria/debtors_ledger/debtors_ledger.py rename to erpnext/accounts/search_criteria/debtors_ledger/debtors_ledger.py diff --git a/accounts/search_criteria/debtors_ledger/debtors_ledger.sql b/erpnext/accounts/search_criteria/debtors_ledger/debtors_ledger.sql similarity index 100% rename from accounts/search_criteria/debtors_ledger/debtors_ledger.sql rename to erpnext/accounts/search_criteria/debtors_ledger/debtors_ledger.sql diff --git a/accounts/search_criteria/debtors_ledger/debtors_ledger.txt b/erpnext/accounts/search_criteria/debtors_ledger/debtors_ledger.txt similarity index 100% rename from accounts/search_criteria/debtors_ledger/debtors_ledger.txt rename to erpnext/accounts/search_criteria/debtors_ledger/debtors_ledger.txt diff --git a/accounts/search_criteria/itemwise_purchase_register/__init__.py b/erpnext/accounts/search_criteria/general_ledger/__init__.py similarity index 100% rename from accounts/search_criteria/itemwise_purchase_register/__init__.py rename to erpnext/accounts/search_criteria/general_ledger/__init__.py diff --git a/accounts/search_criteria/general_ledger/general_ledger.js b/erpnext/accounts/search_criteria/general_ledger/general_ledger.js similarity index 100% rename from accounts/search_criteria/general_ledger/general_ledger.js rename to erpnext/accounts/search_criteria/general_ledger/general_ledger.js diff --git a/accounts/search_criteria/general_ledger/general_ledger.py b/erpnext/accounts/search_criteria/general_ledger/general_ledger.py similarity index 100% rename from accounts/search_criteria/general_ledger/general_ledger.py rename to erpnext/accounts/search_criteria/general_ledger/general_ledger.py diff --git a/accounts/search_criteria/general_ledger/general_ledger.sql b/erpnext/accounts/search_criteria/general_ledger/general_ledger.sql similarity index 100% rename from accounts/search_criteria/general_ledger/general_ledger.sql rename to erpnext/accounts/search_criteria/general_ledger/general_ledger.sql diff --git a/accounts/search_criteria/general_ledger/general_ledger.txt b/erpnext/accounts/search_criteria/general_ledger/general_ledger.txt similarity index 100% rename from accounts/search_criteria/general_ledger/general_ledger.txt rename to erpnext/accounts/search_criteria/general_ledger/general_ledger.txt diff --git a/accounts/search_criteria/itemwise_sales_register/__init__.py b/erpnext/accounts/search_criteria/itemwise_purchase_register/__init__.py similarity index 100% rename from accounts/search_criteria/itemwise_sales_register/__init__.py rename to erpnext/accounts/search_criteria/itemwise_purchase_register/__init__.py diff --git a/accounts/search_criteria/itemwise_purchase_register/itemwise_purchase_register.js b/erpnext/accounts/search_criteria/itemwise_purchase_register/itemwise_purchase_register.js similarity index 100% rename from accounts/search_criteria/itemwise_purchase_register/itemwise_purchase_register.js rename to erpnext/accounts/search_criteria/itemwise_purchase_register/itemwise_purchase_register.js diff --git a/accounts/search_criteria/itemwise_purchase_register/itemwise_purchase_register.txt b/erpnext/accounts/search_criteria/itemwise_purchase_register/itemwise_purchase_register.txt similarity index 100% rename from accounts/search_criteria/itemwise_purchase_register/itemwise_purchase_register.txt rename to erpnext/accounts/search_criteria/itemwise_purchase_register/itemwise_purchase_register.txt diff --git a/accounts/search_criteria/lease_agreement_list/__init__.py b/erpnext/accounts/search_criteria/itemwise_sales_register/__init__.py similarity index 100% rename from accounts/search_criteria/lease_agreement_list/__init__.py rename to erpnext/accounts/search_criteria/itemwise_sales_register/__init__.py diff --git a/accounts/search_criteria/itemwise_sales_register/itemwise_sales_register.js b/erpnext/accounts/search_criteria/itemwise_sales_register/itemwise_sales_register.js similarity index 100% rename from accounts/search_criteria/itemwise_sales_register/itemwise_sales_register.js rename to erpnext/accounts/search_criteria/itemwise_sales_register/itemwise_sales_register.js diff --git a/accounts/search_criteria/itemwise_sales_register/itemwise_sales_register.txt b/erpnext/accounts/search_criteria/itemwise_sales_register/itemwise_sales_register.txt similarity index 100% rename from accounts/search_criteria/itemwise_sales_register/itemwise_sales_register.txt rename to erpnext/accounts/search_criteria/itemwise_sales_register/itemwise_sales_register.txt diff --git a/accounts/search_criteria/lease_monthly_future_installment_inflows/__init__.py b/erpnext/accounts/search_criteria/lease_agreement_list/__init__.py similarity index 100% rename from accounts/search_criteria/lease_monthly_future_installment_inflows/__init__.py rename to erpnext/accounts/search_criteria/lease_agreement_list/__init__.py diff --git a/accounts/search_criteria/lease_agreement_list/lease_agreement_list.js b/erpnext/accounts/search_criteria/lease_agreement_list/lease_agreement_list.js similarity index 100% rename from accounts/search_criteria/lease_agreement_list/lease_agreement_list.js rename to erpnext/accounts/search_criteria/lease_agreement_list/lease_agreement_list.js diff --git a/accounts/search_criteria/lease_agreement_list/lease_agreement_list.py b/erpnext/accounts/search_criteria/lease_agreement_list/lease_agreement_list.py similarity index 100% rename from accounts/search_criteria/lease_agreement_list/lease_agreement_list.py rename to erpnext/accounts/search_criteria/lease_agreement_list/lease_agreement_list.py diff --git a/accounts/search_criteria/lease_agreement_list/lease_agreement_list.sql b/erpnext/accounts/search_criteria/lease_agreement_list/lease_agreement_list.sql similarity index 100% rename from accounts/search_criteria/lease_agreement_list/lease_agreement_list.sql rename to erpnext/accounts/search_criteria/lease_agreement_list/lease_agreement_list.sql diff --git a/accounts/search_criteria/lease_agreement_list/lease_agreement_list.txt b/erpnext/accounts/search_criteria/lease_agreement_list/lease_agreement_list.txt similarity index 92% rename from accounts/search_criteria/lease_agreement_list/lease_agreement_list.txt rename to erpnext/accounts/search_criteria/lease_agreement_list/lease_agreement_list.txt index f47c6095fd7..5e84916ffd5 100644 --- a/accounts/search_criteria/lease_agreement_list/lease_agreement_list.txt +++ b/erpnext/accounts/search_criteria/lease_agreement_list/lease_agreement_list.txt @@ -3,9 +3,9 @@ # These values are common in all dictionaries { - 'creation': '2011-08-29 13:45:35', + 'creation': '2011-07-27 16:17:04', 'docstatus': 0, - 'modified': '2011-08-29 13:45:35', + 'modified': '2011-07-27 16:17:04', 'modified_by': 'Administrator', 'owner': 'Administrator' }, @@ -27,4 +27,4 @@ 'doctype': 'Search Criteria', 'name': 'lease_agreement_list' } -] \ No newline at end of file +] diff --git a/accounts/search_criteria/lease_over_due_list/__init__.py b/erpnext/accounts/search_criteria/lease_monthly_future_installment_inflows/__init__.py similarity index 100% rename from accounts/search_criteria/lease_over_due_list/__init__.py rename to erpnext/accounts/search_criteria/lease_monthly_future_installment_inflows/__init__.py diff --git a/accounts/search_criteria/lease_monthly_future_installment_inflows/lease_monthly_future_installment_inflows.js b/erpnext/accounts/search_criteria/lease_monthly_future_installment_inflows/lease_monthly_future_installment_inflows.js similarity index 100% rename from accounts/search_criteria/lease_monthly_future_installment_inflows/lease_monthly_future_installment_inflows.js rename to erpnext/accounts/search_criteria/lease_monthly_future_installment_inflows/lease_monthly_future_installment_inflows.js diff --git a/accounts/search_criteria/lease_monthly_future_installment_inflows/lease_monthly_future_installment_inflows.py b/erpnext/accounts/search_criteria/lease_monthly_future_installment_inflows/lease_monthly_future_installment_inflows.py similarity index 100% rename from accounts/search_criteria/lease_monthly_future_installment_inflows/lease_monthly_future_installment_inflows.py rename to erpnext/accounts/search_criteria/lease_monthly_future_installment_inflows/lease_monthly_future_installment_inflows.py diff --git a/accounts/search_criteria/lease_monthly_future_installment_inflows/lease_monthly_future_installment_inflows.sql b/erpnext/accounts/search_criteria/lease_monthly_future_installment_inflows/lease_monthly_future_installment_inflows.sql similarity index 100% rename from accounts/search_criteria/lease_monthly_future_installment_inflows/lease_monthly_future_installment_inflows.sql rename to erpnext/accounts/search_criteria/lease_monthly_future_installment_inflows/lease_monthly_future_installment_inflows.sql diff --git a/accounts/search_criteria/lease_monthly_future_installment_inflows/lease_monthly_future_installment_inflows.txt b/erpnext/accounts/search_criteria/lease_monthly_future_installment_inflows/lease_monthly_future_installment_inflows.txt similarity index 100% rename from accounts/search_criteria/lease_monthly_future_installment_inflows/lease_monthly_future_installment_inflows.txt rename to erpnext/accounts/search_criteria/lease_monthly_future_installment_inflows/lease_monthly_future_installment_inflows.txt diff --git a/accounts/search_criteria/lease_overdue_age_wise/__init__.py b/erpnext/accounts/search_criteria/lease_over_due_list/__init__.py similarity index 100% rename from accounts/search_criteria/lease_overdue_age_wise/__init__.py rename to erpnext/accounts/search_criteria/lease_over_due_list/__init__.py diff --git a/accounts/search_criteria/lease_over_due_list/lease_over_due_list.js b/erpnext/accounts/search_criteria/lease_over_due_list/lease_over_due_list.js similarity index 100% rename from accounts/search_criteria/lease_over_due_list/lease_over_due_list.js rename to erpnext/accounts/search_criteria/lease_over_due_list/lease_over_due_list.js diff --git a/accounts/search_criteria/lease_over_due_list/lease_over_due_list.py b/erpnext/accounts/search_criteria/lease_over_due_list/lease_over_due_list.py similarity index 100% rename from accounts/search_criteria/lease_over_due_list/lease_over_due_list.py rename to erpnext/accounts/search_criteria/lease_over_due_list/lease_over_due_list.py diff --git a/accounts/search_criteria/lease_over_due_list/lease_over_due_list.sql b/erpnext/accounts/search_criteria/lease_over_due_list/lease_over_due_list.sql similarity index 100% rename from accounts/search_criteria/lease_over_due_list/lease_over_due_list.sql rename to erpnext/accounts/search_criteria/lease_over_due_list/lease_over_due_list.sql diff --git a/accounts/search_criteria/lease_over_due_list/lease_over_due_list.txt b/erpnext/accounts/search_criteria/lease_over_due_list/lease_over_due_list.txt similarity index 100% rename from accounts/search_criteria/lease_over_due_list/lease_over_due_list.txt rename to erpnext/accounts/search_criteria/lease_over_due_list/lease_over_due_list.txt diff --git a/accounts/search_criteria/lease_receipt_summary_month_wise/__init__.py b/erpnext/accounts/search_criteria/lease_overdue_age_wise/__init__.py similarity index 100% rename from accounts/search_criteria/lease_receipt_summary_month_wise/__init__.py rename to erpnext/accounts/search_criteria/lease_overdue_age_wise/__init__.py diff --git a/accounts/search_criteria/lease_overdue_age_wise/lease_overdue_age_wise.js b/erpnext/accounts/search_criteria/lease_overdue_age_wise/lease_overdue_age_wise.js similarity index 100% rename from accounts/search_criteria/lease_overdue_age_wise/lease_overdue_age_wise.js rename to erpnext/accounts/search_criteria/lease_overdue_age_wise/lease_overdue_age_wise.js diff --git a/accounts/search_criteria/lease_overdue_age_wise/lease_overdue_age_wise.py b/erpnext/accounts/search_criteria/lease_overdue_age_wise/lease_overdue_age_wise.py similarity index 100% rename from accounts/search_criteria/lease_overdue_age_wise/lease_overdue_age_wise.py rename to erpnext/accounts/search_criteria/lease_overdue_age_wise/lease_overdue_age_wise.py diff --git a/accounts/search_criteria/lease_overdue_age_wise/lease_overdue_age_wise.sql b/erpnext/accounts/search_criteria/lease_overdue_age_wise/lease_overdue_age_wise.sql similarity index 100% rename from accounts/search_criteria/lease_overdue_age_wise/lease_overdue_age_wise.sql rename to erpnext/accounts/search_criteria/lease_overdue_age_wise/lease_overdue_age_wise.sql diff --git a/accounts/search_criteria/lease_overdue_age_wise/lease_overdue_age_wise.txt b/erpnext/accounts/search_criteria/lease_overdue_age_wise/lease_overdue_age_wise.txt similarity index 100% rename from accounts/search_criteria/lease_overdue_age_wise/lease_overdue_age_wise.txt rename to erpnext/accounts/search_criteria/lease_overdue_age_wise/lease_overdue_age_wise.txt diff --git a/accounts/search_criteria/lease_receipts_client_wise/__init__.py b/erpnext/accounts/search_criteria/lease_receipt_summary_month_wise/__init__.py similarity index 100% rename from accounts/search_criteria/lease_receipts_client_wise/__init__.py rename to erpnext/accounts/search_criteria/lease_receipt_summary_month_wise/__init__.py diff --git a/accounts/search_criteria/lease_receipt_summary_month_wise/lease_receipt_summary_month_wise.js b/erpnext/accounts/search_criteria/lease_receipt_summary_month_wise/lease_receipt_summary_month_wise.js similarity index 100% rename from accounts/search_criteria/lease_receipt_summary_month_wise/lease_receipt_summary_month_wise.js rename to erpnext/accounts/search_criteria/lease_receipt_summary_month_wise/lease_receipt_summary_month_wise.js diff --git a/accounts/search_criteria/lease_receipt_summary_month_wise/lease_receipt_summary_month_wise.py b/erpnext/accounts/search_criteria/lease_receipt_summary_month_wise/lease_receipt_summary_month_wise.py similarity index 100% rename from accounts/search_criteria/lease_receipt_summary_month_wise/lease_receipt_summary_month_wise.py rename to erpnext/accounts/search_criteria/lease_receipt_summary_month_wise/lease_receipt_summary_month_wise.py diff --git a/accounts/search_criteria/lease_receipt_summary_month_wise/lease_receipt_summary_month_wise.sql b/erpnext/accounts/search_criteria/lease_receipt_summary_month_wise/lease_receipt_summary_month_wise.sql similarity index 100% rename from accounts/search_criteria/lease_receipt_summary_month_wise/lease_receipt_summary_month_wise.sql rename to erpnext/accounts/search_criteria/lease_receipt_summary_month_wise/lease_receipt_summary_month_wise.sql diff --git a/accounts/search_criteria/lease_receipt_summary_month_wise/lease_receipt_summary_month_wise.txt b/erpnext/accounts/search_criteria/lease_receipt_summary_month_wise/lease_receipt_summary_month_wise.txt similarity index 93% rename from accounts/search_criteria/lease_receipt_summary_month_wise/lease_receipt_summary_month_wise.txt rename to erpnext/accounts/search_criteria/lease_receipt_summary_month_wise/lease_receipt_summary_month_wise.txt index 6e1b266ea52..e6da15c2704 100644 --- a/accounts/search_criteria/lease_receipt_summary_month_wise/lease_receipt_summary_month_wise.txt +++ b/erpnext/accounts/search_criteria/lease_receipt_summary_month_wise/lease_receipt_summary_month_wise.txt @@ -3,9 +3,9 @@ # These values are common in all dictionaries { - 'creation': '2011-07-27 18:48:29', + 'creation': '2011-07-27 16:17:04', 'docstatus': 0, - 'modified': '2011-07-28 12:56:35', + 'modified': '2011-07-27 16:17:04', 'modified_by': 'Administrator', 'owner': 'Administrator' }, @@ -27,4 +27,4 @@ 'doctype': 'Search Criteria', 'name': 'lease_receipt_summary_month_wise' } -] \ No newline at end of file +] diff --git a/accounts/search_criteria/lease_yearly_future_installment_inflows/__init__.py b/erpnext/accounts/search_criteria/lease_receipts_client_wise/__init__.py similarity index 100% rename from accounts/search_criteria/lease_yearly_future_installment_inflows/__init__.py rename to erpnext/accounts/search_criteria/lease_receipts_client_wise/__init__.py diff --git a/accounts/search_criteria/lease_receipts_client_wise/lease_receipts_client_wise.js b/erpnext/accounts/search_criteria/lease_receipts_client_wise/lease_receipts_client_wise.js similarity index 100% rename from accounts/search_criteria/lease_receipts_client_wise/lease_receipts_client_wise.js rename to erpnext/accounts/search_criteria/lease_receipts_client_wise/lease_receipts_client_wise.js diff --git a/accounts/search_criteria/lease_receipts_client_wise/lease_receipts_client_wise.py b/erpnext/accounts/search_criteria/lease_receipts_client_wise/lease_receipts_client_wise.py similarity index 100% rename from accounts/search_criteria/lease_receipts_client_wise/lease_receipts_client_wise.py rename to erpnext/accounts/search_criteria/lease_receipts_client_wise/lease_receipts_client_wise.py diff --git a/accounts/search_criteria/lease_receipts_client_wise/lease_receipts_client_wise.sql b/erpnext/accounts/search_criteria/lease_receipts_client_wise/lease_receipts_client_wise.sql similarity index 100% rename from accounts/search_criteria/lease_receipts_client_wise/lease_receipts_client_wise.sql rename to erpnext/accounts/search_criteria/lease_receipts_client_wise/lease_receipts_client_wise.sql diff --git a/accounts/search_criteria/lease_receipts_client_wise/lease_receipts_client_wise.txt b/erpnext/accounts/search_criteria/lease_receipts_client_wise/lease_receipts_client_wise.txt similarity index 99% rename from accounts/search_criteria/lease_receipts_client_wise/lease_receipts_client_wise.txt rename to erpnext/accounts/search_criteria/lease_receipts_client_wise/lease_receipts_client_wise.txt index b155b39a6a5..71c9b0ead78 100644 --- a/accounts/search_criteria/lease_receipts_client_wise/lease_receipts_client_wise.txt +++ b/erpnext/accounts/search_criteria/lease_receipts_client_wise/lease_receipts_client_wise.txt @@ -28,4 +28,4 @@ 'doctype': 'Search Criteria', 'name': 'lease_receipts_client_wise' } -] \ No newline at end of file +] diff --git a/accounts/search_criteria/monthly_ledger_summary_report/__init__.py b/erpnext/accounts/search_criteria/lease_yearly_future_installment_inflows/__init__.py similarity index 100% rename from accounts/search_criteria/monthly_ledger_summary_report/__init__.py rename to erpnext/accounts/search_criteria/lease_yearly_future_installment_inflows/__init__.py diff --git a/accounts/search_criteria/lease_yearly_future_installment_inflows/lease_yearly_future_installment_inflows.js b/erpnext/accounts/search_criteria/lease_yearly_future_installment_inflows/lease_yearly_future_installment_inflows.js similarity index 100% rename from accounts/search_criteria/lease_yearly_future_installment_inflows/lease_yearly_future_installment_inflows.js rename to erpnext/accounts/search_criteria/lease_yearly_future_installment_inflows/lease_yearly_future_installment_inflows.js diff --git a/accounts/search_criteria/lease_yearly_future_installment_inflows/lease_yearly_future_installment_inflows.py b/erpnext/accounts/search_criteria/lease_yearly_future_installment_inflows/lease_yearly_future_installment_inflows.py similarity index 100% rename from accounts/search_criteria/lease_yearly_future_installment_inflows/lease_yearly_future_installment_inflows.py rename to erpnext/accounts/search_criteria/lease_yearly_future_installment_inflows/lease_yearly_future_installment_inflows.py diff --git a/accounts/search_criteria/lease_yearly_future_installment_inflows/lease_yearly_future_installment_inflows.sql b/erpnext/accounts/search_criteria/lease_yearly_future_installment_inflows/lease_yearly_future_installment_inflows.sql similarity index 100% rename from accounts/search_criteria/lease_yearly_future_installment_inflows/lease_yearly_future_installment_inflows.sql rename to erpnext/accounts/search_criteria/lease_yearly_future_installment_inflows/lease_yearly_future_installment_inflows.sql diff --git a/accounts/search_criteria/lease_yearly_future_installment_inflows/lease_yearly_future_installment_inflows.txt b/erpnext/accounts/search_criteria/lease_yearly_future_installment_inflows/lease_yearly_future_installment_inflows.txt similarity index 100% rename from accounts/search_criteria/lease_yearly_future_installment_inflows/lease_yearly_future_installment_inflows.txt rename to erpnext/accounts/search_criteria/lease_yearly_future_installment_inflows/lease_yearly_future_installment_inflows.txt diff --git a/accounts/search_criteria/payment_receipt_report/__init__.py b/erpnext/accounts/search_criteria/monthly_ledger_summary_report/__init__.py similarity index 100% rename from accounts/search_criteria/payment_receipt_report/__init__.py rename to erpnext/accounts/search_criteria/monthly_ledger_summary_report/__init__.py diff --git a/accounts/search_criteria/monthly_ledger_summary_report/monthly_ledger_summary_report.js b/erpnext/accounts/search_criteria/monthly_ledger_summary_report/monthly_ledger_summary_report.js similarity index 100% rename from accounts/search_criteria/monthly_ledger_summary_report/monthly_ledger_summary_report.js rename to erpnext/accounts/search_criteria/monthly_ledger_summary_report/monthly_ledger_summary_report.js diff --git a/accounts/search_criteria/monthly_ledger_summary_report/monthly_ledger_summary_report.py b/erpnext/accounts/search_criteria/monthly_ledger_summary_report/monthly_ledger_summary_report.py similarity index 100% rename from accounts/search_criteria/monthly_ledger_summary_report/monthly_ledger_summary_report.py rename to erpnext/accounts/search_criteria/monthly_ledger_summary_report/monthly_ledger_summary_report.py diff --git a/accounts/search_criteria/monthly_ledger_summary_report/monthly_ledger_summary_report.txt b/erpnext/accounts/search_criteria/monthly_ledger_summary_report/monthly_ledger_summary_report.txt similarity index 100% rename from accounts/search_criteria/monthly_ledger_summary_report/monthly_ledger_summary_report.txt rename to erpnext/accounts/search_criteria/monthly_ledger_summary_report/monthly_ledger_summary_report.txt diff --git a/accounts/search_criteria/payment_report/__init__.py b/erpnext/accounts/search_criteria/payment_receipt_report/__init__.py similarity index 100% rename from accounts/search_criteria/payment_report/__init__.py rename to erpnext/accounts/search_criteria/payment_receipt_report/__init__.py diff --git a/accounts/search_criteria/payment_receipt_report/payment_receipt_report.py b/erpnext/accounts/search_criteria/payment_receipt_report/payment_receipt_report.py similarity index 100% rename from accounts/search_criteria/payment_receipt_report/payment_receipt_report.py rename to erpnext/accounts/search_criteria/payment_receipt_report/payment_receipt_report.py diff --git a/accounts/search_criteria/payment_receipt_report/payment_receipt_report.sql b/erpnext/accounts/search_criteria/payment_receipt_report/payment_receipt_report.sql similarity index 100% rename from accounts/search_criteria/payment_receipt_report/payment_receipt_report.sql rename to erpnext/accounts/search_criteria/payment_receipt_report/payment_receipt_report.sql diff --git a/accounts/search_criteria/payment_receipt_report/payment_receipt_report.txt b/erpnext/accounts/search_criteria/payment_receipt_report/payment_receipt_report.txt similarity index 100% rename from accounts/search_criteria/payment_receipt_report/payment_receipt_report.txt rename to erpnext/accounts/search_criteria/payment_receipt_report/payment_receipt_report.txt diff --git a/accounts/search_criteria/progressive_total_excise_duty/__init__.py b/erpnext/accounts/search_criteria/payment_report/__init__.py similarity index 100% rename from accounts/search_criteria/progressive_total_excise_duty/__init__.py rename to erpnext/accounts/search_criteria/payment_report/__init__.py diff --git a/accounts/search_criteria/payment_report/payment_report.js b/erpnext/accounts/search_criteria/payment_report/payment_report.js similarity index 100% rename from accounts/search_criteria/payment_report/payment_report.js rename to erpnext/accounts/search_criteria/payment_report/payment_report.js diff --git a/accounts/search_criteria/payment_report/payment_report.py b/erpnext/accounts/search_criteria/payment_report/payment_report.py similarity index 100% rename from accounts/search_criteria/payment_report/payment_report.py rename to erpnext/accounts/search_criteria/payment_report/payment_report.py diff --git a/accounts/search_criteria/payment_report/payment_report.sql b/erpnext/accounts/search_criteria/payment_report/payment_report.sql similarity index 100% rename from accounts/search_criteria/payment_report/payment_report.sql rename to erpnext/accounts/search_criteria/payment_report/payment_report.sql diff --git a/accounts/search_criteria/payment_report/payment_report.txt b/erpnext/accounts/search_criteria/payment_report/payment_report.txt similarity index 100% rename from accounts/search_criteria/payment_report/payment_report.txt rename to erpnext/accounts/search_criteria/payment_report/payment_report.txt diff --git a/accounts/search_criteria/purchase_register/__init__.py b/erpnext/accounts/search_criteria/progressive_total_excise_duty/__init__.py similarity index 100% rename from accounts/search_criteria/purchase_register/__init__.py rename to erpnext/accounts/search_criteria/progressive_total_excise_duty/__init__.py diff --git a/accounts/search_criteria/progressive_total_excise_duty/progressive_total_excise_duty.js b/erpnext/accounts/search_criteria/progressive_total_excise_duty/progressive_total_excise_duty.js similarity index 100% rename from accounts/search_criteria/progressive_total_excise_duty/progressive_total_excise_duty.js rename to erpnext/accounts/search_criteria/progressive_total_excise_duty/progressive_total_excise_duty.js diff --git a/accounts/search_criteria/progressive_total_excise_duty/progressive_total_excise_duty.py b/erpnext/accounts/search_criteria/progressive_total_excise_duty/progressive_total_excise_duty.py similarity index 100% rename from accounts/search_criteria/progressive_total_excise_duty/progressive_total_excise_duty.py rename to erpnext/accounts/search_criteria/progressive_total_excise_duty/progressive_total_excise_duty.py diff --git a/accounts/search_criteria/progressive_total_excise_duty/progressive_total_excise_duty.sql b/erpnext/accounts/search_criteria/progressive_total_excise_duty/progressive_total_excise_duty.sql similarity index 100% rename from accounts/search_criteria/progressive_total_excise_duty/progressive_total_excise_duty.sql rename to erpnext/accounts/search_criteria/progressive_total_excise_duty/progressive_total_excise_duty.sql diff --git a/accounts/search_criteria/progressive_total_excise_duty/progressive_total_excise_duty.txt b/erpnext/accounts/search_criteria/progressive_total_excise_duty/progressive_total_excise_duty.txt similarity index 100% rename from accounts/search_criteria/progressive_total_excise_duty/progressive_total_excise_duty.txt rename to erpnext/accounts/search_criteria/progressive_total_excise_duty/progressive_total_excise_duty.txt diff --git a/accounts/search_criteria/sales_register/__init__.py b/erpnext/accounts/search_criteria/purchase_register/__init__.py similarity index 100% rename from accounts/search_criteria/sales_register/__init__.py rename to erpnext/accounts/search_criteria/purchase_register/__init__.py diff --git a/accounts/search_criteria/purchase_register/purchase_register.py b/erpnext/accounts/search_criteria/purchase_register/purchase_register.py similarity index 100% rename from accounts/search_criteria/purchase_register/purchase_register.py rename to erpnext/accounts/search_criteria/purchase_register/purchase_register.py diff --git a/accounts/search_criteria/purchase_register/purchase_register.txt b/erpnext/accounts/search_criteria/purchase_register/purchase_register.txt similarity index 100% rename from accounts/search_criteria/purchase_register/purchase_register.txt rename to erpnext/accounts/search_criteria/purchase_register/purchase_register.txt diff --git a/accounts/search_criteria/service_tax_credit_account___inputs/__init__.py b/erpnext/accounts/search_criteria/sales_register/__init__.py similarity index 100% rename from accounts/search_criteria/service_tax_credit_account___inputs/__init__.py rename to erpnext/accounts/search_criteria/sales_register/__init__.py diff --git a/accounts/search_criteria/sales_register/sales_register.js b/erpnext/accounts/search_criteria/sales_register/sales_register.js similarity index 100% rename from accounts/search_criteria/sales_register/sales_register.js rename to erpnext/accounts/search_criteria/sales_register/sales_register.js diff --git a/accounts/search_criteria/sales_register/sales_register.py b/erpnext/accounts/search_criteria/sales_register/sales_register.py similarity index 100% rename from accounts/search_criteria/sales_register/sales_register.py rename to erpnext/accounts/search_criteria/sales_register/sales_register.py diff --git a/accounts/search_criteria/sales_register/sales_register.txt b/erpnext/accounts/search_criteria/sales_register/sales_register.txt similarity index 100% rename from accounts/search_criteria/sales_register/sales_register.txt rename to erpnext/accounts/search_criteria/sales_register/sales_register.txt diff --git a/accounts/search_criteria/tds_return/__init__.py b/erpnext/accounts/search_criteria/service_tax_credit_account___inputs/__init__.py similarity index 100% rename from accounts/search_criteria/tds_return/__init__.py rename to erpnext/accounts/search_criteria/service_tax_credit_account___inputs/__init__.py diff --git a/accounts/search_criteria/service_tax_credit_account___inputs/service_tax_credit_account___inputs.js b/erpnext/accounts/search_criteria/service_tax_credit_account___inputs/service_tax_credit_account___inputs.js similarity index 100% rename from accounts/search_criteria/service_tax_credit_account___inputs/service_tax_credit_account___inputs.js rename to erpnext/accounts/search_criteria/service_tax_credit_account___inputs/service_tax_credit_account___inputs.js diff --git a/accounts/search_criteria/service_tax_credit_account___inputs/service_tax_credit_account___inputs.py b/erpnext/accounts/search_criteria/service_tax_credit_account___inputs/service_tax_credit_account___inputs.py similarity index 100% rename from accounts/search_criteria/service_tax_credit_account___inputs/service_tax_credit_account___inputs.py rename to erpnext/accounts/search_criteria/service_tax_credit_account___inputs/service_tax_credit_account___inputs.py diff --git a/accounts/search_criteria/service_tax_credit_account___inputs/service_tax_credit_account___inputs.sql b/erpnext/accounts/search_criteria/service_tax_credit_account___inputs/service_tax_credit_account___inputs.sql similarity index 100% rename from accounts/search_criteria/service_tax_credit_account___inputs/service_tax_credit_account___inputs.sql rename to erpnext/accounts/search_criteria/service_tax_credit_account___inputs/service_tax_credit_account___inputs.sql diff --git a/accounts/search_criteria/service_tax_credit_account___inputs/service_tax_credit_account___inputs.txt b/erpnext/accounts/search_criteria/service_tax_credit_account___inputs/service_tax_credit_account___inputs.txt similarity index 100% rename from accounts/search_criteria/service_tax_credit_account___inputs/service_tax_credit_account___inputs.txt rename to erpnext/accounts/search_criteria/service_tax_credit_account___inputs/service_tax_credit_account___inputs.txt diff --git a/accounts/search_criteria/total_amout_collection_for_a_period___customerwise/__init__.py b/erpnext/accounts/search_criteria/tds_return/__init__.py similarity index 100% rename from accounts/search_criteria/total_amout_collection_for_a_period___customerwise/__init__.py rename to erpnext/accounts/search_criteria/tds_return/__init__.py diff --git a/accounts/search_criteria/tds_return/tds_return.js b/erpnext/accounts/search_criteria/tds_return/tds_return.js similarity index 100% rename from accounts/search_criteria/tds_return/tds_return.js rename to erpnext/accounts/search_criteria/tds_return/tds_return.js diff --git a/accounts/search_criteria/tds_return/tds_return.py b/erpnext/accounts/search_criteria/tds_return/tds_return.py similarity index 100% rename from accounts/search_criteria/tds_return/tds_return.py rename to erpnext/accounts/search_criteria/tds_return/tds_return.py diff --git a/accounts/search_criteria/tds_return/tds_return.sql b/erpnext/accounts/search_criteria/tds_return/tds_return.sql similarity index 100% rename from accounts/search_criteria/tds_return/tds_return.sql rename to erpnext/accounts/search_criteria/tds_return/tds_return.sql diff --git a/accounts/search_criteria/tds_return/tds_return.txt b/erpnext/accounts/search_criteria/tds_return/tds_return.txt similarity index 100% rename from accounts/search_criteria/tds_return/tds_return.txt rename to erpnext/accounts/search_criteria/tds_return/tds_return.txt diff --git a/accounts/search_criteria/trial_balance/__init__.py b/erpnext/accounts/search_criteria/total_amout_collection_for_a_period___customerwise/__init__.py similarity index 100% rename from accounts/search_criteria/trial_balance/__init__.py rename to erpnext/accounts/search_criteria/total_amout_collection_for_a_period___customerwise/__init__.py diff --git a/accounts/search_criteria/total_amout_collection_for_a_period___customerwise/total_amout_collection_for_a_period___customerwise.js b/erpnext/accounts/search_criteria/total_amout_collection_for_a_period___customerwise/total_amout_collection_for_a_period___customerwise.js similarity index 100% rename from accounts/search_criteria/total_amout_collection_for_a_period___customerwise/total_amout_collection_for_a_period___customerwise.js rename to erpnext/accounts/search_criteria/total_amout_collection_for_a_period___customerwise/total_amout_collection_for_a_period___customerwise.js diff --git a/accounts/search_criteria/total_amout_collection_for_a_period___customerwise/total_amout_collection_for_a_period___customerwise.py b/erpnext/accounts/search_criteria/total_amout_collection_for_a_period___customerwise/total_amout_collection_for_a_period___customerwise.py similarity index 100% rename from accounts/search_criteria/total_amout_collection_for_a_period___customerwise/total_amout_collection_for_a_period___customerwise.py rename to erpnext/accounts/search_criteria/total_amout_collection_for_a_period___customerwise/total_amout_collection_for_a_period___customerwise.py diff --git a/accounts/search_criteria/total_amout_collection_for_a_period___customerwise/total_amout_collection_for_a_period___customerwise.txt b/erpnext/accounts/search_criteria/total_amout_collection_for_a_period___customerwise/total_amout_collection_for_a_period___customerwise.txt similarity index 100% rename from accounts/search_criteria/total_amout_collection_for_a_period___customerwise/total_amout_collection_for_a_period___customerwise.txt rename to erpnext/accounts/search_criteria/total_amout_collection_for_a_period___customerwise/total_amout_collection_for_a_period___customerwise.txt diff --git a/accounts/search_criteria/voucher_wise_tax_details/__init__.py b/erpnext/accounts/search_criteria/trial_balance/__init__.py similarity index 100% rename from accounts/search_criteria/voucher_wise_tax_details/__init__.py rename to erpnext/accounts/search_criteria/trial_balance/__init__.py diff --git a/accounts/search_criteria/trial_balance/trial_balance.js b/erpnext/accounts/search_criteria/trial_balance/trial_balance.js similarity index 100% rename from accounts/search_criteria/trial_balance/trial_balance.js rename to erpnext/accounts/search_criteria/trial_balance/trial_balance.js diff --git a/accounts/search_criteria/trial_balance/trial_balance.py b/erpnext/accounts/search_criteria/trial_balance/trial_balance.py similarity index 100% rename from accounts/search_criteria/trial_balance/trial_balance.py rename to erpnext/accounts/search_criteria/trial_balance/trial_balance.py diff --git a/accounts/search_criteria/trial_balance/trial_balance.txt b/erpnext/accounts/search_criteria/trial_balance/trial_balance.txt similarity index 100% rename from accounts/search_criteria/trial_balance/trial_balance.txt rename to erpnext/accounts/search_criteria/trial_balance/trial_balance.txt diff --git a/analysis/__init__.py b/erpnext/accounts/search_criteria/voucher_wise_tax_details/__init__.py similarity index 100% rename from analysis/__init__.py rename to erpnext/accounts/search_criteria/voucher_wise_tax_details/__init__.py diff --git a/accounts/search_criteria/voucher_wise_tax_details/voucher_wise_tax_details.js b/erpnext/accounts/search_criteria/voucher_wise_tax_details/voucher_wise_tax_details.js similarity index 100% rename from accounts/search_criteria/voucher_wise_tax_details/voucher_wise_tax_details.js rename to erpnext/accounts/search_criteria/voucher_wise_tax_details/voucher_wise_tax_details.js diff --git a/accounts/search_criteria/voucher_wise_tax_details/voucher_wise_tax_details.py b/erpnext/accounts/search_criteria/voucher_wise_tax_details/voucher_wise_tax_details.py similarity index 100% rename from accounts/search_criteria/voucher_wise_tax_details/voucher_wise_tax_details.py rename to erpnext/accounts/search_criteria/voucher_wise_tax_details/voucher_wise_tax_details.py diff --git a/accounts/search_criteria/voucher_wise_tax_details/voucher_wise_tax_details.txt b/erpnext/accounts/search_criteria/voucher_wise_tax_details/voucher_wise_tax_details.txt similarity index 100% rename from accounts/search_criteria/voucher_wise_tax_details/voucher_wise_tax_details.txt rename to erpnext/accounts/search_criteria/voucher_wise_tax_details/voucher_wise_tax_details.txt diff --git a/accounts/utils/__init__.py b/erpnext/accounts/utils/__init__.py similarity index 100% rename from accounts/utils/__init__.py rename to erpnext/accounts/utils/__init__.py diff --git a/analysis/Module Def/Analysis/Analysis.txt b/erpnext/analysis/Module Def/Analysis/Analysis.txt similarity index 100% rename from analysis/Module Def/Analysis/Analysis.txt rename to erpnext/analysis/Module Def/Analysis/Analysis.txt diff --git a/analysis/doctype/__init__.py b/erpnext/analysis/__init__.py similarity index 100% rename from analysis/doctype/__init__.py rename to erpnext/analysis/__init__.py diff --git a/analysis/doctype/mis_control/__init__.py b/erpnext/analysis/doctype/__init__.py similarity index 100% rename from analysis/doctype/mis_control/__init__.py rename to erpnext/analysis/doctype/__init__.py diff --git a/analysis/doctype/ta_control/__init__.py b/erpnext/analysis/doctype/mis_control/__init__.py old mode 100755 new mode 100644 similarity index 100% rename from analysis/doctype/ta_control/__init__.py rename to erpnext/analysis/doctype/mis_control/__init__.py diff --git a/analysis/doctype/mis_control/mis_control.py b/erpnext/analysis/doctype/mis_control/mis_control.py similarity index 100% rename from analysis/doctype/mis_control/mis_control.py rename to erpnext/analysis/doctype/mis_control/mis_control.py diff --git a/analysis/doctype/mis_control/mis_control.txt b/erpnext/analysis/doctype/mis_control/mis_control.txt similarity index 100% rename from analysis/doctype/mis_control/mis_control.txt rename to erpnext/analysis/doctype/mis_control/mis_control.txt diff --git a/analysis/page/__init__.py b/erpnext/analysis/doctype/ta_control/__init__.py old mode 100644 new mode 100755 similarity index 100% rename from analysis/page/__init__.py rename to erpnext/analysis/doctype/ta_control/__init__.py diff --git a/analysis/doctype/ta_control/ta_control.py b/erpnext/analysis/doctype/ta_control/ta_control.py similarity index 100% rename from analysis/doctype/ta_control/ta_control.py rename to erpnext/analysis/doctype/ta_control/ta_control.py diff --git a/analysis/doctype/ta_control/ta_control.txt b/erpnext/analysis/doctype/ta_control/ta_control.txt similarity index 100% rename from analysis/doctype/ta_control/ta_control.txt rename to erpnext/analysis/doctype/ta_control/ta_control.txt diff --git a/analysis/search_criteria/__init__.py b/erpnext/analysis/page/__init__.py similarity index 100% rename from analysis/search_criteria/__init__.py rename to erpnext/analysis/page/__init__.py diff --git a/analysis/search_criteria/monthly_transaction_summary/__init__.py b/erpnext/analysis/search_criteria/__init__.py similarity index 100% rename from analysis/search_criteria/monthly_transaction_summary/__init__.py rename to erpnext/analysis/search_criteria/__init__.py diff --git a/analysis/search_criteria/trend_analyzer/__init__.py b/erpnext/analysis/search_criteria/monthly_transaction_summary/__init__.py similarity index 100% rename from analysis/search_criteria/trend_analyzer/__init__.py rename to erpnext/analysis/search_criteria/monthly_transaction_summary/__init__.py diff --git a/analysis/search_criteria/monthly_transaction_summary/monthly_transaction_summary.js b/erpnext/analysis/search_criteria/monthly_transaction_summary/monthly_transaction_summary.js similarity index 100% rename from analysis/search_criteria/monthly_transaction_summary/monthly_transaction_summary.js rename to erpnext/analysis/search_criteria/monthly_transaction_summary/monthly_transaction_summary.js diff --git a/analysis/search_criteria/monthly_transaction_summary/monthly_transaction_summary.py b/erpnext/analysis/search_criteria/monthly_transaction_summary/monthly_transaction_summary.py similarity index 100% rename from analysis/search_criteria/monthly_transaction_summary/monthly_transaction_summary.py rename to erpnext/analysis/search_criteria/monthly_transaction_summary/monthly_transaction_summary.py diff --git a/analysis/search_criteria/monthly_transaction_summary/monthly_transaction_summary.sql b/erpnext/analysis/search_criteria/monthly_transaction_summary/monthly_transaction_summary.sql similarity index 100% rename from analysis/search_criteria/monthly_transaction_summary/monthly_transaction_summary.sql rename to erpnext/analysis/search_criteria/monthly_transaction_summary/monthly_transaction_summary.sql diff --git a/analysis/search_criteria/monthly_transaction_summary/monthly_transaction_summary.txt b/erpnext/analysis/search_criteria/monthly_transaction_summary/monthly_transaction_summary.txt similarity index 100% rename from analysis/search_criteria/monthly_transaction_summary/monthly_transaction_summary.txt rename to erpnext/analysis/search_criteria/monthly_transaction_summary/monthly_transaction_summary.txt diff --git a/analysis/search_criteria/yearly_transaction_summary/__init__.py b/erpnext/analysis/search_criteria/trend_analyzer/__init__.py similarity index 100% rename from analysis/search_criteria/yearly_transaction_summary/__init__.py rename to erpnext/analysis/search_criteria/trend_analyzer/__init__.py diff --git a/analysis/search_criteria/trend_analyzer/trend_analyzer.js b/erpnext/analysis/search_criteria/trend_analyzer/trend_analyzer.js similarity index 100% rename from analysis/search_criteria/trend_analyzer/trend_analyzer.js rename to erpnext/analysis/search_criteria/trend_analyzer/trend_analyzer.js diff --git a/analysis/search_criteria/trend_analyzer/trend_analyzer.py b/erpnext/analysis/search_criteria/trend_analyzer/trend_analyzer.py similarity index 100% rename from analysis/search_criteria/trend_analyzer/trend_analyzer.py rename to erpnext/analysis/search_criteria/trend_analyzer/trend_analyzer.py diff --git a/analysis/search_criteria/trend_analyzer/trend_analyzer.txt b/erpnext/analysis/search_criteria/trend_analyzer/trend_analyzer.txt similarity index 100% rename from analysis/search_criteria/trend_analyzer/trend_analyzer.txt rename to erpnext/analysis/search_criteria/trend_analyzer/trend_analyzer.txt diff --git a/buying/__init__.py b/erpnext/analysis/search_criteria/yearly_transaction_summary/__init__.py similarity index 100% rename from buying/__init__.py rename to erpnext/analysis/search_criteria/yearly_transaction_summary/__init__.py diff --git a/analysis/search_criteria/yearly_transaction_summary/yearly_transaction_summary.js b/erpnext/analysis/search_criteria/yearly_transaction_summary/yearly_transaction_summary.js similarity index 100% rename from analysis/search_criteria/yearly_transaction_summary/yearly_transaction_summary.js rename to erpnext/analysis/search_criteria/yearly_transaction_summary/yearly_transaction_summary.js diff --git a/analysis/search_criteria/yearly_transaction_summary/yearly_transaction_summary.py b/erpnext/analysis/search_criteria/yearly_transaction_summary/yearly_transaction_summary.py similarity index 100% rename from analysis/search_criteria/yearly_transaction_summary/yearly_transaction_summary.py rename to erpnext/analysis/search_criteria/yearly_transaction_summary/yearly_transaction_summary.py diff --git a/analysis/search_criteria/yearly_transaction_summary/yearly_transaction_summary.sql b/erpnext/analysis/search_criteria/yearly_transaction_summary/yearly_transaction_summary.sql similarity index 100% rename from analysis/search_criteria/yearly_transaction_summary/yearly_transaction_summary.sql rename to erpnext/analysis/search_criteria/yearly_transaction_summary/yearly_transaction_summary.sql diff --git a/analysis/search_criteria/yearly_transaction_summary/yearly_transaction_summary.txt b/erpnext/analysis/search_criteria/yearly_transaction_summary/yearly_transaction_summary.txt similarity index 100% rename from analysis/search_criteria/yearly_transaction_summary/yearly_transaction_summary.txt rename to erpnext/analysis/search_criteria/yearly_transaction_summary/yearly_transaction_summary.txt diff --git a/buying/DocType Mapper/Indent-Purchase Order/Indent-Purchase Order.txt b/erpnext/buying/DocType Mapper/Indent-Purchase Order/Indent-Purchase Order.txt similarity index 100% rename from buying/DocType Mapper/Indent-Purchase Order/Indent-Purchase Order.txt rename to erpnext/buying/DocType Mapper/Indent-Purchase Order/Indent-Purchase Order.txt diff --git a/buying/DocType Mapper/Sales Order-Indent/Sales Order-Indent.txt b/erpnext/buying/DocType Mapper/Sales Order-Indent/Sales Order-Indent.txt similarity index 96% rename from buying/DocType Mapper/Sales Order-Indent/Sales Order-Indent.txt rename to erpnext/buying/DocType Mapper/Sales Order-Indent/Sales Order-Indent.txt index d32aeb63ce0..b4dafc9a2f7 100755 --- a/buying/DocType Mapper/Sales Order-Indent/Sales Order-Indent.txt +++ b/erpnext/buying/DocType Mapper/Sales Order-Indent/Sales Order-Indent.txt @@ -3,9 +3,9 @@ # These values are common in all dictionaries { - 'creation': '2011-05-05 15:58:13', + 'creation': '2011-05-20 10:07:55', 'docstatus': 0, - 'modified': '2011-05-05 16:20:10', + 'modified': '2011-09-14 12:36:25', 'modified_by': 'Administrator', 'owner': 'Administrator' }, diff --git a/buying/Module Def/Buying/Buying.txt b/erpnext/buying/Module Def/Buying/Buying.txt similarity index 100% rename from buying/Module Def/Buying/Buying.txt rename to erpnext/buying/Module Def/Buying/Buying.txt diff --git a/buying/Role/Purchase Manager/Purchase Manager.txt b/erpnext/buying/Role/Purchase Manager/Purchase Manager.txt similarity index 100% rename from buying/Role/Purchase Manager/Purchase Manager.txt rename to erpnext/buying/Role/Purchase Manager/Purchase Manager.txt diff --git a/buying/Role/Purchase Master Manager/Purchase Master Manager.txt b/erpnext/buying/Role/Purchase Master Manager/Purchase Master Manager.txt similarity index 100% rename from buying/Role/Purchase Master Manager/Purchase Master Manager.txt rename to erpnext/buying/Role/Purchase Master Manager/Purchase Master Manager.txt diff --git a/buying/Role/Purchase User/Purchase User.txt b/erpnext/buying/Role/Purchase User/Purchase User.txt similarity index 100% rename from buying/Role/Purchase User/Purchase User.txt rename to erpnext/buying/Role/Purchase User/Purchase User.txt diff --git a/buying/Role/Supplier/Supplier.txt b/erpnext/buying/Role/Supplier/Supplier.txt similarity index 100% rename from buying/Role/Supplier/Supplier.txt rename to erpnext/buying/Role/Supplier/Supplier.txt diff --git a/buying/doctype/__init__.py b/erpnext/buying/__init__.py similarity index 100% rename from buying/doctype/__init__.py rename to erpnext/buying/__init__.py diff --git a/buying/doctype/indent/__init__.py b/erpnext/buying/doctype/__init__.py similarity index 100% rename from buying/doctype/indent/__init__.py rename to erpnext/buying/doctype/__init__.py diff --git a/buying/doctype/indent_detail/__init__.py b/erpnext/buying/doctype/indent/__init__.py similarity index 100% rename from buying/doctype/indent_detail/__init__.py rename to erpnext/buying/doctype/indent/__init__.py diff --git a/buying/doctype/indent/indent.js b/erpnext/buying/doctype/indent/indent.js similarity index 100% rename from buying/doctype/indent/indent.js rename to erpnext/buying/doctype/indent/indent.js diff --git a/buying/doctype/indent/indent.py b/erpnext/buying/doctype/indent/indent.py similarity index 100% rename from buying/doctype/indent/indent.py rename to erpnext/buying/doctype/indent/indent.py diff --git a/buying/doctype/indent/indent.txt b/erpnext/buying/doctype/indent/indent.txt similarity index 100% rename from buying/doctype/indent/indent.txt rename to erpnext/buying/doctype/indent/indent.txt diff --git a/buying/doctype/po_detail/__init__.py b/erpnext/buying/doctype/indent_detail/__init__.py similarity index 100% rename from buying/doctype/po_detail/__init__.py rename to erpnext/buying/doctype/indent_detail/__init__.py diff --git a/buying/doctype/indent_detail/indent_detail.txt b/erpnext/buying/doctype/indent_detail/indent_detail.txt similarity index 100% rename from buying/doctype/indent_detail/indent_detail.txt rename to erpnext/buying/doctype/indent_detail/indent_detail.txt diff --git a/buying/doctype/po_raw_material_detail/__init__.py b/erpnext/buying/doctype/po_detail/__init__.py similarity index 100% rename from buying/doctype/po_raw_material_detail/__init__.py rename to erpnext/buying/doctype/po_detail/__init__.py diff --git a/buying/doctype/po_detail/po_detail.txt b/erpnext/buying/doctype/po_detail/po_detail.txt similarity index 100% rename from buying/doctype/po_detail/po_detail.txt rename to erpnext/buying/doctype/po_detail/po_detail.txt diff --git a/buying/doctype/pr_raw_material_detail/__init__.py b/erpnext/buying/doctype/po_raw_material_detail/__init__.py similarity index 100% rename from buying/doctype/pr_raw_material_detail/__init__.py rename to erpnext/buying/doctype/po_raw_material_detail/__init__.py diff --git a/buying/doctype/po_raw_material_detail/po_raw_material_detail.txt b/erpnext/buying/doctype/po_raw_material_detail/po_raw_material_detail.txt similarity index 100% rename from buying/doctype/po_raw_material_detail/po_raw_material_detail.txt rename to erpnext/buying/doctype/po_raw_material_detail/po_raw_material_detail.txt diff --git a/buying/doctype/purchase_common/__init__.py b/erpnext/buying/doctype/pr_raw_material_detail/__init__.py similarity index 100% rename from buying/doctype/purchase_common/__init__.py rename to erpnext/buying/doctype/pr_raw_material_detail/__init__.py diff --git a/buying/doctype/pr_raw_material_detail/pr_raw_material_detail.txt b/erpnext/buying/doctype/pr_raw_material_detail/pr_raw_material_detail.txt similarity index 100% rename from buying/doctype/pr_raw_material_detail/pr_raw_material_detail.txt rename to erpnext/buying/doctype/pr_raw_material_detail/pr_raw_material_detail.txt diff --git a/buying/doctype/purchase_order/__init__.py b/erpnext/buying/doctype/purchase_common/__init__.py similarity index 100% rename from buying/doctype/purchase_order/__init__.py rename to erpnext/buying/doctype/purchase_common/__init__.py diff --git a/buying/doctype/purchase_common/purchase_common.js b/erpnext/buying/doctype/purchase_common/purchase_common.js similarity index 100% rename from buying/doctype/purchase_common/purchase_common.js rename to erpnext/buying/doctype/purchase_common/purchase_common.js diff --git a/buying/doctype/purchase_common/purchase_common.py b/erpnext/buying/doctype/purchase_common/purchase_common.py similarity index 100% rename from buying/doctype/purchase_common/purchase_common.py rename to erpnext/buying/doctype/purchase_common/purchase_common.py diff --git a/buying/doctype/purchase_common/purchase_common.txt b/erpnext/buying/doctype/purchase_common/purchase_common.txt similarity index 100% rename from buying/doctype/purchase_common/purchase_common.txt rename to erpnext/buying/doctype/purchase_common/purchase_common.txt diff --git a/buying/doctype/purchase_other_charges/__init__.py b/erpnext/buying/doctype/purchase_order/__init__.py similarity index 100% rename from buying/doctype/purchase_other_charges/__init__.py rename to erpnext/buying/doctype/purchase_order/__init__.py diff --git a/buying/doctype/purchase_order/purchase_order.js b/erpnext/buying/doctype/purchase_order/purchase_order.js similarity index 100% rename from buying/doctype/purchase_order/purchase_order.js rename to erpnext/buying/doctype/purchase_order/purchase_order.js diff --git a/buying/doctype/purchase_order/purchase_order.py b/erpnext/buying/doctype/purchase_order/purchase_order.py similarity index 100% rename from buying/doctype/purchase_order/purchase_order.py rename to erpnext/buying/doctype/purchase_order/purchase_order.py diff --git a/buying/doctype/purchase_order/purchase_order.txt b/erpnext/buying/doctype/purchase_order/purchase_order.txt similarity index 100% rename from buying/doctype/purchase_order/purchase_order.txt rename to erpnext/buying/doctype/purchase_order/purchase_order.txt diff --git a/buying/doctype/qa_inspection_report/__init__.py b/erpnext/buying/doctype/purchase_other_charges/__init__.py similarity index 100% rename from buying/doctype/qa_inspection_report/__init__.py rename to erpnext/buying/doctype/purchase_other_charges/__init__.py diff --git a/buying/doctype/purchase_other_charges/purchase_other_charges.js b/erpnext/buying/doctype/purchase_other_charges/purchase_other_charges.js similarity index 100% rename from buying/doctype/purchase_other_charges/purchase_other_charges.js rename to erpnext/buying/doctype/purchase_other_charges/purchase_other_charges.js diff --git a/buying/doctype/purchase_other_charges/purchase_other_charges.py b/erpnext/buying/doctype/purchase_other_charges/purchase_other_charges.py similarity index 100% rename from buying/doctype/purchase_other_charges/purchase_other_charges.py rename to erpnext/buying/doctype/purchase_other_charges/purchase_other_charges.py diff --git a/buying/doctype/purchase_other_charges/purchase_other_charges.txt b/erpnext/buying/doctype/purchase_other_charges/purchase_other_charges.txt similarity index 100% rename from buying/doctype/purchase_other_charges/purchase_other_charges.txt rename to erpnext/buying/doctype/purchase_other_charges/purchase_other_charges.txt diff --git a/buying/doctype/qa_specification_detail/__init__.py b/erpnext/buying/doctype/qa_inspection_report/__init__.py similarity index 100% rename from buying/doctype/qa_specification_detail/__init__.py rename to erpnext/buying/doctype/qa_inspection_report/__init__.py diff --git a/buying/doctype/qa_inspection_report/qa_inspection_report.js b/erpnext/buying/doctype/qa_inspection_report/qa_inspection_report.js similarity index 100% rename from buying/doctype/qa_inspection_report/qa_inspection_report.js rename to erpnext/buying/doctype/qa_inspection_report/qa_inspection_report.js diff --git a/buying/doctype/qa_inspection_report/qa_inspection_report.py b/erpnext/buying/doctype/qa_inspection_report/qa_inspection_report.py similarity index 100% rename from buying/doctype/qa_inspection_report/qa_inspection_report.py rename to erpnext/buying/doctype/qa_inspection_report/qa_inspection_report.py diff --git a/buying/doctype/qa_inspection_report/qa_inspection_report.txt b/erpnext/buying/doctype/qa_inspection_report/qa_inspection_report.txt similarity index 100% rename from buying/doctype/qa_inspection_report/qa_inspection_report.txt rename to erpnext/buying/doctype/qa_inspection_report/qa_inspection_report.txt diff --git a/buying/doctype/raw_materials_supplied/__init__.py b/erpnext/buying/doctype/qa_specification_detail/__init__.py similarity index 100% rename from buying/doctype/raw_materials_supplied/__init__.py rename to erpnext/buying/doctype/qa_specification_detail/__init__.py diff --git a/buying/doctype/qa_specification_detail/qa_specification_detail.txt b/erpnext/buying/doctype/qa_specification_detail/qa_specification_detail.txt similarity index 100% rename from buying/doctype/qa_specification_detail/qa_specification_detail.txt rename to erpnext/buying/doctype/qa_specification_detail/qa_specification_detail.txt diff --git a/buying/doctype/supplier/__init__.py b/erpnext/buying/doctype/raw_materials_supplied/__init__.py similarity index 100% rename from buying/doctype/supplier/__init__.py rename to erpnext/buying/doctype/raw_materials_supplied/__init__.py diff --git a/buying/doctype/raw_materials_supplied/raw_materials_supplied.txt b/erpnext/buying/doctype/raw_materials_supplied/raw_materials_supplied.txt similarity index 100% rename from buying/doctype/raw_materials_supplied/raw_materials_supplied.txt rename to erpnext/buying/doctype/raw_materials_supplied/raw_materials_supplied.txt diff --git a/buying/doctype/supplier_quotation/__init__.py b/erpnext/buying/doctype/supplier/__init__.py old mode 100755 new mode 100644 similarity index 100% rename from buying/doctype/supplier_quotation/__init__.py rename to erpnext/buying/doctype/supplier/__init__.py diff --git a/buying/doctype/supplier/supplier.js b/erpnext/buying/doctype/supplier/supplier.js similarity index 100% rename from buying/doctype/supplier/supplier.js rename to erpnext/buying/doctype/supplier/supplier.js diff --git a/buying/doctype/supplier/supplier.py b/erpnext/buying/doctype/supplier/supplier.py similarity index 100% rename from buying/doctype/supplier/supplier.py rename to erpnext/buying/doctype/supplier/supplier.py diff --git a/buying/doctype/supplier/supplier.txt b/erpnext/buying/doctype/supplier/supplier.txt similarity index 100% rename from buying/doctype/supplier/supplier.txt rename to erpnext/buying/doctype/supplier/supplier.txt diff --git a/buying/page/__init__.py b/erpnext/buying/doctype/supplier_quotation/__init__.py old mode 100644 new mode 100755 similarity index 100% rename from buying/page/__init__.py rename to erpnext/buying/doctype/supplier_quotation/__init__.py diff --git a/buying/doctype/supplier_quotation/supplier_quotation.js b/erpnext/buying/doctype/supplier_quotation/supplier_quotation.js similarity index 100% rename from buying/doctype/supplier_quotation/supplier_quotation.js rename to erpnext/buying/doctype/supplier_quotation/supplier_quotation.js diff --git a/buying/doctype/supplier_quotation/supplier_quotation.py b/erpnext/buying/doctype/supplier_quotation/supplier_quotation.py similarity index 100% rename from buying/doctype/supplier_quotation/supplier_quotation.py rename to erpnext/buying/doctype/supplier_quotation/supplier_quotation.py diff --git a/buying/doctype/supplier_quotation/supplier_quotation.txt b/erpnext/buying/doctype/supplier_quotation/supplier_quotation.txt similarity index 100% rename from buying/doctype/supplier_quotation/supplier_quotation.txt rename to erpnext/buying/doctype/supplier_quotation/supplier_quotation.txt diff --git a/buying/search_criteria/__init__.py b/erpnext/buying/page/__init__.py similarity index 100% rename from buying/search_criteria/__init__.py rename to erpnext/buying/page/__init__.py diff --git a/buying/search_criteria/itemwise_purchase_details/__init__.py b/erpnext/buying/search_criteria/__init__.py similarity index 100% rename from buying/search_criteria/itemwise_purchase_details/__init__.py rename to erpnext/buying/search_criteria/__init__.py diff --git a/buying/search_criteria/itemwise_receipt_details/__init__.py b/erpnext/buying/search_criteria/itemwise_purchase_details/__init__.py similarity index 100% rename from buying/search_criteria/itemwise_receipt_details/__init__.py rename to erpnext/buying/search_criteria/itemwise_purchase_details/__init__.py diff --git a/buying/search_criteria/itemwise_purchase_details/itemwise_purchase_details.js b/erpnext/buying/search_criteria/itemwise_purchase_details/itemwise_purchase_details.js similarity index 100% rename from buying/search_criteria/itemwise_purchase_details/itemwise_purchase_details.js rename to erpnext/buying/search_criteria/itemwise_purchase_details/itemwise_purchase_details.js diff --git a/buying/search_criteria/itemwise_purchase_details/itemwise_purchase_details.txt b/erpnext/buying/search_criteria/itemwise_purchase_details/itemwise_purchase_details.txt similarity index 100% rename from buying/search_criteria/itemwise_purchase_details/itemwise_purchase_details.txt rename to erpnext/buying/search_criteria/itemwise_purchase_details/itemwise_purchase_details.txt diff --git a/buying/search_criteria/pending_po_items_to_bill/__init__.py b/erpnext/buying/search_criteria/itemwise_receipt_details/__init__.py similarity index 100% rename from buying/search_criteria/pending_po_items_to_bill/__init__.py rename to erpnext/buying/search_criteria/itemwise_receipt_details/__init__.py diff --git a/buying/search_criteria/itemwise_receipt_details/itemwise_receipt_details.js b/erpnext/buying/search_criteria/itemwise_receipt_details/itemwise_receipt_details.js similarity index 100% rename from buying/search_criteria/itemwise_receipt_details/itemwise_receipt_details.js rename to erpnext/buying/search_criteria/itemwise_receipt_details/itemwise_receipt_details.js diff --git a/buying/search_criteria/itemwise_receipt_details/itemwise_receipt_details.txt b/erpnext/buying/search_criteria/itemwise_receipt_details/itemwise_receipt_details.txt similarity index 100% rename from buying/search_criteria/itemwise_receipt_details/itemwise_receipt_details.txt rename to erpnext/buying/search_criteria/itemwise_receipt_details/itemwise_receipt_details.txt diff --git a/buying/search_criteria/pending_po_items_to_receive/__init__.py b/erpnext/buying/search_criteria/pending_po_items_to_bill/__init__.py similarity index 100% rename from buying/search_criteria/pending_po_items_to_receive/__init__.py rename to erpnext/buying/search_criteria/pending_po_items_to_bill/__init__.py diff --git a/buying/search_criteria/pending_po_items_to_bill/pending_po_items_to_bill.js b/erpnext/buying/search_criteria/pending_po_items_to_bill/pending_po_items_to_bill.js similarity index 100% rename from buying/search_criteria/pending_po_items_to_bill/pending_po_items_to_bill.js rename to erpnext/buying/search_criteria/pending_po_items_to_bill/pending_po_items_to_bill.js diff --git a/buying/search_criteria/pending_po_items_to_bill/pending_po_items_to_bill.txt b/erpnext/buying/search_criteria/pending_po_items_to_bill/pending_po_items_to_bill.txt similarity index 100% rename from buying/search_criteria/pending_po_items_to_bill/pending_po_items_to_bill.txt rename to erpnext/buying/search_criteria/pending_po_items_to_bill/pending_po_items_to_bill.txt diff --git a/buying/search_criteria/purchase_in_transit/__init__.py b/erpnext/buying/search_criteria/pending_po_items_to_receive/__init__.py similarity index 100% rename from buying/search_criteria/purchase_in_transit/__init__.py rename to erpnext/buying/search_criteria/pending_po_items_to_receive/__init__.py diff --git a/buying/search_criteria/pending_po_items_to_receive/pending_po_items_to_receive.js b/erpnext/buying/search_criteria/pending_po_items_to_receive/pending_po_items_to_receive.js similarity index 100% rename from buying/search_criteria/pending_po_items_to_receive/pending_po_items_to_receive.js rename to erpnext/buying/search_criteria/pending_po_items_to_receive/pending_po_items_to_receive.js diff --git a/buying/search_criteria/pending_po_items_to_receive/pending_po_items_to_receive.py b/erpnext/buying/search_criteria/pending_po_items_to_receive/pending_po_items_to_receive.py similarity index 100% rename from buying/search_criteria/pending_po_items_to_receive/pending_po_items_to_receive.py rename to erpnext/buying/search_criteria/pending_po_items_to_receive/pending_po_items_to_receive.py diff --git a/buying/search_criteria/pending_po_items_to_receive/pending_po_items_to_receive.txt b/erpnext/buying/search_criteria/pending_po_items_to_receive/pending_po_items_to_receive.txt similarity index 100% rename from buying/search_criteria/pending_po_items_to_receive/pending_po_items_to_receive.txt rename to erpnext/buying/search_criteria/pending_po_items_to_receive/pending_po_items_to_receive.txt diff --git a/home/doctype/__init__.py b/erpnext/buying/search_criteria/purchase_in_transit/__init__.py similarity index 100% rename from home/doctype/__init__.py rename to erpnext/buying/search_criteria/purchase_in_transit/__init__.py diff --git a/buying/search_criteria/purchase_in_transit/purchase_in_transit.js b/erpnext/buying/search_criteria/purchase_in_transit/purchase_in_transit.js similarity index 100% rename from buying/search_criteria/purchase_in_transit/purchase_in_transit.js rename to erpnext/buying/search_criteria/purchase_in_transit/purchase_in_transit.js diff --git a/buying/search_criteria/purchase_in_transit/purchase_in_transit.py b/erpnext/buying/search_criteria/purchase_in_transit/purchase_in_transit.py similarity index 100% rename from buying/search_criteria/purchase_in_transit/purchase_in_transit.py rename to erpnext/buying/search_criteria/purchase_in_transit/purchase_in_transit.py diff --git a/buying/search_criteria/purchase_in_transit/purchase_in_transit.txt b/erpnext/buying/search_criteria/purchase_in_transit/purchase_in_transit.txt similarity index 100% rename from buying/search_criteria/purchase_in_transit/purchase_in_transit.txt rename to erpnext/buying/search_criteria/purchase_in_transit/purchase_in_transit.txt diff --git a/erpnext_version.py b/erpnext/erpnext_version.py similarity index 100% rename from erpnext_version.py rename to erpnext/erpnext_version.py diff --git a/home/Module Def/Home/Home.txt b/erpnext/home/Module Def/Home/Home.txt similarity index 100% rename from home/Module Def/Home/Home.txt rename to erpnext/home/Module Def/Home/Home.txt diff --git a/home/__init__.py b/erpnext/home/__init__.py similarity index 100% rename from home/__init__.py rename to erpnext/home/__init__.py diff --git a/home/doctype/company_control/__init__.py b/erpnext/home/doctype/__init__.py similarity index 100% rename from home/doctype/company_control/__init__.py rename to erpnext/home/doctype/__init__.py diff --git a/home/doctype/feed/__init__.py b/erpnext/home/doctype/company_control/__init__.py similarity index 100% rename from home/doctype/feed/__init__.py rename to erpnext/home/doctype/company_control/__init__.py diff --git a/home/doctype/company_control/company_control.py b/erpnext/home/doctype/company_control/company_control.py similarity index 96% rename from home/doctype/company_control/company_control.py rename to erpnext/home/doctype/company_control/company_control.py index 246b07e7361..9c055a706a5 100644 --- a/home/doctype/company_control/company_control.py +++ b/erpnext/home/doctype/company_control/company_control.py @@ -72,10 +72,6 @@ class DocType: p.fields[k] = arg[k] p.save() - def update_profile_image(self, fid, fname): - sql("update tabProfile set file_list = '%s,%s' where name='%s'" % (fname, fid, session['user'])) - - def get_login_url(self): return session['data']['login_from'] diff --git a/home/doctype/company_control/company_control.txt b/erpnext/home/doctype/company_control/company_control.txt similarity index 100% rename from home/doctype/company_control/company_control.txt rename to erpnext/home/doctype/company_control/company_control.txt diff --git a/home/doctype/home_control/__init__.py b/erpnext/home/doctype/feed/__init__.py similarity index 100% rename from home/doctype/home_control/__init__.py rename to erpnext/home/doctype/feed/__init__.py diff --git a/home/doctype/feed/feed.py b/erpnext/home/doctype/feed/feed.py similarity index 100% rename from home/doctype/feed/feed.py rename to erpnext/home/doctype/feed/feed.py diff --git a/home/doctype/feed/feed.txt b/erpnext/home/doctype/feed/feed.txt similarity index 100% rename from home/doctype/feed/feed.txt rename to erpnext/home/doctype/feed/feed.txt diff --git a/home/doctype/widget_control/__init__.py b/erpnext/home/doctype/home_control/__init__.py similarity index 100% rename from home/doctype/widget_control/__init__.py rename to erpnext/home/doctype/home_control/__init__.py diff --git a/home/doctype/home_control/home_control.js b/erpnext/home/doctype/home_control/home_control.js similarity index 100% rename from home/doctype/home_control/home_control.js rename to erpnext/home/doctype/home_control/home_control.js diff --git a/home/doctype/home_control/home_control.py b/erpnext/home/doctype/home_control/home_control.py similarity index 91% rename from home/doctype/home_control/home_control.py rename to erpnext/home/doctype/home_control/home_control.py index 1f58a5e2361..8242e744315 100644 --- a/home/doctype/home_control/home_control.py +++ b/erpnext/home/doctype/home_control/home_control.py @@ -33,9 +33,6 @@ class DocType: ml = sql("select distinct t1.name, t1.module_icon, t1.module_label, t1.module_desc, t1.module_page from `tabModule Def` t1, `tabModule Def Role` t2 where t2.role in ('%s') and t1.disabled !='Yes' and ifnull(t1.is_hidden, 'No') != 'Yes' and t1.name = t2.parent order by t1.module_seq asc" % "','".join(rl), as_dict=1) return ml - def get_login_url(self): - return session['data'].get('login_from', '') - def get_module_details(self,m): ret = {} ret['il'] = sql('select doc_type, doc_name, display_name, icon, description, fields, click_function, idx from `tabModule Def Item` where parent=%s and ifnull(`hide`,0)=0 order by idx asc', m, as_dict=1) @@ -50,6 +47,9 @@ class DocType: AND t2.read=1 AND t2.role IN ("%s") AND ifnull(standard,"No")="No"''' % (m, '", "'.join(webnotes.user.get_roles())), as_dict=1) + + ret['login_url'] = session['data'].get('login_from', '') + return ret # ---------------------------------------------------------------------------------------------------------------- @@ -121,24 +121,6 @@ class DocType: def get_dt_help(self,dt): return sql("select description from tabDocType where name=%s",dt)[0][0] or '' - - # ---------------------------------------------------------------------------------------- - def welcome_done(self): - if cint(get_defaults().get('welcome_done')): - return 'Yes' - else: - return 'No' - - def set_welcome_done(self): - set_default('welcome_done', '1') - - # Check Complete Registration - # ---------------------- - def registration_complete(self): - if cint(get_defaults().get('registration_complete')): - return 'Yes' - else: - return 'No' # get dashboard counts # -------------------- @@ -235,24 +217,6 @@ class DocType: # ------------------------------------------------------------------------------------------------------- - def get_status_details(self, arg=''): - # no of users online - count = sql("select count(distinct user) from tabSessions t2 where user not in ('Guest','Administrator') and TIMESTAMPDIFF(HOUR,t2.lastupdate,NOW()) <= 1") - - # unread messages - unread = sql("select count(t1.name) from `tabMail` t1, `tabMail Participant Details` t2 where t2.participant_name = '%s' and t2.parent = t1.name and (t2.read_status = 'No' or t2.read_status is NULL) and (t2.delete_status = 'No' or t2.delete_status is NULL) and t1.last_updated_by != t2.participant_name" % arg) - - # system messages - msg_id = webnotes.conn.get_global('system_message_id') - msg = '' - - if msg_id and msg_id != webnotes.conn.get_global('system_message_id', session['user']): - msg = webnotes.conn.get_global('system_message') - - return {'user_count': count and cint(count[0][0]) or 0, 'unread': unread and cint(unread[0][0]) or 0, 'system_message':msg} - - # ------------------------------------------------------------------------------------------------------- - def dismiss_message(self, arg=''): msg_id = webnotes.conn.get_global('system_message_id') webnotes.conn.set_global('system_message_id', msg_id, session['user']) diff --git a/home/doctype/home_control/home_control.txt b/erpnext/home/doctype/home_control/home_control.txt similarity index 100% rename from home/doctype/home_control/home_control.txt rename to erpnext/home/doctype/home_control/home_control.txt diff --git a/home/page/__init__.py b/erpnext/home/doctype/widget_control/__init__.py similarity index 100% rename from home/page/__init__.py rename to erpnext/home/doctype/widget_control/__init__.py diff --git a/home/doctype/widget_control/widget_control.py b/erpnext/home/doctype/widget_control/widget_control.py similarity index 100% rename from home/doctype/widget_control/widget_control.py rename to erpnext/home/doctype/widget_control/widget_control.py diff --git a/home/doctype/widget_control/widget_control.txt b/erpnext/home/doctype/widget_control/widget_control.txt similarity index 100% rename from home/doctype/widget_control/widget_control.txt rename to erpnext/home/doctype/widget_control/widget_control.txt diff --git a/home/page/.DS_Store b/erpnext/home/page/.DS_Store similarity index 100% rename from home/page/.DS_Store rename to erpnext/home/page/.DS_Store diff --git a/home/page/dashboard/__init__.py b/erpnext/home/page/__init__.py similarity index 100% rename from home/page/dashboard/__init__.py rename to erpnext/home/page/__init__.py diff --git a/home/page/event_updates/__init__.py b/erpnext/home/page/dashboard/__init__.py similarity index 100% rename from home/page/event_updates/__init__.py rename to erpnext/home/page/dashboard/__init__.py diff --git a/home/page/dashboard/dashboard.css b/erpnext/home/page/dashboard/dashboard.css similarity index 100% rename from home/page/dashboard/dashboard.css rename to erpnext/home/page/dashboard/dashboard.css diff --git a/home/page/dashboard/dashboard.html b/erpnext/home/page/dashboard/dashboard.html similarity index 100% rename from home/page/dashboard/dashboard.html rename to erpnext/home/page/dashboard/dashboard.html diff --git a/home/page/dashboard/dashboard.js b/erpnext/home/page/dashboard/dashboard.js similarity index 89% rename from home/page/dashboard/dashboard.js rename to erpnext/home/page/dashboard/dashboard.js index 15e7cf3fdc0..08be0af675c 100644 --- a/home/page/dashboard/dashboard.js +++ b/erpnext/home/page/dashboard/dashboard.js @@ -1,11 +1,11 @@ pscript.onload_dashboard = function() { // load jqplot $.scriptPath = 'js/' - $.require(['jquery/jquery.jqplot.min.js', - 'jquery/jqplot-plugins/jqplot.barRenderer.js', - 'jquery/jqplot-plugins/jqplot.canvasAxisTickRenderer.min.js', - 'jquery/jqplot-plugins/jqplot.canvasTextRenderer.min.js', - 'jquery/jqplot-plugins/jqplot.categoryAxisRenderer.min.js']); + wn.require('lib/js/legacy/jquery/jquery.jqplot.min.js'); + wn.require('lib/js/legacy/jquery/jqplot-plugins/jqplot.barRenderer.js'); + wn.require('lib/js/legacy/jquery/jqplot-plugins/jqplot.canvasAxisTickRenderer.min.js'); + wn.require('lib/js/legacy/jquery/jqplot-plugins/jqplot.canvasTextRenderer.min.js'); + wn.require('lib/js/legacy/jquery/jqplot-plugins/jqplot.categoryAxisRenderer.min.js'); pscript.dashboard_settings = { diff --git a/home/page/dashboard/dashboard.py b/erpnext/home/page/dashboard/dashboard.py similarity index 100% rename from home/page/dashboard/dashboard.py rename to erpnext/home/page/dashboard/dashboard.py diff --git a/home/page/dashboard/dashboard.txt b/erpnext/home/page/dashboard/dashboard.txt similarity index 100% rename from home/page/dashboard/dashboard.txt rename to erpnext/home/page/dashboard/dashboard.txt diff --git a/home/page/event_updates/.DS_Store b/erpnext/home/page/event_updates/.DS_Store similarity index 100% rename from home/page/event_updates/.DS_Store rename to erpnext/home/page/event_updates/.DS_Store diff --git a/home/page/my_company/__init__.py b/erpnext/home/page/event_updates/__init__.py similarity index 100% rename from home/page/my_company/__init__.py rename to erpnext/home/page/event_updates/__init__.py diff --git a/home/page/event_updates/event_updates.css b/erpnext/home/page/event_updates/event_updates.css similarity index 100% rename from home/page/event_updates/event_updates.css rename to erpnext/home/page/event_updates/event_updates.css diff --git a/home/page/event_updates/event_updates.html b/erpnext/home/page/event_updates/event_updates.html similarity index 100% rename from home/page/event_updates/event_updates.html rename to erpnext/home/page/event_updates/event_updates.html diff --git a/home/page/event_updates/event_updates.js b/erpnext/home/page/event_updates/event_updates.js similarity index 91% rename from home/page/event_updates/event_updates.js rename to erpnext/home/page/event_updates/event_updates.js index 9aa3da244a7..b58a0c09146 100644 --- a/home/page/event_updates/event_updates.js +++ b/erpnext/home/page/event_updates/event_updates.js @@ -39,9 +39,6 @@ pscript.home_pre_process = function(wrapper) { var banner = $a(wrapper.banner_area, 'div', '', {paddingBottom:'4px'}) banner.innerHTML = cp.client_name; } - - // complete registration - if(in_list(user_roles,'System Manager')) { pscript.complete_registration(); } } // Widgets @@ -78,16 +75,8 @@ pscript.home_make_widgets = function() { } } ] - }) - sidebar.refresh() - - /*$y(cell,{padding:'0px 8px'}); - - new HomeCalendar(new HomeWidget(cell, 'Calendar', 'Event')); - - - new HomeToDo(new HomeWidget(cell, 'To Do', 'Item'));*/ - + }); + new FeedList(wrapper.body); } @@ -134,7 +123,7 @@ HomeWidget = function(parent, heading, item) { this.footer = $a(this.wrapper,'div'); // add button - this.add_btn = $btn(this.footer,'+ Add ' + item,function(){me.add()}); + this.add_btn = $btn(this.footer,'+ Add ' + item,function(){me.add()},null,'cupid-blue'); // refresh this.refresh_btn = $ln(this.footer,'Refresh',function() { me.refresh(); },{fontSize:'11px',marginLeft:'7px',color:'#888'}); @@ -431,18 +420,18 @@ FeedList.prototype.make_head = function() { // head $a(this.head,'h1','', {display:'inline'}, 'Home'); - $a(this.head,'span','link_type', {marginLeft:'7px'}, 'help', function() { + $a(this.head,'span','link_type', {marginLeft:'7px', fontSize:'11px'}, 'help', function() { msgprint('What appears here? This is where you get updates of everything you are permitted to follow') }) // refresh $a(this.head,'span','link_type', - {cursor:'pointer', marginLeft:'7px', fontSize:'11px'}, 'refresh', + {marginLeft:'7px', fontSize:'11px'}, 'refresh', function() { me.run(); } ); if(has_common(user_roles, ['System Manager','Accounts Manager'])) { - $btn(this.head, 'Dashboard', function() {loadpage('dashboard'); }, {marginLeft:'7px'}) + $btn(this.head, 'Dashboard', function() {loadpage('dashboard'); }, {marginLeft:'7px'}, 'cupid-blue') } } @@ -618,6 +607,11 @@ pscript.home_make_status = function() { // render online users pscript.online_users_obj.render(r.message.online_users); pscript.online_users = r.message.online_users; + + // complete registration + if(in_list(user_roles,'System Manager')) { + pscript.complete_registration(r.message.registration_complete); + } // setup wizard if(r.message.setup_status) { @@ -629,54 +623,57 @@ pscript.home_make_status = function() { // complete my company registration // -------------------------------- -pscript.complete_registration = function() -{ - var reg_callback = function(r, rt){ - if(r.message == 'No'){ - var d = new Dialog(400, 200, "Please Complete Your Registration"); - if(user != 'Administrator'){ - d.no_cancel(); // Hide close image - $dh(page_body.wntoolbar.wrapper); - } - $($a(d.body,'div','', {margin:'8px', color:'#888'})).html('Company Name : '+locals['Control Panel']['Control Panel'].company_name); - - d.make_body( - [ - ['Data','Company Abbreviation'], - ['Select','Fiscal Year Start Date'], - ['Select','Default Currency'], - ['Button','Save'], - ]); - - //d.widgets['Save'].disabled = true; // disable Save button - pscript.make_dialog_field(d); - - // submit details - d.widgets['Save'].onclick = function() - { - d.widgets['Save'].set_working(); - - flag = pscript.validate_fields(d); - if(flag) - { - var args = [ - locals['Control Panel']['Control Panel'].company_name, - d.widgets['Company Abbreviation'].value, - d.widgets['Fiscal Year Start Date'].value, - d.widgets['Default Currency'].value - ]; - - $c_obj('Setup Control','setup_account',JSON.stringify(args),function(r, rt){ - sys_defaults = r.message; - d.hide(); - $ds(page_body.wntoolbar.wrapper); - }); - } - } - d.show(); +pscript.complete_registration = function(is_complete) { + if(is_complete == 'No'){ + var d = new Dialog(400, 200, "Please Complete Your Registration"); + if(user != 'Administrator'){ + d.no_cancel(); // Hide close image + $dh(page_body.wntoolbar.wrapper); } + + d.make_body([ + ['Data','Company Name','Example: Your Company LLC'], + ['Data','Company Abbreviation', 'Example: YC (all your acconts will have this as a suffix)'], + ['Select','Fiscal Year Start Date'], + ['Select','Default Currency'], + ['Button','Save'], + ]); + + // if company name is set, set the input value + // and disable it + if(locals['Control Panel']['Control Panel'].company_name) { + d.widgets['Company Name'].value = locals['Control Panel']['Control Panel'].company_name; + d.widgets['Company Name'].disabled = 1; + } + + + //d.widgets['Save'].disabled = true; // disable Save button + pscript.make_dialog_field(d); + + // submit details + d.widgets['Save'].onclick = function() + { + d.widgets['Save'].set_working(); + + flag = pscript.validate_fields(d); + if(flag) + { + var args = [ + d.widgets['Company Name'].value, + d.widgets['Company Abbreviation'].value, + d.widgets['Fiscal Year Start Date'].value, + d.widgets['Default Currency'].value + ]; + + $c_obj('Setup Control','setup_account',JSON.stringify(args),function(r, rt){ + sys_defaults = r.message; + d.hide(); + $ds(page_body.wntoolbar.wrapper); + }); + } + } + d.show(); } - $c_obj('Home Control','registration_complete','',reg_callback); } // make dialog fields diff --git a/home/page/event_updates/event_updates.py b/erpnext/home/page/event_updates/event_updates.py similarity index 89% rename from home/page/event_updates/event_updates.py rename to erpnext/home/page/event_updates/event_updates.py index 11342734904..1d1d1b20404 100644 --- a/home/page/event_updates/event_updates.py +++ b/erpnext/home/page/event_updates/event_updates.py @@ -24,7 +24,7 @@ def get_unread_messages(): # Get toolbar items # def get_status_details(arg=None): - from webnotes.utils import cint, date_diff, nowdate + from webnotes.utils import cint, date_diff, nowdate, get_defaults online = get_online_users() @@ -35,7 +35,8 @@ def get_status_details(arg=None): 'online_users': online or [], 'is_trial': webnotes.conn.get_global('is_trial'), 'days_to_expiry': (webnotes.conn.get_global('days_to_expiry') or '0'), - 'setup_status': get_setup_status() + 'setup_status': get_setup_status(), + 'registration_complete': cint(get_defaults('registration_complete')) and 'Yes' or 'No' } return ret @@ -53,7 +54,7 @@ def get_setup_status(): header = webnotes.conn.get_value('Control Panel', None, 'client_name') or '' if header.startswith('
'\ - +webnotes.conn.get_value('Control Panel', None, 'company_name')): + +(webnotes.conn.get_value('Control Panel', None, 'company_name') or '')): return False elif 'Banner Comes Here' in header: diff --git a/home/page/event_updates/event_updates.txt b/erpnext/home/page/event_updates/event_updates.txt similarity index 100% rename from home/page/event_updates/event_updates.txt rename to erpnext/home/page/event_updates/event_updates.txt diff --git a/home/page/event_updates/event_updates_static.html b/erpnext/home/page/event_updates/event_updates_static.html similarity index 100% rename from home/page/event_updates/event_updates_static.html rename to erpnext/home/page/event_updates/event_updates_static.html diff --git a/home/page/profile_settings/__init__.py b/erpnext/home/page/my_company/__init__.py similarity index 100% rename from home/page/profile_settings/__init__.py rename to erpnext/home/page/my_company/__init__.py diff --git a/home/page/my_company/my_company.css b/erpnext/home/page/my_company/my_company.css similarity index 100% rename from home/page/my_company/my_company.css rename to erpnext/home/page/my_company/my_company.css diff --git a/home/page/my_company/my_company.html b/erpnext/home/page/my_company/my_company.html similarity index 100% rename from home/page/my_company/my_company.html rename to erpnext/home/page/my_company/my_company.html diff --git a/home/page/my_company/my_company.js b/erpnext/home/page/my_company/my_company.js similarity index 100% rename from home/page/my_company/my_company.js rename to erpnext/home/page/my_company/my_company.js diff --git a/home/page/my_company/my_company.py b/erpnext/home/page/my_company/my_company.py similarity index 100% rename from home/page/my_company/my_company.py rename to erpnext/home/page/my_company/my_company.py diff --git a/home/page/my_company/my_company.txt b/erpnext/home/page/my_company/my_company.txt similarity index 100% rename from home/page/my_company/my_company.txt rename to erpnext/home/page/my_company/my_company.txt diff --git a/home/search_criteria/__init__.py b/erpnext/home/page/profile_settings/__init__.py similarity index 100% rename from home/search_criteria/__init__.py rename to erpnext/home/page/profile_settings/__init__.py diff --git a/home/page/profile_settings/profile_settings.html b/erpnext/home/page/profile_settings/profile_settings.html similarity index 100% rename from home/page/profile_settings/profile_settings.html rename to erpnext/home/page/profile_settings/profile_settings.html diff --git a/home/page/profile_settings/profile_settings.js b/erpnext/home/page/profile_settings/profile_settings.js similarity index 95% rename from home/page/profile_settings/profile_settings.js rename to erpnext/home/page/profile_settings/profile_settings.js index 10b06d422a4..425626b1627 100644 --- a/home/page/profile_settings/profile_settings.js +++ b/erpnext/home/page/profile_settings/profile_settings.js @@ -97,7 +97,7 @@ MyProfile = function(wrapper) { ]); var w = d.widgets['wrapper']; - me.uploader = new Uploader(w, {thumbnail:'80px', server_obj:'Company Control', method:'update_profile_image'}, pscript.user_image_upload) + me.uploader = new Uploader(w, {cmd:'home.page.profile_settings.profile_settings.set_user_image'}, pscript.user_image_upload, 1) me.change_dialog = d; } me.change_dialog.show(); diff --git a/home/page/profile_settings/profile_settings.py b/erpnext/home/page/profile_settings/profile_settings.py similarity index 64% rename from home/page/profile_settings/profile_settings.py rename to erpnext/home/page/profile_settings/profile_settings.py index 56f7f15eb21..d1e091cad47 100644 --- a/home/page/profile_settings/profile_settings.py +++ b/erpnext/home/page/profile_settings/profile_settings.py @@ -2,7 +2,6 @@ import webnotes from webnotes.utils import load_json, cint, nowdate - def change_password(arg): """ Change password @@ -21,15 +20,40 @@ def change_password(arg): webnotes.msgprint('Password Updated'); def get_user_details(arg=None): - "Returns user first name, last name and bio" - + """ + Returns user first name, last name and bio + """ return webnotes.conn.sql("select first_name, last_name, bio from tabProfile where name=%s", webnotes.user.name, as_dict=1)[0] def set_user_details(arg=None): - "updates user details given in argument" + """ + updates user details given in argument + """ from webnotes.model.doc import Document p = Document('Profile', webnotes.user.name) p.fields.update(load_json(arg)) p.save() webnotes.msgprint('Updated') + +def set_user_image(arg=None): + """ + Set uploaded image as user image + """ + from webnotes.utils.upload_handler import UploadHandler + + uh = UploadHandler() + if not uh.file_name: + # do nothing - no file found + return + else: + # save the file + from webnotes.utils.file_manager import FileAttachments + + fa = FileAttachments('Profile', webnotes.session['user']) + fa.delete_all() + fa.add(uh.file_name, uh.content) + fa.save() + + uh.set_callback('window.parent.upload_callback("%s", "%s")' \ + % (webnotes.form_dict['uploader_id'], fa.get_fid(0))) diff --git a/home/page/profile_settings/profile_settings.txt b/erpnext/home/page/profile_settings/profile_settings.txt similarity index 100% rename from home/page/profile_settings/profile_settings.txt rename to erpnext/home/page/profile_settings/profile_settings.txt diff --git a/home/search_criteria/bills_to_be_paid/__init__.py b/erpnext/home/search_criteria/__init__.py similarity index 100% rename from home/search_criteria/bills_to_be_paid/__init__.py rename to erpnext/home/search_criteria/__init__.py diff --git a/home/search_criteria/bills_to_be_submitted/__init__.py b/erpnext/home/search_criteria/bills_to_be_paid/__init__.py similarity index 100% rename from home/search_criteria/bills_to_be_submitted/__init__.py rename to erpnext/home/search_criteria/bills_to_be_paid/__init__.py diff --git a/home/search_criteria/bills_to_be_paid/bills_to_be_paid.txt b/erpnext/home/search_criteria/bills_to_be_paid/bills_to_be_paid.txt similarity index 100% rename from home/search_criteria/bills_to_be_paid/bills_to_be_paid.txt rename to erpnext/home/search_criteria/bills_to_be_paid/bills_to_be_paid.txt diff --git a/home/search_criteria/delivery_note_to_be_billed/__init__.py b/erpnext/home/search_criteria/bills_to_be_submitted/__init__.py similarity index 100% rename from home/search_criteria/delivery_note_to_be_billed/__init__.py rename to erpnext/home/search_criteria/bills_to_be_submitted/__init__.py diff --git a/home/search_criteria/bills_to_be_submitted/bills_to_be_submitted.txt b/erpnext/home/search_criteria/bills_to_be_submitted/bills_to_be_submitted.txt similarity index 100% rename from home/search_criteria/bills_to_be_submitted/bills_to_be_submitted.txt rename to erpnext/home/search_criteria/bills_to_be_submitted/bills_to_be_submitted.txt diff --git a/home/search_criteria/delivery_note_to_be_submitted/__init__.py b/erpnext/home/search_criteria/delivery_note_to_be_billed/__init__.py similarity index 100% rename from home/search_criteria/delivery_note_to_be_submitted/__init__.py rename to erpnext/home/search_criteria/delivery_note_to_be_billed/__init__.py diff --git a/home/search_criteria/delivery_note_to_be_billed/delivery_note_to_be_billed.txt b/erpnext/home/search_criteria/delivery_note_to_be_billed/delivery_note_to_be_billed.txt similarity index 100% rename from home/search_criteria/delivery_note_to_be_billed/delivery_note_to_be_billed.txt rename to erpnext/home/search_criteria/delivery_note_to_be_billed/delivery_note_to_be_billed.txt diff --git a/home/search_criteria/enquiry_quotations_to_be_sent/__init__.py b/erpnext/home/search_criteria/delivery_note_to_be_submitted/__init__.py similarity index 100% rename from home/search_criteria/enquiry_quotations_to_be_sent/__init__.py rename to erpnext/home/search_criteria/delivery_note_to_be_submitted/__init__.py diff --git a/home/search_criteria/delivery_note_to_be_submitted/delivery_note_to_be_submitted.txt b/erpnext/home/search_criteria/delivery_note_to_be_submitted/delivery_note_to_be_submitted.txt similarity index 100% rename from home/search_criteria/delivery_note_to_be_submitted/delivery_note_to_be_submitted.txt rename to erpnext/home/search_criteria/delivery_note_to_be_submitted/delivery_note_to_be_submitted.txt diff --git a/home/search_criteria/enquiry_to_follow_up/__init__.py b/erpnext/home/search_criteria/enquiry_quotations_to_be_sent/__init__.py similarity index 100% rename from home/search_criteria/enquiry_to_follow_up/__init__.py rename to erpnext/home/search_criteria/enquiry_quotations_to_be_sent/__init__.py diff --git a/home/search_criteria/enquiry_quotations_to_be_sent/enquiry_quotations_to_be_sent.txt b/erpnext/home/search_criteria/enquiry_quotations_to_be_sent/enquiry_quotations_to_be_sent.txt similarity index 100% rename from home/search_criteria/enquiry_quotations_to_be_sent/enquiry_quotations_to_be_sent.txt rename to erpnext/home/search_criteria/enquiry_quotations_to_be_sent/enquiry_quotations_to_be_sent.txt diff --git a/home/search_criteria/indent_purchase_order_to_be_made/__init__.py b/erpnext/home/search_criteria/enquiry_to_follow_up/__init__.py similarity index 100% rename from home/search_criteria/indent_purchase_order_to_be_made/__init__.py rename to erpnext/home/search_criteria/enquiry_to_follow_up/__init__.py diff --git a/home/search_criteria/enquiry_to_follow_up/enquiry_to_follow_up.js b/erpnext/home/search_criteria/enquiry_to_follow_up/enquiry_to_follow_up.js similarity index 100% rename from home/search_criteria/enquiry_to_follow_up/enquiry_to_follow_up.js rename to erpnext/home/search_criteria/enquiry_to_follow_up/enquiry_to_follow_up.js diff --git a/home/search_criteria/enquiry_to_follow_up/enquiry_to_follow_up.txt b/erpnext/home/search_criteria/enquiry_to_follow_up/enquiry_to_follow_up.txt similarity index 100% rename from home/search_criteria/enquiry_to_follow_up/enquiry_to_follow_up.txt rename to erpnext/home/search_criteria/enquiry_to_follow_up/enquiry_to_follow_up.txt diff --git a/home/search_criteria/indent_to_be_submitted/__init__.py b/erpnext/home/search_criteria/indent_purchase_order_to_be_made/__init__.py similarity index 100% rename from home/search_criteria/indent_to_be_submitted/__init__.py rename to erpnext/home/search_criteria/indent_purchase_order_to_be_made/__init__.py diff --git a/home/search_criteria/indent_purchase_order_to_be_made/indent_purchase_order_to_be_made.txt b/erpnext/home/search_criteria/indent_purchase_order_to_be_made/indent_purchase_order_to_be_made.txt similarity index 100% rename from home/search_criteria/indent_purchase_order_to_be_made/indent_purchase_order_to_be_made.txt rename to erpnext/home/search_criteria/indent_purchase_order_to_be_made/indent_purchase_order_to_be_made.txt diff --git a/home/search_criteria/invoices_overdue/__init__.py b/erpnext/home/search_criteria/indent_to_be_submitted/__init__.py similarity index 100% rename from home/search_criteria/invoices_overdue/__init__.py rename to erpnext/home/search_criteria/indent_to_be_submitted/__init__.py diff --git a/home/search_criteria/indent_to_be_submitted/indent_to_be_submitted.txt b/erpnext/home/search_criteria/indent_to_be_submitted/indent_to_be_submitted.txt similarity index 100% rename from home/search_criteria/indent_to_be_submitted/indent_to_be_submitted.txt rename to erpnext/home/search_criteria/indent_to_be_submitted/indent_to_be_submitted.txt diff --git a/home/search_criteria/invoices_to_be_submitted/__init__.py b/erpnext/home/search_criteria/invoices_overdue/__init__.py similarity index 100% rename from home/search_criteria/invoices_to_be_submitted/__init__.py rename to erpnext/home/search_criteria/invoices_overdue/__init__.py diff --git a/home/search_criteria/invoices_overdue/invoices_overdue.txt b/erpnext/home/search_criteria/invoices_overdue/invoices_overdue.txt similarity index 100% rename from home/search_criteria/invoices_overdue/invoices_overdue.txt rename to erpnext/home/search_criteria/invoices_overdue/invoices_overdue.txt diff --git a/home/search_criteria/invoices_to_receive_payment/__init__.py b/erpnext/home/search_criteria/invoices_to_be_submitted/__init__.py similarity index 100% rename from home/search_criteria/invoices_to_receive_payment/__init__.py rename to erpnext/home/search_criteria/invoices_to_be_submitted/__init__.py diff --git a/home/search_criteria/invoices_to_be_submitted/invoices_to_be_submitted.txt b/erpnext/home/search_criteria/invoices_to_be_submitted/invoices_to_be_submitted.txt similarity index 100% rename from home/search_criteria/invoices_to_be_submitted/invoices_to_be_submitted.txt rename to erpnext/home/search_criteria/invoices_to_be_submitted/invoices_to_be_submitted.txt diff --git a/home/search_criteria/lead_to_follow_up/__init__.py b/erpnext/home/search_criteria/invoices_to_receive_payment/__init__.py similarity index 100% rename from home/search_criteria/lead_to_follow_up/__init__.py rename to erpnext/home/search_criteria/invoices_to_receive_payment/__init__.py diff --git a/home/search_criteria/invoices_to_receive_payment/invoices_to_receive_payment.txt b/erpnext/home/search_criteria/invoices_to_receive_payment/invoices_to_receive_payment.txt similarity index 100% rename from home/search_criteria/invoices_to_receive_payment/invoices_to_receive_payment.txt rename to erpnext/home/search_criteria/invoices_to_receive_payment/invoices_to_receive_payment.txt diff --git a/home/search_criteria/purchase_order_to_be_billed/__init__.py b/erpnext/home/search_criteria/lead_to_follow_up/__init__.py similarity index 100% rename from home/search_criteria/purchase_order_to_be_billed/__init__.py rename to erpnext/home/search_criteria/lead_to_follow_up/__init__.py diff --git a/home/search_criteria/lead_to_follow_up/lead_to_follow_up.js b/erpnext/home/search_criteria/lead_to_follow_up/lead_to_follow_up.js similarity index 100% rename from home/search_criteria/lead_to_follow_up/lead_to_follow_up.js rename to erpnext/home/search_criteria/lead_to_follow_up/lead_to_follow_up.js diff --git a/home/search_criteria/lead_to_follow_up/lead_to_follow_up.txt b/erpnext/home/search_criteria/lead_to_follow_up/lead_to_follow_up.txt similarity index 100% rename from home/search_criteria/lead_to_follow_up/lead_to_follow_up.txt rename to erpnext/home/search_criteria/lead_to_follow_up/lead_to_follow_up.txt diff --git a/home/search_criteria/lead_to_follow_up/sales_order_overdue.js b/erpnext/home/search_criteria/lead_to_follow_up/sales_order_overdue.js similarity index 100% rename from home/search_criteria/lead_to_follow_up/sales_order_overdue.js rename to erpnext/home/search_criteria/lead_to_follow_up/sales_order_overdue.js diff --git a/home/search_criteria/purchase_order_to_be_submitted/__init__.py b/erpnext/home/search_criteria/purchase_order_to_be_billed/__init__.py similarity index 100% rename from home/search_criteria/purchase_order_to_be_submitted/__init__.py rename to erpnext/home/search_criteria/purchase_order_to_be_billed/__init__.py diff --git a/home/search_criteria/purchase_order_to_be_billed/purchase_order_to_be_billed.txt b/erpnext/home/search_criteria/purchase_order_to_be_billed/purchase_order_to_be_billed.txt similarity index 100% rename from home/search_criteria/purchase_order_to_be_billed/purchase_order_to_be_billed.txt rename to erpnext/home/search_criteria/purchase_order_to_be_billed/purchase_order_to_be_billed.txt diff --git a/home/search_criteria/purchase_order_to_receive_items/__init__.py b/erpnext/home/search_criteria/purchase_order_to_be_submitted/__init__.py similarity index 100% rename from home/search_criteria/purchase_order_to_receive_items/__init__.py rename to erpnext/home/search_criteria/purchase_order_to_be_submitted/__init__.py diff --git a/home/search_criteria/purchase_order_to_be_submitted/purchase_order_to_be_submitted.txt b/erpnext/home/search_criteria/purchase_order_to_be_submitted/purchase_order_to_be_submitted.txt similarity index 100% rename from home/search_criteria/purchase_order_to_be_submitted/purchase_order_to_be_submitted.txt rename to erpnext/home/search_criteria/purchase_order_to_be_submitted/purchase_order_to_be_submitted.txt diff --git a/home/search_criteria/sales_order_overdue/__init__.py b/erpnext/home/search_criteria/purchase_order_to_receive_items/__init__.py similarity index 100% rename from home/search_criteria/sales_order_overdue/__init__.py rename to erpnext/home/search_criteria/purchase_order_to_receive_items/__init__.py diff --git a/home/search_criteria/purchase_order_to_receive_items/purchase_order_to_receive_items.txt b/erpnext/home/search_criteria/purchase_order_to_receive_items/purchase_order_to_receive_items.txt similarity index 100% rename from home/search_criteria/purchase_order_to_receive_items/purchase_order_to_receive_items.txt rename to erpnext/home/search_criteria/purchase_order_to_receive_items/purchase_order_to_receive_items.txt diff --git a/home/search_criteria/sales_order_to_be_billed/__init__.py b/erpnext/home/search_criteria/sales_order_overdue/__init__.py similarity index 100% rename from home/search_criteria/sales_order_to_be_billed/__init__.py rename to erpnext/home/search_criteria/sales_order_overdue/__init__.py diff --git a/home/search_criteria/sales_order_overdue/sales_order_overdue.txt b/erpnext/home/search_criteria/sales_order_overdue/sales_order_overdue.txt similarity index 100% rename from home/search_criteria/sales_order_overdue/sales_order_overdue.txt rename to erpnext/home/search_criteria/sales_order_overdue/sales_order_overdue.txt diff --git a/home/search_criteria/sales_order_to_be_delivered/__init__.py b/erpnext/home/search_criteria/sales_order_to_be_billed/__init__.py similarity index 100% rename from home/search_criteria/sales_order_to_be_delivered/__init__.py rename to erpnext/home/search_criteria/sales_order_to_be_billed/__init__.py diff --git a/home/search_criteria/sales_order_to_be_billed/sales_order_to_be_billed.txt b/erpnext/home/search_criteria/sales_order_to_be_billed/sales_order_to_be_billed.txt similarity index 100% rename from home/search_criteria/sales_order_to_be_billed/sales_order_to_be_billed.txt rename to erpnext/home/search_criteria/sales_order_to_be_billed/sales_order_to_be_billed.txt diff --git a/home/search_criteria/sales_order_to_be_submitted/__init__.py b/erpnext/home/search_criteria/sales_order_to_be_delivered/__init__.py similarity index 100% rename from home/search_criteria/sales_order_to_be_submitted/__init__.py rename to erpnext/home/search_criteria/sales_order_to_be_delivered/__init__.py diff --git a/home/search_criteria/sales_order_to_be_delivered/sales_order_to_be_delivered.txt b/erpnext/home/search_criteria/sales_order_to_be_delivered/sales_order_to_be_delivered.txt similarity index 100% rename from home/search_criteria/sales_order_to_be_delivered/sales_order_to_be_delivered.txt rename to erpnext/home/search_criteria/sales_order_to_be_delivered/sales_order_to_be_delivered.txt diff --git a/home/search_criteria/serial_no_amc_expiring_this_month/__init__.py b/erpnext/home/search_criteria/sales_order_to_be_submitted/__init__.py similarity index 100% rename from home/search_criteria/serial_no_amc_expiring_this_month/__init__.py rename to erpnext/home/search_criteria/sales_order_to_be_submitted/__init__.py diff --git a/home/search_criteria/sales_order_to_be_submitted/sales_order_to_be_submitted.txt b/erpnext/home/search_criteria/sales_order_to_be_submitted/sales_order_to_be_submitted.txt similarity index 100% rename from home/search_criteria/sales_order_to_be_submitted/sales_order_to_be_submitted.txt rename to erpnext/home/search_criteria/sales_order_to_be_submitted/sales_order_to_be_submitted.txt diff --git a/home/search_criteria/serial_no_warranty_expiring_this_month/__init__.py b/erpnext/home/search_criteria/serial_no_amc_expiring_this_month/__init__.py similarity index 100% rename from home/search_criteria/serial_no_warranty_expiring_this_month/__init__.py rename to erpnext/home/search_criteria/serial_no_amc_expiring_this_month/__init__.py diff --git a/home/search_criteria/serial_no_amc_expiring_this_month/serial_no_amc_expiring_this_month.txt b/erpnext/home/search_criteria/serial_no_amc_expiring_this_month/serial_no_amc_expiring_this_month.txt similarity index 100% rename from home/search_criteria/serial_no_amc_expiring_this_month/serial_no_amc_expiring_this_month.txt rename to erpnext/home/search_criteria/serial_no_amc_expiring_this_month/serial_no_amc_expiring_this_month.txt diff --git a/home/search_criteria/task_open/__init__.py b/erpnext/home/search_criteria/serial_no_warranty_expiring_this_month/__init__.py similarity index 100% rename from home/search_criteria/task_open/__init__.py rename to erpnext/home/search_criteria/serial_no_warranty_expiring_this_month/__init__.py diff --git a/home/search_criteria/serial_no_warranty_expiring_this_month/serial_no_warranty_expiring_this_month.txt b/erpnext/home/search_criteria/serial_no_warranty_expiring_this_month/serial_no_warranty_expiring_this_month.txt similarity index 100% rename from home/search_criteria/serial_no_warranty_expiring_this_month/serial_no_warranty_expiring_this_month.txt rename to erpnext/home/search_criteria/serial_no_warranty_expiring_this_month/serial_no_warranty_expiring_this_month.txt diff --git a/hr/__init__.py b/erpnext/home/search_criteria/task_open/__init__.py similarity index 100% rename from hr/__init__.py rename to erpnext/home/search_criteria/task_open/__init__.py diff --git a/home/search_criteria/task_open/task_open.txt b/erpnext/home/search_criteria/task_open/task_open.txt similarity index 100% rename from home/search_criteria/task_open/task_open.txt rename to erpnext/home/search_criteria/task_open/task_open.txt diff --git a/hr/Deduction Type/Income Tax/Income Tax.txt b/erpnext/hr/Deduction Type/Income Tax/Income Tax.txt similarity index 100% rename from hr/Deduction Type/Income Tax/Income Tax.txt rename to erpnext/hr/Deduction Type/Income Tax/Income Tax.txt diff --git a/hr/Deduction Type/Professional Tax/Professional Tax.txt b/erpnext/hr/Deduction Type/Professional Tax/Professional Tax.txt similarity index 100% rename from hr/Deduction Type/Professional Tax/Professional Tax.txt rename to erpnext/hr/Deduction Type/Professional Tax/Professional Tax.txt diff --git a/hr/Deduction Type/Provident Fund/Provident Fund.txt b/erpnext/hr/Deduction Type/Provident Fund/Provident Fund.txt similarity index 100% rename from hr/Deduction Type/Provident Fund/Provident Fund.txt rename to erpnext/hr/Deduction Type/Provident Fund/Provident Fund.txt diff --git a/hr/DocType Mapper/KRA Template-Appraisal/KRA Template-Appraisal.txt b/erpnext/hr/DocType Mapper/KRA Template-Appraisal/KRA Template-Appraisal.txt similarity index 100% rename from hr/DocType Mapper/KRA Template-Appraisal/KRA Template-Appraisal.txt rename to erpnext/hr/DocType Mapper/KRA Template-Appraisal/KRA Template-Appraisal.txt diff --git a/hr/DocType Mapper/Salary Structure-Salary Slip/Salary Structure-Salary Slip.txt b/erpnext/hr/DocType Mapper/Salary Structure-Salary Slip/Salary Structure-Salary Slip.txt similarity index 100% rename from hr/DocType Mapper/Salary Structure-Salary Slip/Salary Structure-Salary Slip.txt rename to erpnext/hr/DocType Mapper/Salary Structure-Salary Slip/Salary Structure-Salary Slip.txt diff --git a/hr/Earning Type/Basic/Basic.txt b/erpnext/hr/Earning Type/Basic/Basic.txt similarity index 100% rename from hr/Earning Type/Basic/Basic.txt rename to erpnext/hr/Earning Type/Basic/Basic.txt diff --git a/hr/Earning Type/House Rent Allowance/House Rent Allowance.txt b/erpnext/hr/Earning Type/House Rent Allowance/House Rent Allowance.txt similarity index 100% rename from hr/Earning Type/House Rent Allowance/House Rent Allowance.txt rename to erpnext/hr/Earning Type/House Rent Allowance/House Rent Allowance.txt diff --git a/hr/Expense Type/Calls/Calls.txt b/erpnext/hr/Expense Type/Calls/Calls.txt similarity index 100% rename from hr/Expense Type/Calls/Calls.txt rename to erpnext/hr/Expense Type/Calls/Calls.txt diff --git a/hr/Expense Type/Food/Food.txt b/erpnext/hr/Expense Type/Food/Food.txt similarity index 100% rename from hr/Expense Type/Food/Food.txt rename to erpnext/hr/Expense Type/Food/Food.txt diff --git a/hr/Expense Type/Medical/Medical.txt b/erpnext/hr/Expense Type/Medical/Medical.txt similarity index 100% rename from hr/Expense Type/Medical/Medical.txt rename to erpnext/hr/Expense Type/Medical/Medical.txt diff --git a/hr/Expense Type/Others/Others.txt b/erpnext/hr/Expense Type/Others/Others.txt similarity index 100% rename from hr/Expense Type/Others/Others.txt rename to erpnext/hr/Expense Type/Others/Others.txt diff --git a/hr/Expense Type/Travel/Travel.txt b/erpnext/hr/Expense Type/Travel/Travel.txt similarity index 100% rename from hr/Expense Type/Travel/Travel.txt rename to erpnext/hr/Expense Type/Travel/Travel.txt diff --git a/hr/Leave Type/Casual Leave/Casual Leave.txt b/erpnext/hr/Leave Type/Casual Leave/Casual Leave.txt similarity index 100% rename from hr/Leave Type/Casual Leave/Casual Leave.txt rename to erpnext/hr/Leave Type/Casual Leave/Casual Leave.txt diff --git a/hr/Leave Type/Compensatory Off/Compensatory Off.txt b/erpnext/hr/Leave Type/Compensatory Off/Compensatory Off.txt similarity index 100% rename from hr/Leave Type/Compensatory Off/Compensatory Off.txt rename to erpnext/hr/Leave Type/Compensatory Off/Compensatory Off.txt diff --git a/hr/Leave Type/Leave Without Pay/Leave Without Pay.txt b/erpnext/hr/Leave Type/Leave Without Pay/Leave Without Pay.txt similarity index 100% rename from hr/Leave Type/Leave Without Pay/Leave Without Pay.txt rename to erpnext/hr/Leave Type/Leave Without Pay/Leave Without Pay.txt diff --git a/hr/Leave Type/Privilege Leave/Privilege Leave.txt b/erpnext/hr/Leave Type/Privilege Leave/Privilege Leave.txt similarity index 100% rename from hr/Leave Type/Privilege Leave/Privilege Leave.txt rename to erpnext/hr/Leave Type/Privilege Leave/Privilege Leave.txt diff --git a/hr/Leave Type/Sick Leave/Sick Leave.txt b/erpnext/hr/Leave Type/Sick Leave/Sick Leave.txt similarity index 100% rename from hr/Leave Type/Sick Leave/Sick Leave.txt rename to erpnext/hr/Leave Type/Sick Leave/Sick Leave.txt diff --git a/hr/Module Def/HR/HR.txt b/erpnext/hr/Module Def/HR/HR.txt similarity index 100% rename from hr/Module Def/HR/HR.txt rename to erpnext/hr/Module Def/HR/HR.txt diff --git a/hr/Role/Employee/Employee.txt b/erpnext/hr/Role/Employee/Employee.txt similarity index 100% rename from hr/Role/Employee/Employee.txt rename to erpnext/hr/Role/Employee/Employee.txt diff --git a/hr/Role/HR Manager/HR Manager.txt b/erpnext/hr/Role/HR Manager/HR Manager.txt similarity index 100% rename from hr/Role/HR Manager/HR Manager.txt rename to erpnext/hr/Role/HR Manager/HR Manager.txt diff --git a/hr/Role/HR User/HR User.txt b/erpnext/hr/Role/HR User/HR User.txt similarity index 100% rename from hr/Role/HR User/HR User.txt rename to erpnext/hr/Role/HR User/HR User.txt diff --git a/hr/doctype/__init__.py b/erpnext/hr/__init__.py similarity index 100% rename from hr/doctype/__init__.py rename to erpnext/hr/__init__.py diff --git a/hr/doctype/absent_days_detail/__init__.py b/erpnext/hr/doctype/__init__.py similarity index 100% rename from hr/doctype/absent_days_detail/__init__.py rename to erpnext/hr/doctype/__init__.py diff --git a/hr/doctype/appraisal/__init__.py b/erpnext/hr/doctype/absent_days_detail/__init__.py similarity index 100% rename from hr/doctype/appraisal/__init__.py rename to erpnext/hr/doctype/absent_days_detail/__init__.py diff --git a/hr/doctype/absent_days_detail/absent_days_detail.txt b/erpnext/hr/doctype/absent_days_detail/absent_days_detail.txt similarity index 100% rename from hr/doctype/absent_days_detail/absent_days_detail.txt rename to erpnext/hr/doctype/absent_days_detail/absent_days_detail.txt diff --git a/hr/doctype/appraisal_detail/__init__.py b/erpnext/hr/doctype/appraisal/__init__.py similarity index 100% rename from hr/doctype/appraisal_detail/__init__.py rename to erpnext/hr/doctype/appraisal/__init__.py diff --git a/hr/doctype/appraisal/appraisal.js b/erpnext/hr/doctype/appraisal/appraisal.js similarity index 100% rename from hr/doctype/appraisal/appraisal.js rename to erpnext/hr/doctype/appraisal/appraisal.js diff --git a/hr/doctype/appraisal/appraisal.py b/erpnext/hr/doctype/appraisal/appraisal.py similarity index 100% rename from hr/doctype/appraisal/appraisal.py rename to erpnext/hr/doctype/appraisal/appraisal.py diff --git a/hr/doctype/appraisal/appraisal.txt b/erpnext/hr/doctype/appraisal/appraisal.txt similarity index 100% rename from hr/doctype/appraisal/appraisal.txt rename to erpnext/hr/doctype/appraisal/appraisal.txt diff --git a/hr/doctype/attendance/__init__.py b/erpnext/hr/doctype/appraisal_detail/__init__.py similarity index 100% rename from hr/doctype/attendance/__init__.py rename to erpnext/hr/doctype/appraisal_detail/__init__.py diff --git a/hr/doctype/appraisal_detail/appraisal_detail.txt b/erpnext/hr/doctype/appraisal_detail/appraisal_detail.txt similarity index 100% rename from hr/doctype/appraisal_detail/appraisal_detail.txt rename to erpnext/hr/doctype/appraisal_detail/appraisal_detail.txt diff --git a/hr/doctype/attendance_control_panel/__init__.py b/erpnext/hr/doctype/attendance/__init__.py similarity index 100% rename from hr/doctype/attendance_control_panel/__init__.py rename to erpnext/hr/doctype/attendance/__init__.py diff --git a/hr/doctype/attendance/attendance.js b/erpnext/hr/doctype/attendance/attendance.js similarity index 100% rename from hr/doctype/attendance/attendance.js rename to erpnext/hr/doctype/attendance/attendance.js diff --git a/hr/doctype/attendance/attendance.py b/erpnext/hr/doctype/attendance/attendance.py similarity index 100% rename from hr/doctype/attendance/attendance.py rename to erpnext/hr/doctype/attendance/attendance.py diff --git a/hr/doctype/attendance/attendance.txt b/erpnext/hr/doctype/attendance/attendance.txt similarity index 100% rename from hr/doctype/attendance/attendance.txt rename to erpnext/hr/doctype/attendance/attendance.txt diff --git a/hr/doctype/branch/__init__.py b/erpnext/hr/doctype/attendance_control_panel/__init__.py similarity index 100% rename from hr/doctype/branch/__init__.py rename to erpnext/hr/doctype/attendance_control_panel/__init__.py diff --git a/hr/doctype/attendance_control_panel/attendance_control_panel.js b/erpnext/hr/doctype/attendance_control_panel/attendance_control_panel.js similarity index 100% rename from hr/doctype/attendance_control_panel/attendance_control_panel.js rename to erpnext/hr/doctype/attendance_control_panel/attendance_control_panel.js diff --git a/hr/doctype/attendance_control_panel/attendance_control_panel.py b/erpnext/hr/doctype/attendance_control_panel/attendance_control_panel.py similarity index 100% rename from hr/doctype/attendance_control_panel/attendance_control_panel.py rename to erpnext/hr/doctype/attendance_control_panel/attendance_control_panel.py diff --git a/hr/doctype/attendance_control_panel/attendance_control_panel.txt b/erpnext/hr/doctype/attendance_control_panel/attendance_control_panel.txt similarity index 100% rename from hr/doctype/attendance_control_panel/attendance_control_panel.txt rename to erpnext/hr/doctype/attendance_control_panel/attendance_control_panel.txt diff --git a/hr/doctype/chapter_vi_a_detail/__init__.py b/erpnext/hr/doctype/branch/__init__.py similarity index 100% rename from hr/doctype/chapter_vi_a_detail/__init__.py rename to erpnext/hr/doctype/branch/__init__.py diff --git a/hr/doctype/branch/branch.js b/erpnext/hr/doctype/branch/branch.js similarity index 100% rename from hr/doctype/branch/branch.js rename to erpnext/hr/doctype/branch/branch.js diff --git a/hr/doctype/branch/branch.txt b/erpnext/hr/doctype/branch/branch.txt similarity index 100% rename from hr/doctype/branch/branch.txt rename to erpnext/hr/doctype/branch/branch.txt diff --git a/hr/doctype/declaration_detail/__init__.py b/erpnext/hr/doctype/chapter_vi_a_detail/__init__.py similarity index 100% rename from hr/doctype/declaration_detail/__init__.py rename to erpnext/hr/doctype/chapter_vi_a_detail/__init__.py diff --git a/hr/doctype/chapter_vi_a_detail/chapter_vi_a_detail.txt b/erpnext/hr/doctype/chapter_vi_a_detail/chapter_vi_a_detail.txt similarity index 100% rename from hr/doctype/chapter_vi_a_detail/chapter_vi_a_detail.txt rename to erpnext/hr/doctype/chapter_vi_a_detail/chapter_vi_a_detail.txt diff --git a/hr/doctype/deduction_detail/__init__.py b/erpnext/hr/doctype/declaration_detail/__init__.py similarity index 100% rename from hr/doctype/deduction_detail/__init__.py rename to erpnext/hr/doctype/declaration_detail/__init__.py diff --git a/hr/doctype/declaration_detail/declaration_detail.txt b/erpnext/hr/doctype/declaration_detail/declaration_detail.txt similarity index 100% rename from hr/doctype/declaration_detail/declaration_detail.txt rename to erpnext/hr/doctype/declaration_detail/declaration_detail.txt diff --git a/hr/doctype/deduction_type/__init__.py b/erpnext/hr/doctype/deduction_detail/__init__.py similarity index 100% rename from hr/doctype/deduction_type/__init__.py rename to erpnext/hr/doctype/deduction_detail/__init__.py diff --git a/hr/doctype/deduction_detail/deduction_detail.txt b/erpnext/hr/doctype/deduction_detail/deduction_detail.txt similarity index 100% rename from hr/doctype/deduction_detail/deduction_detail.txt rename to erpnext/hr/doctype/deduction_detail/deduction_detail.txt diff --git a/hr/doctype/department/__init__.py b/erpnext/hr/doctype/deduction_type/__init__.py similarity index 100% rename from hr/doctype/department/__init__.py rename to erpnext/hr/doctype/deduction_type/__init__.py diff --git a/hr/doctype/deduction_type/deduction_type.js b/erpnext/hr/doctype/deduction_type/deduction_type.js similarity index 100% rename from hr/doctype/deduction_type/deduction_type.js rename to erpnext/hr/doctype/deduction_type/deduction_type.js diff --git a/hr/doctype/deduction_type/deduction_type.txt b/erpnext/hr/doctype/deduction_type/deduction_type.txt similarity index 100% rename from hr/doctype/deduction_type/deduction_type.txt rename to erpnext/hr/doctype/deduction_type/deduction_type.txt diff --git a/hr/doctype/designation/__init__.py b/erpnext/hr/doctype/department/__init__.py similarity index 100% rename from hr/doctype/designation/__init__.py rename to erpnext/hr/doctype/department/__init__.py diff --git a/hr/doctype/department/department.js b/erpnext/hr/doctype/department/department.js similarity index 100% rename from hr/doctype/department/department.js rename to erpnext/hr/doctype/department/department.js diff --git a/hr/doctype/department/department.txt b/erpnext/hr/doctype/department/department.txt similarity index 100% rename from hr/doctype/department/department.txt rename to erpnext/hr/doctype/department/department.txt diff --git a/hr/doctype/earn_deduction_detail/__init__.py b/erpnext/hr/doctype/designation/__init__.py similarity index 100% rename from hr/doctype/earn_deduction_detail/__init__.py rename to erpnext/hr/doctype/designation/__init__.py diff --git a/hr/doctype/designation/designation.js b/erpnext/hr/doctype/designation/designation.js similarity index 100% rename from hr/doctype/designation/designation.js rename to erpnext/hr/doctype/designation/designation.js diff --git a/hr/doctype/designation/designation.txt b/erpnext/hr/doctype/designation/designation.txt similarity index 100% rename from hr/doctype/designation/designation.txt rename to erpnext/hr/doctype/designation/designation.txt diff --git a/hr/doctype/earning_detail/__init__.py b/erpnext/hr/doctype/earn_deduction_detail/__init__.py similarity index 100% rename from hr/doctype/earning_detail/__init__.py rename to erpnext/hr/doctype/earn_deduction_detail/__init__.py diff --git a/hr/doctype/earn_deduction_detail/earn_deduction_detail.txt b/erpnext/hr/doctype/earn_deduction_detail/earn_deduction_detail.txt similarity index 100% rename from hr/doctype/earn_deduction_detail/earn_deduction_detail.txt rename to erpnext/hr/doctype/earn_deduction_detail/earn_deduction_detail.txt diff --git a/hr/doctype/earning_type/__init__.py b/erpnext/hr/doctype/earning_detail/__init__.py similarity index 100% rename from hr/doctype/earning_type/__init__.py rename to erpnext/hr/doctype/earning_detail/__init__.py diff --git a/hr/doctype/earning_detail/earning_detail.txt b/erpnext/hr/doctype/earning_detail/earning_detail.txt similarity index 100% rename from hr/doctype/earning_detail/earning_detail.txt rename to erpnext/hr/doctype/earning_detail/earning_detail.txt diff --git a/hr/doctype/educational_qualifications/__init__.py b/erpnext/hr/doctype/earning_type/__init__.py similarity index 100% rename from hr/doctype/educational_qualifications/__init__.py rename to erpnext/hr/doctype/earning_type/__init__.py diff --git a/hr/doctype/earning_type/earning_type.js b/erpnext/hr/doctype/earning_type/earning_type.js similarity index 100% rename from hr/doctype/earning_type/earning_type.js rename to erpnext/hr/doctype/earning_type/earning_type.js diff --git a/hr/doctype/earning_type/earning_type.txt b/erpnext/hr/doctype/earning_type/earning_type.txt similarity index 100% rename from hr/doctype/earning_type/earning_type.txt rename to erpnext/hr/doctype/earning_type/earning_type.txt diff --git a/hr/doctype/educational_qualifications_detail/__init__.py b/erpnext/hr/doctype/educational_qualifications/__init__.py similarity index 100% rename from hr/doctype/educational_qualifications_detail/__init__.py rename to erpnext/hr/doctype/educational_qualifications/__init__.py diff --git a/hr/doctype/educational_qualifications/educational_qualifications.txt b/erpnext/hr/doctype/educational_qualifications/educational_qualifications.txt similarity index 100% rename from hr/doctype/educational_qualifications/educational_qualifications.txt rename to erpnext/hr/doctype/educational_qualifications/educational_qualifications.txt diff --git a/hr/doctype/employee/__init__.py b/erpnext/hr/doctype/educational_qualifications_detail/__init__.py similarity index 100% rename from hr/doctype/employee/__init__.py rename to erpnext/hr/doctype/educational_qualifications_detail/__init__.py diff --git a/hr/doctype/educational_qualifications_detail/educational_qualifications_detail.txt b/erpnext/hr/doctype/educational_qualifications_detail/educational_qualifications_detail.txt similarity index 100% rename from hr/doctype/educational_qualifications_detail/educational_qualifications_detail.txt rename to erpnext/hr/doctype/educational_qualifications_detail/educational_qualifications_detail.txt diff --git a/hr/doctype/employee_profile/__init__.py b/erpnext/hr/doctype/employee/__init__.py similarity index 100% rename from hr/doctype/employee_profile/__init__.py rename to erpnext/hr/doctype/employee/__init__.py diff --git a/hr/doctype/employee/employee.js b/erpnext/hr/doctype/employee/employee.js similarity index 100% rename from hr/doctype/employee/employee.js rename to erpnext/hr/doctype/employee/employee.js diff --git a/hr/doctype/employee/employee.py b/erpnext/hr/doctype/employee/employee.py similarity index 100% rename from hr/doctype/employee/employee.py rename to erpnext/hr/doctype/employee/employee.py diff --git a/hr/doctype/employee/employee.txt b/erpnext/hr/doctype/employee/employee.txt similarity index 100% rename from hr/doctype/employee/employee.txt rename to erpnext/hr/doctype/employee/employee.txt diff --git a/hr/doctype/employment_type/__init__.py b/erpnext/hr/doctype/employee_profile/__init__.py similarity index 100% rename from hr/doctype/employment_type/__init__.py rename to erpnext/hr/doctype/employee_profile/__init__.py diff --git a/hr/doctype/employee_profile/employee_profile.js b/erpnext/hr/doctype/employee_profile/employee_profile.js similarity index 100% rename from hr/doctype/employee_profile/employee_profile.js rename to erpnext/hr/doctype/employee_profile/employee_profile.js diff --git a/hr/doctype/employee_profile/employee_profile.py b/erpnext/hr/doctype/employee_profile/employee_profile.py similarity index 100% rename from hr/doctype/employee_profile/employee_profile.py rename to erpnext/hr/doctype/employee_profile/employee_profile.py diff --git a/hr/doctype/employee_profile/employee_profile.txt b/erpnext/hr/doctype/employee_profile/employee_profile.txt similarity index 100% rename from hr/doctype/employee_profile/employee_profile.txt rename to erpnext/hr/doctype/employee_profile/employee_profile.txt diff --git a/hr/doctype/expense_type/__init__.py b/erpnext/hr/doctype/employment_type/__init__.py similarity index 100% rename from hr/doctype/expense_type/__init__.py rename to erpnext/hr/doctype/employment_type/__init__.py diff --git a/hr/doctype/employment_type/employment_type.js b/erpnext/hr/doctype/employment_type/employment_type.js similarity index 100% rename from hr/doctype/employment_type/employment_type.js rename to erpnext/hr/doctype/employment_type/employment_type.js diff --git a/hr/doctype/employment_type/employment_type.txt b/erpnext/hr/doctype/employment_type/employment_type.txt similarity index 100% rename from hr/doctype/employment_type/employment_type.txt rename to erpnext/hr/doctype/employment_type/employment_type.txt diff --git a/hr/doctype/expense_voucher/__init__.py b/erpnext/hr/doctype/expense_type/__init__.py similarity index 100% rename from hr/doctype/expense_voucher/__init__.py rename to erpnext/hr/doctype/expense_type/__init__.py diff --git a/hr/doctype/expense_type/expense_type.js b/erpnext/hr/doctype/expense_type/expense_type.js similarity index 100% rename from hr/doctype/expense_type/expense_type.js rename to erpnext/hr/doctype/expense_type/expense_type.js diff --git a/hr/doctype/expense_type/expense_type.txt b/erpnext/hr/doctype/expense_type/expense_type.txt similarity index 100% rename from hr/doctype/expense_type/expense_type.txt rename to erpnext/hr/doctype/expense_type/expense_type.txt diff --git a/hr/doctype/expense_voucher_detail/__init__.py b/erpnext/hr/doctype/expense_voucher/__init__.py similarity index 100% rename from hr/doctype/expense_voucher_detail/__init__.py rename to erpnext/hr/doctype/expense_voucher/__init__.py diff --git a/hr/doctype/expense_voucher/expense_voucher.js b/erpnext/hr/doctype/expense_voucher/expense_voucher.js similarity index 100% rename from hr/doctype/expense_voucher/expense_voucher.js rename to erpnext/hr/doctype/expense_voucher/expense_voucher.js diff --git a/hr/doctype/expense_voucher/expense_voucher.py b/erpnext/hr/doctype/expense_voucher/expense_voucher.py similarity index 100% rename from hr/doctype/expense_voucher/expense_voucher.py rename to erpnext/hr/doctype/expense_voucher/expense_voucher.py diff --git a/hr/doctype/expense_voucher/expense_voucher.txt b/erpnext/hr/doctype/expense_voucher/expense_voucher.txt similarity index 100% rename from hr/doctype/expense_voucher/expense_voucher.txt rename to erpnext/hr/doctype/expense_voucher/expense_voucher.txt diff --git a/hr/doctype/experience_in_company_detail/__init__.py b/erpnext/hr/doctype/expense_voucher_detail/__init__.py similarity index 100% rename from hr/doctype/experience_in_company_detail/__init__.py rename to erpnext/hr/doctype/expense_voucher_detail/__init__.py diff --git a/hr/doctype/expense_voucher_detail/expense_voucher_detail.txt b/erpnext/hr/doctype/expense_voucher_detail/expense_voucher_detail.txt similarity index 100% rename from hr/doctype/expense_voucher_detail/expense_voucher_detail.txt rename to erpnext/hr/doctype/expense_voucher_detail/expense_voucher_detail.txt diff --git a/hr/doctype/grade/__init__.py b/erpnext/hr/doctype/experience_in_company_detail/__init__.py similarity index 100% rename from hr/doctype/grade/__init__.py rename to erpnext/hr/doctype/experience_in_company_detail/__init__.py diff --git a/hr/doctype/experience_in_company_detail/experience_in_company_detail.txt b/erpnext/hr/doctype/experience_in_company_detail/experience_in_company_detail.txt similarity index 100% rename from hr/doctype/experience_in_company_detail/experience_in_company_detail.txt rename to erpnext/hr/doctype/experience_in_company_detail/experience_in_company_detail.txt diff --git a/hr/doctype/holiday_list/__init__.py b/erpnext/hr/doctype/grade/__init__.py similarity index 100% rename from hr/doctype/holiday_list/__init__.py rename to erpnext/hr/doctype/grade/__init__.py diff --git a/hr/doctype/grade/grade.js b/erpnext/hr/doctype/grade/grade.js similarity index 100% rename from hr/doctype/grade/grade.js rename to erpnext/hr/doctype/grade/grade.js diff --git a/hr/doctype/grade/grade.txt b/erpnext/hr/doctype/grade/grade.txt similarity index 100% rename from hr/doctype/grade/grade.txt rename to erpnext/hr/doctype/grade/grade.txt diff --git a/hr/doctype/holiday_list_detail/__init__.py b/erpnext/hr/doctype/holiday_list/__init__.py similarity index 100% rename from hr/doctype/holiday_list_detail/__init__.py rename to erpnext/hr/doctype/holiday_list/__init__.py diff --git a/hr/doctype/holiday_list/holiday_list.js b/erpnext/hr/doctype/holiday_list/holiday_list.js similarity index 100% rename from hr/doctype/holiday_list/holiday_list.js rename to erpnext/hr/doctype/holiday_list/holiday_list.js diff --git a/hr/doctype/holiday_list/holiday_list.py b/erpnext/hr/doctype/holiday_list/holiday_list.py similarity index 100% rename from hr/doctype/holiday_list/holiday_list.py rename to erpnext/hr/doctype/holiday_list/holiday_list.py diff --git a/hr/doctype/holiday_list/holiday_list.txt b/erpnext/hr/doctype/holiday_list/holiday_list.txt similarity index 100% rename from hr/doctype/holiday_list/holiday_list.txt rename to erpnext/hr/doctype/holiday_list/holiday_list.txt diff --git a/hr/doctype/invest_80_declaration_detail/__init__.py b/erpnext/hr/doctype/holiday_list_detail/__init__.py similarity index 100% rename from hr/doctype/invest_80_declaration_detail/__init__.py rename to erpnext/hr/doctype/holiday_list_detail/__init__.py diff --git a/hr/doctype/holiday_list_detail/holiday_list_detail.txt b/erpnext/hr/doctype/holiday_list_detail/holiday_list_detail.txt similarity index 100% rename from hr/doctype/holiday_list_detail/holiday_list_detail.txt rename to erpnext/hr/doctype/holiday_list_detail/holiday_list_detail.txt diff --git a/hr/doctype/it_checklist/__init__.py b/erpnext/hr/doctype/invest_80_declaration_detail/__init__.py similarity index 100% rename from hr/doctype/it_checklist/__init__.py rename to erpnext/hr/doctype/invest_80_declaration_detail/__init__.py diff --git a/hr/doctype/invest_80_declaration_detail/invest_80_declaration_detail.txt b/erpnext/hr/doctype/invest_80_declaration_detail/invest_80_declaration_detail.txt similarity index 100% rename from hr/doctype/invest_80_declaration_detail/invest_80_declaration_detail.txt rename to erpnext/hr/doctype/invest_80_declaration_detail/invest_80_declaration_detail.txt diff --git a/hr/doctype/kra_sheet/__init__.py b/erpnext/hr/doctype/it_checklist/__init__.py similarity index 100% rename from hr/doctype/kra_sheet/__init__.py rename to erpnext/hr/doctype/it_checklist/__init__.py diff --git a/hr/doctype/it_checklist/it_checklist.js b/erpnext/hr/doctype/it_checklist/it_checklist.js similarity index 100% rename from hr/doctype/it_checklist/it_checklist.js rename to erpnext/hr/doctype/it_checklist/it_checklist.js diff --git a/hr/doctype/it_checklist/it_checklist.py b/erpnext/hr/doctype/it_checklist/it_checklist.py similarity index 100% rename from hr/doctype/it_checklist/it_checklist.py rename to erpnext/hr/doctype/it_checklist/it_checklist.py diff --git a/hr/doctype/it_checklist/it_checklist.txt b/erpnext/hr/doctype/it_checklist/it_checklist.txt similarity index 100% rename from hr/doctype/it_checklist/it_checklist.txt rename to erpnext/hr/doctype/it_checklist/it_checklist.txt diff --git a/hr/doctype/kra_template/__init__.py b/erpnext/hr/doctype/kra_sheet/__init__.py similarity index 100% rename from hr/doctype/kra_template/__init__.py rename to erpnext/hr/doctype/kra_sheet/__init__.py diff --git a/hr/doctype/kra_sheet/kra_sheet.txt b/erpnext/hr/doctype/kra_sheet/kra_sheet.txt similarity index 100% rename from hr/doctype/kra_sheet/kra_sheet.txt rename to erpnext/hr/doctype/kra_sheet/kra_sheet.txt diff --git a/hr/doctype/leave_allocation/__init__.py b/erpnext/hr/doctype/kra_template/__init__.py old mode 100755 new mode 100644 similarity index 100% rename from hr/doctype/leave_allocation/__init__.py rename to erpnext/hr/doctype/kra_template/__init__.py diff --git a/hr/doctype/kra_template/kra_template.js b/erpnext/hr/doctype/kra_template/kra_template.js similarity index 100% rename from hr/doctype/kra_template/kra_template.js rename to erpnext/hr/doctype/kra_template/kra_template.js diff --git a/hr/doctype/kra_template/kra_template.txt b/erpnext/hr/doctype/kra_template/kra_template.txt similarity index 100% rename from hr/doctype/kra_template/kra_template.txt rename to erpnext/hr/doctype/kra_template/kra_template.txt diff --git a/hr/doctype/leave_application/__init__.py b/erpnext/hr/doctype/leave_allocation/__init__.py similarity index 100% rename from hr/doctype/leave_application/__init__.py rename to erpnext/hr/doctype/leave_allocation/__init__.py diff --git a/hr/doctype/leave_allocation/leave_allocation.js b/erpnext/hr/doctype/leave_allocation/leave_allocation.js similarity index 100% rename from hr/doctype/leave_allocation/leave_allocation.js rename to erpnext/hr/doctype/leave_allocation/leave_allocation.js diff --git a/hr/doctype/leave_allocation/leave_allocation.py b/erpnext/hr/doctype/leave_allocation/leave_allocation.py similarity index 100% rename from hr/doctype/leave_allocation/leave_allocation.py rename to erpnext/hr/doctype/leave_allocation/leave_allocation.py diff --git a/hr/doctype/leave_allocation/leave_allocation.txt b/erpnext/hr/doctype/leave_allocation/leave_allocation.txt similarity index 100% rename from hr/doctype/leave_allocation/leave_allocation.txt rename to erpnext/hr/doctype/leave_allocation/leave_allocation.txt diff --git a/hr/doctype/leave_control_panel/__init__.py b/erpnext/hr/doctype/leave_application/__init__.py old mode 100644 new mode 100755 similarity index 100% rename from hr/doctype/leave_control_panel/__init__.py rename to erpnext/hr/doctype/leave_application/__init__.py diff --git a/hr/doctype/leave_application/leave_application.js b/erpnext/hr/doctype/leave_application/leave_application.js similarity index 100% rename from hr/doctype/leave_application/leave_application.js rename to erpnext/hr/doctype/leave_application/leave_application.js diff --git a/hr/doctype/leave_application/leave_application.py b/erpnext/hr/doctype/leave_application/leave_application.py similarity index 100% rename from hr/doctype/leave_application/leave_application.py rename to erpnext/hr/doctype/leave_application/leave_application.py diff --git a/hr/doctype/leave_application/leave_application.txt b/erpnext/hr/doctype/leave_application/leave_application.txt similarity index 100% rename from hr/doctype/leave_application/leave_application.txt rename to erpnext/hr/doctype/leave_application/leave_application.txt diff --git a/hr/doctype/leave_type/__init__.py b/erpnext/hr/doctype/leave_control_panel/__init__.py similarity index 100% rename from hr/doctype/leave_type/__init__.py rename to erpnext/hr/doctype/leave_control_panel/__init__.py diff --git a/hr/doctype/leave_control_panel/leave_control_panel.js b/erpnext/hr/doctype/leave_control_panel/leave_control_panel.js similarity index 100% rename from hr/doctype/leave_control_panel/leave_control_panel.js rename to erpnext/hr/doctype/leave_control_panel/leave_control_panel.js diff --git a/hr/doctype/leave_control_panel/leave_control_panel.py b/erpnext/hr/doctype/leave_control_panel/leave_control_panel.py similarity index 100% rename from hr/doctype/leave_control_panel/leave_control_panel.py rename to erpnext/hr/doctype/leave_control_panel/leave_control_panel.py diff --git a/hr/doctype/leave_control_panel/leave_control_panel.txt b/erpnext/hr/doctype/leave_control_panel/leave_control_panel.txt similarity index 100% rename from hr/doctype/leave_control_panel/leave_control_panel.txt rename to erpnext/hr/doctype/leave_control_panel/leave_control_panel.txt diff --git a/hr/doctype/other_income_detail/__init__.py b/erpnext/hr/doctype/leave_type/__init__.py similarity index 100% rename from hr/doctype/other_income_detail/__init__.py rename to erpnext/hr/doctype/leave_type/__init__.py diff --git a/hr/doctype/leave_type/leave_type.js b/erpnext/hr/doctype/leave_type/leave_type.js similarity index 100% rename from hr/doctype/leave_type/leave_type.js rename to erpnext/hr/doctype/leave_type/leave_type.js diff --git a/hr/doctype/leave_type/leave_type.txt b/erpnext/hr/doctype/leave_type/leave_type.txt similarity index 100% rename from hr/doctype/leave_type/leave_type.txt rename to erpnext/hr/doctype/leave_type/leave_type.txt diff --git a/hr/doctype/payroll_rule/__init__.py b/erpnext/hr/doctype/other_income_detail/__init__.py similarity index 100% rename from hr/doctype/payroll_rule/__init__.py rename to erpnext/hr/doctype/other_income_detail/__init__.py diff --git a/hr/doctype/other_income_detail/other_income_detail.txt b/erpnext/hr/doctype/other_income_detail/other_income_detail.txt similarity index 100% rename from hr/doctype/other_income_detail/other_income_detail.txt rename to erpnext/hr/doctype/other_income_detail/other_income_detail.txt diff --git a/hr/doctype/previous_experience_detail/__init__.py b/erpnext/hr/doctype/payroll_rule/__init__.py similarity index 100% rename from hr/doctype/previous_experience_detail/__init__.py rename to erpnext/hr/doctype/payroll_rule/__init__.py diff --git a/hr/doctype/payroll_rule/payroll_rule.js b/erpnext/hr/doctype/payroll_rule/payroll_rule.js similarity index 100% rename from hr/doctype/payroll_rule/payroll_rule.js rename to erpnext/hr/doctype/payroll_rule/payroll_rule.js diff --git a/hr/doctype/payroll_rule/payroll_rule.py b/erpnext/hr/doctype/payroll_rule/payroll_rule.py similarity index 100% rename from hr/doctype/payroll_rule/payroll_rule.py rename to erpnext/hr/doctype/payroll_rule/payroll_rule.py diff --git a/hr/doctype/payroll_rule/payroll_rule.txt b/erpnext/hr/doctype/payroll_rule/payroll_rule.txt similarity index 100% rename from hr/doctype/payroll_rule/payroll_rule.txt rename to erpnext/hr/doctype/payroll_rule/payroll_rule.txt diff --git a/hr/doctype/professional_training_details/__init__.py b/erpnext/hr/doctype/previous_experience_detail/__init__.py similarity index 100% rename from hr/doctype/professional_training_details/__init__.py rename to erpnext/hr/doctype/previous_experience_detail/__init__.py diff --git a/hr/doctype/previous_experience_detail/previous_experience_detail.txt b/erpnext/hr/doctype/previous_experience_detail/previous_experience_detail.txt similarity index 100% rename from hr/doctype/previous_experience_detail/previous_experience_detail.txt rename to erpnext/hr/doctype/previous_experience_detail/previous_experience_detail.txt diff --git a/hr/doctype/salary_slip/__init__.py b/erpnext/hr/doctype/professional_training_details/__init__.py similarity index 100% rename from hr/doctype/salary_slip/__init__.py rename to erpnext/hr/doctype/professional_training_details/__init__.py diff --git a/hr/doctype/professional_training_details/professional_training_details.txt b/erpnext/hr/doctype/professional_training_details/professional_training_details.txt similarity index 100% rename from hr/doctype/professional_training_details/professional_training_details.txt rename to erpnext/hr/doctype/professional_training_details/professional_training_details.txt diff --git a/hr/doctype/salary_manager/__init__.py b/erpnext/hr/doctype/salary_manager/__init__.py similarity index 100% rename from hr/doctype/salary_manager/__init__.py rename to erpnext/hr/doctype/salary_manager/__init__.py diff --git a/hr/doctype/salary_manager/salary_manager.js b/erpnext/hr/doctype/salary_manager/salary_manager.js similarity index 100% rename from hr/doctype/salary_manager/salary_manager.js rename to erpnext/hr/doctype/salary_manager/salary_manager.js diff --git a/hr/doctype/salary_manager/salary_manager.py b/erpnext/hr/doctype/salary_manager/salary_manager.py similarity index 100% rename from hr/doctype/salary_manager/salary_manager.py rename to erpnext/hr/doctype/salary_manager/salary_manager.py diff --git a/hr/doctype/salary_manager/salary_manager.txt b/erpnext/hr/doctype/salary_manager/salary_manager.txt similarity index 100% rename from hr/doctype/salary_manager/salary_manager.txt rename to erpnext/hr/doctype/salary_manager/salary_manager.txt diff --git a/hr/doctype/salary_manager/test_salary_manager.py b/erpnext/hr/doctype/salary_manager/test_salary_manager.py similarity index 100% rename from hr/doctype/salary_manager/test_salary_manager.py rename to erpnext/hr/doctype/salary_manager/test_salary_manager.py diff --git a/hr/doctype/salary_structure/__init__.py b/erpnext/hr/doctype/salary_slip/__init__.py similarity index 100% rename from hr/doctype/salary_structure/__init__.py rename to erpnext/hr/doctype/salary_slip/__init__.py diff --git a/hr/doctype/salary_slip/salary_slip.js b/erpnext/hr/doctype/salary_slip/salary_slip.js similarity index 100% rename from hr/doctype/salary_slip/salary_slip.js rename to erpnext/hr/doctype/salary_slip/salary_slip.js diff --git a/hr/doctype/salary_slip/salary_slip.py b/erpnext/hr/doctype/salary_slip/salary_slip.py similarity index 100% rename from hr/doctype/salary_slip/salary_slip.py rename to erpnext/hr/doctype/salary_slip/salary_slip.py diff --git a/hr/doctype/salary_slip/salary_slip.txt b/erpnext/hr/doctype/salary_slip/salary_slip.txt similarity index 100% rename from hr/doctype/salary_slip/salary_slip.txt rename to erpnext/hr/doctype/salary_slip/salary_slip.txt diff --git a/hr/doctype/ss_deduction_detail/__init__.py b/erpnext/hr/doctype/salary_structure/__init__.py similarity index 100% rename from hr/doctype/ss_deduction_detail/__init__.py rename to erpnext/hr/doctype/salary_structure/__init__.py diff --git a/hr/doctype/salary_structure/salary_structure.js b/erpnext/hr/doctype/salary_structure/salary_structure.js similarity index 100% rename from hr/doctype/salary_structure/salary_structure.js rename to erpnext/hr/doctype/salary_structure/salary_structure.js diff --git a/hr/doctype/salary_structure/salary_structure.py b/erpnext/hr/doctype/salary_structure/salary_structure.py similarity index 100% rename from hr/doctype/salary_structure/salary_structure.py rename to erpnext/hr/doctype/salary_structure/salary_structure.py diff --git a/hr/doctype/salary_structure/salary_structure.txt b/erpnext/hr/doctype/salary_structure/salary_structure.txt similarity index 100% rename from hr/doctype/salary_structure/salary_structure.txt rename to erpnext/hr/doctype/salary_structure/salary_structure.txt diff --git a/hr/doctype/ss_earning_detail/__init__.py b/erpnext/hr/doctype/ss_deduction_detail/__init__.py similarity index 100% rename from hr/doctype/ss_earning_detail/__init__.py rename to erpnext/hr/doctype/ss_deduction_detail/__init__.py diff --git a/hr/doctype/ss_deduction_detail/ss_deduction_detail.txt b/erpnext/hr/doctype/ss_deduction_detail/ss_deduction_detail.txt similarity index 100% rename from hr/doctype/ss_deduction_detail/ss_deduction_detail.txt rename to erpnext/hr/doctype/ss_deduction_detail/ss_deduction_detail.txt diff --git a/hr/page/__init__.py b/erpnext/hr/doctype/ss_earning_detail/__init__.py similarity index 100% rename from hr/page/__init__.py rename to erpnext/hr/doctype/ss_earning_detail/__init__.py diff --git a/hr/doctype/ss_earning_detail/ss_earning_detail.txt b/erpnext/hr/doctype/ss_earning_detail/ss_earning_detail.txt similarity index 100% rename from hr/doctype/ss_earning_detail/ss_earning_detail.txt rename to erpnext/hr/doctype/ss_earning_detail/ss_earning_detail.txt diff --git a/hr/search_criteria/__init__.py b/erpnext/hr/page/__init__.py similarity index 100% rename from hr/search_criteria/__init__.py rename to erpnext/hr/page/__init__.py diff --git a/hr/search_criteria/employee_appraisals/__init__.py b/erpnext/hr/search_criteria/__init__.py similarity index 100% rename from hr/search_criteria/employee_appraisals/__init__.py rename to erpnext/hr/search_criteria/__init__.py diff --git a/hr/search_criteria/employee_details/__init__.py b/erpnext/hr/search_criteria/employee_appraisals/__init__.py similarity index 100% rename from hr/search_criteria/employee_details/__init__.py rename to erpnext/hr/search_criteria/employee_appraisals/__init__.py diff --git a/hr/search_criteria/employee_appraisals/employee_appraisals.txt b/erpnext/hr/search_criteria/employee_appraisals/employee_appraisals.txt similarity index 100% rename from hr/search_criteria/employee_appraisals/employee_appraisals.txt rename to erpnext/hr/search_criteria/employee_appraisals/employee_appraisals.txt diff --git a/hr/search_criteria/employee_in_company_experience/__init__.py b/erpnext/hr/search_criteria/employee_details/__init__.py similarity index 100% rename from hr/search_criteria/employee_in_company_experience/__init__.py rename to erpnext/hr/search_criteria/employee_details/__init__.py diff --git a/hr/search_criteria/employee_details/employee_details.txt b/erpnext/hr/search_criteria/employee_details/employee_details.txt similarity index 100% rename from hr/search_criteria/employee_details/employee_details.txt rename to erpnext/hr/search_criteria/employee_details/employee_details.txt diff --git a/hr/search_criteria/employee_information/__init__.py b/erpnext/hr/search_criteria/employee_in_company_experience/__init__.py similarity index 100% rename from hr/search_criteria/employee_information/__init__.py rename to erpnext/hr/search_criteria/employee_in_company_experience/__init__.py diff --git a/hr/search_criteria/employee_in_company_experience/employee_in_company_experience.txt b/erpnext/hr/search_criteria/employee_in_company_experience/employee_in_company_experience.txt similarity index 100% rename from hr/search_criteria/employee_in_company_experience/employee_in_company_experience.txt rename to erpnext/hr/search_criteria/employee_in_company_experience/employee_in_company_experience.txt diff --git a/hr/search_criteria/employees_birthday/__init__.py b/erpnext/hr/search_criteria/employee_information/__init__.py similarity index 100% rename from hr/search_criteria/employees_birthday/__init__.py rename to erpnext/hr/search_criteria/employee_information/__init__.py diff --git a/hr/search_criteria/employee_information/employee_information.py b/erpnext/hr/search_criteria/employee_information/employee_information.py similarity index 100% rename from hr/search_criteria/employee_information/employee_information.py rename to erpnext/hr/search_criteria/employee_information/employee_information.py diff --git a/hr/search_criteria/employee_information/employee_information.txt b/erpnext/hr/search_criteria/employee_information/employee_information.txt similarity index 100% rename from hr/search_criteria/employee_information/employee_information.txt rename to erpnext/hr/search_criteria/employee_information/employee_information.txt diff --git a/hr/search_criteria/employeewise_balance_leave_report/__init__.py b/erpnext/hr/search_criteria/employees_birthday/__init__.py similarity index 100% rename from hr/search_criteria/employeewise_balance_leave_report/__init__.py rename to erpnext/hr/search_criteria/employees_birthday/__init__.py diff --git a/hr/search_criteria/employees_birthday/employees_birthday.txt b/erpnext/hr/search_criteria/employees_birthday/employees_birthday.txt similarity index 100% rename from hr/search_criteria/employees_birthday/employees_birthday.txt rename to erpnext/hr/search_criteria/employees_birthday/employees_birthday.txt diff --git a/hr/search_criteria/employeewise_leave_transaction_details/__init__.py b/erpnext/hr/search_criteria/employeewise_balance_leave_report/__init__.py similarity index 100% rename from hr/search_criteria/employeewise_leave_transaction_details/__init__.py rename to erpnext/hr/search_criteria/employeewise_balance_leave_report/__init__.py diff --git a/hr/search_criteria/employeewise_balance_leave_report/employeewise_balance_leave_report.js b/erpnext/hr/search_criteria/employeewise_balance_leave_report/employeewise_balance_leave_report.js similarity index 100% rename from hr/search_criteria/employeewise_balance_leave_report/employeewise_balance_leave_report.js rename to erpnext/hr/search_criteria/employeewise_balance_leave_report/employeewise_balance_leave_report.js diff --git a/hr/search_criteria/employeewise_balance_leave_report/employeewise_balance_leave_report.py b/erpnext/hr/search_criteria/employeewise_balance_leave_report/employeewise_balance_leave_report.py similarity index 100% rename from hr/search_criteria/employeewise_balance_leave_report/employeewise_balance_leave_report.py rename to erpnext/hr/search_criteria/employeewise_balance_leave_report/employeewise_balance_leave_report.py diff --git a/hr/search_criteria/employeewise_balance_leave_report/employeewise_balance_leave_report.txt b/erpnext/hr/search_criteria/employeewise_balance_leave_report/employeewise_balance_leave_report.txt similarity index 100% rename from hr/search_criteria/employeewise_balance_leave_report/employeewise_balance_leave_report.txt rename to erpnext/hr/search_criteria/employeewise_balance_leave_report/employeewise_balance_leave_report.txt diff --git a/hr/search_criteria/expense_vouchers/__init__.py b/erpnext/hr/search_criteria/employeewise_leave_transaction_details/__init__.py similarity index 100% rename from hr/search_criteria/expense_vouchers/__init__.py rename to erpnext/hr/search_criteria/employeewise_leave_transaction_details/__init__.py diff --git a/hr/search_criteria/employeewise_leave_transaction_details/employeewise_leave_transaction_details.txt b/erpnext/hr/search_criteria/employeewise_leave_transaction_details/employeewise_leave_transaction_details.txt similarity index 100% rename from hr/search_criteria/employeewise_leave_transaction_details/employeewise_leave_transaction_details.txt rename to erpnext/hr/search_criteria/employeewise_leave_transaction_details/employeewise_leave_transaction_details.txt diff --git a/hr/search_criteria/monthly_attendance_details/__init__.py b/erpnext/hr/search_criteria/expense_vouchers/__init__.py similarity index 100% rename from hr/search_criteria/monthly_attendance_details/__init__.py rename to erpnext/hr/search_criteria/expense_vouchers/__init__.py diff --git a/hr/search_criteria/expense_vouchers/expense_vouchers.txt b/erpnext/hr/search_criteria/expense_vouchers/expense_vouchers.txt similarity index 100% rename from hr/search_criteria/expense_vouchers/expense_vouchers.txt rename to erpnext/hr/search_criteria/expense_vouchers/expense_vouchers.txt diff --git a/hr/search_criteria/monthly_salary_register/__init__.py b/erpnext/hr/search_criteria/monthly_attendance_details/__init__.py similarity index 100% rename from hr/search_criteria/monthly_salary_register/__init__.py rename to erpnext/hr/search_criteria/monthly_attendance_details/__init__.py diff --git a/hr/search_criteria/monthly_attendance_details/monthly_attendance_details.js b/erpnext/hr/search_criteria/monthly_attendance_details/monthly_attendance_details.js similarity index 100% rename from hr/search_criteria/monthly_attendance_details/monthly_attendance_details.js rename to erpnext/hr/search_criteria/monthly_attendance_details/monthly_attendance_details.js diff --git a/hr/search_criteria/monthly_attendance_details/monthly_attendance_details.py b/erpnext/hr/search_criteria/monthly_attendance_details/monthly_attendance_details.py similarity index 100% rename from hr/search_criteria/monthly_attendance_details/monthly_attendance_details.py rename to erpnext/hr/search_criteria/monthly_attendance_details/monthly_attendance_details.py diff --git a/hr/search_criteria/monthly_attendance_details/monthly_attendance_details.sql b/erpnext/hr/search_criteria/monthly_attendance_details/monthly_attendance_details.sql similarity index 100% rename from hr/search_criteria/monthly_attendance_details/monthly_attendance_details.sql rename to erpnext/hr/search_criteria/monthly_attendance_details/monthly_attendance_details.sql diff --git a/hr/search_criteria/monthly_attendance_details/monthly_attendance_details.txt b/erpnext/hr/search_criteria/monthly_attendance_details/monthly_attendance_details.txt similarity index 100% rename from hr/search_criteria/monthly_attendance_details/monthly_attendance_details.txt rename to erpnext/hr/search_criteria/monthly_attendance_details/monthly_attendance_details.txt diff --git a/hr/search_criteria/new_or_left_employees_for_a_month/__init__.py b/erpnext/hr/search_criteria/monthly_salary_register/__init__.py similarity index 100% rename from hr/search_criteria/new_or_left_employees_for_a_month/__init__.py rename to erpnext/hr/search_criteria/monthly_salary_register/__init__.py diff --git a/hr/search_criteria/monthly_salary_register/monthly_salary_register.txt b/erpnext/hr/search_criteria/monthly_salary_register/monthly_salary_register.txt similarity index 100% rename from hr/search_criteria/monthly_salary_register/monthly_salary_register.txt rename to erpnext/hr/search_criteria/monthly_salary_register/monthly_salary_register.txt diff --git a/hr/search_criteria/pending_appraisals/__init__.py b/erpnext/hr/search_criteria/new_or_left_employees_for_a_month/__init__.py similarity index 100% rename from hr/search_criteria/pending_appraisals/__init__.py rename to erpnext/hr/search_criteria/new_or_left_employees_for_a_month/__init__.py diff --git a/hr/search_criteria/new_or_left_employees_for_a_month/new_or_left_employees_for_a_month.js b/erpnext/hr/search_criteria/new_or_left_employees_for_a_month/new_or_left_employees_for_a_month.js similarity index 100% rename from hr/search_criteria/new_or_left_employees_for_a_month/new_or_left_employees_for_a_month.js rename to erpnext/hr/search_criteria/new_or_left_employees_for_a_month/new_or_left_employees_for_a_month.js diff --git a/hr/search_criteria/new_or_left_employees_for_a_month/new_or_left_employees_for_a_month.py b/erpnext/hr/search_criteria/new_or_left_employees_for_a_month/new_or_left_employees_for_a_month.py similarity index 100% rename from hr/search_criteria/new_or_left_employees_for_a_month/new_or_left_employees_for_a_month.py rename to erpnext/hr/search_criteria/new_or_left_employees_for_a_month/new_or_left_employees_for_a_month.py diff --git a/hr/search_criteria/new_or_left_employees_for_a_month/new_or_left_employees_for_a_month.txt b/erpnext/hr/search_criteria/new_or_left_employees_for_a_month/new_or_left_employees_for_a_month.txt similarity index 100% rename from hr/search_criteria/new_or_left_employees_for_a_month/new_or_left_employees_for_a_month.txt rename to erpnext/hr/search_criteria/new_or_left_employees_for_a_month/new_or_left_employees_for_a_month.txt diff --git a/hr/search_criteria/pending_expense_vouchers/__init__.py b/erpnext/hr/search_criteria/pending_appraisals/__init__.py similarity index 100% rename from hr/search_criteria/pending_expense_vouchers/__init__.py rename to erpnext/hr/search_criteria/pending_appraisals/__init__.py diff --git a/hr/search_criteria/pending_appraisals/pending_appraisals.js b/erpnext/hr/search_criteria/pending_appraisals/pending_appraisals.js similarity index 100% rename from hr/search_criteria/pending_appraisals/pending_appraisals.js rename to erpnext/hr/search_criteria/pending_appraisals/pending_appraisals.js diff --git a/hr/search_criteria/pending_appraisals/pending_appraisals.txt b/erpnext/hr/search_criteria/pending_appraisals/pending_appraisals.txt similarity index 100% rename from hr/search_criteria/pending_appraisals/pending_appraisals.txt rename to erpnext/hr/search_criteria/pending_appraisals/pending_appraisals.txt diff --git a/hr/search_criteria/salary_register/__init__.py b/erpnext/hr/search_criteria/pending_expense_vouchers/__init__.py similarity index 100% rename from hr/search_criteria/salary_register/__init__.py rename to erpnext/hr/search_criteria/pending_expense_vouchers/__init__.py diff --git a/hr/search_criteria/pending_expense_vouchers/pending_expense_vouchers.js b/erpnext/hr/search_criteria/pending_expense_vouchers/pending_expense_vouchers.js similarity index 100% rename from hr/search_criteria/pending_expense_vouchers/pending_expense_vouchers.js rename to erpnext/hr/search_criteria/pending_expense_vouchers/pending_expense_vouchers.js diff --git a/hr/search_criteria/pending_expense_vouchers/pending_expense_vouchers.txt b/erpnext/hr/search_criteria/pending_expense_vouchers/pending_expense_vouchers.txt similarity index 100% rename from hr/search_criteria/pending_expense_vouchers/pending_expense_vouchers.txt rename to erpnext/hr/search_criteria/pending_expense_vouchers/pending_expense_vouchers.txt diff --git a/hr/search_criteria/salary_slips/__init__.py b/erpnext/hr/search_criteria/salary_register/__init__.py similarity index 100% rename from hr/search_criteria/salary_slips/__init__.py rename to erpnext/hr/search_criteria/salary_register/__init__.py diff --git a/hr/search_criteria/salary_register/salary_register.js b/erpnext/hr/search_criteria/salary_register/salary_register.js similarity index 100% rename from hr/search_criteria/salary_register/salary_register.js rename to erpnext/hr/search_criteria/salary_register/salary_register.js diff --git a/hr/search_criteria/salary_register/salary_register.py b/erpnext/hr/search_criteria/salary_register/salary_register.py similarity index 100% rename from hr/search_criteria/salary_register/salary_register.py rename to erpnext/hr/search_criteria/salary_register/salary_register.py diff --git a/hr/search_criteria/salary_register/salary_register.txt b/erpnext/hr/search_criteria/salary_register/salary_register.txt similarity index 100% rename from hr/search_criteria/salary_register/salary_register.txt rename to erpnext/hr/search_criteria/salary_register/salary_register.txt diff --git a/hr/search_criteria/salary_structure_details/__init__.py b/erpnext/hr/search_criteria/salary_slips/__init__.py similarity index 100% rename from hr/search_criteria/salary_structure_details/__init__.py rename to erpnext/hr/search_criteria/salary_slips/__init__.py diff --git a/hr/search_criteria/salary_slips/salary_slips.txt b/erpnext/hr/search_criteria/salary_slips/salary_slips.txt similarity index 100% rename from hr/search_criteria/salary_slips/salary_slips.txt rename to erpnext/hr/search_criteria/salary_slips/salary_slips.txt diff --git a/knowledge_base/__init__.py b/erpnext/hr/search_criteria/salary_structure_details/__init__.py similarity index 100% rename from knowledge_base/__init__.py rename to erpnext/hr/search_criteria/salary_structure_details/__init__.py diff --git a/hr/search_criteria/salary_structure_details/salary_structure_details.txt b/erpnext/hr/search_criteria/salary_structure_details/salary_structure_details.txt similarity index 100% rename from hr/search_criteria/salary_structure_details/salary_structure_details.txt rename to erpnext/hr/search_criteria/salary_structure_details/salary_structure_details.txt diff --git a/knowledge_base/Module Def/Knowledge Base/Knowledge Base.txt b/erpnext/knowledge_base/Module Def/Knowledge Base/Knowledge Base.txt similarity index 100% rename from knowledge_base/Module Def/Knowledge Base/Knowledge Base.txt rename to erpnext/knowledge_base/Module Def/Knowledge Base/Knowledge Base.txt diff --git a/knowledge_base/doctype/__init__.py b/erpnext/knowledge_base/__init__.py similarity index 100% rename from knowledge_base/doctype/__init__.py rename to erpnext/knowledge_base/__init__.py diff --git a/knowledge_base/doctype/answer/__init__.py b/erpnext/knowledge_base/doctype/__init__.py similarity index 100% rename from knowledge_base/doctype/answer/__init__.py rename to erpnext/knowledge_base/doctype/__init__.py diff --git a/knowledge_base/doctype/question/__init__.py b/erpnext/knowledge_base/doctype/answer/__init__.py similarity index 100% rename from knowledge_base/doctype/question/__init__.py rename to erpnext/knowledge_base/doctype/answer/__init__.py diff --git a/knowledge_base/doctype/answer/answer.txt b/erpnext/knowledge_base/doctype/answer/answer.txt similarity index 100% rename from knowledge_base/doctype/answer/answer.txt rename to erpnext/knowledge_base/doctype/answer/answer.txt diff --git a/knowledge_base/doctype/question_control/__init__.py b/erpnext/knowledge_base/doctype/question/__init__.py similarity index 100% rename from knowledge_base/doctype/question_control/__init__.py rename to erpnext/knowledge_base/doctype/question/__init__.py diff --git a/knowledge_base/doctype/question/question.py b/erpnext/knowledge_base/doctype/question/question.py similarity index 100% rename from knowledge_base/doctype/question/question.py rename to erpnext/knowledge_base/doctype/question/question.py diff --git a/knowledge_base/doctype/question/question.txt b/erpnext/knowledge_base/doctype/question/question.txt similarity index 100% rename from knowledge_base/doctype/question/question.txt rename to erpnext/knowledge_base/doctype/question/question.txt diff --git a/knowledge_base/doctype/question_tag/__init__.py b/erpnext/knowledge_base/doctype/question_control/__init__.py similarity index 100% rename from knowledge_base/doctype/question_tag/__init__.py rename to erpnext/knowledge_base/doctype/question_control/__init__.py diff --git a/knowledge_base/doctype/question_control/question_control.txt b/erpnext/knowledge_base/doctype/question_control/question_control.txt similarity index 100% rename from knowledge_base/doctype/question_control/question_control.txt rename to erpnext/knowledge_base/doctype/question_control/question_control.txt diff --git a/knowledge_base/page/__init__.py b/erpnext/knowledge_base/doctype/question_tag/__init__.py similarity index 100% rename from knowledge_base/page/__init__.py rename to erpnext/knowledge_base/doctype/question_tag/__init__.py diff --git a/knowledge_base/doctype/question_tag/question_tag.txt b/erpnext/knowledge_base/doctype/question_tag/question_tag.txt similarity index 100% rename from knowledge_base/doctype/question_tag/question_tag.txt rename to erpnext/knowledge_base/doctype/question_tag/question_tag.txt diff --git a/knowledge_base/page/question_view/__init__.py b/erpnext/knowledge_base/page/__init__.py similarity index 100% rename from knowledge_base/page/question_view/__init__.py rename to erpnext/knowledge_base/page/__init__.py diff --git a/knowledge_base/page/kb_common/kb_common.js b/erpnext/knowledge_base/page/kb_common/kb_common.js similarity index 100% rename from knowledge_base/page/kb_common/kb_common.js rename to erpnext/knowledge_base/page/kb_common/kb_common.js diff --git a/knowledge_base/page/questions/__init__.py b/erpnext/knowledge_base/page/question_view/__init__.py similarity index 100% rename from knowledge_base/page/questions/__init__.py rename to erpnext/knowledge_base/page/question_view/__init__.py diff --git a/knowledge_base/page/question_view/question_view.css b/erpnext/knowledge_base/page/question_view/question_view.css similarity index 100% rename from knowledge_base/page/question_view/question_view.css rename to erpnext/knowledge_base/page/question_view/question_view.css diff --git a/knowledge_base/page/question_view/question_view.js b/erpnext/knowledge_base/page/question_view/question_view.js similarity index 100% rename from knowledge_base/page/question_view/question_view.js rename to erpnext/knowledge_base/page/question_view/question_view.js diff --git a/knowledge_base/page/question_view/question_view.py b/erpnext/knowledge_base/page/question_view/question_view.py similarity index 100% rename from knowledge_base/page/question_view/question_view.py rename to erpnext/knowledge_base/page/question_view/question_view.py diff --git a/knowledge_base/page/question_view/question_view.txt b/erpnext/knowledge_base/page/question_view/question_view.txt similarity index 100% rename from knowledge_base/page/question_view/question_view.txt rename to erpnext/knowledge_base/page/question_view/question_view.txt diff --git a/patches/__init__.py b/erpnext/knowledge_base/page/questions/__init__.py similarity index 100% rename from patches/__init__.py rename to erpnext/knowledge_base/page/questions/__init__.py diff --git a/knowledge_base/page/questions/questions.css b/erpnext/knowledge_base/page/questions/questions.css similarity index 100% rename from knowledge_base/page/questions/questions.css rename to erpnext/knowledge_base/page/questions/questions.css diff --git a/knowledge_base/page/questions/questions.html b/erpnext/knowledge_base/page/questions/questions.html similarity index 100% rename from knowledge_base/page/questions/questions.html rename to erpnext/knowledge_base/page/questions/questions.html diff --git a/knowledge_base/page/questions/questions.js b/erpnext/knowledge_base/page/questions/questions.js similarity index 100% rename from knowledge_base/page/questions/questions.js rename to erpnext/knowledge_base/page/questions/questions.js diff --git a/knowledge_base/page/questions/questions.py b/erpnext/knowledge_base/page/questions/questions.py similarity index 100% rename from knowledge_base/page/questions/questions.py rename to erpnext/knowledge_base/page/questions/questions.py diff --git a/knowledge_base/page/questions/questions.txt b/erpnext/knowledge_base/page/questions/questions.txt similarity index 100% rename from knowledge_base/page/questions/questions.txt rename to erpnext/knowledge_base/page/questions/questions.txt diff --git a/patches/old_patches/__init__.py b/erpnext/patches/__init__.py similarity index 100% rename from patches/old_patches/__init__.py rename to erpnext/patches/__init__.py diff --git a/patches/delivery_billing_status_patch.py b/erpnext/patches/delivery_billing_status_patch.py similarity index 100% rename from patches/delivery_billing_status_patch.py rename to erpnext/patches/delivery_billing_status_patch.py diff --git a/patches/erpnext_structure_cleanup.py b/erpnext/patches/erpnext_structure_cleanup.py similarity index 100% rename from patches/erpnext_structure_cleanup.py rename to erpnext/patches/erpnext_structure_cleanup.py diff --git a/patches/index_patch.py b/erpnext/patches/index_patch.py similarity index 100% rename from patches/index_patch.py rename to erpnext/patches/index_patch.py diff --git a/production/__init__.py b/erpnext/patches/old_patches/__init__.py similarity index 100% rename from production/__init__.py rename to erpnext/patches/old_patches/__init__.py diff --git a/patches/old_patches/customer_address.py b/erpnext/patches/old_patches/customer_address.py similarity index 100% rename from patches/old_patches/customer_address.py rename to erpnext/patches/old_patches/customer_address.py diff --git a/patches/old_patches/doctype_permission_patch.py b/erpnext/patches/old_patches/doctype_permission_patch.py similarity index 100% rename from patches/old_patches/doctype_permission_patch.py rename to erpnext/patches/old_patches/doctype_permission_patch.py diff --git a/patches/old_patches/feed_patch.py b/erpnext/patches/old_patches/feed_patch.py similarity index 100% rename from patches/old_patches/feed_patch.py rename to erpnext/patches/old_patches/feed_patch.py diff --git a/patches/old_patches/patch_1.py b/erpnext/patches/old_patches/patch_1.py similarity index 100% rename from patches/old_patches/patch_1.py rename to erpnext/patches/old_patches/patch_1.py diff --git a/patches/old_patches/replacecode.py b/erpnext/patches/old_patches/replacecode.py similarity index 100% rename from patches/old_patches/replacecode.py rename to erpnext/patches/old_patches/replacecode.py diff --git a/patches/patch.py b/erpnext/patches/patch.py similarity index 99% rename from patches/patch.py rename to erpnext/patches/patch.py index ca289f16729..8ced1a3cf56 100644 --- a/patches/patch.py +++ b/erpnext/patches/patch.py @@ -308,7 +308,7 @@ def execute(patch_no): sql("update tabDocField set label='Produced Qty',description='Updated after finished goods are transferred to FG Warehouse through Stock Entry' where parent='Production Order' and fieldname='produced_qty'") rs = sql("select fieldname from tabDocField where parent='Features Setup' and fieldname is not null") from webnotes.model.doc import Document - m = Document('Features Setup') + m = Document('Features Setup', 'Features Setup') for d in rs: m.fields[d[0]] = 1 m.save() diff --git a/production/DocType Mapper/Production Forecast-Production Plan/Production Forecast-Production Plan.txt b/erpnext/production/DocType Mapper/Production Forecast-Production Plan/Production Forecast-Production Plan.txt similarity index 100% rename from production/DocType Mapper/Production Forecast-Production Plan/Production Forecast-Production Plan.txt rename to erpnext/production/DocType Mapper/Production Forecast-Production Plan/Production Forecast-Production Plan.txt diff --git a/production/DocType Mapper/Production Forecast-Production Planning Tool/Production Forecast-Production Planning Tool.txt b/erpnext/production/DocType Mapper/Production Forecast-Production Planning Tool/Production Forecast-Production Planning Tool.txt similarity index 100% rename from production/DocType Mapper/Production Forecast-Production Planning Tool/Production Forecast-Production Planning Tool.txt rename to erpnext/production/DocType Mapper/Production Forecast-Production Planning Tool/Production Forecast-Production Planning Tool.txt diff --git a/production/DocType Mapper/Sales Order-Production Plan/Sales Order-Production Plan.txt b/erpnext/production/DocType Mapper/Sales Order-Production Plan/Sales Order-Production Plan.txt similarity index 100% rename from production/DocType Mapper/Sales Order-Production Plan/Sales Order-Production Plan.txt rename to erpnext/production/DocType Mapper/Sales Order-Production Plan/Sales Order-Production Plan.txt diff --git a/production/Module Def/Production/Production.txt b/erpnext/production/Module Def/Production/Production.txt similarity index 100% rename from production/Module Def/Production/Production.txt rename to erpnext/production/Module Def/Production/Production.txt diff --git a/production/Role/Production Manager/Production Manager.txt b/erpnext/production/Role/Production Manager/Production Manager.txt similarity index 100% rename from production/Role/Production Manager/Production Manager.txt rename to erpnext/production/Role/Production Manager/Production Manager.txt diff --git a/production/Role/Production User/Production User.txt b/erpnext/production/Role/Production User/Production User.txt similarity index 100% rename from production/Role/Production User/Production User.txt rename to erpnext/production/Role/Production User/Production User.txt diff --git a/production/doctype/__init__.py b/erpnext/production/__init__.py similarity index 100% rename from production/doctype/__init__.py rename to erpnext/production/__init__.py diff --git a/production/doctype/bill_of_materials/__init__.py b/erpnext/production/doctype/__init__.py similarity index 100% rename from production/doctype/bill_of_materials/__init__.py rename to erpnext/production/doctype/__init__.py diff --git a/production/doctype/bom_control/__init__.py b/erpnext/production/doctype/bill_of_materials/__init__.py similarity index 100% rename from production/doctype/bom_control/__init__.py rename to erpnext/production/doctype/bill_of_materials/__init__.py diff --git a/production/doctype/bill_of_materials/bill_of_materials.js b/erpnext/production/doctype/bill_of_materials/bill_of_materials.js similarity index 100% rename from production/doctype/bill_of_materials/bill_of_materials.js rename to erpnext/production/doctype/bill_of_materials/bill_of_materials.js diff --git a/production/doctype/bill_of_materials/bill_of_materials.py b/erpnext/production/doctype/bill_of_materials/bill_of_materials.py similarity index 100% rename from production/doctype/bill_of_materials/bill_of_materials.py rename to erpnext/production/doctype/bill_of_materials/bill_of_materials.py diff --git a/production/doctype/bill_of_materials/bill_of_materials.txt b/erpnext/production/doctype/bill_of_materials/bill_of_materials.txt similarity index 100% rename from production/doctype/bill_of_materials/bill_of_materials.txt rename to erpnext/production/doctype/bill_of_materials/bill_of_materials.txt diff --git a/production/doctype/bom_material/__init__.py b/erpnext/production/doctype/bom_control/__init__.py similarity index 100% rename from production/doctype/bom_material/__init__.py rename to erpnext/production/doctype/bom_control/__init__.py diff --git a/production/doctype/bom_control/bom_control.py b/erpnext/production/doctype/bom_control/bom_control.py similarity index 100% rename from production/doctype/bom_control/bom_control.py rename to erpnext/production/doctype/bom_control/bom_control.py diff --git a/production/doctype/bom_control/bom_control.txt b/erpnext/production/doctype/bom_control/bom_control.txt similarity index 100% rename from production/doctype/bom_control/bom_control.txt rename to erpnext/production/doctype/bom_control/bom_control.txt diff --git a/production/doctype/bom_operation/__init__.py b/erpnext/production/doctype/bom_material/__init__.py similarity index 100% rename from production/doctype/bom_operation/__init__.py rename to erpnext/production/doctype/bom_material/__init__.py diff --git a/production/doctype/bom_material/bom_material.txt b/erpnext/production/doctype/bom_material/bom_material.txt similarity index 100% rename from production/doctype/bom_material/bom_material.txt rename to erpnext/production/doctype/bom_material/bom_material.txt diff --git a/production/doctype/bom_replace_utility/__init__.py b/erpnext/production/doctype/bom_operation/__init__.py similarity index 100% rename from production/doctype/bom_replace_utility/__init__.py rename to erpnext/production/doctype/bom_operation/__init__.py diff --git a/production/doctype/bom_operation/bom_operation.txt b/erpnext/production/doctype/bom_operation/bom_operation.txt similarity index 100% rename from production/doctype/bom_operation/bom_operation.txt rename to erpnext/production/doctype/bom_operation/bom_operation.txt diff --git a/production/doctype/bom_replace_utility_detail/__init__.py b/erpnext/production/doctype/bom_replace_utility/__init__.py similarity index 100% rename from production/doctype/bom_replace_utility_detail/__init__.py rename to erpnext/production/doctype/bom_replace_utility/__init__.py diff --git a/production/doctype/bom_replace_utility/bom_replace_utility.js b/erpnext/production/doctype/bom_replace_utility/bom_replace_utility.js similarity index 100% rename from production/doctype/bom_replace_utility/bom_replace_utility.js rename to erpnext/production/doctype/bom_replace_utility/bom_replace_utility.js diff --git a/production/doctype/bom_replace_utility/bom_replace_utility.py b/erpnext/production/doctype/bom_replace_utility/bom_replace_utility.py similarity index 100% rename from production/doctype/bom_replace_utility/bom_replace_utility.py rename to erpnext/production/doctype/bom_replace_utility/bom_replace_utility.py diff --git a/production/doctype/bom_replace_utility/bom_replace_utility.txt b/erpnext/production/doctype/bom_replace_utility/bom_replace_utility.txt similarity index 100% rename from production/doctype/bom_replace_utility/bom_replace_utility.txt rename to erpnext/production/doctype/bom_replace_utility/bom_replace_utility.txt diff --git a/production/doctype/bom_report_detail/__init__.py b/erpnext/production/doctype/bom_replace_utility_detail/__init__.py similarity index 100% rename from production/doctype/bom_report_detail/__init__.py rename to erpnext/production/doctype/bom_replace_utility_detail/__init__.py diff --git a/production/doctype/bom_replace_utility_detail/bom_replace_utility_detail.txt b/erpnext/production/doctype/bom_replace_utility_detail/bom_replace_utility_detail.txt similarity index 100% rename from production/doctype/bom_replace_utility_detail/bom_replace_utility_detail.txt rename to erpnext/production/doctype/bom_replace_utility_detail/bom_replace_utility_detail.txt diff --git a/production/doctype/flat_bom_detail/__init__.py b/erpnext/production/doctype/bom_report_detail/__init__.py similarity index 100% rename from production/doctype/flat_bom_detail/__init__.py rename to erpnext/production/doctype/bom_report_detail/__init__.py diff --git a/production/doctype/bom_report_detail/bom_report_detail.txt b/erpnext/production/doctype/bom_report_detail/bom_report_detail.txt similarity index 100% rename from production/doctype/bom_report_detail/bom_report_detail.txt rename to erpnext/production/doctype/bom_report_detail/bom_report_detail.txt diff --git a/production/doctype/pf_detail/__init__.py b/erpnext/production/doctype/flat_bom_detail/__init__.py similarity index 100% rename from production/doctype/pf_detail/__init__.py rename to erpnext/production/doctype/flat_bom_detail/__init__.py diff --git a/production/doctype/flat_bom_detail/flat_bom_detail.txt b/erpnext/production/doctype/flat_bom_detail/flat_bom_detail.txt similarity index 100% rename from production/doctype/flat_bom_detail/flat_bom_detail.txt rename to erpnext/production/doctype/flat_bom_detail/flat_bom_detail.txt diff --git a/production/doctype/pp_detail/__init__.py b/erpnext/production/doctype/pf_detail/__init__.py similarity index 100% rename from production/doctype/pp_detail/__init__.py rename to erpnext/production/doctype/pf_detail/__init__.py diff --git a/production/doctype/pf_detail/pf_detail.txt b/erpnext/production/doctype/pf_detail/pf_detail.txt similarity index 100% rename from production/doctype/pf_detail/pf_detail.txt rename to erpnext/production/doctype/pf_detail/pf_detail.txt diff --git a/production/doctype/pp_so_detail/__init__.py b/erpnext/production/doctype/pp_detail/__init__.py similarity index 100% rename from production/doctype/pp_so_detail/__init__.py rename to erpnext/production/doctype/pp_detail/__init__.py diff --git a/production/doctype/pp_detail/pp_detail.txt b/erpnext/production/doctype/pp_detail/pp_detail.txt similarity index 100% rename from production/doctype/pp_detail/pp_detail.txt rename to erpnext/production/doctype/pp_detail/pp_detail.txt diff --git a/production/doctype/ppw_detail/__init__.py b/erpnext/production/doctype/pp_so_detail/__init__.py similarity index 100% rename from production/doctype/ppw_detail/__init__.py rename to erpnext/production/doctype/pp_so_detail/__init__.py diff --git a/production/doctype/pp_so_detail/pp_so_detail.txt b/erpnext/production/doctype/pp_so_detail/pp_so_detail.txt similarity index 100% rename from production/doctype/pp_so_detail/pp_so_detail.txt rename to erpnext/production/doctype/pp_so_detail/pp_so_detail.txt diff --git a/production/doctype/pro_detail/__init__.py b/erpnext/production/doctype/ppw_detail/__init__.py similarity index 100% rename from production/doctype/pro_detail/__init__.py rename to erpnext/production/doctype/ppw_detail/__init__.py diff --git a/production/doctype/ppw_detail/ppw_detail.txt b/erpnext/production/doctype/ppw_detail/ppw_detail.txt similarity index 100% rename from production/doctype/ppw_detail/ppw_detail.txt rename to erpnext/production/doctype/ppw_detail/ppw_detail.txt diff --git a/production/doctype/pro_pp_detail/__init__.py b/erpnext/production/doctype/pro_detail/__init__.py similarity index 100% rename from production/doctype/pro_pp_detail/__init__.py rename to erpnext/production/doctype/pro_detail/__init__.py diff --git a/production/doctype/pro_detail/pro_detail.txt b/erpnext/production/doctype/pro_detail/pro_detail.txt similarity index 100% rename from production/doctype/pro_detail/pro_detail.txt rename to erpnext/production/doctype/pro_detail/pro_detail.txt diff --git a/production/doctype/production_control/__init__.py b/erpnext/production/doctype/pro_pp_detail/__init__.py similarity index 100% rename from production/doctype/production_control/__init__.py rename to erpnext/production/doctype/pro_pp_detail/__init__.py diff --git a/production/doctype/pro_pp_detail/pro_pp_detail.txt b/erpnext/production/doctype/pro_pp_detail/pro_pp_detail.txt similarity index 100% rename from production/doctype/pro_pp_detail/pro_pp_detail.txt rename to erpnext/production/doctype/pro_pp_detail/pro_pp_detail.txt diff --git a/production/doctype/production_order/__init__.py b/erpnext/production/doctype/production_control/__init__.py similarity index 100% rename from production/doctype/production_order/__init__.py rename to erpnext/production/doctype/production_control/__init__.py diff --git a/production/doctype/production_control/production_control.py b/erpnext/production/doctype/production_control/production_control.py similarity index 100% rename from production/doctype/production_control/production_control.py rename to erpnext/production/doctype/production_control/production_control.py diff --git a/production/doctype/production_control/production_control.txt b/erpnext/production/doctype/production_control/production_control.txt similarity index 100% rename from production/doctype/production_control/production_control.txt rename to erpnext/production/doctype/production_control/production_control.txt diff --git a/production/doctype/production_planning_tool/__init__.py b/erpnext/production/doctype/production_order/__init__.py similarity index 100% rename from production/doctype/production_planning_tool/__init__.py rename to erpnext/production/doctype/production_order/__init__.py diff --git a/production/doctype/production_order/production_order.js b/erpnext/production/doctype/production_order/production_order.js similarity index 100% rename from production/doctype/production_order/production_order.js rename to erpnext/production/doctype/production_order/production_order.js diff --git a/production/doctype/production_order/production_order.py b/erpnext/production/doctype/production_order/production_order.py similarity index 100% rename from production/doctype/production_order/production_order.py rename to erpnext/production/doctype/production_order/production_order.py diff --git a/production/doctype/production_order/production_order.txt b/erpnext/production/doctype/production_order/production_order.txt similarity index 100% rename from production/doctype/production_order/production_order.txt rename to erpnext/production/doctype/production_order/production_order.txt diff --git a/production/doctype/update_delivery_date/__init__.py b/erpnext/production/doctype/production_planning_tool/__init__.py similarity index 100% rename from production/doctype/update_delivery_date/__init__.py rename to erpnext/production/doctype/production_planning_tool/__init__.py diff --git a/production/doctype/production_planning_tool/production_planning_tool.js b/erpnext/production/doctype/production_planning_tool/production_planning_tool.js similarity index 100% rename from production/doctype/production_planning_tool/production_planning_tool.js rename to erpnext/production/doctype/production_planning_tool/production_planning_tool.js diff --git a/production/doctype/production_planning_tool/production_planning_tool.py b/erpnext/production/doctype/production_planning_tool/production_planning_tool.py similarity index 100% rename from production/doctype/production_planning_tool/production_planning_tool.py rename to erpnext/production/doctype/production_planning_tool/production_planning_tool.py diff --git a/production/doctype/production_planning_tool/production_planning_tool.txt b/erpnext/production/doctype/production_planning_tool/production_planning_tool.txt similarity index 100% rename from production/doctype/production_planning_tool/production_planning_tool.txt rename to erpnext/production/doctype/production_planning_tool/production_planning_tool.txt diff --git a/production/doctype/update_delivery_date_detail/__init__.py b/erpnext/production/doctype/update_delivery_date/__init__.py similarity index 100% rename from production/doctype/update_delivery_date_detail/__init__.py rename to erpnext/production/doctype/update_delivery_date/__init__.py diff --git a/production/doctype/update_delivery_date/update_delivery_date.js b/erpnext/production/doctype/update_delivery_date/update_delivery_date.js similarity index 100% rename from production/doctype/update_delivery_date/update_delivery_date.js rename to erpnext/production/doctype/update_delivery_date/update_delivery_date.js diff --git a/production/doctype/update_delivery_date/update_delivery_date.py b/erpnext/production/doctype/update_delivery_date/update_delivery_date.py similarity index 100% rename from production/doctype/update_delivery_date/update_delivery_date.py rename to erpnext/production/doctype/update_delivery_date/update_delivery_date.py diff --git a/production/doctype/update_delivery_date/update_delivery_date.txt b/erpnext/production/doctype/update_delivery_date/update_delivery_date.txt similarity index 100% rename from production/doctype/update_delivery_date/update_delivery_date.txt rename to erpnext/production/doctype/update_delivery_date/update_delivery_date.txt diff --git a/production/doctype/workstation/__init__.py b/erpnext/production/doctype/update_delivery_date_detail/__init__.py similarity index 100% rename from production/doctype/workstation/__init__.py rename to erpnext/production/doctype/update_delivery_date_detail/__init__.py diff --git a/production/doctype/update_delivery_date_detail/update_delivery_date_detail.txt b/erpnext/production/doctype/update_delivery_date_detail/update_delivery_date_detail.txt similarity index 100% rename from production/doctype/update_delivery_date_detail/update_delivery_date_detail.txt rename to erpnext/production/doctype/update_delivery_date_detail/update_delivery_date_detail.txt diff --git a/production/page/__init__.py b/erpnext/production/doctype/workstation/__init__.py similarity index 100% rename from production/page/__init__.py rename to erpnext/production/doctype/workstation/__init__.py diff --git a/production/doctype/workstation/workstation.js b/erpnext/production/doctype/workstation/workstation.js similarity index 100% rename from production/doctype/workstation/workstation.js rename to erpnext/production/doctype/workstation/workstation.js diff --git a/production/doctype/workstation/workstation.py b/erpnext/production/doctype/workstation/workstation.py similarity index 100% rename from production/doctype/workstation/workstation.py rename to erpnext/production/doctype/workstation/workstation.py diff --git a/production/doctype/workstation/workstation.txt b/erpnext/production/doctype/workstation/workstation.txt similarity index 100% rename from production/doctype/workstation/workstation.txt rename to erpnext/production/doctype/workstation/workstation.txt diff --git a/production/page/bill_of_materials/__init__.py b/erpnext/production/page/__init__.py similarity index 100% rename from production/page/bill_of_materials/__init__.py rename to erpnext/production/page/__init__.py diff --git a/production/search_criteria/__init__.py b/erpnext/production/page/bill_of_materials/__init__.py similarity index 100% rename from production/search_criteria/__init__.py rename to erpnext/production/page/bill_of_materials/__init__.py diff --git a/production/page/bill_of_materials/bill_of_materials.html b/erpnext/production/page/bill_of_materials/bill_of_materials.html similarity index 100% rename from production/page/bill_of_materials/bill_of_materials.html rename to erpnext/production/page/bill_of_materials/bill_of_materials.html diff --git a/production/page/bill_of_materials/bill_of_materials.js b/erpnext/production/page/bill_of_materials/bill_of_materials.js similarity index 100% rename from production/page/bill_of_materials/bill_of_materials.js rename to erpnext/production/page/bill_of_materials/bill_of_materials.js diff --git a/production/page/bill_of_materials/bill_of_materials.txt b/erpnext/production/page/bill_of_materials/bill_of_materials.txt similarity index 100% rename from production/page/bill_of_materials/bill_of_materials.txt rename to erpnext/production/page/bill_of_materials/bill_of_materials.txt diff --git a/production/search_criteria/consumption_against_production/__init__.py b/erpnext/production/search_criteria/__init__.py similarity index 100% rename from production/search_criteria/consumption_against_production/__init__.py rename to erpnext/production/search_criteria/__init__.py diff --git a/production/search_criteria/delivery_plan/__init__.py b/erpnext/production/search_criteria/consumption_against_production/__init__.py similarity index 100% rename from production/search_criteria/delivery_plan/__init__.py rename to erpnext/production/search_criteria/consumption_against_production/__init__.py diff --git a/production/search_criteria/consumption_against_production/consumption_against_production.txt b/erpnext/production/search_criteria/consumption_against_production/consumption_against_production.txt similarity index 100% rename from production/search_criteria/consumption_against_production/consumption_against_production.txt rename to erpnext/production/search_criteria/consumption_against_production/consumption_against_production.txt diff --git a/production/search_criteria/itemwise_production_report/__init__.py b/erpnext/production/search_criteria/delivery_plan/__init__.py similarity index 100% rename from production/search_criteria/itemwise_production_report/__init__.py rename to erpnext/production/search_criteria/delivery_plan/__init__.py diff --git a/production/search_criteria/delivery_plan/delivery_plan.js b/erpnext/production/search_criteria/delivery_plan/delivery_plan.js similarity index 100% rename from production/search_criteria/delivery_plan/delivery_plan.js rename to erpnext/production/search_criteria/delivery_plan/delivery_plan.js diff --git a/production/search_criteria/delivery_plan/delivery_plan.txt b/erpnext/production/search_criteria/delivery_plan/delivery_plan.txt similarity index 100% rename from production/search_criteria/delivery_plan/delivery_plan.txt rename to erpnext/production/search_criteria/delivery_plan/delivery_plan.txt diff --git a/production/search_criteria/production_orders_in_process/__init__.py b/erpnext/production/search_criteria/itemwise_production_report/__init__.py similarity index 100% rename from production/search_criteria/production_orders_in_process/__init__.py rename to erpnext/production/search_criteria/itemwise_production_report/__init__.py diff --git a/production/search_criteria/itemwise_production_report/itemwise_production_report.js b/erpnext/production/search_criteria/itemwise_production_report/itemwise_production_report.js similarity index 100% rename from production/search_criteria/itemwise_production_report/itemwise_production_report.js rename to erpnext/production/search_criteria/itemwise_production_report/itemwise_production_report.js diff --git a/production/search_criteria/itemwise_production_report/itemwise_production_report.txt b/erpnext/production/search_criteria/itemwise_production_report/itemwise_production_report.txt similarity index 100% rename from production/search_criteria/itemwise_production_report/itemwise_production_report.txt rename to erpnext/production/search_criteria/itemwise_production_report/itemwise_production_report.txt diff --git a/projects/__init__.py b/erpnext/production/search_criteria/production_orders_in_process/__init__.py similarity index 100% rename from projects/__init__.py rename to erpnext/production/search_criteria/production_orders_in_process/__init__.py diff --git a/production/search_criteria/production_orders_in_process/production_orders_in_process.txt b/erpnext/production/search_criteria/production_orders_in_process/production_orders_in_process.txt similarity index 100% rename from production/search_criteria/production_orders_in_process/production_orders_in_process.txt rename to erpnext/production/search_criteria/production_orders_in_process/production_orders_in_process.txt diff --git a/projects/Module Def/Projects/Projects.txt b/erpnext/projects/Module Def/Projects/Projects.txt similarity index 100% rename from projects/Module Def/Projects/Projects.txt rename to erpnext/projects/Module Def/Projects/Projects.txt diff --git a/projects/Role/Projects User/Projects User.txt b/erpnext/projects/Role/Projects User/Projects User.txt similarity index 100% rename from projects/Role/Projects User/Projects User.txt rename to erpnext/projects/Role/Projects User/Projects User.txt diff --git a/projects/doctype/__init__.py b/erpnext/projects/__init__.py similarity index 100% rename from projects/doctype/__init__.py rename to erpnext/projects/__init__.py diff --git a/projects/doctype/activity_type/__init__.py b/erpnext/projects/doctype/__init__.py similarity index 100% rename from projects/doctype/activity_type/__init__.py rename to erpnext/projects/doctype/__init__.py diff --git a/projects/doctype/project/__init__.py b/erpnext/projects/doctype/activity_type/__init__.py similarity index 100% rename from projects/doctype/project/__init__.py rename to erpnext/projects/doctype/activity_type/__init__.py diff --git a/projects/doctype/activity_type/activity_type.txt b/erpnext/projects/doctype/activity_type/activity_type.txt similarity index 100% rename from projects/doctype/activity_type/activity_type.txt rename to erpnext/projects/doctype/activity_type/activity_type.txt diff --git a/projects/doctype/project_activity/__init__.py b/erpnext/projects/doctype/project/__init__.py similarity index 100% rename from projects/doctype/project_activity/__init__.py rename to erpnext/projects/doctype/project/__init__.py diff --git a/projects/doctype/project/project.js b/erpnext/projects/doctype/project/project.js similarity index 100% rename from projects/doctype/project/project.js rename to erpnext/projects/doctype/project/project.js diff --git a/projects/doctype/project/project.py b/erpnext/projects/doctype/project/project.py similarity index 100% rename from projects/doctype/project/project.py rename to erpnext/projects/doctype/project/project.py diff --git a/projects/doctype/project/project.txt b/erpnext/projects/doctype/project/project.txt similarity index 100% rename from projects/doctype/project/project.txt rename to erpnext/projects/doctype/project/project.txt diff --git a/projects/doctype/project_activity_update/__init__.py b/erpnext/projects/doctype/project_activity/__init__.py similarity index 100% rename from projects/doctype/project_activity_update/__init__.py rename to erpnext/projects/doctype/project_activity/__init__.py diff --git a/projects/doctype/project_activity/project_activity.js b/erpnext/projects/doctype/project_activity/project_activity.js similarity index 100% rename from projects/doctype/project_activity/project_activity.js rename to erpnext/projects/doctype/project_activity/project_activity.js diff --git a/projects/doctype/project_activity/project_activity.py b/erpnext/projects/doctype/project_activity/project_activity.py similarity index 100% rename from projects/doctype/project_activity/project_activity.py rename to erpnext/projects/doctype/project_activity/project_activity.py diff --git a/projects/doctype/project_activity/project_activity.txt b/erpnext/projects/doctype/project_activity/project_activity.txt similarity index 100% rename from projects/doctype/project_activity/project_activity.txt rename to erpnext/projects/doctype/project_activity/project_activity.txt diff --git a/projects/doctype/project_control/__init__.py b/erpnext/projects/doctype/project_activity_update/__init__.py similarity index 100% rename from projects/doctype/project_control/__init__.py rename to erpnext/projects/doctype/project_activity_update/__init__.py diff --git a/projects/doctype/project_activity_update/project_activity_update.txt b/erpnext/projects/doctype/project_activity_update/project_activity_update.txt similarity index 100% rename from projects/doctype/project_activity_update/project_activity_update.txt rename to erpnext/projects/doctype/project_activity_update/project_activity_update.txt diff --git a/projects/doctype/project_milestone/__init__.py b/erpnext/projects/doctype/project_control/__init__.py similarity index 100% rename from projects/doctype/project_milestone/__init__.py rename to erpnext/projects/doctype/project_control/__init__.py diff --git a/projects/doctype/project_control/project_control.py b/erpnext/projects/doctype/project_control/project_control.py similarity index 100% rename from projects/doctype/project_control/project_control.py rename to erpnext/projects/doctype/project_control/project_control.py diff --git a/projects/doctype/project_control/project_control.txt b/erpnext/projects/doctype/project_control/project_control.txt similarity index 100% rename from projects/doctype/project_control/project_control.txt rename to erpnext/projects/doctype/project_control/project_control.txt diff --git a/projects/doctype/ticket/__init__.py b/erpnext/projects/doctype/project_milestone/__init__.py similarity index 100% rename from projects/doctype/ticket/__init__.py rename to erpnext/projects/doctype/project_milestone/__init__.py diff --git a/projects/doctype/project_milestone/project_milestone.txt b/erpnext/projects/doctype/project_milestone/project_milestone.txt similarity index 100% rename from projects/doctype/project_milestone/project_milestone.txt rename to erpnext/projects/doctype/project_milestone/project_milestone.txt diff --git a/projects/doctype/timesheet/__init__.py b/erpnext/projects/doctype/ticket/__init__.py similarity index 100% rename from projects/doctype/timesheet/__init__.py rename to erpnext/projects/doctype/ticket/__init__.py diff --git a/projects/doctype/ticket/ticket.js b/erpnext/projects/doctype/ticket/ticket.js similarity index 100% rename from projects/doctype/ticket/ticket.js rename to erpnext/projects/doctype/ticket/ticket.js diff --git a/projects/doctype/ticket/ticket.py b/erpnext/projects/doctype/ticket/ticket.py similarity index 100% rename from projects/doctype/ticket/ticket.py rename to erpnext/projects/doctype/ticket/ticket.py diff --git a/projects/doctype/ticket/ticket.txt b/erpnext/projects/doctype/ticket/ticket.txt similarity index 100% rename from projects/doctype/ticket/ticket.txt rename to erpnext/projects/doctype/ticket/ticket.txt diff --git a/projects/doctype/timesheet_detail/__init__.py b/erpnext/projects/doctype/timesheet/__init__.py similarity index 100% rename from projects/doctype/timesheet_detail/__init__.py rename to erpnext/projects/doctype/timesheet/__init__.py diff --git a/projects/doctype/timesheet/timesheet.js b/erpnext/projects/doctype/timesheet/timesheet.js similarity index 100% rename from projects/doctype/timesheet/timesheet.js rename to erpnext/projects/doctype/timesheet/timesheet.js diff --git a/projects/doctype/timesheet/timesheet.py b/erpnext/projects/doctype/timesheet/timesheet.py similarity index 100% rename from projects/doctype/timesheet/timesheet.py rename to erpnext/projects/doctype/timesheet/timesheet.py diff --git a/projects/doctype/timesheet/timesheet.txt b/erpnext/projects/doctype/timesheet/timesheet.txt similarity index 100% rename from projects/doctype/timesheet/timesheet.txt rename to erpnext/projects/doctype/timesheet/timesheet.txt diff --git a/projects/page/__init__.py b/erpnext/projects/doctype/timesheet_detail/__init__.py similarity index 100% rename from projects/page/__init__.py rename to erpnext/projects/doctype/timesheet_detail/__init__.py diff --git a/projects/doctype/timesheet_detail/timesheet_detail.txt b/erpnext/projects/doctype/timesheet_detail/timesheet_detail.txt similarity index 100% rename from projects/doctype/timesheet_detail/timesheet_detail.txt rename to erpnext/projects/doctype/timesheet_detail/timesheet_detail.txt diff --git a/projects/page/projects/__init__.py b/erpnext/projects/page/__init__.py similarity index 100% rename from projects/page/projects/__init__.py rename to erpnext/projects/page/__init__.py diff --git a/projects/search_criteria/__init__.py b/erpnext/projects/page/projects/__init__.py similarity index 100% rename from projects/search_criteria/__init__.py rename to erpnext/projects/page/projects/__init__.py diff --git a/projects/page/projects/projects.html b/erpnext/projects/page/projects/projects.html similarity index 100% rename from projects/page/projects/projects.html rename to erpnext/projects/page/projects/projects.html diff --git a/projects/page/projects/projects.js b/erpnext/projects/page/projects/projects.js similarity index 100% rename from projects/page/projects/projects.js rename to erpnext/projects/page/projects/projects.js diff --git a/projects/page/projects/projects.txt b/erpnext/projects/page/projects/projects.txt similarity index 100% rename from projects/page/projects/projects.txt rename to erpnext/projects/page/projects/projects.txt diff --git a/projects/page/projects/projects_static.html b/erpnext/projects/page/projects/projects_static.html similarity index 100% rename from projects/page/projects/projects_static.html rename to erpnext/projects/page/projects/projects_static.html diff --git a/projects/search_criteria/dispatch_report/__init__.py b/erpnext/projects/search_criteria/__init__.py similarity index 100% rename from projects/search_criteria/dispatch_report/__init__.py rename to erpnext/projects/search_criteria/__init__.py diff --git a/projects/search_criteria/projectwise_delivered_qty_and_costs/__init__.py b/erpnext/projects/search_criteria/dispatch_report/__init__.py similarity index 100% rename from projects/search_criteria/projectwise_delivered_qty_and_costs/__init__.py rename to erpnext/projects/search_criteria/dispatch_report/__init__.py diff --git a/projects/search_criteria/dispatch_report/dispatch_report.js b/erpnext/projects/search_criteria/dispatch_report/dispatch_report.js similarity index 100% rename from projects/search_criteria/dispatch_report/dispatch_report.js rename to erpnext/projects/search_criteria/dispatch_report/dispatch_report.js diff --git a/projects/search_criteria/dispatch_report/dispatch_report.txt b/erpnext/projects/search_criteria/dispatch_report/dispatch_report.txt similarity index 100% rename from projects/search_criteria/dispatch_report/dispatch_report.txt rename to erpnext/projects/search_criteria/dispatch_report/dispatch_report.txt diff --git a/projects/search_criteria/projectwise_pending_qty_and_costs/__init__.py b/erpnext/projects/search_criteria/projectwise_delivered_qty_and_costs/__init__.py similarity index 100% rename from projects/search_criteria/projectwise_pending_qty_and_costs/__init__.py rename to erpnext/projects/search_criteria/projectwise_delivered_qty_and_costs/__init__.py diff --git a/projects/search_criteria/projectwise_delivered_qty_and_costs/projectwise_delivered_qty_and_costs.js b/erpnext/projects/search_criteria/projectwise_delivered_qty_and_costs/projectwise_delivered_qty_and_costs.js similarity index 100% rename from projects/search_criteria/projectwise_delivered_qty_and_costs/projectwise_delivered_qty_and_costs.js rename to erpnext/projects/search_criteria/projectwise_delivered_qty_and_costs/projectwise_delivered_qty_and_costs.js diff --git a/projects/search_criteria/projectwise_delivered_qty_and_costs/projectwise_delivered_qty_and_costs.txt b/erpnext/projects/search_criteria/projectwise_delivered_qty_and_costs/projectwise_delivered_qty_and_costs.txt similarity index 100% rename from projects/search_criteria/projectwise_delivered_qty_and_costs/projectwise_delivered_qty_and_costs.txt rename to erpnext/projects/search_criteria/projectwise_delivered_qty_and_costs/projectwise_delivered_qty_and_costs.txt diff --git a/projects/search_criteria/projectwise_purchase_details/__init__.py b/erpnext/projects/search_criteria/projectwise_pending_qty_and_costs/__init__.py similarity index 100% rename from projects/search_criteria/projectwise_purchase_details/__init__.py rename to erpnext/projects/search_criteria/projectwise_pending_qty_and_costs/__init__.py diff --git a/projects/search_criteria/projectwise_pending_qty_and_costs/projectwise_pending_qty_and_costs.js b/erpnext/projects/search_criteria/projectwise_pending_qty_and_costs/projectwise_pending_qty_and_costs.js similarity index 100% rename from projects/search_criteria/projectwise_pending_qty_and_costs/projectwise_pending_qty_and_costs.js rename to erpnext/projects/search_criteria/projectwise_pending_qty_and_costs/projectwise_pending_qty_and_costs.js diff --git a/projects/search_criteria/projectwise_pending_qty_and_costs/projectwise_pending_qty_and_costs.txt b/erpnext/projects/search_criteria/projectwise_pending_qty_and_costs/projectwise_pending_qty_and_costs.txt similarity index 100% rename from projects/search_criteria/projectwise_pending_qty_and_costs/projectwise_pending_qty_and_costs.txt rename to erpnext/projects/search_criteria/projectwise_pending_qty_and_costs/projectwise_pending_qty_and_costs.txt diff --git a/projects/search_criteria/projectwise_sales_details/__init__.py b/erpnext/projects/search_criteria/projectwise_purchase_details/__init__.py similarity index 100% rename from projects/search_criteria/projectwise_sales_details/__init__.py rename to erpnext/projects/search_criteria/projectwise_purchase_details/__init__.py diff --git a/projects/search_criteria/projectwise_purchase_details/projectwise_purchase_details.js b/erpnext/projects/search_criteria/projectwise_purchase_details/projectwise_purchase_details.js similarity index 100% rename from projects/search_criteria/projectwise_purchase_details/projectwise_purchase_details.js rename to erpnext/projects/search_criteria/projectwise_purchase_details/projectwise_purchase_details.js diff --git a/projects/search_criteria/projectwise_purchase_details/projectwise_purchase_details.py b/erpnext/projects/search_criteria/projectwise_purchase_details/projectwise_purchase_details.py similarity index 100% rename from projects/search_criteria/projectwise_purchase_details/projectwise_purchase_details.py rename to erpnext/projects/search_criteria/projectwise_purchase_details/projectwise_purchase_details.py diff --git a/projects/search_criteria/projectwise_purchase_details/projectwise_purchase_details.txt b/erpnext/projects/search_criteria/projectwise_purchase_details/projectwise_purchase_details.txt similarity index 100% rename from projects/search_criteria/projectwise_purchase_details/projectwise_purchase_details.txt rename to erpnext/projects/search_criteria/projectwise_purchase_details/projectwise_purchase_details.txt diff --git a/projects/search_criteria/projectwise_sales_orders/__init__.py b/erpnext/projects/search_criteria/projectwise_sales_details/__init__.py similarity index 100% rename from projects/search_criteria/projectwise_sales_orders/__init__.py rename to erpnext/projects/search_criteria/projectwise_sales_details/__init__.py diff --git a/projects/search_criteria/projectwise_sales_details/projectwise_sales_details.js b/erpnext/projects/search_criteria/projectwise_sales_details/projectwise_sales_details.js similarity index 100% rename from projects/search_criteria/projectwise_sales_details/projectwise_sales_details.js rename to erpnext/projects/search_criteria/projectwise_sales_details/projectwise_sales_details.js diff --git a/projects/search_criteria/projectwise_sales_details/projectwise_sales_details.py b/erpnext/projects/search_criteria/projectwise_sales_details/projectwise_sales_details.py similarity index 100% rename from projects/search_criteria/projectwise_sales_details/projectwise_sales_details.py rename to erpnext/projects/search_criteria/projectwise_sales_details/projectwise_sales_details.py diff --git a/projects/search_criteria/projectwise_sales_details/projectwise_sales_details.txt b/erpnext/projects/search_criteria/projectwise_sales_details/projectwise_sales_details.txt similarity index 100% rename from projects/search_criteria/projectwise_sales_details/projectwise_sales_details.txt rename to erpnext/projects/search_criteria/projectwise_sales_details/projectwise_sales_details.txt diff --git a/projects/search_criteria/timesheet_report/__init__.py b/erpnext/projects/search_criteria/projectwise_sales_orders/__init__.py similarity index 100% rename from projects/search_criteria/timesheet_report/__init__.py rename to erpnext/projects/search_criteria/projectwise_sales_orders/__init__.py diff --git a/projects/search_criteria/projectwise_sales_orders/projectwise_sales_orders.txt b/erpnext/projects/search_criteria/projectwise_sales_orders/projectwise_sales_orders.txt similarity index 100% rename from projects/search_criteria/projectwise_sales_orders/projectwise_sales_orders.txt rename to erpnext/projects/search_criteria/projectwise_sales_orders/projectwise_sales_orders.txt diff --git a/selling/__init__.py b/erpnext/projects/search_criteria/timesheet_report/__init__.py similarity index 100% rename from selling/__init__.py rename to erpnext/projects/search_criteria/timesheet_report/__init__.py diff --git a/projects/search_criteria/timesheet_report/timesheet_report.js b/erpnext/projects/search_criteria/timesheet_report/timesheet_report.js similarity index 100% rename from projects/search_criteria/timesheet_report/timesheet_report.js rename to erpnext/projects/search_criteria/timesheet_report/timesheet_report.js diff --git a/projects/search_criteria/timesheet_report/timesheet_report.txt b/erpnext/projects/search_criteria/timesheet_report/timesheet_report.txt similarity index 100% rename from projects/search_criteria/timesheet_report/timesheet_report.txt rename to erpnext/projects/search_criteria/timesheet_report/timesheet_report.txt diff --git a/selling/DocType Mapper/Delivery Note-Installation Note/Delivery Note-Installation Note.txt b/erpnext/selling/DocType Mapper/Delivery Note-Installation Note/Delivery Note-Installation Note.txt similarity index 100% rename from selling/DocType Mapper/Delivery Note-Installation Note/Delivery Note-Installation Note.txt rename to erpnext/selling/DocType Mapper/Delivery Note-Installation Note/Delivery Note-Installation Note.txt diff --git a/selling/DocType Mapper/Enquiry-Quotation/Enquiry-Quotation.txt b/erpnext/selling/DocType Mapper/Enquiry-Quotation/Enquiry-Quotation.txt similarity index 98% rename from selling/DocType Mapper/Enquiry-Quotation/Enquiry-Quotation.txt rename to erpnext/selling/DocType Mapper/Enquiry-Quotation/Enquiry-Quotation.txt index 807a057e5e1..de6f60d965a 100644 --- a/selling/DocType Mapper/Enquiry-Quotation/Enquiry-Quotation.txt +++ b/erpnext/selling/DocType Mapper/Enquiry-Quotation/Enquiry-Quotation.txt @@ -5,7 +5,7 @@ { 'creation': '2010-08-08 17:09:34', 'docstatus': 0, - 'modified': '2011-09-07 12:12:30', + 'modified': '2011-09-14 12:36:24', 'modified_by': 'Administrator', 'owner': 'Administrator' }, diff --git a/selling/DocType Mapper/Lead-Customer/Lead-Customer.txt b/erpnext/selling/DocType Mapper/Lead-Customer/Lead-Customer.txt similarity index 83% rename from selling/DocType Mapper/Lead-Customer/Lead-Customer.txt rename to erpnext/selling/DocType Mapper/Lead-Customer/Lead-Customer.txt index 19a9f8a2e9b..268834a80f4 100644 --- a/selling/DocType Mapper/Lead-Customer/Lead-Customer.txt +++ b/erpnext/selling/DocType Mapper/Lead-Customer/Lead-Customer.txt @@ -5,7 +5,7 @@ { 'creation': '2010-08-08 17:09:34', 'docstatus': 0, - 'modified': '2011-09-07 12:11:39', + 'modified': '2011-09-14 12:36:24', 'modified_by': 'Administrator', 'owner': 'Administrator' }, @@ -63,6 +63,20 @@ 'to_field': 'customer_name' }, + # Field Mapper Detail + { + 'doctype': 'Field Mapper Detail', + 'from_field': 'contact_no', + 'to_field': 'phone_1' + }, + + # Field Mapper Detail + { + 'doctype': 'Field Mapper Detail', + 'from_field': 'fax', + 'to_field': 'fax_1' + }, + # Table Mapper Detail { 'doctype': 'Table Mapper Detail' diff --git a/selling/DocType Mapper/Lead-Enquiry/Lead-Enquiry.txt b/erpnext/selling/DocType Mapper/Lead-Enquiry/Lead-Enquiry.txt similarity index 97% rename from selling/DocType Mapper/Lead-Enquiry/Lead-Enquiry.txt rename to erpnext/selling/DocType Mapper/Lead-Enquiry/Lead-Enquiry.txt index 742215b780d..5dc1c8fef14 100644 --- a/selling/DocType Mapper/Lead-Enquiry/Lead-Enquiry.txt +++ b/erpnext/selling/DocType Mapper/Lead-Enquiry/Lead-Enquiry.txt @@ -5,7 +5,7 @@ { 'creation': '2010-08-08 17:09:34', 'docstatus': 0, - 'modified': '2011-09-07 12:11:00', + 'modified': '2011-09-14 12:36:24', 'modified_by': 'Administrator', 'owner': 'Administrator' }, diff --git a/selling/DocType Mapper/Project-Sales Order/Project-Sales Order.txt b/erpnext/selling/DocType Mapper/Project-Sales Order/Project-Sales Order.txt similarity index 100% rename from selling/DocType Mapper/Project-Sales Order/Project-Sales Order.txt rename to erpnext/selling/DocType Mapper/Project-Sales Order/Project-Sales Order.txt diff --git a/selling/DocType Mapper/Quotation-Sales Order/Quotation-Sales Order.txt b/erpnext/selling/DocType Mapper/Quotation-Sales Order/Quotation-Sales Order.txt similarity index 98% rename from selling/DocType Mapper/Quotation-Sales Order/Quotation-Sales Order.txt rename to erpnext/selling/DocType Mapper/Quotation-Sales Order/Quotation-Sales Order.txt index 5a529dde41b..feadb98f9a9 100644 --- a/selling/DocType Mapper/Quotation-Sales Order/Quotation-Sales Order.txt +++ b/erpnext/selling/DocType Mapper/Quotation-Sales Order/Quotation-Sales Order.txt @@ -5,7 +5,7 @@ { 'creation': '2010-08-08 17:09:35', 'docstatus': 0, - 'modified': '2011-09-07 12:08:48', + 'modified': '2011-09-14 12:36:24', 'modified_by': 'Administrator', 'owner': 'Administrator' }, diff --git a/selling/Module Def/Selling/Selling.txt b/erpnext/selling/Module Def/Selling/Selling.txt similarity index 100% rename from selling/Module Def/Selling/Selling.txt rename to erpnext/selling/Module Def/Selling/Selling.txt diff --git a/selling/Role/Customer/Customer.txt b/erpnext/selling/Role/Customer/Customer.txt similarity index 100% rename from selling/Role/Customer/Customer.txt rename to erpnext/selling/Role/Customer/Customer.txt diff --git a/selling/Role/Partner/Partner.txt b/erpnext/selling/Role/Partner/Partner.txt similarity index 100% rename from selling/Role/Partner/Partner.txt rename to erpnext/selling/Role/Partner/Partner.txt diff --git a/selling/Role/Sales Manager/Sales Manager.txt b/erpnext/selling/Role/Sales Manager/Sales Manager.txt similarity index 100% rename from selling/Role/Sales Manager/Sales Manager.txt rename to erpnext/selling/Role/Sales Manager/Sales Manager.txt diff --git a/selling/Role/Sales Master Manager/Sales Master Manager.txt b/erpnext/selling/Role/Sales Master Manager/Sales Master Manager.txt similarity index 100% rename from selling/Role/Sales Master Manager/Sales Master Manager.txt rename to erpnext/selling/Role/Sales Master Manager/Sales Master Manager.txt diff --git a/selling/Role/Sales User/Sales User.txt b/erpnext/selling/Role/Sales User/Sales User.txt similarity index 100% rename from selling/Role/Sales User/Sales User.txt rename to erpnext/selling/Role/Sales User/Sales User.txt diff --git a/selling/doctype/__init__.py b/erpnext/selling/__init__.py similarity index 100% rename from selling/doctype/__init__.py rename to erpnext/selling/__init__.py diff --git a/selling/doctype/campaign/__init__.py b/erpnext/selling/doctype/__init__.py similarity index 100% rename from selling/doctype/campaign/__init__.py rename to erpnext/selling/doctype/__init__.py diff --git a/selling/doctype/customer/__init__.py b/erpnext/selling/doctype/campaign/__init__.py similarity index 100% rename from selling/doctype/customer/__init__.py rename to erpnext/selling/doctype/campaign/__init__.py diff --git a/selling/doctype/campaign/campaign.js b/erpnext/selling/doctype/campaign/campaign.js similarity index 100% rename from selling/doctype/campaign/campaign.js rename to erpnext/selling/doctype/campaign/campaign.js diff --git a/selling/doctype/campaign/campaign.txt b/erpnext/selling/doctype/campaign/campaign.txt similarity index 100% rename from selling/doctype/campaign/campaign.txt rename to erpnext/selling/doctype/campaign/campaign.txt diff --git a/selling/doctype/enquiry/__init__.py b/erpnext/selling/doctype/customer/__init__.py similarity index 100% rename from selling/doctype/enquiry/__init__.py rename to erpnext/selling/doctype/customer/__init__.py diff --git a/selling/doctype/customer/customer.js b/erpnext/selling/doctype/customer/customer.js similarity index 100% rename from selling/doctype/customer/customer.js rename to erpnext/selling/doctype/customer/customer.js diff --git a/selling/doctype/customer/customer.py b/erpnext/selling/doctype/customer/customer.py similarity index 100% rename from selling/doctype/customer/customer.py rename to erpnext/selling/doctype/customer/customer.py diff --git a/selling/doctype/customer/customer.txt b/erpnext/selling/doctype/customer/customer.txt similarity index 100% rename from selling/doctype/customer/customer.txt rename to erpnext/selling/doctype/customer/customer.txt diff --git a/selling/doctype/enquiry_detail/__init__.py b/erpnext/selling/doctype/enquiry/__init__.py similarity index 100% rename from selling/doctype/enquiry_detail/__init__.py rename to erpnext/selling/doctype/enquiry/__init__.py diff --git a/selling/doctype/enquiry/enquiry.js b/erpnext/selling/doctype/enquiry/enquiry.js similarity index 100% rename from selling/doctype/enquiry/enquiry.js rename to erpnext/selling/doctype/enquiry/enquiry.js diff --git a/selling/doctype/enquiry/enquiry.py b/erpnext/selling/doctype/enquiry/enquiry.py similarity index 100% rename from selling/doctype/enquiry/enquiry.py rename to erpnext/selling/doctype/enquiry/enquiry.py diff --git a/selling/doctype/enquiry/enquiry.txt b/erpnext/selling/doctype/enquiry/enquiry.txt similarity index 100% rename from selling/doctype/enquiry/enquiry.txt rename to erpnext/selling/doctype/enquiry/enquiry.txt diff --git a/selling/doctype/enquiry_sms_detail/__init__.py b/erpnext/selling/doctype/enquiry_detail/__init__.py similarity index 100% rename from selling/doctype/enquiry_sms_detail/__init__.py rename to erpnext/selling/doctype/enquiry_detail/__init__.py diff --git a/selling/doctype/enquiry_detail/enquiry_detail.txt b/erpnext/selling/doctype/enquiry_detail/enquiry_detail.txt similarity index 100% rename from selling/doctype/enquiry_detail/enquiry_detail.txt rename to erpnext/selling/doctype/enquiry_detail/enquiry_detail.txt diff --git a/selling/doctype/follow_up/__init__.py b/erpnext/selling/doctype/enquiry_sms_detail/__init__.py similarity index 100% rename from selling/doctype/follow_up/__init__.py rename to erpnext/selling/doctype/enquiry_sms_detail/__init__.py diff --git a/selling/doctype/enquiry_sms_detail/enquiry_sms_detail.txt b/erpnext/selling/doctype/enquiry_sms_detail/enquiry_sms_detail.txt similarity index 100% rename from selling/doctype/enquiry_sms_detail/enquiry_sms_detail.txt rename to erpnext/selling/doctype/enquiry_sms_detail/enquiry_sms_detail.txt diff --git a/selling/doctype/industry_type/__init__.py b/erpnext/selling/doctype/follow_up/__init__.py similarity index 100% rename from selling/doctype/industry_type/__init__.py rename to erpnext/selling/doctype/follow_up/__init__.py diff --git a/selling/doctype/follow_up/follow_up.txt b/erpnext/selling/doctype/follow_up/follow_up.txt similarity index 100% rename from selling/doctype/follow_up/follow_up.txt rename to erpnext/selling/doctype/follow_up/follow_up.txt diff --git a/selling/doctype/installation_note/__init__.py b/erpnext/selling/doctype/industry_type/__init__.py similarity index 100% rename from selling/doctype/installation_note/__init__.py rename to erpnext/selling/doctype/industry_type/__init__.py diff --git a/selling/doctype/industry_type/industry_type.js b/erpnext/selling/doctype/industry_type/industry_type.js similarity index 100% rename from selling/doctype/industry_type/industry_type.js rename to erpnext/selling/doctype/industry_type/industry_type.js diff --git a/selling/doctype/industry_type/industry_type.txt b/erpnext/selling/doctype/industry_type/industry_type.txt similarity index 100% rename from selling/doctype/industry_type/industry_type.txt rename to erpnext/selling/doctype/industry_type/industry_type.txt diff --git a/selling/doctype/installed_item_details/__init__.py b/erpnext/selling/doctype/installation_note/__init__.py similarity index 100% rename from selling/doctype/installed_item_details/__init__.py rename to erpnext/selling/doctype/installation_note/__init__.py diff --git a/selling/doctype/installation_note/installation_note.js b/erpnext/selling/doctype/installation_note/installation_note.js similarity index 100% rename from selling/doctype/installation_note/installation_note.js rename to erpnext/selling/doctype/installation_note/installation_note.js diff --git a/selling/doctype/installation_note/installation_note.py b/erpnext/selling/doctype/installation_note/installation_note.py similarity index 100% rename from selling/doctype/installation_note/installation_note.py rename to erpnext/selling/doctype/installation_note/installation_note.py diff --git a/selling/doctype/installation_note/installation_note.txt b/erpnext/selling/doctype/installation_note/installation_note.txt similarity index 100% rename from selling/doctype/installation_note/installation_note.txt rename to erpnext/selling/doctype/installation_note/installation_note.txt diff --git a/selling/doctype/lead/__init__.py b/erpnext/selling/doctype/installed_item_details/__init__.py similarity index 100% rename from selling/doctype/lead/__init__.py rename to erpnext/selling/doctype/installed_item_details/__init__.py diff --git a/selling/doctype/installed_item_details/installed_item_details.txt b/erpnext/selling/doctype/installed_item_details/installed_item_details.txt similarity index 100% rename from selling/doctype/installed_item_details/installed_item_details.txt rename to erpnext/selling/doctype/installed_item_details/installed_item_details.txt diff --git a/selling/doctype/lead_attachment_detail/__init__.py b/erpnext/selling/doctype/lead/__init__.py similarity index 100% rename from selling/doctype/lead_attachment_detail/__init__.py rename to erpnext/selling/doctype/lead/__init__.py diff --git a/selling/doctype/lead/lead.js b/erpnext/selling/doctype/lead/lead.js similarity index 100% rename from selling/doctype/lead/lead.js rename to erpnext/selling/doctype/lead/lead.js diff --git a/selling/doctype/lead/lead.py b/erpnext/selling/doctype/lead/lead.py similarity index 100% rename from selling/doctype/lead/lead.py rename to erpnext/selling/doctype/lead/lead.py diff --git a/selling/doctype/lead/lead.txt b/erpnext/selling/doctype/lead/lead.txt similarity index 100% rename from selling/doctype/lead/lead.txt rename to erpnext/selling/doctype/lead/lead.txt diff --git a/selling/doctype/lead_item_detail/__init__.py b/erpnext/selling/doctype/lead_attachment_detail/__init__.py similarity index 100% rename from selling/doctype/lead_item_detail/__init__.py rename to erpnext/selling/doctype/lead_attachment_detail/__init__.py diff --git a/selling/doctype/lead_attachment_detail/lead_attachment_detail.txt b/erpnext/selling/doctype/lead_attachment_detail/lead_attachment_detail.txt similarity index 100% rename from selling/doctype/lead_attachment_detail/lead_attachment_detail.txt rename to erpnext/selling/doctype/lead_attachment_detail/lead_attachment_detail.txt diff --git a/selling/doctype/lead_sms_detail/__init__.py b/erpnext/selling/doctype/lead_item_detail/__init__.py similarity index 100% rename from selling/doctype/lead_sms_detail/__init__.py rename to erpnext/selling/doctype/lead_item_detail/__init__.py diff --git a/selling/doctype/lead_item_detail/lead_item_detail.txt b/erpnext/selling/doctype/lead_item_detail/lead_item_detail.txt similarity index 100% rename from selling/doctype/lead_item_detail/lead_item_detail.txt rename to erpnext/selling/doctype/lead_item_detail/lead_item_detail.txt diff --git a/selling/doctype/plot_control/__init__.py b/erpnext/selling/doctype/lead_sms_detail/__init__.py similarity index 100% rename from selling/doctype/plot_control/__init__.py rename to erpnext/selling/doctype/lead_sms_detail/__init__.py diff --git a/selling/doctype/lead_sms_detail/lead_sms_detail.txt b/erpnext/selling/doctype/lead_sms_detail/lead_sms_detail.txt similarity index 100% rename from selling/doctype/lead_sms_detail/lead_sms_detail.txt rename to erpnext/selling/doctype/lead_sms_detail/lead_sms_detail.txt diff --git a/selling/doctype/quotation/__init__.py b/erpnext/selling/doctype/plot_control/__init__.py similarity index 100% rename from selling/doctype/quotation/__init__.py rename to erpnext/selling/doctype/plot_control/__init__.py diff --git a/selling/doctype/plot_control/plot_control.py b/erpnext/selling/doctype/plot_control/plot_control.py similarity index 100% rename from selling/doctype/plot_control/plot_control.py rename to erpnext/selling/doctype/plot_control/plot_control.py diff --git a/selling/doctype/plot_control/plot_control.txt b/erpnext/selling/doctype/plot_control/plot_control.txt similarity index 100% rename from selling/doctype/plot_control/plot_control.txt rename to erpnext/selling/doctype/plot_control/plot_control.txt diff --git a/selling/doctype/quotation_detail/__init__.py b/erpnext/selling/doctype/quotation/__init__.py similarity index 100% rename from selling/doctype/quotation_detail/__init__.py rename to erpnext/selling/doctype/quotation/__init__.py diff --git a/selling/doctype/quotation/quotation.js b/erpnext/selling/doctype/quotation/quotation.js similarity index 100% rename from selling/doctype/quotation/quotation.js rename to erpnext/selling/doctype/quotation/quotation.js diff --git a/selling/doctype/quotation/quotation.py b/erpnext/selling/doctype/quotation/quotation.py similarity index 100% rename from selling/doctype/quotation/quotation.py rename to erpnext/selling/doctype/quotation/quotation.py diff --git a/selling/doctype/quotation/quotation.txt b/erpnext/selling/doctype/quotation/quotation.txt similarity index 100% rename from selling/doctype/quotation/quotation.txt rename to erpnext/selling/doctype/quotation/quotation.txt diff --git a/selling/doctype/return_detail/__init__.py b/erpnext/selling/doctype/quotation_detail/__init__.py similarity index 100% rename from selling/doctype/return_detail/__init__.py rename to erpnext/selling/doctype/quotation_detail/__init__.py diff --git a/selling/doctype/quotation_detail/quotation_detail.txt b/erpnext/selling/doctype/quotation_detail/quotation_detail.txt similarity index 100% rename from selling/doctype/quotation_detail/quotation_detail.txt rename to erpnext/selling/doctype/quotation_detail/quotation_detail.txt diff --git a/selling/doctype/sales_common/__init__.py b/erpnext/selling/doctype/return_detail/__init__.py similarity index 100% rename from selling/doctype/sales_common/__init__.py rename to erpnext/selling/doctype/return_detail/__init__.py diff --git a/selling/doctype/return_detail/return_detail.txt b/erpnext/selling/doctype/return_detail/return_detail.txt similarity index 100% rename from selling/doctype/return_detail/return_detail.txt rename to erpnext/selling/doctype/return_detail/return_detail.txt diff --git a/selling/doctype/sales_order/__init__.py b/erpnext/selling/doctype/sales_common/__init__.py similarity index 100% rename from selling/doctype/sales_order/__init__.py rename to erpnext/selling/doctype/sales_common/__init__.py diff --git a/selling/doctype/sales_common/sales_common.js b/erpnext/selling/doctype/sales_common/sales_common.js similarity index 100% rename from selling/doctype/sales_common/sales_common.js rename to erpnext/selling/doctype/sales_common/sales_common.js diff --git a/selling/doctype/sales_common/sales_common.py b/erpnext/selling/doctype/sales_common/sales_common.py similarity index 100% rename from selling/doctype/sales_common/sales_common.py rename to erpnext/selling/doctype/sales_common/sales_common.py diff --git a/selling/doctype/sales_common/sales_common.txt b/erpnext/selling/doctype/sales_common/sales_common.txt similarity index 100% rename from selling/doctype/sales_common/sales_common.txt rename to erpnext/selling/doctype/sales_common/sales_common.txt diff --git a/selling/doctype/sales_order_detail/__init__.py b/erpnext/selling/doctype/sales_order/__init__.py similarity index 100% rename from selling/doctype/sales_order_detail/__init__.py rename to erpnext/selling/doctype/sales_order/__init__.py diff --git a/selling/doctype/sales_order/sales_order.js b/erpnext/selling/doctype/sales_order/sales_order.js similarity index 100% rename from selling/doctype/sales_order/sales_order.js rename to erpnext/selling/doctype/sales_order/sales_order.js diff --git a/selling/doctype/sales_order/sales_order.py b/erpnext/selling/doctype/sales_order/sales_order.py similarity index 100% rename from selling/doctype/sales_order/sales_order.py rename to erpnext/selling/doctype/sales_order/sales_order.py diff --git a/selling/doctype/sales_order/sales_order.txt b/erpnext/selling/doctype/sales_order/sales_order.txt similarity index 100% rename from selling/doctype/sales_order/sales_order.txt rename to erpnext/selling/doctype/sales_order/sales_order.txt diff --git a/selling/doctype/sales_team/__init__.py b/erpnext/selling/doctype/sales_order_detail/__init__.py similarity index 100% rename from selling/doctype/sales_team/__init__.py rename to erpnext/selling/doctype/sales_order_detail/__init__.py diff --git a/selling/doctype/sales_order_detail/sales_order_detail.txt b/erpnext/selling/doctype/sales_order_detail/sales_order_detail.txt similarity index 100% rename from selling/doctype/sales_order_detail/sales_order_detail.txt rename to erpnext/selling/doctype/sales_order_detail/sales_order_detail.txt diff --git a/selling/doctype/shipping_address/__init__.py b/erpnext/selling/doctype/sales_team/__init__.py old mode 100755 new mode 100644 similarity index 100% rename from selling/doctype/shipping_address/__init__.py rename to erpnext/selling/doctype/sales_team/__init__.py diff --git a/selling/doctype/sales_team/sales_team.txt b/erpnext/selling/doctype/sales_team/sales_team.txt similarity index 100% rename from selling/doctype/sales_team/sales_team.txt rename to erpnext/selling/doctype/sales_team/sales_team.txt diff --git a/selling/doctype/sms_center/__init__.py b/erpnext/selling/doctype/shipping_address/__init__.py old mode 100644 new mode 100755 similarity index 100% rename from selling/doctype/sms_center/__init__.py rename to erpnext/selling/doctype/shipping_address/__init__.py diff --git a/selling/doctype/shipping_address/shipping_address.js b/erpnext/selling/doctype/shipping_address/shipping_address.js similarity index 100% rename from selling/doctype/shipping_address/shipping_address.js rename to erpnext/selling/doctype/shipping_address/shipping_address.js diff --git a/selling/doctype/shipping_address/shipping_address.py b/erpnext/selling/doctype/shipping_address/shipping_address.py similarity index 100% rename from selling/doctype/shipping_address/shipping_address.py rename to erpnext/selling/doctype/shipping_address/shipping_address.py diff --git a/selling/doctype/shipping_address/shipping_address.txt b/erpnext/selling/doctype/shipping_address/shipping_address.txt similarity index 100% rename from selling/doctype/shipping_address/shipping_address.txt rename to erpnext/selling/doctype/shipping_address/shipping_address.txt diff --git a/selling/page/__init__.py b/erpnext/selling/doctype/sms_center/__init__.py similarity index 100% rename from selling/page/__init__.py rename to erpnext/selling/doctype/sms_center/__init__.py diff --git a/selling/doctype/sms_center/sms_center.js b/erpnext/selling/doctype/sms_center/sms_center.js similarity index 100% rename from selling/doctype/sms_center/sms_center.js rename to erpnext/selling/doctype/sms_center/sms_center.js diff --git a/selling/doctype/sms_center/sms_center.py b/erpnext/selling/doctype/sms_center/sms_center.py similarity index 100% rename from selling/doctype/sms_center/sms_center.py rename to erpnext/selling/doctype/sms_center/sms_center.py diff --git a/selling/doctype/sms_center/sms_center.txt b/erpnext/selling/doctype/sms_center/sms_center.txt similarity index 100% rename from selling/doctype/sms_center/sms_center.txt rename to erpnext/selling/doctype/sms_center/sms_center.txt diff --git a/selling/page/customers/__init__.py b/erpnext/selling/page/__init__.py similarity index 100% rename from selling/page/customers/__init__.py rename to erpnext/selling/page/__init__.py diff --git a/selling/page/sales_browser/__init__.py b/erpnext/selling/page/customers/__init__.py similarity index 100% rename from selling/page/sales_browser/__init__.py rename to erpnext/selling/page/customers/__init__.py diff --git a/selling/page/customers/customers.html b/erpnext/selling/page/customers/customers.html similarity index 100% rename from selling/page/customers/customers.html rename to erpnext/selling/page/customers/customers.html diff --git a/selling/page/customers/customers.js b/erpnext/selling/page/customers/customers.js similarity index 100% rename from selling/page/customers/customers.js rename to erpnext/selling/page/customers/customers.js diff --git a/selling/page/customers/customers.txt b/erpnext/selling/page/customers/customers.txt similarity index 100% rename from selling/page/customers/customers.txt rename to erpnext/selling/page/customers/customers.txt diff --git a/selling/page/sales_dashboard/__init__.py b/erpnext/selling/page/sales_browser/__init__.py similarity index 100% rename from selling/page/sales_dashboard/__init__.py rename to erpnext/selling/page/sales_browser/__init__.py diff --git a/selling/page/sales_browser/sales_browser.html b/erpnext/selling/page/sales_browser/sales_browser.html similarity index 100% rename from selling/page/sales_browser/sales_browser.html rename to erpnext/selling/page/sales_browser/sales_browser.html diff --git a/selling/page/sales_browser/sales_browser.js b/erpnext/selling/page/sales_browser/sales_browser.js similarity index 100% rename from selling/page/sales_browser/sales_browser.js rename to erpnext/selling/page/sales_browser/sales_browser.js diff --git a/selling/page/sales_browser/sales_browser.txt b/erpnext/selling/page/sales_browser/sales_browser.txt similarity index 100% rename from selling/page/sales_browser/sales_browser.txt rename to erpnext/selling/page/sales_browser/sales_browser.txt diff --git a/selling/search_criteria/__init__.py b/erpnext/selling/page/sales_dashboard/__init__.py similarity index 100% rename from selling/search_criteria/__init__.py rename to erpnext/selling/page/sales_dashboard/__init__.py diff --git a/selling/page/sales_dashboard/sales_dashboard.html b/erpnext/selling/page/sales_dashboard/sales_dashboard.html similarity index 100% rename from selling/page/sales_dashboard/sales_dashboard.html rename to erpnext/selling/page/sales_dashboard/sales_dashboard.html diff --git a/selling/page/sales_dashboard/sales_dashboard.js b/erpnext/selling/page/sales_dashboard/sales_dashboard.js similarity index 100% rename from selling/page/sales_dashboard/sales_dashboard.js rename to erpnext/selling/page/sales_dashboard/sales_dashboard.js diff --git a/selling/page/sales_dashboard/sales_dashboard.txt b/erpnext/selling/page/sales_dashboard/sales_dashboard.txt similarity index 100% rename from selling/page/sales_dashboard/sales_dashboard.txt rename to erpnext/selling/page/sales_dashboard/sales_dashboard.txt diff --git a/selling/search_criteria/delivered_items_to_be_install/__init__.py b/erpnext/selling/search_criteria/__init__.py similarity index 100% rename from selling/search_criteria/delivered_items_to_be_install/__init__.py rename to erpnext/selling/search_criteria/__init__.py diff --git a/selling/search_criteria/delivery_note_itemwise_pending_to_bill/__init__.py b/erpnext/selling/search_criteria/delivered_items_to_be_install/__init__.py similarity index 100% rename from selling/search_criteria/delivery_note_itemwise_pending_to_bill/__init__.py rename to erpnext/selling/search_criteria/delivered_items_to_be_install/__init__.py diff --git a/selling/search_criteria/delivered_items_to_be_install/delivered_items_to_be_install.js b/erpnext/selling/search_criteria/delivered_items_to_be_install/delivered_items_to_be_install.js similarity index 100% rename from selling/search_criteria/delivered_items_to_be_install/delivered_items_to_be_install.js rename to erpnext/selling/search_criteria/delivered_items_to_be_install/delivered_items_to_be_install.js diff --git a/selling/search_criteria/delivered_items_to_be_install/delivered_items_to_be_install.txt b/erpnext/selling/search_criteria/delivered_items_to_be_install/delivered_items_to_be_install.txt similarity index 100% rename from selling/search_criteria/delivered_items_to_be_install/delivered_items_to_be_install.txt rename to erpnext/selling/search_criteria/delivered_items_to_be_install/delivered_items_to_be_install.txt diff --git a/selling/search_criteria/draft_sales_orders/__init__.py b/erpnext/selling/search_criteria/delivery_note_itemwise_pending_to_bill/__init__.py similarity index 100% rename from selling/search_criteria/draft_sales_orders/__init__.py rename to erpnext/selling/search_criteria/delivery_note_itemwise_pending_to_bill/__init__.py diff --git a/selling/search_criteria/delivery_note_itemwise_pending_to_bill/delivery_note_itemwise_pending_to_bill.txt b/erpnext/selling/search_criteria/delivery_note_itemwise_pending_to_bill/delivery_note_itemwise_pending_to_bill.txt similarity index 100% rename from selling/search_criteria/delivery_note_itemwise_pending_to_bill/delivery_note_itemwise_pending_to_bill.txt rename to erpnext/selling/search_criteria/delivery_note_itemwise_pending_to_bill/delivery_note_itemwise_pending_to_bill.txt diff --git a/selling/search_criteria/follow_up_report/__init__.py b/erpnext/selling/search_criteria/draft_sales_orders/__init__.py similarity index 100% rename from selling/search_criteria/follow_up_report/__init__.py rename to erpnext/selling/search_criteria/draft_sales_orders/__init__.py diff --git a/selling/search_criteria/draft_sales_orders/draft_sales_orders.js b/erpnext/selling/search_criteria/draft_sales_orders/draft_sales_orders.js similarity index 100% rename from selling/search_criteria/draft_sales_orders/draft_sales_orders.js rename to erpnext/selling/search_criteria/draft_sales_orders/draft_sales_orders.js diff --git a/selling/search_criteria/draft_sales_orders/draft_sales_orders.txt b/erpnext/selling/search_criteria/draft_sales_orders/draft_sales_orders.txt similarity index 100% rename from selling/search_criteria/draft_sales_orders/draft_sales_orders.txt rename to erpnext/selling/search_criteria/draft_sales_orders/draft_sales_orders.txt diff --git a/selling/search_criteria/gross_profit/__init__.py b/erpnext/selling/search_criteria/follow_up_report/__init__.py similarity index 100% rename from selling/search_criteria/gross_profit/__init__.py rename to erpnext/selling/search_criteria/follow_up_report/__init__.py diff --git a/selling/search_criteria/follow_up_report/follow_up_report.js b/erpnext/selling/search_criteria/follow_up_report/follow_up_report.js similarity index 100% rename from selling/search_criteria/follow_up_report/follow_up_report.js rename to erpnext/selling/search_criteria/follow_up_report/follow_up_report.js diff --git a/selling/search_criteria/follow_up_report/follow_up_report.py b/erpnext/selling/search_criteria/follow_up_report/follow_up_report.py similarity index 100% rename from selling/search_criteria/follow_up_report/follow_up_report.py rename to erpnext/selling/search_criteria/follow_up_report/follow_up_report.py diff --git a/selling/search_criteria/follow_up_report/follow_up_report.txt b/erpnext/selling/search_criteria/follow_up_report/follow_up_report.txt similarity index 100% rename from selling/search_criteria/follow_up_report/follow_up_report.txt rename to erpnext/selling/search_criteria/follow_up_report/follow_up_report.txt diff --git a/selling/search_criteria/itemwise_delivery_details/__init__.py b/erpnext/selling/search_criteria/gross_profit/__init__.py similarity index 100% rename from selling/search_criteria/itemwise_delivery_details/__init__.py rename to erpnext/selling/search_criteria/gross_profit/__init__.py diff --git a/selling/search_criteria/gross_profit/gross_profit.js b/erpnext/selling/search_criteria/gross_profit/gross_profit.js similarity index 100% rename from selling/search_criteria/gross_profit/gross_profit.js rename to erpnext/selling/search_criteria/gross_profit/gross_profit.js diff --git a/selling/search_criteria/gross_profit/gross_profit.py b/erpnext/selling/search_criteria/gross_profit/gross_profit.py similarity index 100% rename from selling/search_criteria/gross_profit/gross_profit.py rename to erpnext/selling/search_criteria/gross_profit/gross_profit.py diff --git a/selling/search_criteria/gross_profit/gross_profit.txt b/erpnext/selling/search_criteria/gross_profit/gross_profit.txt similarity index 100% rename from selling/search_criteria/gross_profit/gross_profit.txt rename to erpnext/selling/search_criteria/gross_profit/gross_profit.txt diff --git a/selling/search_criteria/itemwise_sales_details/__init__.py b/erpnext/selling/search_criteria/itemwise_delivery_details/__init__.py similarity index 100% rename from selling/search_criteria/itemwise_sales_details/__init__.py rename to erpnext/selling/search_criteria/itemwise_delivery_details/__init__.py diff --git a/selling/search_criteria/itemwise_delivery_details/itemwise_delivery_details.js b/erpnext/selling/search_criteria/itemwise_delivery_details/itemwise_delivery_details.js similarity index 100% rename from selling/search_criteria/itemwise_delivery_details/itemwise_delivery_details.js rename to erpnext/selling/search_criteria/itemwise_delivery_details/itemwise_delivery_details.js diff --git a/selling/search_criteria/itemwise_delivery_details/itemwise_delivery_details.py b/erpnext/selling/search_criteria/itemwise_delivery_details/itemwise_delivery_details.py similarity index 100% rename from selling/search_criteria/itemwise_delivery_details/itemwise_delivery_details.py rename to erpnext/selling/search_criteria/itemwise_delivery_details/itemwise_delivery_details.py diff --git a/selling/search_criteria/itemwise_delivery_details/itemwise_delivery_details.txt b/erpnext/selling/search_criteria/itemwise_delivery_details/itemwise_delivery_details.txt similarity index 100% rename from selling/search_criteria/itemwise_delivery_details/itemwise_delivery_details.txt rename to erpnext/selling/search_criteria/itemwise_delivery_details/itemwise_delivery_details.txt diff --git a/selling/search_criteria/monthly_despatched_trend/__init__.py b/erpnext/selling/search_criteria/itemwise_sales_details/__init__.py similarity index 100% rename from selling/search_criteria/monthly_despatched_trend/__init__.py rename to erpnext/selling/search_criteria/itemwise_sales_details/__init__.py diff --git a/selling/search_criteria/itemwise_sales_details/itemwise_sales_details.js b/erpnext/selling/search_criteria/itemwise_sales_details/itemwise_sales_details.js similarity index 100% rename from selling/search_criteria/itemwise_sales_details/itemwise_sales_details.js rename to erpnext/selling/search_criteria/itemwise_sales_details/itemwise_sales_details.js diff --git a/selling/search_criteria/itemwise_sales_details/itemwise_sales_details.py b/erpnext/selling/search_criteria/itemwise_sales_details/itemwise_sales_details.py similarity index 100% rename from selling/search_criteria/itemwise_sales_details/itemwise_sales_details.py rename to erpnext/selling/search_criteria/itemwise_sales_details/itemwise_sales_details.py diff --git a/selling/search_criteria/itemwise_sales_details/itemwise_sales_details.txt b/erpnext/selling/search_criteria/itemwise_sales_details/itemwise_sales_details.txt similarity index 100% rename from selling/search_criteria/itemwise_sales_details/itemwise_sales_details.txt rename to erpnext/selling/search_criteria/itemwise_sales_details/itemwise_sales_details.txt diff --git a/selling/search_criteria/periodic_sales_summary/__init__.py b/erpnext/selling/search_criteria/monthly_despatched_trend/__init__.py similarity index 100% rename from selling/search_criteria/periodic_sales_summary/__init__.py rename to erpnext/selling/search_criteria/monthly_despatched_trend/__init__.py diff --git a/selling/search_criteria/monthly_despatched_trend/monthly_despatched_trend.js b/erpnext/selling/search_criteria/monthly_despatched_trend/monthly_despatched_trend.js similarity index 100% rename from selling/search_criteria/monthly_despatched_trend/monthly_despatched_trend.js rename to erpnext/selling/search_criteria/monthly_despatched_trend/monthly_despatched_trend.js diff --git a/selling/search_criteria/monthly_despatched_trend/monthly_despatched_trend.py b/erpnext/selling/search_criteria/monthly_despatched_trend/monthly_despatched_trend.py similarity index 100% rename from selling/search_criteria/monthly_despatched_trend/monthly_despatched_trend.py rename to erpnext/selling/search_criteria/monthly_despatched_trend/monthly_despatched_trend.py diff --git a/selling/search_criteria/monthly_despatched_trend/monthly_despatched_trend.txt b/erpnext/selling/search_criteria/monthly_despatched_trend/monthly_despatched_trend.txt similarity index 100% rename from selling/search_criteria/monthly_despatched_trend/monthly_despatched_trend.txt rename to erpnext/selling/search_criteria/monthly_despatched_trend/monthly_despatched_trend.txt diff --git a/selling/search_criteria/sales_agentwise_commission/__init__.py b/erpnext/selling/search_criteria/periodic_sales_summary/__init__.py similarity index 100% rename from selling/search_criteria/sales_agentwise_commission/__init__.py rename to erpnext/selling/search_criteria/periodic_sales_summary/__init__.py diff --git a/selling/search_criteria/periodic_sales_summary/periodic_sales_summary.js b/erpnext/selling/search_criteria/periodic_sales_summary/periodic_sales_summary.js similarity index 100% rename from selling/search_criteria/periodic_sales_summary/periodic_sales_summary.js rename to erpnext/selling/search_criteria/periodic_sales_summary/periodic_sales_summary.js diff --git a/selling/search_criteria/periodic_sales_summary/periodic_sales_summary.txt b/erpnext/selling/search_criteria/periodic_sales_summary/periodic_sales_summary.txt similarity index 100% rename from selling/search_criteria/periodic_sales_summary/periodic_sales_summary.txt rename to erpnext/selling/search_criteria/periodic_sales_summary/periodic_sales_summary.txt diff --git a/selling/search_criteria/sales_order_pending_items1/__init__.py b/erpnext/selling/search_criteria/sales_agentwise_commission/__init__.py similarity index 100% rename from selling/search_criteria/sales_order_pending_items1/__init__.py rename to erpnext/selling/search_criteria/sales_agentwise_commission/__init__.py diff --git a/selling/search_criteria/sales_agentwise_commission/sales_agentwise_commission.js b/erpnext/selling/search_criteria/sales_agentwise_commission/sales_agentwise_commission.js similarity index 100% rename from selling/search_criteria/sales_agentwise_commission/sales_agentwise_commission.js rename to erpnext/selling/search_criteria/sales_agentwise_commission/sales_agentwise_commission.js diff --git a/selling/search_criteria/sales_agentwise_commission/sales_agentwise_commission.py b/erpnext/selling/search_criteria/sales_agentwise_commission/sales_agentwise_commission.py similarity index 100% rename from selling/search_criteria/sales_agentwise_commission/sales_agentwise_commission.py rename to erpnext/selling/search_criteria/sales_agentwise_commission/sales_agentwise_commission.py diff --git a/selling/search_criteria/sales_agentwise_commission/sales_agentwise_commission.txt b/erpnext/selling/search_criteria/sales_agentwise_commission/sales_agentwise_commission.txt similarity index 100% rename from selling/search_criteria/sales_agentwise_commission/sales_agentwise_commission.txt rename to erpnext/selling/search_criteria/sales_agentwise_commission/sales_agentwise_commission.txt diff --git a/selling/search_criteria/sales_orderwise_booking_&_delivery_summary/__init__.py b/erpnext/selling/search_criteria/sales_order_pending_items1/__init__.py similarity index 100% rename from selling/search_criteria/sales_orderwise_booking_&_delivery_summary/__init__.py rename to erpnext/selling/search_criteria/sales_order_pending_items1/__init__.py diff --git a/selling/search_criteria/sales_order_pending_items1/sales_order_pending_items1.js b/erpnext/selling/search_criteria/sales_order_pending_items1/sales_order_pending_items1.js similarity index 100% rename from selling/search_criteria/sales_order_pending_items1/sales_order_pending_items1.js rename to erpnext/selling/search_criteria/sales_order_pending_items1/sales_order_pending_items1.js diff --git a/selling/search_criteria/sales_order_pending_items1/sales_order_pending_items1.txt b/erpnext/selling/search_criteria/sales_order_pending_items1/sales_order_pending_items1.txt similarity index 100% rename from selling/search_criteria/sales_order_pending_items1/sales_order_pending_items1.txt rename to erpnext/selling/search_criteria/sales_order_pending_items1/sales_order_pending_items1.txt diff --git a/selling/search_criteria/sales_orderwise_booking_ b/erpnext/selling/search_criteria/sales_orderwise_booking_ similarity index 100% rename from selling/search_criteria/sales_orderwise_booking_ rename to erpnext/selling/search_criteria/sales_orderwise_booking_ diff --git a/selling/search_criteria/sales_orderwise_pending_amount_to_bill/__init__.py b/erpnext/selling/search_criteria/sales_orderwise_booking_&_delivery_summary/__init__.py similarity index 100% rename from selling/search_criteria/sales_orderwise_pending_amount_to_bill/__init__.py rename to erpnext/selling/search_criteria/sales_orderwise_booking_&_delivery_summary/__init__.py diff --git a/selling/search_criteria/sales_orderwise_booking_&_delivery_summary/sales_orderwise_booking_&_delivery_summary.txt b/erpnext/selling/search_criteria/sales_orderwise_booking_&_delivery_summary/sales_orderwise_booking_&_delivery_summary.txt similarity index 100% rename from selling/search_criteria/sales_orderwise_booking_&_delivery_summary/sales_orderwise_booking_&_delivery_summary.txt rename to erpnext/selling/search_criteria/sales_orderwise_booking_&_delivery_summary/sales_orderwise_booking_&_delivery_summary.txt diff --git a/selling/search_criteria/sales_orderwise_pending_qty_to_deliver/__init__.py b/erpnext/selling/search_criteria/sales_orderwise_pending_amount_to_bill/__init__.py similarity index 100% rename from selling/search_criteria/sales_orderwise_pending_qty_to_deliver/__init__.py rename to erpnext/selling/search_criteria/sales_orderwise_pending_amount_to_bill/__init__.py diff --git a/selling/search_criteria/sales_orderwise_pending_amount_to_bill/sales_orderwise_pending_amount_to_bill.js b/erpnext/selling/search_criteria/sales_orderwise_pending_amount_to_bill/sales_orderwise_pending_amount_to_bill.js similarity index 100% rename from selling/search_criteria/sales_orderwise_pending_amount_to_bill/sales_orderwise_pending_amount_to_bill.js rename to erpnext/selling/search_criteria/sales_orderwise_pending_amount_to_bill/sales_orderwise_pending_amount_to_bill.js diff --git a/selling/search_criteria/sales_orderwise_pending_amount_to_bill/sales_orderwise_pending_amount_to_bill.txt b/erpnext/selling/search_criteria/sales_orderwise_pending_amount_to_bill/sales_orderwise_pending_amount_to_bill.txt similarity index 100% rename from selling/search_criteria/sales_orderwise_pending_amount_to_bill/sales_orderwise_pending_amount_to_bill.txt rename to erpnext/selling/search_criteria/sales_orderwise_pending_amount_to_bill/sales_orderwise_pending_amount_to_bill.txt diff --git a/selling/search_criteria/sales_persons_target_variance_item_group_wise/__init__.py b/erpnext/selling/search_criteria/sales_orderwise_pending_qty_to_deliver/__init__.py similarity index 100% rename from selling/search_criteria/sales_persons_target_variance_item_group_wise/__init__.py rename to erpnext/selling/search_criteria/sales_orderwise_pending_qty_to_deliver/__init__.py diff --git a/selling/search_criteria/sales_orderwise_pending_qty_to_deliver/sales_orderwise_pending_qty_to_deliver.txt b/erpnext/selling/search_criteria/sales_orderwise_pending_qty_to_deliver/sales_orderwise_pending_qty_to_deliver.txt similarity index 100% rename from selling/search_criteria/sales_orderwise_pending_qty_to_deliver/sales_orderwise_pending_qty_to_deliver.txt rename to erpnext/selling/search_criteria/sales_orderwise_pending_qty_to_deliver/sales_orderwise_pending_qty_to_deliver.txt diff --git a/selling/search_criteria/sales_personwise_transaction_summary/__init__.py b/erpnext/selling/search_criteria/sales_persons_target_variance_item_group_wise/__init__.py old mode 100755 new mode 100644 similarity index 100% rename from selling/search_criteria/sales_personwise_transaction_summary/__init__.py rename to erpnext/selling/search_criteria/sales_persons_target_variance_item_group_wise/__init__.py diff --git a/selling/search_criteria/sales_persons_target_variance_item_group_wise/sales_persons_target_variance_item_group_wise.js b/erpnext/selling/search_criteria/sales_persons_target_variance_item_group_wise/sales_persons_target_variance_item_group_wise.js similarity index 100% rename from selling/search_criteria/sales_persons_target_variance_item_group_wise/sales_persons_target_variance_item_group_wise.js rename to erpnext/selling/search_criteria/sales_persons_target_variance_item_group_wise/sales_persons_target_variance_item_group_wise.js diff --git a/selling/search_criteria/sales_persons_target_variance_item_group_wise/sales_persons_target_variance_item_group_wise.py b/erpnext/selling/search_criteria/sales_persons_target_variance_item_group_wise/sales_persons_target_variance_item_group_wise.py similarity index 100% rename from selling/search_criteria/sales_persons_target_variance_item_group_wise/sales_persons_target_variance_item_group_wise.py rename to erpnext/selling/search_criteria/sales_persons_target_variance_item_group_wise/sales_persons_target_variance_item_group_wise.py diff --git a/selling/search_criteria/sales_persons_target_variance_item_group_wise/sales_persons_target_variance_item_group_wise.txt b/erpnext/selling/search_criteria/sales_persons_target_variance_item_group_wise/sales_persons_target_variance_item_group_wise.txt similarity index 100% rename from selling/search_criteria/sales_persons_target_variance_item_group_wise/sales_persons_target_variance_item_group_wise.txt rename to erpnext/selling/search_criteria/sales_persons_target_variance_item_group_wise/sales_persons_target_variance_item_group_wise.txt diff --git a/selling/search_criteria/target_variance_report/__init__.py b/erpnext/selling/search_criteria/sales_personwise_transaction_summary/__init__.py old mode 100644 new mode 100755 similarity index 100% rename from selling/search_criteria/target_variance_report/__init__.py rename to erpnext/selling/search_criteria/sales_personwise_transaction_summary/__init__.py diff --git a/selling/search_criteria/sales_personwise_transaction_summary/sales_personwise_transaction_summary.js b/erpnext/selling/search_criteria/sales_personwise_transaction_summary/sales_personwise_transaction_summary.js similarity index 100% rename from selling/search_criteria/sales_personwise_transaction_summary/sales_personwise_transaction_summary.js rename to erpnext/selling/search_criteria/sales_personwise_transaction_summary/sales_personwise_transaction_summary.js diff --git a/selling/search_criteria/sales_personwise_transaction_summary/sales_personwise_transaction_summary.py b/erpnext/selling/search_criteria/sales_personwise_transaction_summary/sales_personwise_transaction_summary.py similarity index 100% rename from selling/search_criteria/sales_personwise_transaction_summary/sales_personwise_transaction_summary.py rename to erpnext/selling/search_criteria/sales_personwise_transaction_summary/sales_personwise_transaction_summary.py diff --git a/selling/search_criteria/sales_personwise_transaction_summary/sales_personwise_transaction_summary.txt b/erpnext/selling/search_criteria/sales_personwise_transaction_summary/sales_personwise_transaction_summary.txt similarity index 100% rename from selling/search_criteria/sales_personwise_transaction_summary/sales_personwise_transaction_summary.txt rename to erpnext/selling/search_criteria/sales_personwise_transaction_summary/sales_personwise_transaction_summary.txt diff --git a/selling/search_criteria/territories_target_variance_item_group_wise/__init__.py b/erpnext/selling/search_criteria/target_variance_report/__init__.py similarity index 100% rename from selling/search_criteria/territories_target_variance_item_group_wise/__init__.py rename to erpnext/selling/search_criteria/target_variance_report/__init__.py diff --git a/selling/search_criteria/target_variance_report/target_variance_report.js b/erpnext/selling/search_criteria/target_variance_report/target_variance_report.js similarity index 100% rename from selling/search_criteria/target_variance_report/target_variance_report.js rename to erpnext/selling/search_criteria/target_variance_report/target_variance_report.js diff --git a/selling/search_criteria/target_variance_report/target_variance_report.py b/erpnext/selling/search_criteria/target_variance_report/target_variance_report.py similarity index 100% rename from selling/search_criteria/target_variance_report/target_variance_report.py rename to erpnext/selling/search_criteria/target_variance_report/target_variance_report.py diff --git a/selling/search_criteria/target_variance_report/target_variance_report.txt b/erpnext/selling/search_criteria/target_variance_report/target_variance_report.txt similarity index 100% rename from selling/search_criteria/target_variance_report/target_variance_report.txt rename to erpnext/selling/search_criteria/target_variance_report/target_variance_report.txt diff --git a/selling/search_criteria/territory_item_group_wise_gp/__init__.py b/erpnext/selling/search_criteria/territories_target_variance_item_group_wise/__init__.py similarity index 100% rename from selling/search_criteria/territory_item_group_wise_gp/__init__.py rename to erpnext/selling/search_criteria/territories_target_variance_item_group_wise/__init__.py diff --git a/selling/search_criteria/territories_target_variance_item_group_wise/territories_target_variance_item_group_wise.js b/erpnext/selling/search_criteria/territories_target_variance_item_group_wise/territories_target_variance_item_group_wise.js similarity index 100% rename from selling/search_criteria/territories_target_variance_item_group_wise/territories_target_variance_item_group_wise.js rename to erpnext/selling/search_criteria/territories_target_variance_item_group_wise/territories_target_variance_item_group_wise.js diff --git a/selling/search_criteria/territories_target_variance_item_group_wise/territories_target_variance_item_group_wise.py b/erpnext/selling/search_criteria/territories_target_variance_item_group_wise/territories_target_variance_item_group_wise.py similarity index 100% rename from selling/search_criteria/territories_target_variance_item_group_wise/territories_target_variance_item_group_wise.py rename to erpnext/selling/search_criteria/territories_target_variance_item_group_wise/territories_target_variance_item_group_wise.py diff --git a/selling/search_criteria/territories_target_variance_item_group_wise/territories_target_variance_item_group_wise.txt b/erpnext/selling/search_criteria/territories_target_variance_item_group_wise/territories_target_variance_item_group_wise.txt similarity index 100% rename from selling/search_criteria/territories_target_variance_item_group_wise/territories_target_variance_item_group_wise.txt rename to erpnext/selling/search_criteria/territories_target_variance_item_group_wise/territories_target_variance_item_group_wise.txt diff --git a/selling/search_criteria/territory_sales___variance_report/__init__.py b/erpnext/selling/search_criteria/territory_item_group_wise_gp/__init__.py similarity index 100% rename from selling/search_criteria/territory_sales___variance_report/__init__.py rename to erpnext/selling/search_criteria/territory_item_group_wise_gp/__init__.py diff --git a/selling/search_criteria/territory_item_group_wise_gp/territory_item_group_wise_gp.py b/erpnext/selling/search_criteria/territory_item_group_wise_gp/territory_item_group_wise_gp.py similarity index 100% rename from selling/search_criteria/territory_item_group_wise_gp/territory_item_group_wise_gp.py rename to erpnext/selling/search_criteria/territory_item_group_wise_gp/territory_item_group_wise_gp.py diff --git a/selling/search_criteria/territory_item_group_wise_gp/territory_item_group_wise_gp.txt b/erpnext/selling/search_criteria/territory_item_group_wise_gp/territory_item_group_wise_gp.txt similarity index 100% rename from selling/search_criteria/territory_item_group_wise_gp/territory_item_group_wise_gp.txt rename to erpnext/selling/search_criteria/territory_item_group_wise_gp/territory_item_group_wise_gp.txt diff --git a/selling/search_criteria/total_target_variance_report/__init__.py b/erpnext/selling/search_criteria/territory_sales___variance_report/__init__.py similarity index 100% rename from selling/search_criteria/total_target_variance_report/__init__.py rename to erpnext/selling/search_criteria/territory_sales___variance_report/__init__.py diff --git a/selling/search_criteria/territory_sales___variance_report/territory_sales___variance_report.js b/erpnext/selling/search_criteria/territory_sales___variance_report/territory_sales___variance_report.js similarity index 100% rename from selling/search_criteria/territory_sales___variance_report/territory_sales___variance_report.js rename to erpnext/selling/search_criteria/territory_sales___variance_report/territory_sales___variance_report.js diff --git a/selling/search_criteria/territory_sales___variance_report/territory_sales___variance_report.py b/erpnext/selling/search_criteria/territory_sales___variance_report/territory_sales___variance_report.py similarity index 100% rename from selling/search_criteria/territory_sales___variance_report/territory_sales___variance_report.py rename to erpnext/selling/search_criteria/territory_sales___variance_report/territory_sales___variance_report.py diff --git a/selling/search_criteria/territory_sales___variance_report/territory_sales___variance_report.txt b/erpnext/selling/search_criteria/territory_sales___variance_report/territory_sales___variance_report.txt similarity index 100% rename from selling/search_criteria/territory_sales___variance_report/territory_sales___variance_report.txt rename to erpnext/selling/search_criteria/territory_sales___variance_report/territory_sales___variance_report.txt diff --git a/selling/search_criteria/variance_report/__init__.py b/erpnext/selling/search_criteria/total_target_variance_report/__init__.py similarity index 100% rename from selling/search_criteria/variance_report/__init__.py rename to erpnext/selling/search_criteria/total_target_variance_report/__init__.py diff --git a/selling/search_criteria/total_target_variance_report/total_target_variance_report.js b/erpnext/selling/search_criteria/total_target_variance_report/total_target_variance_report.js similarity index 100% rename from selling/search_criteria/total_target_variance_report/total_target_variance_report.js rename to erpnext/selling/search_criteria/total_target_variance_report/total_target_variance_report.js diff --git a/selling/search_criteria/total_target_variance_report/total_target_variance_report.py b/erpnext/selling/search_criteria/total_target_variance_report/total_target_variance_report.py similarity index 100% rename from selling/search_criteria/total_target_variance_report/total_target_variance_report.py rename to erpnext/selling/search_criteria/total_target_variance_report/total_target_variance_report.py diff --git a/selling/search_criteria/total_target_variance_report/total_target_variance_report.sql b/erpnext/selling/search_criteria/total_target_variance_report/total_target_variance_report.sql similarity index 100% rename from selling/search_criteria/total_target_variance_report/total_target_variance_report.sql rename to erpnext/selling/search_criteria/total_target_variance_report/total_target_variance_report.sql diff --git a/selling/search_criteria/total_target_variance_report/total_target_variance_report.txt b/erpnext/selling/search_criteria/total_target_variance_report/total_target_variance_report.txt similarity index 100% rename from selling/search_criteria/total_target_variance_report/total_target_variance_report.txt rename to erpnext/selling/search_criteria/total_target_variance_report/total_target_variance_report.txt diff --git a/setup/__init__.py b/erpnext/selling/search_criteria/variance_report/__init__.py similarity index 100% rename from setup/__init__.py rename to erpnext/selling/search_criteria/variance_report/__init__.py diff --git a/selling/search_criteria/variance_report/variance_report.js b/erpnext/selling/search_criteria/variance_report/variance_report.js similarity index 100% rename from selling/search_criteria/variance_report/variance_report.js rename to erpnext/selling/search_criteria/variance_report/variance_report.js diff --git a/selling/search_criteria/variance_report/variance_report.py b/erpnext/selling/search_criteria/variance_report/variance_report.py similarity index 100% rename from selling/search_criteria/variance_report/variance_report.py rename to erpnext/selling/search_criteria/variance_report/variance_report.py diff --git a/selling/search_criteria/variance_report/variance_report.sql b/erpnext/selling/search_criteria/variance_report/variance_report.sql similarity index 100% rename from selling/search_criteria/variance_report/variance_report.sql rename to erpnext/selling/search_criteria/variance_report/variance_report.sql diff --git a/selling/search_criteria/variance_report/variance_report.txt b/erpnext/selling/search_criteria/variance_report/variance_report.txt similarity index 100% rename from selling/search_criteria/variance_report/variance_report.txt rename to erpnext/selling/search_criteria/variance_report/variance_report.txt diff --git a/setup/Module Def/Setup/Setup.txt b/erpnext/setup/Module Def/Setup/Setup.txt similarity index 100% rename from setup/Module Def/Setup/Setup.txt rename to erpnext/setup/Module Def/Setup/Setup.txt diff --git a/setup/Role/System Manager/System Manager.txt b/erpnext/setup/Role/System Manager/System Manager.txt similarity index 100% rename from setup/Role/System Manager/System Manager.txt rename to erpnext/setup/Role/System Manager/System Manager.txt diff --git a/setup/doctype/__init__.py b/erpnext/setup/__init__.py similarity index 100% rename from setup/doctype/__init__.py rename to erpnext/setup/__init__.py diff --git a/setup/doctype/authorization_control/__init__.py b/erpnext/setup/doctype/__init__.py similarity index 100% rename from setup/doctype/authorization_control/__init__.py rename to erpnext/setup/doctype/__init__.py diff --git a/setup/doctype/authorization_rule/__init__.py b/erpnext/setup/doctype/authorization_control/__init__.py similarity index 100% rename from setup/doctype/authorization_rule/__init__.py rename to erpnext/setup/doctype/authorization_control/__init__.py diff --git a/setup/doctype/authorization_control/authorization_control.js b/erpnext/setup/doctype/authorization_control/authorization_control.js similarity index 100% rename from setup/doctype/authorization_control/authorization_control.js rename to erpnext/setup/doctype/authorization_control/authorization_control.js diff --git a/setup/doctype/authorization_control/authorization_control.py b/erpnext/setup/doctype/authorization_control/authorization_control.py similarity index 100% rename from setup/doctype/authorization_control/authorization_control.py rename to erpnext/setup/doctype/authorization_control/authorization_control.py diff --git a/setup/doctype/authorization_control/authorization_control.txt b/erpnext/setup/doctype/authorization_control/authorization_control.txt similarity index 100% rename from setup/doctype/authorization_control/authorization_control.txt rename to erpnext/setup/doctype/authorization_control/authorization_control.txt diff --git a/setup/doctype/brand/__init__.py b/erpnext/setup/doctype/authorization_rule/__init__.py similarity index 100% rename from setup/doctype/brand/__init__.py rename to erpnext/setup/doctype/authorization_rule/__init__.py diff --git a/setup/doctype/authorization_rule/authorization_rule.js b/erpnext/setup/doctype/authorization_rule/authorization_rule.js similarity index 100% rename from setup/doctype/authorization_rule/authorization_rule.js rename to erpnext/setup/doctype/authorization_rule/authorization_rule.js diff --git a/setup/doctype/authorization_rule/authorization_rule.py b/erpnext/setup/doctype/authorization_rule/authorization_rule.py similarity index 100% rename from setup/doctype/authorization_rule/authorization_rule.py rename to erpnext/setup/doctype/authorization_rule/authorization_rule.py diff --git a/setup/doctype/authorization_rule/authorization_rule.txt b/erpnext/setup/doctype/authorization_rule/authorization_rule.txt similarity index 100% rename from setup/doctype/authorization_rule/authorization_rule.txt rename to erpnext/setup/doctype/authorization_rule/authorization_rule.txt diff --git a/setup/doctype/company/__init__.py b/erpnext/setup/doctype/brand/__init__.py similarity index 100% rename from setup/doctype/company/__init__.py rename to erpnext/setup/doctype/brand/__init__.py diff --git a/setup/doctype/brand/brand.js b/erpnext/setup/doctype/brand/brand.js similarity index 100% rename from setup/doctype/brand/brand.js rename to erpnext/setup/doctype/brand/brand.js diff --git a/setup/doctype/brand/brand.txt b/erpnext/setup/doctype/brand/brand.txt similarity index 100% rename from setup/doctype/brand/brand.txt rename to erpnext/setup/doctype/brand/brand.txt diff --git a/setup/doctype/contact_control/__init__.py b/erpnext/setup/doctype/company/__init__.py similarity index 100% rename from setup/doctype/contact_control/__init__.py rename to erpnext/setup/doctype/company/__init__.py diff --git a/setup/doctype/company/company.js b/erpnext/setup/doctype/company/company.js similarity index 100% rename from setup/doctype/company/company.js rename to erpnext/setup/doctype/company/company.js diff --git a/setup/doctype/company/company.py b/erpnext/setup/doctype/company/company.py similarity index 100% rename from setup/doctype/company/company.py rename to erpnext/setup/doctype/company/company.py diff --git a/setup/doctype/company/company.txt b/erpnext/setup/doctype/company/company.txt similarity index 100% rename from setup/doctype/company/company.txt rename to erpnext/setup/doctype/company/company.txt diff --git a/setup/doctype/country/__init__.py b/erpnext/setup/doctype/contact_control/__init__.py similarity index 100% rename from setup/doctype/country/__init__.py rename to erpnext/setup/doctype/contact_control/__init__.py diff --git a/setup/doctype/contact_control/contact_control.js b/erpnext/setup/doctype/contact_control/contact_control.js similarity index 100% rename from setup/doctype/contact_control/contact_control.js rename to erpnext/setup/doctype/contact_control/contact_control.js diff --git a/setup/doctype/contact_control/contact_control.py b/erpnext/setup/doctype/contact_control/contact_control.py similarity index 100% rename from setup/doctype/contact_control/contact_control.py rename to erpnext/setup/doctype/contact_control/contact_control.py diff --git a/setup/doctype/contact_control/contact_control.txt b/erpnext/setup/doctype/contact_control/contact_control.txt similarity index 100% rename from setup/doctype/contact_control/contact_control.txt rename to erpnext/setup/doctype/contact_control/contact_control.txt diff --git a/setup/doctype/currency/__init__.py b/erpnext/setup/doctype/country/__init__.py similarity index 100% rename from setup/doctype/currency/__init__.py rename to erpnext/setup/doctype/country/__init__.py diff --git a/setup/doctype/country/country.js b/erpnext/setup/doctype/country/country.js similarity index 100% rename from setup/doctype/country/country.js rename to erpnext/setup/doctype/country/country.js diff --git a/setup/doctype/country/country.txt b/erpnext/setup/doctype/country/country.txt similarity index 100% rename from setup/doctype/country/country.txt rename to erpnext/setup/doctype/country/country.txt diff --git a/setup/doctype/customer_group/__init__.py b/erpnext/setup/doctype/currency/__init__.py similarity index 100% rename from setup/doctype/customer_group/__init__.py rename to erpnext/setup/doctype/currency/__init__.py diff --git a/setup/doctype/currency/currency.txt b/erpnext/setup/doctype/currency/currency.txt similarity index 100% rename from setup/doctype/currency/currency.txt rename to erpnext/setup/doctype/currency/currency.txt diff --git a/setup/doctype/email_settings/__init__.py b/erpnext/setup/doctype/customer_group/__init__.py similarity index 100% rename from setup/doctype/email_settings/__init__.py rename to erpnext/setup/doctype/customer_group/__init__.py diff --git a/setup/doctype/customer_group/customer_group.js b/erpnext/setup/doctype/customer_group/customer_group.js similarity index 100% rename from setup/doctype/customer_group/customer_group.js rename to erpnext/setup/doctype/customer_group/customer_group.js diff --git a/setup/doctype/customer_group/customer_group.py b/erpnext/setup/doctype/customer_group/customer_group.py similarity index 100% rename from setup/doctype/customer_group/customer_group.py rename to erpnext/setup/doctype/customer_group/customer_group.py diff --git a/setup/doctype/customer_group/customer_group.txt b/erpnext/setup/doctype/customer_group/customer_group.txt similarity index 100% rename from setup/doctype/customer_group/customer_group.txt rename to erpnext/setup/doctype/customer_group/customer_group.txt diff --git a/setup/doctype/features_setup/__init__.py b/erpnext/setup/doctype/email_digest/__init__.py similarity index 100% rename from setup/doctype/features_setup/__init__.py rename to erpnext/setup/doctype/email_digest/__init__.py diff --git a/erpnext/setup/doctype/email_digest/email_digest.coffee b/erpnext/setup/doctype/email_digest/email_digest.coffee new file mode 100644 index 00000000000..1b17d5bb4fc --- /dev/null +++ b/erpnext/setup/doctype/email_digest/email_digest.coffee @@ -0,0 +1,101 @@ +content_items = ['Sales','Expenses','Bank Balance','Activity'] + +# make a grid with items and columns of checkboxes +# Parameters: +# parent +# label (main heading) +# items = [] (rows) +# columns = [] (columns of checks) +# widths +# description + +class CheckGrid + constructor: (@args) -> + $.extend @, args + @wrapper = $a @parent, 'div', 'check-grid round' + @render() + + render: -> + $a @wrapper, 'h3', 'check-grid-title', null, @label + + if @description + $a @wrapper, 'div', 'help-box', null, @description + + @tab = make_table @wrapper, @items.length + 1, @columns.length, '100%', @widths + @checks = {} + + # render heads + for i in [0..@columns.length-1] + $($td(@tab, 0, i)) + .addClass('check-grid-head gradient') + .html @columns[i] + + @render_rows() + + render_rows: -> + # render rows + for i in [0..@items.length-1] + $td(@tab, i+1, 0).innerHTML = @items[i] + + # render checkboxes for this row + @checks[@items[i]] = {} + for c in [1..@columns.length-1] + check = $a_input $td(@tab, i+1, c), 'checkbox' + + # tag keys to checkbox + check.item = @items[i] + check.column = @columns[c] + + # add in my checks + @checks[@items[i]][@columns[c]] = check + + # get the values of the checkbox in a double dict + get: => + val = {} + for item in keys @checks + for column in keys @checks[item] + check = @checks[item][column] + val[check.item] or= {} + val[check.item][check.column] = if check.checked then 1 else 0 + val + + # set the values of the grid + set: (val) => + for item in keys @checks + for column in keys @checks[item] + if val[item][column] + @checks[item][column] .checked = val[item][column] + return + +# attach it to onload +cx = cur_frm.cscript +cx.onload = (doc, dt, dn) -> + + # make the content grid + cx.content_grid = new CheckGrid + parent: cur_frm.fields_dict.Body.wrapper + label: 'Email Settings' + items: content_items + columns: ['Item','Daily','Weekly'] + widths: ['60%', '20%', '20%'] + description: 'Select items to be compiled for Email Digest' + + # make the email grid + cx.email_grid = new CheckGrid + parent: cur_frm.fields_dict.Body.wrapper + label: 'Send To' + items: ['test1@erpnext', 'test2@erpnext'] + columns: ['Email','Daily','Weekly'] + widths: ['60%', '20%', '20%'] + description: 'Select who gets daily and weekly mails' + + cx.content_grid.set JSON.parse doc.content_config if doc.content_config + cx.email_grid.set JSON.parse doc.email_config if doc.email_config + + return + +# update the data before sending +cx.validate = (doc, dt, dn) -> + doc.content_config = JSON.stringify cx.content_grid.get() + doc.email_config = JSON.stringify cx.email_grid.get() + \ No newline at end of file diff --git a/erpnext/setup/doctype/email_digest/email_digest.css b/erpnext/setup/doctype/email_digest/email_digest.css new file mode 100644 index 00000000000..f61dacc961d --- /dev/null +++ b/erpnext/setup/doctype/email_digest/email_digest.css @@ -0,0 +1,18 @@ + +div.check-grid { + margin: 17px; +} + +div.check-grid table { + border-collapse: collapse; +} + +div.check-grid table td { + padding: 3px; + border: 1px solid #aaa; +} + +td.check-grid-head { + font-weight: bold; + text-align: center; +} \ No newline at end of file diff --git a/erpnext/setup/doctype/email_digest/email_digest.js b/erpnext/setup/doctype/email_digest/email_digest.js new file mode 100644 index 00000000000..ddb13f473a7 --- /dev/null +++ b/erpnext/setup/doctype/email_digest/email_digest.js @@ -0,0 +1,108 @@ +(function() { + var CheckGrid, content_items, cx; + var __bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; }; + content_items = ['Sales', 'Expenses', 'Bank Balance', 'Activity']; + CheckGrid = (function() { + function CheckGrid(args) { + this.args = args; + this.set = __bind(this.set, this); + this.get = __bind(this.get, this); + $.extend(this, args); + this.wrapper = $a(this.parent, 'div', 'check-grid round'); + this.render(); + } + CheckGrid.prototype.render = function() { + var i, _ref; + $a(this.wrapper, 'h3', 'check-grid-title', null, this.label); + if (this.description) { + $a(this.wrapper, 'div', 'help-box', null, this.description); + } + this.tab = make_table(this.wrapper, this.items.length + 1, this.columns.length, '100%', this.widths); + this.checks = {}; + for (i = 0, _ref = this.columns.length - 1; 0 <= _ref ? i <= _ref : i >= _ref; 0 <= _ref ? i++ : i--) { + $($td(this.tab, 0, i)).addClass('check-grid-head gradient').html(this.columns[i]); + } + return this.render_rows(); + }; + CheckGrid.prototype.render_rows = function() { + var c, check, i, _ref, _results; + _results = []; + for (i = 0, _ref = this.items.length - 1; 0 <= _ref ? i <= _ref : i >= _ref; 0 <= _ref ? i++ : i--) { + $td(this.tab, i + 1, 0).innerHTML = this.items[i]; + this.checks[this.items[i]] = {}; + _results.push((function() { + var _ref2, _results2; + _results2 = []; + for (c = 1, _ref2 = this.columns.length - 1; 1 <= _ref2 ? c <= _ref2 : c >= _ref2; 1 <= _ref2 ? c++ : c--) { + check = $a_input($td(this.tab, i + 1, c), 'checkbox'); + check.item = this.items[i]; + check.column = this.columns[c]; + _results2.push(this.checks[this.items[i]][this.columns[c]] = check); + } + return _results2; + }).call(this)); + } + return _results; + }; + CheckGrid.prototype.get = function() { + var check, column, item, val, _i, _j, _len, _len2, _name, _ref, _ref2; + val = {}; + _ref = keys(this.checks); + for (_i = 0, _len = _ref.length; _i < _len; _i++) { + item = _ref[_i]; + _ref2 = keys(this.checks[item]); + for (_j = 0, _len2 = _ref2.length; _j < _len2; _j++) { + column = _ref2[_j]; + check = this.checks[item][column]; + val[_name = check.item] || (val[_name] = {}); + val[check.item][check.column] = check.checked ? 1 : 0; + } + } + return val; + }; + CheckGrid.prototype.set = function(val) { + var column, item, _i, _j, _len, _len2, _ref, _ref2; + _ref = keys(this.checks); + for (_i = 0, _len = _ref.length; _i < _len; _i++) { + item = _ref[_i]; + _ref2 = keys(this.checks[item]); + for (_j = 0, _len2 = _ref2.length; _j < _len2; _j++) { + column = _ref2[_j]; + if (val[item][column]) { + this.checks[item][column].checked = val[item][column]; + } + } + } + }; + return CheckGrid; + })(); + cx = cur_frm.cscript; + cx.onload = function(doc, dt, dn) { + cx.content_grid = new CheckGrid({ + parent: cur_frm.fields_dict.Body.wrapper, + label: 'Email Settings', + items: content_items, + columns: ['Item', 'Daily', 'Weekly'], + widths: ['60%', '20%', '20%'], + description: 'Select items to be compiled for Email Digest' + }); + cx.email_grid = new CheckGrid({ + parent: cur_frm.fields_dict.Body.wrapper, + label: 'Send To', + items: ['test1@erpnext', 'test2@erpnext'], + columns: ['Email', 'Daily', 'Weekly'], + widths: ['60%', '20%', '20%'], + description: 'Select who gets daily and weekly mails' + }); + if (doc.content_config) { + cx.content_grid.set(JSON.parse(doc.content_config)); + } + if (doc.email_config) { + cx.email_grid.set(JSON.parse(doc.email_config)); + } + }; + cx.validate = function(doc, dt, dn) { + doc.content_config = JSON.stringify(cx.content_grid.get()); + return doc.email_config = JSON.stringify(cx.email_grid.get()); + }; +}).call(this); diff --git a/erpnext/setup/doctype/email_digest/email_digest.txt b/erpnext/setup/doctype/email_digest/email_digest.txt new file mode 100644 index 00000000000..026caa7d6e7 --- /dev/null +++ b/erpnext/setup/doctype/email_digest/email_digest.txt @@ -0,0 +1,89 @@ +# DocType, Email Digest +[ + + # These values are common in all dictionaries + { + 'creation': '2011-07-27 14:23:09', + 'docstatus': 0, + 'modified': '2011-07-27 17:32:27', + 'modified_by': 'Administrator', + 'owner': 'Administrator' + }, + + # These values are common for all DocType + { + '_last_update': '1311760331', + 'colour': 'White:FFF', + 'doctype': 'DocType', + 'issingle': 1, + 'module': 'Setup', + 'name': '__common__', + 'section_style': 'Simple', + 'show_in_menu': 0, + 'version': 4 + }, + + # These values are common for all DocField + { + 'doctype': 'DocField', + 'name': '__common__', + 'parent': 'Email Digest', + 'parentfield': 'fields', + 'parenttype': 'DocType', + 'permlevel': 0 + }, + + # These values are common for all DocPerm + { + 'create': 1, + 'doctype': 'DocPerm', + 'idx': 1, + 'name': '__common__', + 'parent': 'Email Digest', + 'parentfield': 'permissions', + 'parenttype': 'DocType', + 'permlevel': 0, + 'read': 1, + 'role': 'Administrator', + 'write': 1 + }, + + # DocType, Email Digest + { + 'doctype': 'DocType', + 'name': 'Email Digest' + }, + + # DocPerm + { + 'doctype': 'DocPerm' + }, + + # DocField + { + 'doctype': 'DocField', + 'fieldtype': 'HTML', + 'idx': 1, + 'label': 'Body' + }, + + # DocField + { + 'doctype': 'DocField', + 'fieldname': 'content_config', + 'fieldtype': 'Text', + 'hidden': 1, + 'idx': 2, + 'label': 'Content Config' + }, + + # DocField + { + 'doctype': 'DocField', + 'fieldname': 'email_config', + 'fieldtype': 'Text', + 'hidden': 1, + 'idx': 3, + 'label': 'Email Config' + } +] \ No newline at end of file diff --git a/setup/doctype/import_data_control/__init__.py b/erpnext/setup/doctype/email_settings/__init__.py similarity index 100% rename from setup/doctype/import_data_control/__init__.py rename to erpnext/setup/doctype/email_settings/__init__.py diff --git a/setup/doctype/email_settings/email_settings.js b/erpnext/setup/doctype/email_settings/email_settings.js similarity index 100% rename from setup/doctype/email_settings/email_settings.js rename to erpnext/setup/doctype/email_settings/email_settings.js diff --git a/setup/doctype/email_settings/email_settings.py b/erpnext/setup/doctype/email_settings/email_settings.py similarity index 100% rename from setup/doctype/email_settings/email_settings.py rename to erpnext/setup/doctype/email_settings/email_settings.py diff --git a/setup/doctype/email_settings/email_settings.txt b/erpnext/setup/doctype/email_settings/email_settings.txt similarity index 100% rename from setup/doctype/email_settings/email_settings.txt rename to erpnext/setup/doctype/email_settings/email_settings.txt diff --git a/setup/doctype/item_group/__init__.py b/erpnext/setup/doctype/features_setup/__init__.py similarity index 100% rename from setup/doctype/item_group/__init__.py rename to erpnext/setup/doctype/features_setup/__init__.py diff --git a/setup/doctype/features_setup/features_setup.py b/erpnext/setup/doctype/features_setup/features_setup.py similarity index 100% rename from setup/doctype/features_setup/features_setup.py rename to erpnext/setup/doctype/features_setup/features_setup.py diff --git a/setup/doctype/features_setup/features_setup.txt b/erpnext/setup/doctype/features_setup/features_setup.txt similarity index 100% rename from setup/doctype/features_setup/features_setup.txt rename to erpnext/setup/doctype/features_setup/features_setup.txt diff --git a/setup/doctype/manage_account/__init__.py b/erpnext/setup/doctype/import_data_control/__init__.py similarity index 100% rename from setup/doctype/manage_account/__init__.py rename to erpnext/setup/doctype/import_data_control/__init__.py diff --git a/setup/doctype/import_data_control/import_data_control.py b/erpnext/setup/doctype/import_data_control/import_data_control.py similarity index 100% rename from setup/doctype/import_data_control/import_data_control.py rename to erpnext/setup/doctype/import_data_control/import_data_control.py diff --git a/setup/doctype/import_data_control/import_data_control.txt b/erpnext/setup/doctype/import_data_control/import_data_control.txt similarity index 100% rename from setup/doctype/import_data_control/import_data_control.txt rename to erpnext/setup/doctype/import_data_control/import_data_control.txt diff --git a/setup/doctype/market_segment/__init__.py b/erpnext/setup/doctype/item_group/__init__.py similarity index 100% rename from setup/doctype/market_segment/__init__.py rename to erpnext/setup/doctype/item_group/__init__.py diff --git a/setup/doctype/item_group/item_group.js b/erpnext/setup/doctype/item_group/item_group.js similarity index 100% rename from setup/doctype/item_group/item_group.js rename to erpnext/setup/doctype/item_group/item_group.js diff --git a/setup/doctype/item_group/item_group.py b/erpnext/setup/doctype/item_group/item_group.py similarity index 100% rename from setup/doctype/item_group/item_group.py rename to erpnext/setup/doctype/item_group/item_group.py diff --git a/setup/doctype/item_group/item_group.txt b/erpnext/setup/doctype/item_group/item_group.txt similarity index 100% rename from setup/doctype/item_group/item_group.txt rename to erpnext/setup/doctype/item_group/item_group.txt diff --git a/setup/doctype/naming_series/__init__.py b/erpnext/setup/doctype/manage_account/__init__.py similarity index 100% rename from setup/doctype/naming_series/__init__.py rename to erpnext/setup/doctype/manage_account/__init__.py diff --git a/setup/doctype/manage_account/manage_account.js b/erpnext/setup/doctype/manage_account/manage_account.js similarity index 100% rename from setup/doctype/manage_account/manage_account.js rename to erpnext/setup/doctype/manage_account/manage_account.js diff --git a/setup/doctype/manage_account/manage_account.py b/erpnext/setup/doctype/manage_account/manage_account.py similarity index 100% rename from setup/doctype/manage_account/manage_account.py rename to erpnext/setup/doctype/manage_account/manage_account.py diff --git a/setup/doctype/manage_account/manage_account.txt b/erpnext/setup/doctype/manage_account/manage_account.txt similarity index 100% rename from setup/doctype/manage_account/manage_account.txt rename to erpnext/setup/doctype/manage_account/manage_account.txt diff --git a/setup/doctype/naming_series_options/__init__.py b/erpnext/setup/doctype/market_segment/__init__.py similarity index 100% rename from setup/doctype/naming_series_options/__init__.py rename to erpnext/setup/doctype/market_segment/__init__.py diff --git a/setup/doctype/market_segment/market_segment.txt b/erpnext/setup/doctype/market_segment/market_segment.txt similarity index 100% rename from setup/doctype/market_segment/market_segment.txt rename to erpnext/setup/doctype/market_segment/market_segment.txt diff --git a/setup/doctype/notification_control/__init__.py b/erpnext/setup/doctype/naming_series/__init__.py similarity index 100% rename from setup/doctype/notification_control/__init__.py rename to erpnext/setup/doctype/naming_series/__init__.py diff --git a/setup/doctype/naming_series/naming_series.js b/erpnext/setup/doctype/naming_series/naming_series.js similarity index 100% rename from setup/doctype/naming_series/naming_series.js rename to erpnext/setup/doctype/naming_series/naming_series.js diff --git a/setup/doctype/naming_series/naming_series.py b/erpnext/setup/doctype/naming_series/naming_series.py similarity index 100% rename from setup/doctype/naming_series/naming_series.py rename to erpnext/setup/doctype/naming_series/naming_series.py diff --git a/setup/doctype/naming_series/naming_series.txt b/erpnext/setup/doctype/naming_series/naming_series.txt similarity index 100% rename from setup/doctype/naming_series/naming_series.txt rename to erpnext/setup/doctype/naming_series/naming_series.txt diff --git a/setup/doctype/order_lost_reason/__init__.py b/erpnext/setup/doctype/naming_series_options/__init__.py similarity index 100% rename from setup/doctype/order_lost_reason/__init__.py rename to erpnext/setup/doctype/naming_series_options/__init__.py diff --git a/setup/doctype/naming_series_options/naming_series_options.txt b/erpnext/setup/doctype/naming_series_options/naming_series_options.txt similarity index 100% rename from setup/doctype/naming_series_options/naming_series_options.txt rename to erpnext/setup/doctype/naming_series_options/naming_series_options.txt diff --git a/setup/doctype/other_charges/__init__.py b/erpnext/setup/doctype/notification_control/__init__.py similarity index 100% rename from setup/doctype/other_charges/__init__.py rename to erpnext/setup/doctype/notification_control/__init__.py diff --git a/setup/doctype/notification_control/notification_control.js b/erpnext/setup/doctype/notification_control/notification_control.js similarity index 100% rename from setup/doctype/notification_control/notification_control.js rename to erpnext/setup/doctype/notification_control/notification_control.js diff --git a/setup/doctype/notification_control/notification_control.py b/erpnext/setup/doctype/notification_control/notification_control.py similarity index 100% rename from setup/doctype/notification_control/notification_control.py rename to erpnext/setup/doctype/notification_control/notification_control.py diff --git a/setup/doctype/notification_control/notification_control.txt b/erpnext/setup/doctype/notification_control/notification_control.txt similarity index 100% rename from setup/doctype/notification_control/notification_control.txt rename to erpnext/setup/doctype/notification_control/notification_control.txt diff --git a/setup/doctype/period/__init__.py b/erpnext/setup/doctype/order_lost_reason/__init__.py similarity index 100% rename from setup/doctype/period/__init__.py rename to erpnext/setup/doctype/order_lost_reason/__init__.py diff --git a/setup/doctype/order_lost_reason/order_lost_reason.js b/erpnext/setup/doctype/order_lost_reason/order_lost_reason.js similarity index 100% rename from setup/doctype/order_lost_reason/order_lost_reason.js rename to erpnext/setup/doctype/order_lost_reason/order_lost_reason.js diff --git a/setup/doctype/order_lost_reason/order_lost_reason.txt b/erpnext/setup/doctype/order_lost_reason/order_lost_reason.txt similarity index 100% rename from setup/doctype/order_lost_reason/order_lost_reason.txt rename to erpnext/setup/doctype/order_lost_reason/order_lost_reason.txt diff --git a/setup/doctype/period_control/__init__.py b/erpnext/setup/doctype/other_charges/__init__.py similarity index 100% rename from setup/doctype/period_control/__init__.py rename to erpnext/setup/doctype/other_charges/__init__.py diff --git a/setup/doctype/other_charges/other_charges.js b/erpnext/setup/doctype/other_charges/other_charges.js similarity index 100% rename from setup/doctype/other_charges/other_charges.js rename to erpnext/setup/doctype/other_charges/other_charges.js diff --git a/setup/doctype/other_charges/other_charges.py b/erpnext/setup/doctype/other_charges/other_charges.py similarity index 100% rename from setup/doctype/other_charges/other_charges.py rename to erpnext/setup/doctype/other_charges/other_charges.py diff --git a/setup/doctype/other_charges/other_charges.txt b/erpnext/setup/doctype/other_charges/other_charges.txt similarity index 100% rename from setup/doctype/other_charges/other_charges.txt rename to erpnext/setup/doctype/other_charges/other_charges.txt diff --git a/setup/doctype/permission_control/__init__.py b/erpnext/setup/doctype/period/__init__.py similarity index 100% rename from setup/doctype/permission_control/__init__.py rename to erpnext/setup/doctype/period/__init__.py diff --git a/setup/doctype/period/period.js b/erpnext/setup/doctype/period/period.js similarity index 100% rename from setup/doctype/period/period.js rename to erpnext/setup/doctype/period/period.js diff --git a/setup/doctype/period/period.txt b/erpnext/setup/doctype/period/period.txt similarity index 100% rename from setup/doctype/period/period.txt rename to erpnext/setup/doctype/period/period.txt diff --git a/setup/doctype/personalize/__init__.py b/erpnext/setup/doctype/period_control/__init__.py similarity index 100% rename from setup/doctype/personalize/__init__.py rename to erpnext/setup/doctype/period_control/__init__.py diff --git a/setup/doctype/period_control/period_control.py b/erpnext/setup/doctype/period_control/period_control.py similarity index 100% rename from setup/doctype/period_control/period_control.py rename to erpnext/setup/doctype/period_control/period_control.py diff --git a/setup/doctype/period_control/period_control.txt b/erpnext/setup/doctype/period_control/period_control.txt similarity index 100% rename from setup/doctype/period_control/period_control.txt rename to erpnext/setup/doctype/period_control/period_control.txt diff --git a/setup/doctype/price_list/__init__.py b/erpnext/setup/doctype/permission_control/__init__.py similarity index 100% rename from setup/doctype/price_list/__init__.py rename to erpnext/setup/doctype/permission_control/__init__.py diff --git a/setup/doctype/permission_control/permission_control.py b/erpnext/setup/doctype/permission_control/permission_control.py similarity index 100% rename from setup/doctype/permission_control/permission_control.py rename to erpnext/setup/doctype/permission_control/permission_control.py diff --git a/setup/doctype/permission_control/permission_control.txt b/erpnext/setup/doctype/permission_control/permission_control.txt similarity index 100% rename from setup/doctype/permission_control/permission_control.txt rename to erpnext/setup/doctype/permission_control/permission_control.txt diff --git a/setup/doctype/print_heading/__init__.py b/erpnext/setup/doctype/personalize/__init__.py similarity index 100% rename from setup/doctype/print_heading/__init__.py rename to erpnext/setup/doctype/personalize/__init__.py diff --git a/setup/doctype/personalize/personalize.py b/erpnext/setup/doctype/personalize/personalize.py similarity index 100% rename from setup/doctype/personalize/personalize.py rename to erpnext/setup/doctype/personalize/personalize.py diff --git a/setup/doctype/personalize/personalize.txt b/erpnext/setup/doctype/personalize/personalize.txt similarity index 100% rename from setup/doctype/personalize/personalize.txt rename to erpnext/setup/doctype/personalize/personalize.txt diff --git a/setup/doctype/role/__init__.py b/erpnext/setup/doctype/price_list/__init__.py similarity index 100% rename from setup/doctype/role/__init__.py rename to erpnext/setup/doctype/price_list/__init__.py diff --git a/setup/doctype/price_list/price_list.js b/erpnext/setup/doctype/price_list/price_list.js similarity index 100% rename from setup/doctype/price_list/price_list.js rename to erpnext/setup/doctype/price_list/price_list.js diff --git a/setup/doctype/price_list/price_list.py b/erpnext/setup/doctype/price_list/price_list.py similarity index 100% rename from setup/doctype/price_list/price_list.py rename to erpnext/setup/doctype/price_list/price_list.py diff --git a/setup/doctype/price_list/price_list.txt b/erpnext/setup/doctype/price_list/price_list.txt similarity index 100% rename from setup/doctype/price_list/price_list.txt rename to erpnext/setup/doctype/price_list/price_list.txt diff --git a/setup/doctype/sales_browser_control/__init__.py b/erpnext/setup/doctype/print_heading/__init__.py similarity index 100% rename from setup/doctype/sales_browser_control/__init__.py rename to erpnext/setup/doctype/print_heading/__init__.py diff --git a/setup/doctype/print_heading/print_heading.js b/erpnext/setup/doctype/print_heading/print_heading.js similarity index 100% rename from setup/doctype/print_heading/print_heading.js rename to erpnext/setup/doctype/print_heading/print_heading.js diff --git a/setup/doctype/print_heading/print_heading.py b/erpnext/setup/doctype/print_heading/print_heading.py similarity index 100% rename from setup/doctype/print_heading/print_heading.py rename to erpnext/setup/doctype/print_heading/print_heading.py diff --git a/setup/doctype/print_heading/print_heading.txt b/erpnext/setup/doctype/print_heading/print_heading.txt similarity index 100% rename from setup/doctype/print_heading/print_heading.txt rename to erpnext/setup/doctype/print_heading/print_heading.txt diff --git a/setup/doctype/sales_partner/__init__.py b/erpnext/setup/doctype/role/__init__.py similarity index 100% rename from setup/doctype/sales_partner/__init__.py rename to erpnext/setup/doctype/role/__init__.py diff --git a/setup/doctype/role/role.js b/erpnext/setup/doctype/role/role.js similarity index 100% rename from setup/doctype/role/role.js rename to erpnext/setup/doctype/role/role.js diff --git a/setup/doctype/role/role.py b/erpnext/setup/doctype/role/role.py similarity index 100% rename from setup/doctype/role/role.py rename to erpnext/setup/doctype/role/role.py diff --git a/setup/doctype/role/role.txt b/erpnext/setup/doctype/role/role.txt similarity index 100% rename from setup/doctype/role/role.txt rename to erpnext/setup/doctype/role/role.txt diff --git a/setup/doctype/sales_person/__init__.py b/erpnext/setup/doctype/sales_browser_control/__init__.py similarity index 100% rename from setup/doctype/sales_person/__init__.py rename to erpnext/setup/doctype/sales_browser_control/__init__.py diff --git a/setup/doctype/sales_browser_control/sales_browser_control.py b/erpnext/setup/doctype/sales_browser_control/sales_browser_control.py similarity index 100% rename from setup/doctype/sales_browser_control/sales_browser_control.py rename to erpnext/setup/doctype/sales_browser_control/sales_browser_control.py diff --git a/setup/doctype/sales_browser_control/sales_browser_control.txt b/erpnext/setup/doctype/sales_browser_control/sales_browser_control.txt similarity index 100% rename from setup/doctype/sales_browser_control/sales_browser_control.txt rename to erpnext/setup/doctype/sales_browser_control/sales_browser_control.txt diff --git a/setup/doctype/series_detail/__init__.py b/erpnext/setup/doctype/sales_partner/__init__.py similarity index 100% rename from setup/doctype/series_detail/__init__.py rename to erpnext/setup/doctype/sales_partner/__init__.py diff --git a/setup/doctype/sales_partner/sales_partner.js b/erpnext/setup/doctype/sales_partner/sales_partner.js similarity index 100% rename from setup/doctype/sales_partner/sales_partner.js rename to erpnext/setup/doctype/sales_partner/sales_partner.js diff --git a/setup/doctype/sales_partner/sales_partner.py b/erpnext/setup/doctype/sales_partner/sales_partner.py similarity index 100% rename from setup/doctype/sales_partner/sales_partner.py rename to erpnext/setup/doctype/sales_partner/sales_partner.py diff --git a/setup/doctype/sales_partner/sales_partner.txt b/erpnext/setup/doctype/sales_partner/sales_partner.txt similarity index 100% rename from setup/doctype/sales_partner/sales_partner.txt rename to erpnext/setup/doctype/sales_partner/sales_partner.txt diff --git a/setup/doctype/setup_control/__init__.py b/erpnext/setup/doctype/sales_person/__init__.py similarity index 100% rename from setup/doctype/setup_control/__init__.py rename to erpnext/setup/doctype/sales_person/__init__.py diff --git a/setup/doctype/sales_person/sales_person.js b/erpnext/setup/doctype/sales_person/sales_person.js similarity index 100% rename from setup/doctype/sales_person/sales_person.js rename to erpnext/setup/doctype/sales_person/sales_person.js diff --git a/setup/doctype/sales_person/sales_person.py b/erpnext/setup/doctype/sales_person/sales_person.py similarity index 100% rename from setup/doctype/sales_person/sales_person.py rename to erpnext/setup/doctype/sales_person/sales_person.py diff --git a/setup/doctype/sales_person/sales_person.txt b/erpnext/setup/doctype/sales_person/sales_person.txt similarity index 100% rename from setup/doctype/sales_person/sales_person.txt rename to erpnext/setup/doctype/sales_person/sales_person.txt diff --git a/setup/doctype/setup_wizard_control/__init__.py b/erpnext/setup/doctype/series_detail/__init__.py similarity index 100% rename from setup/doctype/setup_wizard_control/__init__.py rename to erpnext/setup/doctype/series_detail/__init__.py diff --git a/setup/doctype/series_detail/series_detail.txt b/erpnext/setup/doctype/series_detail/series_detail.txt similarity index 100% rename from setup/doctype/series_detail/series_detail.txt rename to erpnext/setup/doctype/series_detail/series_detail.txt diff --git a/setup/doctype/sms_settings/__init__.py b/erpnext/setup/doctype/setup_control/__init__.py old mode 100755 new mode 100644 similarity index 100% rename from setup/doctype/sms_settings/__init__.py rename to erpnext/setup/doctype/setup_control/__init__.py diff --git a/setup/doctype/setup_control/setup_control.py b/erpnext/setup/doctype/setup_control/setup_control.py similarity index 97% rename from setup/doctype/setup_control/setup_control.py rename to erpnext/setup/doctype/setup_control/setup_control.py index 61e3a82cb3c..428c4345bd0 100644 --- a/setup/doctype/setup_control/setup_control.py +++ b/erpnext/setup/doctype/setup_control/setup_control.py @@ -52,8 +52,7 @@ class DocType: self.currency = currency # Fiscal Year - master_dict = {'Fiscal Year':{'year':curr_fiscal_year, - 'year_start_date':fy_start_date}} + master_dict = {'Fiscal Year':{'year':curr_fiscal_year, 'year_start_date':fy_start_date}} self.create_records(master_dict) # Company @@ -85,6 +84,8 @@ class DocType: # Set Registration Complete set_default('registration_complete','1') + webnotes.msgprint("Great! Your company has now been created") + import webnotes.utils return webnotes.utils.get_defaults() diff --git a/setup/doctype/setup_control/setup_control.txt b/erpnext/setup/doctype/setup_control/setup_control.txt similarity index 100% rename from setup/doctype/setup_control/setup_control.txt rename to erpnext/setup/doctype/setup_control/setup_control.txt diff --git a/setup/doctype/state/__init__.py b/erpnext/setup/doctype/setup_wizard_control/__init__.py similarity index 100% rename from setup/doctype/state/__init__.py rename to erpnext/setup/doctype/setup_wizard_control/__init__.py diff --git a/setup/doctype/setup_wizard_control/setup_wizard_control.py b/erpnext/setup/doctype/setup_wizard_control/setup_wizard_control.py similarity index 100% rename from setup/doctype/setup_wizard_control/setup_wizard_control.py rename to erpnext/setup/doctype/setup_wizard_control/setup_wizard_control.py diff --git a/setup/doctype/setup_wizard_control/setup_wizard_control.txt b/erpnext/setup/doctype/setup_wizard_control/setup_wizard_control.txt similarity index 100% rename from setup/doctype/setup_wizard_control/setup_wizard_control.txt rename to erpnext/setup/doctype/setup_wizard_control/setup_wizard_control.txt diff --git a/setup/doctype/static_parameter_detail/__init__.py b/erpnext/setup/doctype/sms_settings/__init__.py similarity index 100% rename from setup/doctype/static_parameter_detail/__init__.py rename to erpnext/setup/doctype/sms_settings/__init__.py diff --git a/setup/doctype/sms_settings/sms_settings.txt b/erpnext/setup/doctype/sms_settings/sms_settings.txt similarity index 100% rename from setup/doctype/sms_settings/sms_settings.txt rename to erpnext/setup/doctype/sms_settings/sms_settings.txt diff --git a/setup/doctype/supplier_type/__init__.py b/erpnext/setup/doctype/state/__init__.py similarity index 100% rename from setup/doctype/supplier_type/__init__.py rename to erpnext/setup/doctype/state/__init__.py diff --git a/setup/doctype/state/state.js b/erpnext/setup/doctype/state/state.js similarity index 100% rename from setup/doctype/state/state.js rename to erpnext/setup/doctype/state/state.js diff --git a/setup/doctype/state/state.txt b/erpnext/setup/doctype/state/state.txt similarity index 100% rename from setup/doctype/state/state.txt rename to erpnext/setup/doctype/state/state.txt diff --git a/setup/doctype/target_detail/__init__.py b/erpnext/setup/doctype/static_parameter_detail/__init__.py old mode 100644 new mode 100755 similarity index 100% rename from setup/doctype/target_detail/__init__.py rename to erpnext/setup/doctype/static_parameter_detail/__init__.py diff --git a/setup/doctype/static_parameter_detail/static_parameter_detail.txt b/erpnext/setup/doctype/static_parameter_detail/static_parameter_detail.txt similarity index 100% rename from setup/doctype/static_parameter_detail/static_parameter_detail.txt rename to erpnext/setup/doctype/static_parameter_detail/static_parameter_detail.txt diff --git a/setup/doctype/term/__init__.py b/erpnext/setup/doctype/supplier_type/__init__.py similarity index 100% rename from setup/doctype/term/__init__.py rename to erpnext/setup/doctype/supplier_type/__init__.py diff --git a/setup/doctype/supplier_type/supplier_type.js b/erpnext/setup/doctype/supplier_type/supplier_type.js similarity index 100% rename from setup/doctype/supplier_type/supplier_type.js rename to erpnext/setup/doctype/supplier_type/supplier_type.js diff --git a/setup/doctype/supplier_type/supplier_type.txt b/erpnext/setup/doctype/supplier_type/supplier_type.txt similarity index 100% rename from setup/doctype/supplier_type/supplier_type.txt rename to erpnext/setup/doctype/supplier_type/supplier_type.txt diff --git a/setup/doctype/territory/__init__.py b/erpnext/setup/doctype/target_detail/__init__.py similarity index 100% rename from setup/doctype/territory/__init__.py rename to erpnext/setup/doctype/target_detail/__init__.py diff --git a/setup/doctype/target_detail/target_detail.txt b/erpnext/setup/doctype/target_detail/target_detail.txt similarity index 100% rename from setup/doctype/target_detail/target_detail.txt rename to erpnext/setup/doctype/target_detail/target_detail.txt diff --git a/setup/doctype/uom/__init__.py b/erpnext/setup/doctype/term/__init__.py similarity index 100% rename from setup/doctype/uom/__init__.py rename to erpnext/setup/doctype/term/__init__.py diff --git a/setup/doctype/term/term.js b/erpnext/setup/doctype/term/term.js similarity index 100% rename from setup/doctype/term/term.js rename to erpnext/setup/doctype/term/term.js diff --git a/setup/doctype/term/term.txt b/erpnext/setup/doctype/term/term.txt similarity index 100% rename from setup/doctype/term/term.txt rename to erpnext/setup/doctype/term/term.txt diff --git a/setup/doctype/update_series/__init__.py b/erpnext/setup/doctype/territory/__init__.py similarity index 100% rename from setup/doctype/update_series/__init__.py rename to erpnext/setup/doctype/territory/__init__.py diff --git a/setup/doctype/territory/territory.js b/erpnext/setup/doctype/territory/territory.js similarity index 100% rename from setup/doctype/territory/territory.js rename to erpnext/setup/doctype/territory/territory.js diff --git a/setup/doctype/territory/territory.py b/erpnext/setup/doctype/territory/territory.py similarity index 100% rename from setup/doctype/territory/territory.py rename to erpnext/setup/doctype/territory/territory.py diff --git a/setup/doctype/territory/territory.txt b/erpnext/setup/doctype/territory/territory.txt similarity index 100% rename from setup/doctype/territory/territory.txt rename to erpnext/setup/doctype/territory/territory.txt diff --git a/setup/doctype/upload_accounts_transactions/__init__.py b/erpnext/setup/doctype/uom/__init__.py similarity index 100% rename from setup/doctype/upload_accounts_transactions/__init__.py rename to erpnext/setup/doctype/uom/__init__.py diff --git a/setup/doctype/uom/uom.js b/erpnext/setup/doctype/uom/uom.js similarity index 100% rename from setup/doctype/uom/uom.js rename to erpnext/setup/doctype/uom/uom.js diff --git a/setup/doctype/uom/uom.txt b/erpnext/setup/doctype/uom/uom.txt similarity index 100% rename from setup/doctype/uom/uom.txt rename to erpnext/setup/doctype/uom/uom.txt diff --git a/setup/doctype/warehouse_type/__init__.py b/erpnext/setup/doctype/update_series/__init__.py similarity index 100% rename from setup/doctype/warehouse_type/__init__.py rename to erpnext/setup/doctype/update_series/__init__.py diff --git a/setup/doctype/update_series/update_series.py b/erpnext/setup/doctype/update_series/update_series.py similarity index 100% rename from setup/doctype/update_series/update_series.py rename to erpnext/setup/doctype/update_series/update_series.py diff --git a/setup/doctype/update_series/update_series.txt b/erpnext/setup/doctype/update_series/update_series.txt similarity index 100% rename from setup/doctype/update_series/update_series.txt rename to erpnext/setup/doctype/update_series/update_series.txt diff --git a/setup/doctype/workflow_action_detail/__init__.py b/erpnext/setup/doctype/upload_accounts_transactions/__init__.py similarity index 100% rename from setup/doctype/workflow_action_detail/__init__.py rename to erpnext/setup/doctype/upload_accounts_transactions/__init__.py diff --git a/setup/doctype/upload_accounts_transactions/upload_accounts_transactions.js b/erpnext/setup/doctype/upload_accounts_transactions/upload_accounts_transactions.js similarity index 100% rename from setup/doctype/upload_accounts_transactions/upload_accounts_transactions.js rename to erpnext/setup/doctype/upload_accounts_transactions/upload_accounts_transactions.js diff --git a/setup/doctype/upload_accounts_transactions/upload_accounts_transactions.py b/erpnext/setup/doctype/upload_accounts_transactions/upload_accounts_transactions.py similarity index 100% rename from setup/doctype/upload_accounts_transactions/upload_accounts_transactions.py rename to erpnext/setup/doctype/upload_accounts_transactions/upload_accounts_transactions.py diff --git a/setup/doctype/upload_accounts_transactions/upload_accounts_transactions.txt b/erpnext/setup/doctype/upload_accounts_transactions/upload_accounts_transactions.txt similarity index 100% rename from setup/doctype/upload_accounts_transactions/upload_accounts_transactions.txt rename to erpnext/setup/doctype/upload_accounts_transactions/upload_accounts_transactions.txt diff --git a/setup/doctype/workflow_engine/__init__.py b/erpnext/setup/doctype/warehouse_type/__init__.py similarity index 100% rename from setup/doctype/workflow_engine/__init__.py rename to erpnext/setup/doctype/warehouse_type/__init__.py diff --git a/setup/doctype/warehouse_type/warehouse_type.js b/erpnext/setup/doctype/warehouse_type/warehouse_type.js similarity index 100% rename from setup/doctype/warehouse_type/warehouse_type.js rename to erpnext/setup/doctype/warehouse_type/warehouse_type.js diff --git a/setup/doctype/warehouse_type/warehouse_type.txt b/erpnext/setup/doctype/warehouse_type/warehouse_type.txt similarity index 100% rename from setup/doctype/warehouse_type/warehouse_type.txt rename to erpnext/setup/doctype/warehouse_type/warehouse_type.txt diff --git a/setup/doctype/workflow_rule/__init__.py b/erpnext/setup/doctype/workflow_action_detail/__init__.py similarity index 100% rename from setup/doctype/workflow_rule/__init__.py rename to erpnext/setup/doctype/workflow_action_detail/__init__.py diff --git a/setup/doctype/workflow_action_detail/workflow_action_detail.txt b/erpnext/setup/doctype/workflow_action_detail/workflow_action_detail.txt similarity index 100% rename from setup/doctype/workflow_action_detail/workflow_action_detail.txt rename to erpnext/setup/doctype/workflow_action_detail/workflow_action_detail.txt diff --git a/setup/doctype/workflow_rule_detail/__init__.py b/erpnext/setup/doctype/workflow_engine/__init__.py similarity index 100% rename from setup/doctype/workflow_rule_detail/__init__.py rename to erpnext/setup/doctype/workflow_engine/__init__.py diff --git a/setup/doctype/workflow_engine/workflow_engine.py b/erpnext/setup/doctype/workflow_engine/workflow_engine.py similarity index 100% rename from setup/doctype/workflow_engine/workflow_engine.py rename to erpnext/setup/doctype/workflow_engine/workflow_engine.py diff --git a/setup/doctype/workflow_engine/workflow_engine.txt b/erpnext/setup/doctype/workflow_engine/workflow_engine.txt similarity index 100% rename from setup/doctype/workflow_engine/workflow_engine.txt rename to erpnext/setup/doctype/workflow_engine/workflow_engine.txt diff --git a/setup/page/__init__.py b/erpnext/setup/doctype/workflow_rule/__init__.py similarity index 100% rename from setup/page/__init__.py rename to erpnext/setup/doctype/workflow_rule/__init__.py diff --git a/setup/doctype/workflow_rule/workflow_rule.js b/erpnext/setup/doctype/workflow_rule/workflow_rule.js similarity index 100% rename from setup/doctype/workflow_rule/workflow_rule.js rename to erpnext/setup/doctype/workflow_rule/workflow_rule.js diff --git a/setup/doctype/workflow_rule/workflow_rule.py b/erpnext/setup/doctype/workflow_rule/workflow_rule.py similarity index 100% rename from setup/doctype/workflow_rule/workflow_rule.py rename to erpnext/setup/doctype/workflow_rule/workflow_rule.py diff --git a/setup/doctype/workflow_rule/workflow_rule.txt b/erpnext/setup/doctype/workflow_rule/workflow_rule.txt similarity index 100% rename from setup/doctype/workflow_rule/workflow_rule.txt rename to erpnext/setup/doctype/workflow_rule/workflow_rule.txt diff --git a/setup/page/import_data/__init__.py b/erpnext/setup/doctype/workflow_rule_detail/__init__.py similarity index 100% rename from setup/page/import_data/__init__.py rename to erpnext/setup/doctype/workflow_rule_detail/__init__.py diff --git a/setup/doctype/workflow_rule_detail/workflow_rule_detail.txt b/erpnext/setup/doctype/workflow_rule_detail/workflow_rule_detail.txt similarity index 100% rename from setup/doctype/workflow_rule_detail/workflow_rule_detail.txt rename to erpnext/setup/doctype/workflow_rule_detail/workflow_rule_detail.txt diff --git a/setup/page/people/__init__.py b/erpnext/setup/page/__init__.py similarity index 100% rename from setup/page/people/__init__.py rename to erpnext/setup/page/__init__.py diff --git a/setup/page/permission_engine/__init__.py b/erpnext/setup/page/import_data/__init__.py similarity index 100% rename from setup/page/permission_engine/__init__.py rename to erpnext/setup/page/import_data/__init__.py diff --git a/setup/page/import_data/import_data.html b/erpnext/setup/page/import_data/import_data.html similarity index 94% rename from setup/page/import_data/import_data.html rename to erpnext/setup/page/import_data/import_data.html index 5b30dd28cf5..d227c2c0beb 100644 --- a/setup/page/import_data/import_data.html +++ b/erpnext/setup/page/import_data/import_data.html @@ -45,7 +45,7 @@

Import Log:

- +
diff --git a/setup/page/import_data/import_data.js b/erpnext/setup/page/import_data/import_data.js similarity index 100% rename from setup/page/import_data/import_data.js rename to erpnext/setup/page/import_data/import_data.js diff --git a/setup/page/import_data/import_data.txt b/erpnext/setup/page/import_data/import_data.txt similarity index 100% rename from setup/page/import_data/import_data.txt rename to erpnext/setup/page/import_data/import_data.txt diff --git a/setup/page/setup/__init__.py b/erpnext/setup/page/people/__init__.py similarity index 100% rename from setup/page/setup/__init__.py rename to erpnext/setup/page/people/__init__.py diff --git a/setup/page/people/people.html b/erpnext/setup/page/people/people.html similarity index 100% rename from setup/page/people/people.html rename to erpnext/setup/page/people/people.html diff --git a/setup/page/people/people.js b/erpnext/setup/page/people/people.js similarity index 100% rename from setup/page/people/people.js rename to erpnext/setup/page/people/people.js diff --git a/setup/page/people/people.txt b/erpnext/setup/page/people/people.txt similarity index 100% rename from setup/page/people/people.txt rename to erpnext/setup/page/people/people.txt diff --git a/setup/page/setup_wizard/__init__.py b/erpnext/setup/page/permission_engine/__init__.py similarity index 100% rename from setup/page/setup_wizard/__init__.py rename to erpnext/setup/page/permission_engine/__init__.py diff --git a/setup/page/permission_engine/permission_engine.html b/erpnext/setup/page/permission_engine/permission_engine.html similarity index 100% rename from setup/page/permission_engine/permission_engine.html rename to erpnext/setup/page/permission_engine/permission_engine.html diff --git a/setup/page/permission_engine/permission_engine.js b/erpnext/setup/page/permission_engine/permission_engine.js similarity index 100% rename from setup/page/permission_engine/permission_engine.js rename to erpnext/setup/page/permission_engine/permission_engine.js diff --git a/setup/page/permission_engine/permission_engine.txt b/erpnext/setup/page/permission_engine/permission_engine.txt similarity index 100% rename from setup/page/permission_engine/permission_engine.txt rename to erpnext/setup/page/permission_engine/permission_engine.txt diff --git a/setup/page/webforms/__init__.py b/erpnext/setup/page/setup/__init__.py similarity index 100% rename from setup/page/webforms/__init__.py rename to erpnext/setup/page/setup/__init__.py diff --git a/setup/page/setup/setup.html b/erpnext/setup/page/setup/setup.html similarity index 100% rename from setup/page/setup/setup.html rename to erpnext/setup/page/setup/setup.html diff --git a/setup/page/setup/setup.js b/erpnext/setup/page/setup/setup.js similarity index 100% rename from setup/page/setup/setup.js rename to erpnext/setup/page/setup/setup.js diff --git a/setup/page/setup/setup.txt b/erpnext/setup/page/setup/setup.txt similarity index 100% rename from setup/page/setup/setup.txt rename to erpnext/setup/page/setup/setup.txt diff --git a/setup/page/setup/setup_static.html b/erpnext/setup/page/setup/setup_static.html similarity index 100% rename from setup/page/setup/setup_static.html rename to erpnext/setup/page/setup/setup_static.html diff --git a/stock/__init__.py b/erpnext/setup/page/setup_wizard/__init__.py similarity index 100% rename from stock/__init__.py rename to erpnext/setup/page/setup_wizard/__init__.py diff --git a/setup/page/setup_wizard/setup_wizard.html b/erpnext/setup/page/setup_wizard/setup_wizard.html similarity index 100% rename from setup/page/setup_wizard/setup_wizard.html rename to erpnext/setup/page/setup_wizard/setup_wizard.html diff --git a/setup/page/setup_wizard/setup_wizard.js b/erpnext/setup/page/setup_wizard/setup_wizard.js similarity index 100% rename from setup/page/setup_wizard/setup_wizard.js rename to erpnext/setup/page/setup_wizard/setup_wizard.js diff --git a/setup/page/setup_wizard/setup_wizard.txt b/erpnext/setup/page/setup_wizard/setup_wizard.txt similarity index 100% rename from setup/page/setup_wizard/setup_wizard.txt rename to erpnext/setup/page/setup_wizard/setup_wizard.txt diff --git a/setup/page/setup_wizard/setup_wizard_static.html b/erpnext/setup/page/setup_wizard/setup_wizard_static.html similarity index 100% rename from setup/page/setup_wizard/setup_wizard_static.html rename to erpnext/setup/page/setup_wizard/setup_wizard_static.html diff --git a/stock/doctype/__init__.py b/erpnext/setup/page/webforms/__init__.py similarity index 100% rename from stock/doctype/__init__.py rename to erpnext/setup/page/webforms/__init__.py diff --git a/setup/page/webforms/webforms.html b/erpnext/setup/page/webforms/webforms.html similarity index 100% rename from setup/page/webforms/webforms.html rename to erpnext/setup/page/webforms/webforms.html diff --git a/setup/page/webforms/webforms.js b/erpnext/setup/page/webforms/webforms.js similarity index 100% rename from setup/page/webforms/webforms.js rename to erpnext/setup/page/webforms/webforms.js diff --git a/setup/page/webforms/webforms.txt b/erpnext/setup/page/webforms/webforms.txt similarity index 100% rename from setup/page/webforms/webforms.txt rename to erpnext/setup/page/webforms/webforms.txt diff --git a/setup/page/webforms/webforms_static.html b/erpnext/setup/page/webforms/webforms_static.html similarity index 100% rename from setup/page/webforms/webforms_static.html rename to erpnext/setup/page/webforms/webforms_static.html diff --git a/erpnext/startup/__init__.py b/erpnext/startup/__init__.py new file mode 100644 index 00000000000..cea033b4fcd --- /dev/null +++ b/erpnext/startup/__init__.py @@ -0,0 +1,7 @@ +# add startup propertes + +add_in_head = """ + +""" \ No newline at end of file diff --git a/startup/event_handlers.py b/erpnext/startup/event_handlers.py similarity index 100% rename from startup/event_handlers.py rename to erpnext/startup/event_handlers.py diff --git a/startup/startup.css b/erpnext/startup/startup.css similarity index 76% rename from startup/startup.css rename to erpnext/startup/startup.css index 67393aac08e..f02841689de 100644 --- a/startup/startup.css +++ b/erpnext/startup/startup.css @@ -1,3 +1,13 @@ +h1, h2, h3, h4 { + font-family: Tahoma, Sans Serif; + font-weight: bold; +} + +body, span, div, td, input, textarea, button, select { + font-family: Verdana, Arial, Sans Serif; + font-size: 12px; +} + body { background-color: #e2e2e2; } @@ -21,7 +31,7 @@ body { } .module-icons { - background: url(images/user/module-icons.png) no-repeat top left; + background: url(images/module-icons.png) no-repeat top left; width:16px; height:16px; } diff --git a/startup/startup.js b/erpnext/startup/startup.js similarity index 99% rename from startup/startup.js rename to erpnext/startup/startup.js index 942f4effc5d..6f967ff604f 100644 --- a/startup/startup.js +++ b/erpnext/startup/startup.js @@ -43,18 +43,7 @@ function startup_setup() { // ------------------ $dh(page_body.footer); - // for logout and payment - var callback = function(r,rt) { - if(r.message){ - login_file = 'http://' + r.message; - } - else if(pscript.is_erpnext_saas) { - login_file = 'https://www.erpnext.com'; - } - // setup toolbar - pscript.startup_setup_toolbar(); - } - $c_obj('Home Control', 'get_login_url', '', callback); + pscript.startup_setup_toolbar(); } // ==================================================================== @@ -63,6 +52,15 @@ pscript.startup_make_sidebar = function() { $y(page_body.left_sidebar, {width:(100/6)+'%', paddingTop:'8px'}); var callback = function(r,rt) { + // login url + if(r.login_url){ + login_file = 'http://' + r.message; + } + else if(pscript.is_erpnext_saas) { + login_file = 'https://www.erpnext.com'; + } + + // menu var ml = r.message; diff --git a/stock/DocType Label/QA Inspection Report/QA Inspection Report.txt b/erpnext/stock/DocType Label/QA Inspection Report/QA Inspection Report.txt similarity index 100% rename from stock/DocType Label/QA Inspection Report/QA Inspection Report.txt rename to erpnext/stock/DocType Label/QA Inspection Report/QA Inspection Report.txt diff --git a/stock/DocType Mapper/Project-Delivery Note/Project-Delivery Note.txt b/erpnext/stock/DocType Mapper/Project-Delivery Note/Project-Delivery Note.txt similarity index 100% rename from stock/DocType Mapper/Project-Delivery Note/Project-Delivery Note.txt rename to erpnext/stock/DocType Mapper/Project-Delivery Note/Project-Delivery Note.txt diff --git a/stock/DocType Mapper/Purchase Order-Purchase Receipt/Purchase Order-Purchase Receipt.txt b/erpnext/stock/DocType Mapper/Purchase Order-Purchase Receipt/Purchase Order-Purchase Receipt.txt similarity index 100% rename from stock/DocType Mapper/Purchase Order-Purchase Receipt/Purchase Order-Purchase Receipt.txt rename to erpnext/stock/DocType Mapper/Purchase Order-Purchase Receipt/Purchase Order-Purchase Receipt.txt diff --git a/stock/DocType Mapper/Receivable Voucher-Delivery Note/Receivable Voucher-Delivery Note.txt b/erpnext/stock/DocType Mapper/Receivable Voucher-Delivery Note/Receivable Voucher-Delivery Note.txt similarity index 100% rename from stock/DocType Mapper/Receivable Voucher-Delivery Note/Receivable Voucher-Delivery Note.txt rename to erpnext/stock/DocType Mapper/Receivable Voucher-Delivery Note/Receivable Voucher-Delivery Note.txt diff --git a/stock/DocType Mapper/Sales Order-Delivery Note/Sales Order-Delivery Note.txt b/erpnext/stock/DocType Mapper/Sales Order-Delivery Note/Sales Order-Delivery Note.txt similarity index 96% rename from stock/DocType Mapper/Sales Order-Delivery Note/Sales Order-Delivery Note.txt rename to erpnext/stock/DocType Mapper/Sales Order-Delivery Note/Sales Order-Delivery Note.txt index 9b08913252b..561019b4d7e 100644 --- a/stock/DocType Mapper/Sales Order-Delivery Note/Sales Order-Delivery Note.txt +++ b/erpnext/stock/DocType Mapper/Sales Order-Delivery Note/Sales Order-Delivery Note.txt @@ -5,7 +5,7 @@ { 'creation': '2010-08-08 17:09:35', 'docstatus': 0, - 'modified': '2011-09-13 13:23:26', + 'modified': '2011-09-14 12:36:25', 'modified_by': 'Administrator', 'owner': 'Administrator' }, @@ -221,6 +221,15 @@ 'to_field': 'incentives' }, + # Field Mapper Detail + { + 'doctype': 'Field Mapper Detail', + 'from_field': 'allocated_amount', + 'map': 'Yes', + 'match_id': 0, + 'to_field': 'customer_mobile_no' + }, + # Table Mapper Detail { 'doctype': 'Table Mapper Detail', diff --git a/stock/Item Group/All Item Groups/All Item Groups.txt b/erpnext/stock/Item Group/All Item Groups/All Item Groups.txt similarity index 100% rename from stock/Item Group/All Item Groups/All Item Groups.txt rename to erpnext/stock/Item Group/All Item Groups/All Item Groups.txt diff --git a/stock/Item Group/Default/Default.txt b/erpnext/stock/Item Group/Default/Default.txt similarity index 100% rename from stock/Item Group/Default/Default.txt rename to erpnext/stock/Item Group/Default/Default.txt diff --git a/stock/Module Def/Stock/Stock.txt b/erpnext/stock/Module Def/Stock/Stock.txt similarity index 100% rename from stock/Module Def/Stock/Stock.txt rename to erpnext/stock/Module Def/Stock/Stock.txt diff --git a/stock/Print Format/Delivery Note Packing List Wise/Delivery Note Packing List Wise.txt b/erpnext/stock/Print Format/Delivery Note Packing List Wise/Delivery Note Packing List Wise.txt similarity index 100% rename from stock/Print Format/Delivery Note Packing List Wise/Delivery Note Packing List Wise.txt rename to erpnext/stock/Print Format/Delivery Note Packing List Wise/Delivery Note Packing List Wise.txt diff --git a/stock/Print Format/Purchase Receipt Format/Purchase Receipt Format.txt b/erpnext/stock/Print Format/Purchase Receipt Format/Purchase Receipt Format.txt similarity index 100% rename from stock/Print Format/Purchase Receipt Format/Purchase Receipt Format.txt rename to erpnext/stock/Print Format/Purchase Receipt Format/Purchase Receipt Format.txt diff --git a/stock/Role/Material Manager/Material Manager.txt b/erpnext/stock/Role/Material Manager/Material Manager.txt similarity index 100% rename from stock/Role/Material Manager/Material Manager.txt rename to erpnext/stock/Role/Material Manager/Material Manager.txt diff --git a/stock/Role/Material Master Manager/Material Master Manager.txt b/erpnext/stock/Role/Material Master Manager/Material Master Manager.txt similarity index 100% rename from stock/Role/Material Master Manager/Material Master Manager.txt rename to erpnext/stock/Role/Material Master Manager/Material Master Manager.txt diff --git a/stock/Role/Material User/Material User.txt b/erpnext/stock/Role/Material User/Material User.txt similarity index 100% rename from stock/Role/Material User/Material User.txt rename to erpnext/stock/Role/Material User/Material User.txt diff --git a/stock/Role/Quality Manager/Quality Manager.txt b/erpnext/stock/Role/Quality Manager/Quality Manager.txt similarity index 100% rename from stock/Role/Quality Manager/Quality Manager.txt rename to erpnext/stock/Role/Quality Manager/Quality Manager.txt diff --git a/stock/doctype/batch/__init__.py b/erpnext/stock/__init__.py similarity index 100% rename from stock/doctype/batch/__init__.py rename to erpnext/stock/__init__.py diff --git a/stock/doctype/bin/__init__.py b/erpnext/stock/doctype/__init__.py similarity index 100% rename from stock/doctype/bin/__init__.py rename to erpnext/stock/doctype/__init__.py diff --git a/stock/doctype/delivery_note/__init__.py b/erpnext/stock/doctype/batch/__init__.py similarity index 100% rename from stock/doctype/delivery_note/__init__.py rename to erpnext/stock/doctype/batch/__init__.py diff --git a/stock/doctype/batch/batch.txt b/erpnext/stock/doctype/batch/batch.txt similarity index 100% rename from stock/doctype/batch/batch.txt rename to erpnext/stock/doctype/batch/batch.txt diff --git a/stock/doctype/delivery_note_detail/__init__.py b/erpnext/stock/doctype/bin/__init__.py similarity index 100% rename from stock/doctype/delivery_note_detail/__init__.py rename to erpnext/stock/doctype/bin/__init__.py diff --git a/stock/doctype/bin/bin.py b/erpnext/stock/doctype/bin/bin.py similarity index 100% rename from stock/doctype/bin/bin.py rename to erpnext/stock/doctype/bin/bin.py diff --git a/stock/doctype/bin/bin.txt b/erpnext/stock/doctype/bin/bin.txt similarity index 100% rename from stock/doctype/bin/bin.txt rename to erpnext/stock/doctype/bin/bin.txt diff --git a/stock/doctype/delivery_note_packing_detail/__init__.py b/erpnext/stock/doctype/delivery_note/__init__.py similarity index 100% rename from stock/doctype/delivery_note_packing_detail/__init__.py rename to erpnext/stock/doctype/delivery_note/__init__.py diff --git a/stock/doctype/delivery_note/delivery_note.js b/erpnext/stock/doctype/delivery_note/delivery_note.js similarity index 100% rename from stock/doctype/delivery_note/delivery_note.js rename to erpnext/stock/doctype/delivery_note/delivery_note.js diff --git a/stock/doctype/delivery_note/delivery_note.py b/erpnext/stock/doctype/delivery_note/delivery_note.py similarity index 100% rename from stock/doctype/delivery_note/delivery_note.py rename to erpnext/stock/doctype/delivery_note/delivery_note.py diff --git a/stock/doctype/delivery_note/delivery_note.txt b/erpnext/stock/doctype/delivery_note/delivery_note.txt similarity index 100% rename from stock/doctype/delivery_note/delivery_note.txt rename to erpnext/stock/doctype/delivery_note/delivery_note.txt diff --git a/stock/doctype/item/__init__.py b/erpnext/stock/doctype/delivery_note_detail/__init__.py similarity index 100% rename from stock/doctype/item/__init__.py rename to erpnext/stock/doctype/delivery_note_detail/__init__.py diff --git a/stock/doctype/delivery_note_detail/delivery_note_detail.txt b/erpnext/stock/doctype/delivery_note_detail/delivery_note_detail.txt similarity index 100% rename from stock/doctype/delivery_note_detail/delivery_note_detail.txt rename to erpnext/stock/doctype/delivery_note_detail/delivery_note_detail.txt diff --git a/stock/doctype/item_customer_detail/__init__.py b/erpnext/stock/doctype/delivery_note_packing_detail/__init__.py similarity index 100% rename from stock/doctype/item_customer_detail/__init__.py rename to erpnext/stock/doctype/delivery_note_packing_detail/__init__.py diff --git a/stock/doctype/delivery_note_packing_detail/delivery_note_packing_detail.txt b/erpnext/stock/doctype/delivery_note_packing_detail/delivery_note_packing_detail.txt similarity index 100% rename from stock/doctype/delivery_note_packing_detail/delivery_note_packing_detail.txt rename to erpnext/stock/doctype/delivery_note_packing_detail/delivery_note_packing_detail.txt diff --git a/stock/doctype/item_specification_detail/__init__.py b/erpnext/stock/doctype/item/__init__.py similarity index 100% rename from stock/doctype/item_specification_detail/__init__.py rename to erpnext/stock/doctype/item/__init__.py diff --git a/stock/doctype/item/item.js b/erpnext/stock/doctype/item/item.js similarity index 100% rename from stock/doctype/item/item.js rename to erpnext/stock/doctype/item/item.js diff --git a/stock/doctype/item/item.py b/erpnext/stock/doctype/item/item.py similarity index 100% rename from stock/doctype/item/item.py rename to erpnext/stock/doctype/item/item.py diff --git a/stock/doctype/item/item.txt b/erpnext/stock/doctype/item/item.txt similarity index 100% rename from stock/doctype/item/item.txt rename to erpnext/stock/doctype/item/item.txt diff --git a/stock/doctype/item_tax/__init__.py b/erpnext/stock/doctype/item_customer_detail/__init__.py similarity index 100% rename from stock/doctype/item_tax/__init__.py rename to erpnext/stock/doctype/item_customer_detail/__init__.py diff --git a/stock/doctype/item_customer_detail/item_customer_detail.txt b/erpnext/stock/doctype/item_customer_detail/item_customer_detail.txt similarity index 100% rename from stock/doctype/item_customer_detail/item_customer_detail.txt rename to erpnext/stock/doctype/item_customer_detail/item_customer_detail.txt diff --git a/stock/doctype/landed_cost_detail/__init__.py b/erpnext/stock/doctype/item_specification_detail/__init__.py similarity index 100% rename from stock/doctype/landed_cost_detail/__init__.py rename to erpnext/stock/doctype/item_specification_detail/__init__.py diff --git a/stock/doctype/item_specification_detail/item_specification_detail.txt b/erpnext/stock/doctype/item_specification_detail/item_specification_detail.txt similarity index 100% rename from stock/doctype/item_specification_detail/item_specification_detail.txt rename to erpnext/stock/doctype/item_specification_detail/item_specification_detail.txt diff --git a/stock/doctype/landed_cost_master/__init__.py b/erpnext/stock/doctype/item_tax/__init__.py similarity index 100% rename from stock/doctype/landed_cost_master/__init__.py rename to erpnext/stock/doctype/item_tax/__init__.py diff --git a/stock/doctype/item_tax/item_tax.txt b/erpnext/stock/doctype/item_tax/item_tax.txt similarity index 100% rename from stock/doctype/item_tax/item_tax.txt rename to erpnext/stock/doctype/item_tax/item_tax.txt diff --git a/stock/doctype/landed_cost_master_detail/__init__.py b/erpnext/stock/doctype/landed_cost_detail/__init__.py similarity index 100% rename from stock/doctype/landed_cost_master_detail/__init__.py rename to erpnext/stock/doctype/landed_cost_detail/__init__.py diff --git a/stock/doctype/landed_cost_detail/landed_cost_detail.txt b/erpnext/stock/doctype/landed_cost_detail/landed_cost_detail.txt similarity index 100% rename from stock/doctype/landed_cost_detail/landed_cost_detail.txt rename to erpnext/stock/doctype/landed_cost_detail/landed_cost_detail.txt diff --git a/stock/doctype/landed_cost_wizard/__init__.py b/erpnext/stock/doctype/landed_cost_master/__init__.py similarity index 100% rename from stock/doctype/landed_cost_wizard/__init__.py rename to erpnext/stock/doctype/landed_cost_master/__init__.py diff --git a/stock/doctype/landed_cost_master/landed_cost_master.js b/erpnext/stock/doctype/landed_cost_master/landed_cost_master.js similarity index 100% rename from stock/doctype/landed_cost_master/landed_cost_master.js rename to erpnext/stock/doctype/landed_cost_master/landed_cost_master.js diff --git a/stock/doctype/landed_cost_master/landed_cost_master.txt b/erpnext/stock/doctype/landed_cost_master/landed_cost_master.txt similarity index 100% rename from stock/doctype/landed_cost_master/landed_cost_master.txt rename to erpnext/stock/doctype/landed_cost_master/landed_cost_master.txt diff --git a/stock/doctype/lc_pr_detail/__init__.py b/erpnext/stock/doctype/landed_cost_master_detail/__init__.py similarity index 100% rename from stock/doctype/lc_pr_detail/__init__.py rename to erpnext/stock/doctype/landed_cost_master_detail/__init__.py diff --git a/stock/doctype/landed_cost_master_detail/landed_cost_master_detail.txt b/erpnext/stock/doctype/landed_cost_master_detail/landed_cost_master_detail.txt similarity index 100% rename from stock/doctype/landed_cost_master_detail/landed_cost_master_detail.txt rename to erpnext/stock/doctype/landed_cost_master_detail/landed_cost_master_detail.txt diff --git a/stock/doctype/purchase_receipt/__init__.py b/erpnext/stock/doctype/landed_cost_wizard/__init__.py similarity index 100% rename from stock/doctype/purchase_receipt/__init__.py rename to erpnext/stock/doctype/landed_cost_wizard/__init__.py diff --git a/stock/doctype/landed_cost_wizard/landed_cost_wizard.js b/erpnext/stock/doctype/landed_cost_wizard/landed_cost_wizard.js similarity index 100% rename from stock/doctype/landed_cost_wizard/landed_cost_wizard.js rename to erpnext/stock/doctype/landed_cost_wizard/landed_cost_wizard.js diff --git a/stock/doctype/landed_cost_wizard/landed_cost_wizard.py b/erpnext/stock/doctype/landed_cost_wizard/landed_cost_wizard.py similarity index 100% rename from stock/doctype/landed_cost_wizard/landed_cost_wizard.py rename to erpnext/stock/doctype/landed_cost_wizard/landed_cost_wizard.py diff --git a/stock/doctype/landed_cost_wizard/landed_cost_wizard.txt b/erpnext/stock/doctype/landed_cost_wizard/landed_cost_wizard.txt similarity index 100% rename from stock/doctype/landed_cost_wizard/landed_cost_wizard.txt rename to erpnext/stock/doctype/landed_cost_wizard/landed_cost_wizard.txt diff --git a/stock/doctype/purchase_receipt_detail/__init__.py b/erpnext/stock/doctype/lc_pr_detail/__init__.py similarity index 100% rename from stock/doctype/purchase_receipt_detail/__init__.py rename to erpnext/stock/doctype/lc_pr_detail/__init__.py diff --git a/stock/doctype/lc_pr_detail/lc_pr_detail.txt b/erpnext/stock/doctype/lc_pr_detail/lc_pr_detail.txt similarity index 100% rename from stock/doctype/lc_pr_detail/lc_pr_detail.txt rename to erpnext/stock/doctype/lc_pr_detail/lc_pr_detail.txt diff --git a/stock/doctype/ref_rate_detail/__init__.py b/erpnext/stock/doctype/purchase_receipt/__init__.py similarity index 100% rename from stock/doctype/ref_rate_detail/__init__.py rename to erpnext/stock/doctype/purchase_receipt/__init__.py diff --git a/stock/doctype/purchase_receipt/purchase_receipt.js b/erpnext/stock/doctype/purchase_receipt/purchase_receipt.js similarity index 100% rename from stock/doctype/purchase_receipt/purchase_receipt.js rename to erpnext/stock/doctype/purchase_receipt/purchase_receipt.js diff --git a/stock/doctype/purchase_receipt/purchase_receipt.py b/erpnext/stock/doctype/purchase_receipt/purchase_receipt.py similarity index 100% rename from stock/doctype/purchase_receipt/purchase_receipt.py rename to erpnext/stock/doctype/purchase_receipt/purchase_receipt.py diff --git a/stock/doctype/purchase_receipt/purchase_receipt.txt b/erpnext/stock/doctype/purchase_receipt/purchase_receipt.txt similarity index 100% rename from stock/doctype/purchase_receipt/purchase_receipt.txt rename to erpnext/stock/doctype/purchase_receipt/purchase_receipt.txt diff --git a/stock/doctype/sales_and_purchase_return_wizard/__init__.py b/erpnext/stock/doctype/purchase_receipt_detail/__init__.py similarity index 100% rename from stock/doctype/sales_and_purchase_return_wizard/__init__.py rename to erpnext/stock/doctype/purchase_receipt_detail/__init__.py diff --git a/stock/doctype/purchase_receipt_detail/purchase_receipt_detail.txt b/erpnext/stock/doctype/purchase_receipt_detail/purchase_receipt_detail.txt similarity index 100% rename from stock/doctype/purchase_receipt_detail/purchase_receipt_detail.txt rename to erpnext/stock/doctype/purchase_receipt_detail/purchase_receipt_detail.txt diff --git a/stock/doctype/sales_bom/__init__.py b/erpnext/stock/doctype/ref_rate_detail/__init__.py similarity index 100% rename from stock/doctype/sales_bom/__init__.py rename to erpnext/stock/doctype/ref_rate_detail/__init__.py diff --git a/stock/doctype/ref_rate_detail/ref_rate_detail.txt b/erpnext/stock/doctype/ref_rate_detail/ref_rate_detail.txt similarity index 100% rename from stock/doctype/ref_rate_detail/ref_rate_detail.txt rename to erpnext/stock/doctype/ref_rate_detail/ref_rate_detail.txt diff --git a/stock/doctype/sales_bom_detail/__init__.py b/erpnext/stock/doctype/sales_and_purchase_return_wizard/__init__.py similarity index 100% rename from stock/doctype/sales_bom_detail/__init__.py rename to erpnext/stock/doctype/sales_and_purchase_return_wizard/__init__.py diff --git a/stock/doctype/sales_and_purchase_return_wizard/sales_and_purchase_return_wizard.js b/erpnext/stock/doctype/sales_and_purchase_return_wizard/sales_and_purchase_return_wizard.js similarity index 100% rename from stock/doctype/sales_and_purchase_return_wizard/sales_and_purchase_return_wizard.js rename to erpnext/stock/doctype/sales_and_purchase_return_wizard/sales_and_purchase_return_wizard.js diff --git a/stock/doctype/sales_and_purchase_return_wizard/sales_and_purchase_return_wizard.py b/erpnext/stock/doctype/sales_and_purchase_return_wizard/sales_and_purchase_return_wizard.py similarity index 100% rename from stock/doctype/sales_and_purchase_return_wizard/sales_and_purchase_return_wizard.py rename to erpnext/stock/doctype/sales_and_purchase_return_wizard/sales_and_purchase_return_wizard.py diff --git a/stock/doctype/sales_and_purchase_return_wizard/sales_and_purchase_return_wizard.txt b/erpnext/stock/doctype/sales_and_purchase_return_wizard/sales_and_purchase_return_wizard.txt similarity index 100% rename from stock/doctype/sales_and_purchase_return_wizard/sales_and_purchase_return_wizard.txt rename to erpnext/stock/doctype/sales_and_purchase_return_wizard/sales_and_purchase_return_wizard.txt diff --git a/stock/doctype/serial_no/__init__.py b/erpnext/stock/doctype/sales_bom/__init__.py similarity index 100% rename from stock/doctype/serial_no/__init__.py rename to erpnext/stock/doctype/sales_bom/__init__.py diff --git a/stock/doctype/sales_bom/sales_bom.js b/erpnext/stock/doctype/sales_bom/sales_bom.js similarity index 100% rename from stock/doctype/sales_bom/sales_bom.js rename to erpnext/stock/doctype/sales_bom/sales_bom.js diff --git a/stock/doctype/sales_bom/sales_bom.py b/erpnext/stock/doctype/sales_bom/sales_bom.py similarity index 100% rename from stock/doctype/sales_bom/sales_bom.py rename to erpnext/stock/doctype/sales_bom/sales_bom.py diff --git a/stock/doctype/sales_bom/sales_bom.txt b/erpnext/stock/doctype/sales_bom/sales_bom.txt similarity index 100% rename from stock/doctype/sales_bom/sales_bom.txt rename to erpnext/stock/doctype/sales_bom/sales_bom.txt diff --git a/stock/doctype/stock_entry/__init__.py b/erpnext/stock/doctype/sales_bom_detail/__init__.py similarity index 100% rename from stock/doctype/stock_entry/__init__.py rename to erpnext/stock/doctype/sales_bom_detail/__init__.py diff --git a/stock/doctype/sales_bom_detail/sales_bom_detail.txt b/erpnext/stock/doctype/sales_bom_detail/sales_bom_detail.txt similarity index 100% rename from stock/doctype/sales_bom_detail/sales_bom_detail.txt rename to erpnext/stock/doctype/sales_bom_detail/sales_bom_detail.txt diff --git a/stock/doctype/stock_entry_detail/__init__.py b/erpnext/stock/doctype/serial_no/__init__.py similarity index 100% rename from stock/doctype/stock_entry_detail/__init__.py rename to erpnext/stock/doctype/serial_no/__init__.py diff --git a/stock/doctype/serial_no/serial_no.js b/erpnext/stock/doctype/serial_no/serial_no.js similarity index 100% rename from stock/doctype/serial_no/serial_no.js rename to erpnext/stock/doctype/serial_no/serial_no.js diff --git a/stock/doctype/serial_no/serial_no.py b/erpnext/stock/doctype/serial_no/serial_no.py similarity index 100% rename from stock/doctype/serial_no/serial_no.py rename to erpnext/stock/doctype/serial_no/serial_no.py diff --git a/stock/doctype/serial_no/serial_no.txt b/erpnext/stock/doctype/serial_no/serial_no.txt similarity index 100% rename from stock/doctype/serial_no/serial_no.txt rename to erpnext/stock/doctype/serial_no/serial_no.txt diff --git a/stock/doctype/stock_ledger/__init__.py b/erpnext/stock/doctype/stock_entry/__init__.py similarity index 100% rename from stock/doctype/stock_ledger/__init__.py rename to erpnext/stock/doctype/stock_entry/__init__.py diff --git a/stock/doctype/stock_entry/stock_entry.js b/erpnext/stock/doctype/stock_entry/stock_entry.js similarity index 100% rename from stock/doctype/stock_entry/stock_entry.js rename to erpnext/stock/doctype/stock_entry/stock_entry.js diff --git a/stock/doctype/stock_entry/stock_entry.py b/erpnext/stock/doctype/stock_entry/stock_entry.py similarity index 100% rename from stock/doctype/stock_entry/stock_entry.py rename to erpnext/stock/doctype/stock_entry/stock_entry.py diff --git a/stock/doctype/stock_entry/stock_entry.py~ b/erpnext/stock/doctype/stock_entry/stock_entry.py~ similarity index 100% rename from stock/doctype/stock_entry/stock_entry.py~ rename to erpnext/stock/doctype/stock_entry/stock_entry.py~ diff --git a/stock/doctype/stock_entry/stock_entry.txt b/erpnext/stock/doctype/stock_entry/stock_entry.txt similarity index 100% rename from stock/doctype/stock_entry/stock_entry.txt rename to erpnext/stock/doctype/stock_entry/stock_entry.txt diff --git a/stock/doctype/stock_ledger_entry/__init__.py b/erpnext/stock/doctype/stock_entry_detail/__init__.py similarity index 100% rename from stock/doctype/stock_ledger_entry/__init__.py rename to erpnext/stock/doctype/stock_entry_detail/__init__.py diff --git a/stock/doctype/stock_entry_detail/stock_entry_detail.txt b/erpnext/stock/doctype/stock_entry_detail/stock_entry_detail.txt similarity index 100% rename from stock/doctype/stock_entry_detail/stock_entry_detail.txt rename to erpnext/stock/doctype/stock_entry_detail/stock_entry_detail.txt diff --git a/stock/doctype/stock_reconciliation/__init__.py b/erpnext/stock/doctype/stock_ledger/__init__.py similarity index 100% rename from stock/doctype/stock_reconciliation/__init__.py rename to erpnext/stock/doctype/stock_ledger/__init__.py diff --git a/stock/doctype/stock_ledger/stock_ledger.py b/erpnext/stock/doctype/stock_ledger/stock_ledger.py similarity index 100% rename from stock/doctype/stock_ledger/stock_ledger.py rename to erpnext/stock/doctype/stock_ledger/stock_ledger.py diff --git a/stock/doctype/stock_ledger/stock_ledger.txt b/erpnext/stock/doctype/stock_ledger/stock_ledger.txt similarity index 100% rename from stock/doctype/stock_ledger/stock_ledger.txt rename to erpnext/stock/doctype/stock_ledger/stock_ledger.txt diff --git a/stock/doctype/stock_uom_replace_utility/__init__.py b/erpnext/stock/doctype/stock_ledger_entry/__init__.py similarity index 100% rename from stock/doctype/stock_uom_replace_utility/__init__.py rename to erpnext/stock/doctype/stock_ledger_entry/__init__.py diff --git a/stock/doctype/stock_ledger_entry/stock_ledger_entry.py b/erpnext/stock/doctype/stock_ledger_entry/stock_ledger_entry.py similarity index 100% rename from stock/doctype/stock_ledger_entry/stock_ledger_entry.py rename to erpnext/stock/doctype/stock_ledger_entry/stock_ledger_entry.py diff --git a/stock/doctype/stock_ledger_entry/stock_ledger_entry.txt b/erpnext/stock/doctype/stock_ledger_entry/stock_ledger_entry.txt similarity index 100% rename from stock/doctype/stock_ledger_entry/stock_ledger_entry.txt rename to erpnext/stock/doctype/stock_ledger_entry/stock_ledger_entry.txt diff --git a/stock/doctype/uom_conversion_detail/__init__.py b/erpnext/stock/doctype/stock_reconciliation/__init__.py similarity index 100% rename from stock/doctype/uom_conversion_detail/__init__.py rename to erpnext/stock/doctype/stock_reconciliation/__init__.py diff --git a/stock/doctype/stock_reconciliation/stock_reconciliation.js b/erpnext/stock/doctype/stock_reconciliation/stock_reconciliation.js similarity index 100% rename from stock/doctype/stock_reconciliation/stock_reconciliation.js rename to erpnext/stock/doctype/stock_reconciliation/stock_reconciliation.js diff --git a/stock/doctype/stock_reconciliation/stock_reconciliation.py b/erpnext/stock/doctype/stock_reconciliation/stock_reconciliation.py similarity index 100% rename from stock/doctype/stock_reconciliation/stock_reconciliation.py rename to erpnext/stock/doctype/stock_reconciliation/stock_reconciliation.py diff --git a/stock/doctype/stock_reconciliation/stock_reconciliation.txt b/erpnext/stock/doctype/stock_reconciliation/stock_reconciliation.txt similarity index 100% rename from stock/doctype/stock_reconciliation/stock_reconciliation.txt rename to erpnext/stock/doctype/stock_reconciliation/stock_reconciliation.txt diff --git a/stock/doctype/valuation_control/__init__.py b/erpnext/stock/doctype/stock_uom_replace_utility/__init__.py similarity index 100% rename from stock/doctype/valuation_control/__init__.py rename to erpnext/stock/doctype/stock_uom_replace_utility/__init__.py diff --git a/stock/doctype/stock_uom_replace_utility/stock_uom_replace_utility.js b/erpnext/stock/doctype/stock_uom_replace_utility/stock_uom_replace_utility.js similarity index 100% rename from stock/doctype/stock_uom_replace_utility/stock_uom_replace_utility.js rename to erpnext/stock/doctype/stock_uom_replace_utility/stock_uom_replace_utility.js diff --git a/stock/doctype/stock_uom_replace_utility/stock_uom_replace_utility.py b/erpnext/stock/doctype/stock_uom_replace_utility/stock_uom_replace_utility.py similarity index 100% rename from stock/doctype/stock_uom_replace_utility/stock_uom_replace_utility.py rename to erpnext/stock/doctype/stock_uom_replace_utility/stock_uom_replace_utility.py diff --git a/stock/doctype/stock_uom_replace_utility/stock_uom_replace_utility.txt b/erpnext/stock/doctype/stock_uom_replace_utility/stock_uom_replace_utility.txt similarity index 100% rename from stock/doctype/stock_uom_replace_utility/stock_uom_replace_utility.txt rename to erpnext/stock/doctype/stock_uom_replace_utility/stock_uom_replace_utility.txt diff --git a/stock/doctype/warehouse/__init__.py b/erpnext/stock/doctype/uom_conversion_detail/__init__.py similarity index 100% rename from stock/doctype/warehouse/__init__.py rename to erpnext/stock/doctype/uom_conversion_detail/__init__.py diff --git a/stock/doctype/uom_conversion_detail/uom_conversion_detail.txt b/erpnext/stock/doctype/uom_conversion_detail/uom_conversion_detail.txt similarity index 100% rename from stock/doctype/uom_conversion_detail/uom_conversion_detail.txt rename to erpnext/stock/doctype/uom_conversion_detail/uom_conversion_detail.txt diff --git a/stock/page/__init__.py b/erpnext/stock/doctype/valuation_control/__init__.py similarity index 100% rename from stock/page/__init__.py rename to erpnext/stock/doctype/valuation_control/__init__.py diff --git a/stock/doctype/valuation_control/valuation_control.py b/erpnext/stock/doctype/valuation_control/valuation_control.py similarity index 100% rename from stock/doctype/valuation_control/valuation_control.py rename to erpnext/stock/doctype/valuation_control/valuation_control.py diff --git a/stock/doctype/valuation_control/valuation_control.py~ b/erpnext/stock/doctype/valuation_control/valuation_control.py~ similarity index 100% rename from stock/doctype/valuation_control/valuation_control.py~ rename to erpnext/stock/doctype/valuation_control/valuation_control.py~ diff --git a/stock/doctype/valuation_control/valuation_control.txt b/erpnext/stock/doctype/valuation_control/valuation_control.txt similarity index 100% rename from stock/doctype/valuation_control/valuation_control.txt rename to erpnext/stock/doctype/valuation_control/valuation_control.txt diff --git a/stock/search_criteria/__init__.py b/erpnext/stock/doctype/warehouse/__init__.py similarity index 100% rename from stock/search_criteria/__init__.py rename to erpnext/stock/doctype/warehouse/__init__.py diff --git a/stock/doctype/warehouse/warehouse.js b/erpnext/stock/doctype/warehouse/warehouse.js similarity index 100% rename from stock/doctype/warehouse/warehouse.js rename to erpnext/stock/doctype/warehouse/warehouse.js diff --git a/stock/doctype/warehouse/warehouse.py b/erpnext/stock/doctype/warehouse/warehouse.py similarity index 100% rename from stock/doctype/warehouse/warehouse.py rename to erpnext/stock/doctype/warehouse/warehouse.py diff --git a/stock/doctype/warehouse/warehouse.txt b/erpnext/stock/doctype/warehouse/warehouse.txt similarity index 100% rename from stock/doctype/warehouse/warehouse.txt rename to erpnext/stock/doctype/warehouse/warehouse.txt diff --git a/stock/search_criteria/itemwise_price_list/__init__.py b/erpnext/stock/page/__init__.py similarity index 100% rename from stock/search_criteria/itemwise_price_list/__init__.py rename to erpnext/stock/page/__init__.py diff --git a/stock/search_criteria/shortage_to_indent/__init__.py b/erpnext/stock/search_criteria/__init__.py similarity index 100% rename from stock/search_criteria/shortage_to_indent/__init__.py rename to erpnext/stock/search_criteria/__init__.py diff --git a/stock/search_criteria/stock_aging_report/__init__.py b/erpnext/stock/search_criteria/itemwise_price_list/__init__.py similarity index 100% rename from stock/search_criteria/stock_aging_report/__init__.py rename to erpnext/stock/search_criteria/itemwise_price_list/__init__.py diff --git a/stock/search_criteria/itemwise_price_list/itemwise_price_list.js b/erpnext/stock/search_criteria/itemwise_price_list/itemwise_price_list.js similarity index 100% rename from stock/search_criteria/itemwise_price_list/itemwise_price_list.js rename to erpnext/stock/search_criteria/itemwise_price_list/itemwise_price_list.js diff --git a/stock/search_criteria/itemwise_price_list/itemwise_price_list.txt b/erpnext/stock/search_criteria/itemwise_price_list/itemwise_price_list.txt similarity index 100% rename from stock/search_criteria/itemwise_price_list/itemwise_price_list.txt rename to erpnext/stock/search_criteria/itemwise_price_list/itemwise_price_list.txt diff --git a/stock/search_criteria/stock_ledger/__init__.py b/erpnext/stock/search_criteria/shortage_to_indent/__init__.py similarity index 100% rename from stock/search_criteria/stock_ledger/__init__.py rename to erpnext/stock/search_criteria/shortage_to_indent/__init__.py diff --git a/stock/search_criteria/shortage_to_indent/shortage_to_indent.js b/erpnext/stock/search_criteria/shortage_to_indent/shortage_to_indent.js similarity index 100% rename from stock/search_criteria/shortage_to_indent/shortage_to_indent.js rename to erpnext/stock/search_criteria/shortage_to_indent/shortage_to_indent.js diff --git a/stock/search_criteria/shortage_to_indent/shortage_to_indent.py b/erpnext/stock/search_criteria/shortage_to_indent/shortage_to_indent.py similarity index 100% rename from stock/search_criteria/shortage_to_indent/shortage_to_indent.py rename to erpnext/stock/search_criteria/shortage_to_indent/shortage_to_indent.py diff --git a/stock/search_criteria/shortage_to_indent/shortage_to_indent.txt b/erpnext/stock/search_criteria/shortage_to_indent/shortage_to_indent.txt similarity index 100% rename from stock/search_criteria/shortage_to_indent/shortage_to_indent.txt rename to erpnext/stock/search_criteria/shortage_to_indent/shortage_to_indent.txt diff --git a/stock/search_criteria/stock_level/__init__.py b/erpnext/stock/search_criteria/stock_aging_report/__init__.py similarity index 100% rename from stock/search_criteria/stock_level/__init__.py rename to erpnext/stock/search_criteria/stock_aging_report/__init__.py diff --git a/stock/search_criteria/stock_aging_report/stock_aging_report.js b/erpnext/stock/search_criteria/stock_aging_report/stock_aging_report.js similarity index 100% rename from stock/search_criteria/stock_aging_report/stock_aging_report.js rename to erpnext/stock/search_criteria/stock_aging_report/stock_aging_report.js diff --git a/stock/search_criteria/stock_aging_report/stock_aging_report.py b/erpnext/stock/search_criteria/stock_aging_report/stock_aging_report.py similarity index 100% rename from stock/search_criteria/stock_aging_report/stock_aging_report.py rename to erpnext/stock/search_criteria/stock_aging_report/stock_aging_report.py diff --git a/stock/search_criteria/stock_aging_report/stock_aging_report.txt b/erpnext/stock/search_criteria/stock_aging_report/stock_aging_report.txt similarity index 100% rename from stock/search_criteria/stock_aging_report/stock_aging_report.txt rename to erpnext/stock/search_criteria/stock_aging_report/stock_aging_report.txt diff --git a/stock/search_criteria/stock_report/__init__.py b/erpnext/stock/search_criteria/stock_ledger/__init__.py similarity index 100% rename from stock/search_criteria/stock_report/__init__.py rename to erpnext/stock/search_criteria/stock_ledger/__init__.py diff --git a/stock/search_criteria/stock_ledger/stock_ledger.js b/erpnext/stock/search_criteria/stock_ledger/stock_ledger.js similarity index 100% rename from stock/search_criteria/stock_ledger/stock_ledger.js rename to erpnext/stock/search_criteria/stock_ledger/stock_ledger.js diff --git a/stock/search_criteria/stock_ledger/stock_ledger.txt b/erpnext/stock/search_criteria/stock_ledger/stock_ledger.txt similarity index 100% rename from stock/search_criteria/stock_ledger/stock_ledger.txt rename to erpnext/stock/search_criteria/stock_ledger/stock_ledger.txt diff --git a/support/__init__.py b/erpnext/stock/search_criteria/stock_level/__init__.py similarity index 100% rename from support/__init__.py rename to erpnext/stock/search_criteria/stock_level/__init__.py diff --git a/stock/search_criteria/stock_level/stock_level.js b/erpnext/stock/search_criteria/stock_level/stock_level.js similarity index 100% rename from stock/search_criteria/stock_level/stock_level.js rename to erpnext/stock/search_criteria/stock_level/stock_level.js diff --git a/stock/search_criteria/stock_level/stock_level.py b/erpnext/stock/search_criteria/stock_level/stock_level.py similarity index 100% rename from stock/search_criteria/stock_level/stock_level.py rename to erpnext/stock/search_criteria/stock_level/stock_level.py diff --git a/stock/search_criteria/stock_level/stock_level.txt b/erpnext/stock/search_criteria/stock_level/stock_level.txt similarity index 100% rename from stock/search_criteria/stock_level/stock_level.txt rename to erpnext/stock/search_criteria/stock_level/stock_level.txt diff --git a/support/doctype/__init__.py b/erpnext/stock/search_criteria/stock_report/__init__.py similarity index 100% rename from support/doctype/__init__.py rename to erpnext/stock/search_criteria/stock_report/__init__.py diff --git a/stock/search_criteria/stock_report/stock_report.js b/erpnext/stock/search_criteria/stock_report/stock_report.js similarity index 100% rename from stock/search_criteria/stock_report/stock_report.js rename to erpnext/stock/search_criteria/stock_report/stock_report.js diff --git a/stock/search_criteria/stock_report/stock_report.py b/erpnext/stock/search_criteria/stock_report/stock_report.py similarity index 100% rename from stock/search_criteria/stock_report/stock_report.py rename to erpnext/stock/search_criteria/stock_report/stock_report.py diff --git a/stock/search_criteria/stock_report/stock_report.txt b/erpnext/stock/search_criteria/stock_report/stock_report.txt similarity index 100% rename from stock/search_criteria/stock_report/stock_report.txt rename to erpnext/stock/search_criteria/stock_report/stock_report.txt diff --git a/stock/tests.py b/erpnext/stock/tests.py similarity index 100% rename from stock/tests.py rename to erpnext/stock/tests.py diff --git a/support/DocType Label/Ticket/Ticket.txt b/erpnext/support/DocType Label/Ticket/Ticket.txt similarity index 100% rename from support/DocType Label/Ticket/Ticket.txt rename to erpnext/support/DocType Label/Ticket/Ticket.txt diff --git a/support/DocType Mapper/Customer Issue-Maintenance Visit/Customer Issue-Maintenance Visit.txt b/erpnext/support/DocType Mapper/Customer Issue-Maintenance Visit/Customer Issue-Maintenance Visit.txt similarity index 100% rename from support/DocType Mapper/Customer Issue-Maintenance Visit/Customer Issue-Maintenance Visit.txt rename to erpnext/support/DocType Mapper/Customer Issue-Maintenance Visit/Customer Issue-Maintenance Visit.txt diff --git a/support/DocType Mapper/Sales Order-Maintenance Schedule/Sales Order-Maintenance Schedule.txt b/erpnext/support/DocType Mapper/Sales Order-Maintenance Schedule/Sales Order-Maintenance Schedule.txt similarity index 100% rename from support/DocType Mapper/Sales Order-Maintenance Schedule/Sales Order-Maintenance Schedule.txt rename to erpnext/support/DocType Mapper/Sales Order-Maintenance Schedule/Sales Order-Maintenance Schedule.txt diff --git a/support/DocType Mapper/Sales Order-Maintenance Visit/Sales Order-Maintenance Visit.txt b/erpnext/support/DocType Mapper/Sales Order-Maintenance Visit/Sales Order-Maintenance Visit.txt similarity index 100% rename from support/DocType Mapper/Sales Order-Maintenance Visit/Sales Order-Maintenance Visit.txt rename to erpnext/support/DocType Mapper/Sales Order-Maintenance Visit/Sales Order-Maintenance Visit.txt diff --git a/support/Module Def/Support/Support.txt b/erpnext/support/Module Def/Support/Support.txt similarity index 100% rename from support/Module Def/Support/Support.txt rename to erpnext/support/Module Def/Support/Support.txt diff --git a/support/Role/Maintenance Manager/Maintenance Manager.txt b/erpnext/support/Role/Maintenance Manager/Maintenance Manager.txt similarity index 100% rename from support/Role/Maintenance Manager/Maintenance Manager.txt rename to erpnext/support/Role/Maintenance Manager/Maintenance Manager.txt diff --git a/support/Role/Maintenance User/Maintenance User.txt b/erpnext/support/Role/Maintenance User/Maintenance User.txt similarity index 100% rename from support/Role/Maintenance User/Maintenance User.txt rename to erpnext/support/Role/Maintenance User/Maintenance User.txt diff --git a/support/Role/Support Manager/Support Manager.txt b/erpnext/support/Role/Support Manager/Support Manager.txt similarity index 100% rename from support/Role/Support Manager/Support Manager.txt rename to erpnext/support/Role/Support Manager/Support Manager.txt diff --git a/support/Role/Support Team/Support Team.txt b/erpnext/support/Role/Support Team/Support Team.txt similarity index 100% rename from support/Role/Support Team/Support Team.txt rename to erpnext/support/Role/Support Team/Support Team.txt diff --git a/support/doctype/customer_issue/__init__.py b/erpnext/support/__init__.py similarity index 100% rename from support/doctype/customer_issue/__init__.py rename to erpnext/support/__init__.py diff --git a/support/doctype/item_maintenance_detail/__init__.py b/erpnext/support/doctype/__init__.py similarity index 100% rename from support/doctype/item_maintenance_detail/__init__.py rename to erpnext/support/doctype/__init__.py diff --git a/support/doctype/maintenance_schedule/__init__.py b/erpnext/support/doctype/customer_issue/__init__.py similarity index 100% rename from support/doctype/maintenance_schedule/__init__.py rename to erpnext/support/doctype/customer_issue/__init__.py diff --git a/support/doctype/customer_issue/customer_issue.js b/erpnext/support/doctype/customer_issue/customer_issue.js similarity index 100% rename from support/doctype/customer_issue/customer_issue.js rename to erpnext/support/doctype/customer_issue/customer_issue.js diff --git a/support/doctype/customer_issue/customer_issue.py b/erpnext/support/doctype/customer_issue/customer_issue.py similarity index 100% rename from support/doctype/customer_issue/customer_issue.py rename to erpnext/support/doctype/customer_issue/customer_issue.py diff --git a/support/doctype/customer_issue/customer_issue.txt b/erpnext/support/doctype/customer_issue/customer_issue.txt similarity index 100% rename from support/doctype/customer_issue/customer_issue.txt rename to erpnext/support/doctype/customer_issue/customer_issue.txt diff --git a/support/doctype/maintenance_schedule_detail/__init__.py b/erpnext/support/doctype/item_maintenance_detail/__init__.py similarity index 100% rename from support/doctype/maintenance_schedule_detail/__init__.py rename to erpnext/support/doctype/item_maintenance_detail/__init__.py diff --git a/support/doctype/item_maintenance_detail/item_maintenance_detail.txt b/erpnext/support/doctype/item_maintenance_detail/item_maintenance_detail.txt similarity index 100% rename from support/doctype/item_maintenance_detail/item_maintenance_detail.txt rename to erpnext/support/doctype/item_maintenance_detail/item_maintenance_detail.txt diff --git a/support/doctype/maintenance_visit/__init__.py b/erpnext/support/doctype/maintenance_schedule/__init__.py similarity index 100% rename from support/doctype/maintenance_visit/__init__.py rename to erpnext/support/doctype/maintenance_schedule/__init__.py diff --git a/support/doctype/maintenance_schedule/maintenance_schedule.js b/erpnext/support/doctype/maintenance_schedule/maintenance_schedule.js similarity index 100% rename from support/doctype/maintenance_schedule/maintenance_schedule.js rename to erpnext/support/doctype/maintenance_schedule/maintenance_schedule.js diff --git a/support/doctype/maintenance_schedule/maintenance_schedule.py b/erpnext/support/doctype/maintenance_schedule/maintenance_schedule.py similarity index 100% rename from support/doctype/maintenance_schedule/maintenance_schedule.py rename to erpnext/support/doctype/maintenance_schedule/maintenance_schedule.py diff --git a/support/doctype/maintenance_schedule/maintenance_schedule.txt b/erpnext/support/doctype/maintenance_schedule/maintenance_schedule.txt similarity index 100% rename from support/doctype/maintenance_schedule/maintenance_schedule.txt rename to erpnext/support/doctype/maintenance_schedule/maintenance_schedule.txt diff --git a/support/doctype/maintenance_visit_detail/__init__.py b/erpnext/support/doctype/maintenance_schedule_detail/__init__.py similarity index 100% rename from support/doctype/maintenance_visit_detail/__init__.py rename to erpnext/support/doctype/maintenance_schedule_detail/__init__.py diff --git a/support/doctype/maintenance_schedule_detail/maintenance_schedule_detail.txt b/erpnext/support/doctype/maintenance_schedule_detail/maintenance_schedule_detail.txt similarity index 100% rename from support/doctype/maintenance_schedule_detail/maintenance_schedule_detail.txt rename to erpnext/support/doctype/maintenance_schedule_detail/maintenance_schedule_detail.txt diff --git a/support/doctype/support_ticket_response/__init__.py b/erpnext/support/doctype/maintenance_visit/__init__.py similarity index 100% rename from support/doctype/support_ticket_response/__init__.py rename to erpnext/support/doctype/maintenance_visit/__init__.py diff --git a/support/doctype/maintenance_visit/maintenance_visit.js b/erpnext/support/doctype/maintenance_visit/maintenance_visit.js similarity index 100% rename from support/doctype/maintenance_visit/maintenance_visit.js rename to erpnext/support/doctype/maintenance_visit/maintenance_visit.js diff --git a/support/doctype/maintenance_visit/maintenance_visit.py b/erpnext/support/doctype/maintenance_visit/maintenance_visit.py similarity index 100% rename from support/doctype/maintenance_visit/maintenance_visit.py rename to erpnext/support/doctype/maintenance_visit/maintenance_visit.py diff --git a/support/doctype/maintenance_visit/maintenance_visit.txt b/erpnext/support/doctype/maintenance_visit/maintenance_visit.txt similarity index 100% rename from support/doctype/maintenance_visit/maintenance_visit.txt rename to erpnext/support/doctype/maintenance_visit/maintenance_visit.txt diff --git a/support/search_criteria/__init__.py b/erpnext/support/doctype/maintenance_visit_detail/__init__.py similarity index 100% rename from support/search_criteria/__init__.py rename to erpnext/support/doctype/maintenance_visit_detail/__init__.py diff --git a/support/doctype/maintenance_visit_detail/maintenance_visit_detail.txt b/erpnext/support/doctype/maintenance_visit_detail/maintenance_visit_detail.txt similarity index 100% rename from support/doctype/maintenance_visit_detail/maintenance_visit_detail.txt rename to erpnext/support/doctype/maintenance_visit_detail/maintenance_visit_detail.txt diff --git a/support/doctype/support_ticket/__init__.py b/erpnext/support/doctype/support_ticket/__init__.py similarity index 100% rename from support/doctype/support_ticket/__init__.py rename to erpnext/support/doctype/support_ticket/__init__.py diff --git a/support/doctype/support_ticket/support_ticket.js b/erpnext/support/doctype/support_ticket/support_ticket.js similarity index 100% rename from support/doctype/support_ticket/support_ticket.js rename to erpnext/support/doctype/support_ticket/support_ticket.js diff --git a/support/doctype/support_ticket/support_ticket.py b/erpnext/support/doctype/support_ticket/support_ticket.py similarity index 100% rename from support/doctype/support_ticket/support_ticket.py rename to erpnext/support/doctype/support_ticket/support_ticket.py diff --git a/support/doctype/support_ticket/support_ticket.txt b/erpnext/support/doctype/support_ticket/support_ticket.txt similarity index 100% rename from support/doctype/support_ticket/support_ticket.txt rename to erpnext/support/doctype/support_ticket/support_ticket.txt diff --git a/support/search_criteria/amc_summary/__init__.py b/erpnext/support/doctype/support_ticket_response/__init__.py similarity index 100% rename from support/search_criteria/amc_summary/__init__.py rename to erpnext/support/doctype/support_ticket_response/__init__.py diff --git a/support/doctype/support_ticket_response/support_ticket_response.txt b/erpnext/support/doctype/support_ticket_response/support_ticket_response.txt similarity index 100% rename from support/doctype/support_ticket_response/support_ticket_response.txt rename to erpnext/support/doctype/support_ticket_response/support_ticket_response.txt diff --git a/support/search_criteria/customer_issues/__init__.py b/erpnext/support/search_criteria/__init__.py similarity index 100% rename from support/search_criteria/customer_issues/__init__.py rename to erpnext/support/search_criteria/__init__.py diff --git a/support/search_criteria/maintenance_orderwise_pending_amount_to_bill/__init__.py b/erpnext/support/search_criteria/amc_summary/__init__.py similarity index 100% rename from support/search_criteria/maintenance_orderwise_pending_amount_to_bill/__init__.py rename to erpnext/support/search_criteria/amc_summary/__init__.py diff --git a/support/search_criteria/amc_summary/amc_summary.js b/erpnext/support/search_criteria/amc_summary/amc_summary.js similarity index 100% rename from support/search_criteria/amc_summary/amc_summary.js rename to erpnext/support/search_criteria/amc_summary/amc_summary.js diff --git a/support/search_criteria/amc_summary/amc_summary.py b/erpnext/support/search_criteria/amc_summary/amc_summary.py similarity index 100% rename from support/search_criteria/amc_summary/amc_summary.py rename to erpnext/support/search_criteria/amc_summary/amc_summary.py diff --git a/support/search_criteria/amc_summary/amc_summary.txt b/erpnext/support/search_criteria/amc_summary/amc_summary.txt similarity index 100% rename from support/search_criteria/amc_summary/amc_summary.txt rename to erpnext/support/search_criteria/amc_summary/amc_summary.txt diff --git a/support/search_criteria/maintenance_schedule_details/__init__.py b/erpnext/support/search_criteria/customer_issues/__init__.py similarity index 100% rename from support/search_criteria/maintenance_schedule_details/__init__.py rename to erpnext/support/search_criteria/customer_issues/__init__.py diff --git a/support/search_criteria/customer_issues/customer_issues.js b/erpnext/support/search_criteria/customer_issues/customer_issues.js similarity index 100% rename from support/search_criteria/customer_issues/customer_issues.js rename to erpnext/support/search_criteria/customer_issues/customer_issues.js diff --git a/support/search_criteria/customer_issues/customer_issues.txt b/erpnext/support/search_criteria/customer_issues/customer_issues.txt similarity index 100% rename from support/search_criteria/customer_issues/customer_issues.txt rename to erpnext/support/search_criteria/customer_issues/customer_issues.txt diff --git a/support/search_criteria/warranty_amc_expiry_details/__init__.py b/erpnext/support/search_criteria/maintenance_orderwise_pending_amount_to_bill/__init__.py similarity index 100% rename from support/search_criteria/warranty_amc_expiry_details/__init__.py rename to erpnext/support/search_criteria/maintenance_orderwise_pending_amount_to_bill/__init__.py diff --git a/support/search_criteria/maintenance_orderwise_pending_amount_to_bill/maintenance_orderwise_pending_amount_to_bill.js b/erpnext/support/search_criteria/maintenance_orderwise_pending_amount_to_bill/maintenance_orderwise_pending_amount_to_bill.js similarity index 100% rename from support/search_criteria/maintenance_orderwise_pending_amount_to_bill/maintenance_orderwise_pending_amount_to_bill.js rename to erpnext/support/search_criteria/maintenance_orderwise_pending_amount_to_bill/maintenance_orderwise_pending_amount_to_bill.js diff --git a/support/search_criteria/maintenance_orderwise_pending_amount_to_bill/maintenance_orderwise_pending_amount_to_bill.txt b/erpnext/support/search_criteria/maintenance_orderwise_pending_amount_to_bill/maintenance_orderwise_pending_amount_to_bill.txt similarity index 100% rename from support/search_criteria/maintenance_orderwise_pending_amount_to_bill/maintenance_orderwise_pending_amount_to_bill.txt rename to erpnext/support/search_criteria/maintenance_orderwise_pending_amount_to_bill/maintenance_orderwise_pending_amount_to_bill.txt diff --git a/support/search_criteria/warranty_amc_summary/__init__.py b/erpnext/support/search_criteria/maintenance_schedule_details/__init__.py similarity index 100% rename from support/search_criteria/warranty_amc_summary/__init__.py rename to erpnext/support/search_criteria/maintenance_schedule_details/__init__.py diff --git a/support/search_criteria/maintenance_schedule_details/maintenance_schedule_details.js b/erpnext/support/search_criteria/maintenance_schedule_details/maintenance_schedule_details.js similarity index 100% rename from support/search_criteria/maintenance_schedule_details/maintenance_schedule_details.js rename to erpnext/support/search_criteria/maintenance_schedule_details/maintenance_schedule_details.js diff --git a/support/search_criteria/maintenance_schedule_details/maintenance_schedule_details.txt b/erpnext/support/search_criteria/maintenance_schedule_details/maintenance_schedule_details.txt similarity index 100% rename from support/search_criteria/maintenance_schedule_details/maintenance_schedule_details.txt rename to erpnext/support/search_criteria/maintenance_schedule_details/maintenance_schedule_details.txt diff --git a/utilities/__init__.py b/erpnext/support/search_criteria/warranty_amc_expiry_details/__init__.py similarity index 100% rename from utilities/__init__.py rename to erpnext/support/search_criteria/warranty_amc_expiry_details/__init__.py diff --git a/support/search_criteria/warranty_amc_expiry_details/warranty_amc_expiry_details.js b/erpnext/support/search_criteria/warranty_amc_expiry_details/warranty_amc_expiry_details.js similarity index 100% rename from support/search_criteria/warranty_amc_expiry_details/warranty_amc_expiry_details.js rename to erpnext/support/search_criteria/warranty_amc_expiry_details/warranty_amc_expiry_details.js diff --git a/support/search_criteria/warranty_amc_expiry_details/warranty_amc_expiry_details.txt b/erpnext/support/search_criteria/warranty_amc_expiry_details/warranty_amc_expiry_details.txt similarity index 100% rename from support/search_criteria/warranty_amc_expiry_details/warranty_amc_expiry_details.txt rename to erpnext/support/search_criteria/warranty_amc_expiry_details/warranty_amc_expiry_details.txt diff --git a/utilities/doctype/__init__.py b/erpnext/support/search_criteria/warranty_amc_summary/__init__.py similarity index 100% rename from utilities/doctype/__init__.py rename to erpnext/support/search_criteria/warranty_amc_summary/__init__.py diff --git a/support/search_criteria/warranty_amc_summary/warranty_amc_summary.js b/erpnext/support/search_criteria/warranty_amc_summary/warranty_amc_summary.js similarity index 100% rename from support/search_criteria/warranty_amc_summary/warranty_amc_summary.js rename to erpnext/support/search_criteria/warranty_amc_summary/warranty_amc_summary.js diff --git a/support/search_criteria/warranty_amc_summary/warranty_amc_summary.py b/erpnext/support/search_criteria/warranty_amc_summary/warranty_amc_summary.py similarity index 100% rename from support/search_criteria/warranty_amc_summary/warranty_amc_summary.py rename to erpnext/support/search_criteria/warranty_amc_summary/warranty_amc_summary.py diff --git a/support/search_criteria/warranty_amc_summary/warranty_amc_summary.sql b/erpnext/support/search_criteria/warranty_amc_summary/warranty_amc_summary.sql similarity index 100% rename from support/search_criteria/warranty_amc_summary/warranty_amc_summary.sql rename to erpnext/support/search_criteria/warranty_amc_summary/warranty_amc_summary.sql diff --git a/support/search_criteria/warranty_amc_summary/warranty_amc_summary.txt b/erpnext/support/search_criteria/warranty_amc_summary/warranty_amc_summary.txt similarity index 100% rename from support/search_criteria/warranty_amc_summary/warranty_amc_summary.txt rename to erpnext/support/search_criteria/warranty_amc_summary/warranty_amc_summary.txt diff --git a/utilities/Module Def/Utilities/Utilities.txt b/erpnext/utilities/Module Def/Utilities/Utilities.txt similarity index 100% rename from utilities/Module Def/Utilities/Utilities.txt rename to erpnext/utilities/Module Def/Utilities/Utilities.txt diff --git a/utilities/doctype/activity_dashboard_control/__init__.py b/erpnext/utilities/__init__.py similarity index 100% rename from utilities/doctype/activity_dashboard_control/__init__.py rename to erpnext/utilities/__init__.py diff --git a/utilities/doctype/address/__init__.py b/erpnext/utilities/doctype/__init__.py similarity index 100% rename from utilities/doctype/address/__init__.py rename to erpnext/utilities/doctype/__init__.py diff --git a/utilities/doctype/bulk_rename_tool/__init__.py b/erpnext/utilities/doctype/activity_dashboard_control/__init__.py similarity index 100% rename from utilities/doctype/bulk_rename_tool/__init__.py rename to erpnext/utilities/doctype/activity_dashboard_control/__init__.py diff --git a/utilities/doctype/activity_dashboard_control/activity_dashboard_control.py b/erpnext/utilities/doctype/activity_dashboard_control/activity_dashboard_control.py similarity index 100% rename from utilities/doctype/activity_dashboard_control/activity_dashboard_control.py rename to erpnext/utilities/doctype/activity_dashboard_control/activity_dashboard_control.py diff --git a/utilities/doctype/activity_dashboard_control/activity_dashboard_control.txt b/erpnext/utilities/doctype/activity_dashboard_control/activity_dashboard_control.txt similarity index 100% rename from utilities/doctype/activity_dashboard_control/activity_dashboard_control.txt rename to erpnext/utilities/doctype/activity_dashboard_control/activity_dashboard_control.txt diff --git a/utilities/doctype/contact/__init__.py b/erpnext/utilities/doctype/address/__init__.py similarity index 100% rename from utilities/doctype/contact/__init__.py rename to erpnext/utilities/doctype/address/__init__.py diff --git a/utilities/doctype/address/address.js b/erpnext/utilities/doctype/address/address.js similarity index 100% rename from utilities/doctype/address/address.js rename to erpnext/utilities/doctype/address/address.js diff --git a/utilities/doctype/address/address.py b/erpnext/utilities/doctype/address/address.py similarity index 100% rename from utilities/doctype/address/address.py rename to erpnext/utilities/doctype/address/address.py diff --git a/utilities/doctype/address/address.txt b/erpnext/utilities/doctype/address/address.txt similarity index 100% rename from utilities/doctype/address/address.txt rename to erpnext/utilities/doctype/address/address.txt diff --git a/utilities/doctype/contact_detail/__init__.py b/erpnext/utilities/doctype/bulk_rename_tool/__init__.py similarity index 100% rename from utilities/doctype/contact_detail/__init__.py rename to erpnext/utilities/doctype/bulk_rename_tool/__init__.py diff --git a/utilities/doctype/bulk_rename_tool/bulk_rename_tool.py b/erpnext/utilities/doctype/bulk_rename_tool/bulk_rename_tool.py similarity index 100% rename from utilities/doctype/bulk_rename_tool/bulk_rename_tool.py rename to erpnext/utilities/doctype/bulk_rename_tool/bulk_rename_tool.py diff --git a/utilities/doctype/bulk_rename_tool/bulk_rename_tool.txt b/erpnext/utilities/doctype/bulk_rename_tool/bulk_rename_tool.txt similarity index 100% rename from utilities/doctype/bulk_rename_tool/bulk_rename_tool.txt rename to erpnext/utilities/doctype/bulk_rename_tool/bulk_rename_tool.txt diff --git a/utilities/doctype/doctype_label/__init__.py b/erpnext/utilities/doctype/contact/__init__.py similarity index 100% rename from utilities/doctype/doctype_label/__init__.py rename to erpnext/utilities/doctype/contact/__init__.py diff --git a/utilities/doctype/contact/contact.js b/erpnext/utilities/doctype/contact/contact.js similarity index 100% rename from utilities/doctype/contact/contact.js rename to erpnext/utilities/doctype/contact/contact.js diff --git a/utilities/doctype/contact/contact.py b/erpnext/utilities/doctype/contact/contact.py similarity index 100% rename from utilities/doctype/contact/contact.py rename to erpnext/utilities/doctype/contact/contact.py diff --git a/utilities/doctype/contact/contact.txt b/erpnext/utilities/doctype/contact/contact.txt similarity index 100% rename from utilities/doctype/contact/contact.txt rename to erpnext/utilities/doctype/contact/contact.txt diff --git a/utilities/doctype/doctype_property_setter/__init__.py b/erpnext/utilities/doctype/contact_detail/__init__.py similarity index 100% rename from utilities/doctype/doctype_property_setter/__init__.py rename to erpnext/utilities/doctype/contact_detail/__init__.py diff --git a/utilities/doctype/contact_detail/contact_detail.txt b/erpnext/utilities/doctype/contact_detail/contact_detail.txt similarity index 100% rename from utilities/doctype/contact_detail/contact_detail.txt rename to erpnext/utilities/doctype/contact_detail/contact_detail.txt diff --git a/utilities/doctype/file_browser_control/__init__.py b/erpnext/utilities/doctype/doctype_label/__init__.py similarity index 100% rename from utilities/doctype/file_browser_control/__init__.py rename to erpnext/utilities/doctype/doctype_label/__init__.py diff --git a/utilities/doctype/doctype_label/doctype_label.txt b/erpnext/utilities/doctype/doctype_label/doctype_label.txt similarity index 100% rename from utilities/doctype/doctype_label/doctype_label.txt rename to erpnext/utilities/doctype/doctype_label/doctype_label.txt diff --git a/utilities/doctype/gl_mapper/__init__.py b/erpnext/utilities/doctype/doctype_property_setter/__init__.py similarity index 100% rename from utilities/doctype/gl_mapper/__init__.py rename to erpnext/utilities/doctype/doctype_property_setter/__init__.py diff --git a/utilities/doctype/doctype_property_setter/doctype_property_setter.py b/erpnext/utilities/doctype/doctype_property_setter/doctype_property_setter.py similarity index 100% rename from utilities/doctype/doctype_property_setter/doctype_property_setter.py rename to erpnext/utilities/doctype/doctype_property_setter/doctype_property_setter.py diff --git a/utilities/doctype/doctype_property_setter/doctype_property_setter.txt b/erpnext/utilities/doctype/doctype_property_setter/doctype_property_setter.txt similarity index 100% rename from utilities/doctype/doctype_property_setter/doctype_property_setter.txt rename to erpnext/utilities/doctype/doctype_property_setter/doctype_property_setter.txt diff --git a/utilities/doctype/gl_mapper_detail/__init__.py b/erpnext/utilities/doctype/file_browser_control/__init__.py similarity index 100% rename from utilities/doctype/gl_mapper_detail/__init__.py rename to erpnext/utilities/doctype/file_browser_control/__init__.py diff --git a/utilities/doctype/file_browser_control/file_browser_control.py b/erpnext/utilities/doctype/file_browser_control/file_browser_control.py similarity index 100% rename from utilities/doctype/file_browser_control/file_browser_control.py rename to erpnext/utilities/doctype/file_browser_control/file_browser_control.py diff --git a/utilities/doctype/file_browser_control/file_browser_control.txt b/erpnext/utilities/doctype/file_browser_control/file_browser_control.txt similarity index 100% rename from utilities/doctype/file_browser_control/file_browser_control.txt rename to erpnext/utilities/doctype/file_browser_control/file_browser_control.txt diff --git a/utilities/doctype/menu_control/__init__.py b/erpnext/utilities/doctype/gl_mapper/__init__.py similarity index 100% rename from utilities/doctype/menu_control/__init__.py rename to erpnext/utilities/doctype/gl_mapper/__init__.py diff --git a/utilities/doctype/gl_mapper/gl_mapper.txt b/erpnext/utilities/doctype/gl_mapper/gl_mapper.txt similarity index 100% rename from utilities/doctype/gl_mapper/gl_mapper.txt rename to erpnext/utilities/doctype/gl_mapper/gl_mapper.txt diff --git a/utilities/doctype/patch_util/__init__.py b/erpnext/utilities/doctype/gl_mapper_detail/__init__.py similarity index 100% rename from utilities/doctype/patch_util/__init__.py rename to erpnext/utilities/doctype/gl_mapper_detail/__init__.py diff --git a/utilities/doctype/gl_mapper_detail/gl_mapper_detail.txt b/erpnext/utilities/doctype/gl_mapper_detail/gl_mapper_detail.txt similarity index 100% rename from utilities/doctype/gl_mapper_detail/gl_mapper_detail.txt rename to erpnext/utilities/doctype/gl_mapper_detail/gl_mapper_detail.txt diff --git a/utilities/doctype/production_tips_common/__init__.py b/erpnext/utilities/doctype/menu_control/__init__.py similarity index 100% rename from utilities/doctype/production_tips_common/__init__.py rename to erpnext/utilities/doctype/menu_control/__init__.py diff --git a/utilities/doctype/menu_control/menu_control.js b/erpnext/utilities/doctype/menu_control/menu_control.js similarity index 100% rename from utilities/doctype/menu_control/menu_control.js rename to erpnext/utilities/doctype/menu_control/menu_control.js diff --git a/utilities/doctype/menu_control/menu_control.py b/erpnext/utilities/doctype/menu_control/menu_control.py similarity index 100% rename from utilities/doctype/menu_control/menu_control.py rename to erpnext/utilities/doctype/menu_control/menu_control.py diff --git a/utilities/doctype/menu_control/menu_control.txt b/erpnext/utilities/doctype/menu_control/menu_control.txt similarity index 100% rename from utilities/doctype/menu_control/menu_control.txt rename to erpnext/utilities/doctype/menu_control/menu_control.txt diff --git a/utilities/doctype/profile_control/__init__.py b/erpnext/utilities/doctype/patch_util/__init__.py similarity index 100% rename from utilities/doctype/profile_control/__init__.py rename to erpnext/utilities/doctype/patch_util/__init__.py diff --git a/utilities/doctype/patch_util/patch_util.py b/erpnext/utilities/doctype/patch_util/patch_util.py similarity index 100% rename from utilities/doctype/patch_util/patch_util.py rename to erpnext/utilities/doctype/patch_util/patch_util.py diff --git a/utilities/doctype/patch_util/patch_util.txt b/erpnext/utilities/doctype/patch_util/patch_util.txt similarity index 100% rename from utilities/doctype/patch_util/patch_util.txt rename to erpnext/utilities/doctype/patch_util/patch_util.txt diff --git a/utilities/doctype/receiver_detail/__init__.py b/erpnext/utilities/doctype/production_tips_common/__init__.py similarity index 100% rename from utilities/doctype/receiver_detail/__init__.py rename to erpnext/utilities/doctype/production_tips_common/__init__.py diff --git a/utilities/doctype/production_tips_common/production_tips_common.js b/erpnext/utilities/doctype/production_tips_common/production_tips_common.js similarity index 100% rename from utilities/doctype/production_tips_common/production_tips_common.js rename to erpnext/utilities/doctype/production_tips_common/production_tips_common.js diff --git a/utilities/doctype/production_tips_common/production_tips_common.txt b/erpnext/utilities/doctype/production_tips_common/production_tips_common.txt similarity index 100% rename from utilities/doctype/production_tips_common/production_tips_common.txt rename to erpnext/utilities/doctype/production_tips_common/production_tips_common.txt diff --git a/utilities/doctype/rename_tool/__init__.py b/erpnext/utilities/doctype/profile_control/__init__.py old mode 100755 new mode 100644 similarity index 100% rename from utilities/doctype/rename_tool/__init__.py rename to erpnext/utilities/doctype/profile_control/__init__.py diff --git a/utilities/doctype/profile_control/profile_control.py b/erpnext/utilities/doctype/profile_control/profile_control.py similarity index 100% rename from utilities/doctype/profile_control/profile_control.py rename to erpnext/utilities/doctype/profile_control/profile_control.py diff --git a/utilities/doctype/profile_control/profile_control.txt b/erpnext/utilities/doctype/profile_control/profile_control.txt similarity index 100% rename from utilities/doctype/profile_control/profile_control.txt rename to erpnext/utilities/doctype/profile_control/profile_control.txt diff --git a/utilities/doctype/reposting_tool/__init__.py b/erpnext/utilities/doctype/receiver_detail/__init__.py similarity index 100% rename from utilities/doctype/reposting_tool/__init__.py rename to erpnext/utilities/doctype/receiver_detail/__init__.py diff --git a/utilities/doctype/receiver_detail/receiver_detail.txt b/erpnext/utilities/doctype/receiver_detail/receiver_detail.txt similarity index 100% rename from utilities/doctype/receiver_detail/receiver_detail.txt rename to erpnext/utilities/doctype/receiver_detail/receiver_detail.txt diff --git a/utilities/doctype/sms_center/__init__.py b/erpnext/utilities/doctype/rename_tool/__init__.py old mode 100644 new mode 100755 similarity index 100% rename from utilities/doctype/sms_center/__init__.py rename to erpnext/utilities/doctype/rename_tool/__init__.py diff --git a/utilities/doctype/rename_tool/rename_tool.js b/erpnext/utilities/doctype/rename_tool/rename_tool.js similarity index 100% rename from utilities/doctype/rename_tool/rename_tool.js rename to erpnext/utilities/doctype/rename_tool/rename_tool.js diff --git a/utilities/doctype/rename_tool/rename_tool.py b/erpnext/utilities/doctype/rename_tool/rename_tool.py similarity index 100% rename from utilities/doctype/rename_tool/rename_tool.py rename to erpnext/utilities/doctype/rename_tool/rename_tool.py diff --git a/utilities/doctype/rename_tool/rename_tool.txt b/erpnext/utilities/doctype/rename_tool/rename_tool.txt similarity index 100% rename from utilities/doctype/rename_tool/rename_tool.txt rename to erpnext/utilities/doctype/rename_tool/rename_tool.txt diff --git a/utilities/doctype/sms_control/__init__.py b/erpnext/utilities/doctype/reposting_tool/__init__.py similarity index 100% rename from utilities/doctype/sms_control/__init__.py rename to erpnext/utilities/doctype/reposting_tool/__init__.py diff --git a/utilities/doctype/reposting_tool/reposting_tool.js b/erpnext/utilities/doctype/reposting_tool/reposting_tool.js similarity index 100% rename from utilities/doctype/reposting_tool/reposting_tool.js rename to erpnext/utilities/doctype/reposting_tool/reposting_tool.js diff --git a/utilities/doctype/reposting_tool/reposting_tool.py b/erpnext/utilities/doctype/reposting_tool/reposting_tool.py similarity index 100% rename from utilities/doctype/reposting_tool/reposting_tool.py rename to erpnext/utilities/doctype/reposting_tool/reposting_tool.py diff --git a/utilities/doctype/reposting_tool/reposting_tool.txt b/erpnext/utilities/doctype/reposting_tool/reposting_tool.txt similarity index 100% rename from utilities/doctype/reposting_tool/reposting_tool.txt rename to erpnext/utilities/doctype/reposting_tool/reposting_tool.txt diff --git a/utilities/doctype/sms_log/__init__.py b/erpnext/utilities/doctype/sms_center/__init__.py similarity index 100% rename from utilities/doctype/sms_log/__init__.py rename to erpnext/utilities/doctype/sms_center/__init__.py diff --git a/utilities/doctype/sms_center/sms_center.js b/erpnext/utilities/doctype/sms_center/sms_center.js similarity index 100% rename from utilities/doctype/sms_center/sms_center.js rename to erpnext/utilities/doctype/sms_center/sms_center.js diff --git a/utilities/doctype/sms_center/sms_center.py b/erpnext/utilities/doctype/sms_center/sms_center.py similarity index 100% rename from utilities/doctype/sms_center/sms_center.py rename to erpnext/utilities/doctype/sms_center/sms_center.py diff --git a/utilities/doctype/sms_center/sms_center.txt b/erpnext/utilities/doctype/sms_center/sms_center.txt similarity index 100% rename from utilities/doctype/sms_center/sms_center.txt rename to erpnext/utilities/doctype/sms_center/sms_center.txt diff --git a/utilities/doctype/sso_control/__init__.py b/erpnext/utilities/doctype/sms_control/__init__.py similarity index 100% rename from utilities/doctype/sso_control/__init__.py rename to erpnext/utilities/doctype/sms_control/__init__.py diff --git a/utilities/doctype/sms_control/sms_control.js b/erpnext/utilities/doctype/sms_control/sms_control.js similarity index 100% rename from utilities/doctype/sms_control/sms_control.js rename to erpnext/utilities/doctype/sms_control/sms_control.js diff --git a/utilities/doctype/sms_control/sms_control.py b/erpnext/utilities/doctype/sms_control/sms_control.py similarity index 100% rename from utilities/doctype/sms_control/sms_control.py rename to erpnext/utilities/doctype/sms_control/sms_control.py diff --git a/utilities/doctype/sms_control/sms_control.txt b/erpnext/utilities/doctype/sms_control/sms_control.txt similarity index 100% rename from utilities/doctype/sms_control/sms_control.txt rename to erpnext/utilities/doctype/sms_control/sms_control.txt diff --git a/utilities/doctype/todo_item/__init__.py b/erpnext/utilities/doctype/sms_log/__init__.py similarity index 100% rename from utilities/doctype/todo_item/__init__.py rename to erpnext/utilities/doctype/sms_log/__init__.py diff --git a/utilities/doctype/sms_log/sms_log.txt b/erpnext/utilities/doctype/sms_log/sms_log.txt similarity index 100% rename from utilities/doctype/sms_log/sms_log.txt rename to erpnext/utilities/doctype/sms_log/sms_log.txt diff --git a/utilities/doctype/trash_control/__init__.py b/erpnext/utilities/doctype/sso_control/__init__.py similarity index 100% rename from utilities/doctype/trash_control/__init__.py rename to erpnext/utilities/doctype/sso_control/__init__.py diff --git a/utilities/doctype/sso_control/sso_control.py b/erpnext/utilities/doctype/sso_control/sso_control.py similarity index 100% rename from utilities/doctype/sso_control/sso_control.py rename to erpnext/utilities/doctype/sso_control/sso_control.py diff --git a/utilities/doctype/sso_control/sso_control.txt b/erpnext/utilities/doctype/sso_control/sso_control.txt similarity index 100% rename from utilities/doctype/sso_control/sso_control.txt rename to erpnext/utilities/doctype/sso_control/sso_control.txt diff --git a/utilities/doctype/wn_erp_client_control/__init__.py b/erpnext/utilities/doctype/todo_item/__init__.py similarity index 100% rename from utilities/doctype/wn_erp_client_control/__init__.py rename to erpnext/utilities/doctype/todo_item/__init__.py diff --git a/utilities/doctype/todo_item/todo_item.txt b/erpnext/utilities/doctype/todo_item/todo_item.txt similarity index 100% rename from utilities/doctype/todo_item/todo_item.txt rename to erpnext/utilities/doctype/todo_item/todo_item.txt diff --git a/utilities/page/__init__.py b/erpnext/utilities/doctype/trash_control/__init__.py similarity index 100% rename from utilities/page/__init__.py rename to erpnext/utilities/doctype/trash_control/__init__.py diff --git a/utilities/doctype/trash_control/trash_control.py b/erpnext/utilities/doctype/trash_control/trash_control.py similarity index 100% rename from utilities/doctype/trash_control/trash_control.py rename to erpnext/utilities/doctype/trash_control/trash_control.py diff --git a/utilities/doctype/trash_control/trash_control.txt b/erpnext/utilities/doctype/trash_control/trash_control.txt similarity index 100% rename from utilities/doctype/trash_control/trash_control.txt rename to erpnext/utilities/doctype/trash_control/trash_control.txt diff --git a/utilities/page/file_browser/__init__.py b/erpnext/utilities/doctype/wn_erp_client_control/__init__.py similarity index 100% rename from utilities/page/file_browser/__init__.py rename to erpnext/utilities/doctype/wn_erp_client_control/__init__.py diff --git a/utilities/doctype/wn_erp_client_control/wn_erp_client_control.py b/erpnext/utilities/doctype/wn_erp_client_control/wn_erp_client_control.py similarity index 100% rename from utilities/doctype/wn_erp_client_control/wn_erp_client_control.py rename to erpnext/utilities/doctype/wn_erp_client_control/wn_erp_client_control.py diff --git a/utilities/doctype/wn_erp_client_control/wn_erp_client_control.txt b/erpnext/utilities/doctype/wn_erp_client_control/wn_erp_client_control.txt similarity index 100% rename from utilities/doctype/wn_erp_client_control/wn_erp_client_control.txt rename to erpnext/utilities/doctype/wn_erp_client_control/wn_erp_client_control.txt diff --git a/utilities/page/messages/__init__.py b/erpnext/utilities/page/__init__.py similarity index 100% rename from utilities/page/messages/__init__.py rename to erpnext/utilities/page/__init__.py diff --git a/utilities/page/trash/__init__.py b/erpnext/utilities/page/file_browser/__init__.py similarity index 100% rename from utilities/page/trash/__init__.py rename to erpnext/utilities/page/file_browser/__init__.py diff --git a/utilities/page/file_browser/file_browser.html b/erpnext/utilities/page/file_browser/file_browser.html similarity index 100% rename from utilities/page/file_browser/file_browser.html rename to erpnext/utilities/page/file_browser/file_browser.html diff --git a/utilities/page/file_browser/file_browser.js b/erpnext/utilities/page/file_browser/file_browser.js similarity index 100% rename from utilities/page/file_browser/file_browser.js rename to erpnext/utilities/page/file_browser/file_browser.js diff --git a/utilities/page/file_browser/file_browser.txt b/erpnext/utilities/page/file_browser/file_browser.txt similarity index 100% rename from utilities/page/file_browser/file_browser.txt rename to erpnext/utilities/page/file_browser/file_browser.txt diff --git a/utilities/page/wip_monitor/__init__.py b/erpnext/utilities/page/messages/__init__.py similarity index 100% rename from utilities/page/wip_monitor/__init__.py rename to erpnext/utilities/page/messages/__init__.py diff --git a/utilities/page/messages/messages.html b/erpnext/utilities/page/messages/messages.html similarity index 100% rename from utilities/page/messages/messages.html rename to erpnext/utilities/page/messages/messages.html diff --git a/utilities/page/messages/messages.js b/erpnext/utilities/page/messages/messages.js similarity index 99% rename from utilities/page/messages/messages.js rename to erpnext/utilities/page/messages/messages.js index 258961d50cf..43b4bd7edc7 100644 --- a/utilities/page/messages/messages.js +++ b/erpnext/utilities/page/messages/messages.js @@ -529,6 +529,8 @@ MessageThread.prototype.add_autosuggest = function() { // ---- add auto suggest ---- var opts = { script: '', json: true, maxresults: 10, timeout: 10000, delay:250, maxentries:500, cache:false}; + + wn.require('lib/js/legacy/widgets/autosuggest.js'); var as = new AutoSuggest(me.msg_parts.inputs['To'], opts); as.custom_select = function(txt, sel) { diff --git a/utilities/page/messages/messages.txt b/erpnext/utilities/page/messages/messages.txt similarity index 100% rename from utilities/page/messages/messages.txt rename to erpnext/utilities/page/messages/messages.txt diff --git a/utilities/page/messages/messages_static.html b/erpnext/utilities/page/messages/messages_static.html similarity index 100% rename from utilities/page/messages/messages_static.html rename to erpnext/utilities/page/messages/messages_static.html diff --git a/erpnext/utilities/page/trash/__init__.py b/erpnext/utilities/page/trash/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/utilities/page/trash/trash.html b/erpnext/utilities/page/trash/trash.html similarity index 100% rename from utilities/page/trash/trash.html rename to erpnext/utilities/page/trash/trash.html diff --git a/utilities/page/trash/trash.js b/erpnext/utilities/page/trash/trash.js similarity index 100% rename from utilities/page/trash/trash.js rename to erpnext/utilities/page/trash/trash.js diff --git a/utilities/page/trash/trash.txt b/erpnext/utilities/page/trash/trash.txt similarity index 100% rename from utilities/page/trash/trash.txt rename to erpnext/utilities/page/trash/trash.txt diff --git a/erpnext/utilities/page/wip_monitor/__init__.py b/erpnext/utilities/page/wip_monitor/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/utilities/page/wip_monitor/wip_monitor.html b/erpnext/utilities/page/wip_monitor/wip_monitor.html similarity index 100% rename from utilities/page/wip_monitor/wip_monitor.html rename to erpnext/utilities/page/wip_monitor/wip_monitor.html diff --git a/utilities/page/wip_monitor/wip_monitor.js b/erpnext/utilities/page/wip_monitor/wip_monitor.js similarity index 100% rename from utilities/page/wip_monitor/wip_monitor.js rename to erpnext/utilities/page/wip_monitor/wip_monitor.js diff --git a/utilities/page/wip_monitor/wip_monitor.txt b/erpnext/utilities/page/wip_monitor/wip_monitor.txt similarity index 100% rename from utilities/page/wip_monitor/wip_monitor.txt rename to erpnext/utilities/page/wip_monitor/wip_monitor.txt diff --git a/utilities/transaction_base.py b/erpnext/utilities/transaction_base.py similarity index 100% rename from utilities/transaction_base.py rename to erpnext/utilities/transaction_base.py diff --git a/favicon.ico b/favicon.ico index 8b2106b847e..794eaaf00a9 100644 Binary files a/favicon.ico and b/favicon.ico differ diff --git a/module-icons.png b/images/module-icons.png similarity index 100% rename from module-icons.png rename to images/module-icons.png diff --git a/index.cgi b/index.cgi new file mode 100755 index 00000000000..da52ef11864 --- /dev/null +++ b/index.cgi @@ -0,0 +1,42 @@ +#!/usr/bin/python +# main handler file + +import cgi, cgitb, os, sys +cgitb.enable() + +# import libs +sys.path.append('lib/py') +sys.path.append('erpnext') + +import webnotes +import webnotes.defs + +webnotes.form = cgi.FieldStorage() + +# make the form_dict +for key in webnotes.form.keys(): + webnotes.form_dict[key] = webnotes.form.getvalue(key) + +# url comes with sid, redirect to html, sid set and all +if 'sid' in webnotes.form_dict: + import webnotes.auth + import webnotes.widgets.page_body + + webnotes.auth.HTTPRequest() + + print "Content-Type: text/html" + + # print cookies, if there ar additional cookies defined during the request, add them here + if webnotes.cookies or webnotes.add_cookies: + for c in webnotes.add_cookies.keys(): + webnotes.cookies[c] = webnotes.add_cookies[c] + + print webnotes.cookies + + print + print webnotes.widgets.page_body.redirect_template % ('Redirecting...', 'index.html') + +else: + # pass on to legacy handler + import webnotes.handler + diff --git a/index.html b/index.html new file mode 100644 index 00000000000..e28f0069849 --- /dev/null +++ b/index.html @@ -0,0 +1,83 @@ + + + + ERPNext + + + + +
+ +
+ + +
+ + +
+ +
+
+ + \ No newline at end of file diff --git a/js/app.js b/js/app.js new file mode 100644 index 00000000000..fa9d34e8db2 --- /dev/null +++ b/js/app.js @@ -0,0 +1,27 @@ +wn.settings.no_history = true; + +wn.require('lib/js/lib/jquery.min.js'); +wn.require('lib/js/legacy/tiny_mce_33/jquery.tinymce.js'); +wn.require('lib/js/wn/ui/status_bar.js'); + +wn.sb = new wn.ui.StatusBar(); +wn.sb.set_value(15); +// for datepicker +wn.require('lib/js/legacy/jquery/jquery-ui.min.js') +wn.sb.set_value(25); + +wn.require('lib/js/legacy/wnf.compressed.js'); +wn.sb.set_value(40); + +wn.require('lib/css/legacy/default.css'); +wn.sb.set_value(60); + +// startup +wn.require('index.cgi?cmd=webnotes.startup') +wn.require('erpnext/startup/startup.js') +wn.require('erpnext/startup/startup.css') +wn.sb.set_value(90); + +$(document).bind('ready', function() { + startup(); +}); \ No newline at end of file diff --git a/startup/__init__.py b/startup/__init__.py deleted file mode 100644 index 5fd6ccd7d76..00000000000 --- a/startup/__init__.py +++ /dev/null @@ -1,15 +0,0 @@ -# add startup propertes - -add_in_head = """ - -""" \ No newline at end of file diff --git a/templates/index.html b/templates/index.html new file mode 100644 index 00000000000..7d8ac038688 --- /dev/null +++ b/templates/index.html @@ -0,0 +1,22 @@ + + + + ERPNext + + + + +
+ +
+ + +
+ + +
+ {{ content }} +
+
+ + \ No newline at end of file diff --git a/todo.md b/todo.md new file mode 100644 index 00000000000..9e2c9065e62 --- /dev/null +++ b/todo.md @@ -0,0 +1,18 @@ +x icons - msgprint / toolbar +x history integration +x loading bar +x blank.html issues +x double (init) loading issue +x redirect (sid) issue +x new buttons +x tinymce issues +x breakup - form +x breakup - report + +- menus & integration with feature settings + +- release + +- use wn.require to load forms, reports +- use wn.xmlhttp +- try and breakup wnframework \ No newline at end of file diff --git a/versions-master.db b/versions-master.db new file mode 100644 index 00000000000..319246838ff Binary files /dev/null and b/versions-master.db differ