From afea58b7a1a0a4ab551c9df4a40f38bb49b3e631 Mon Sep 17 00:00:00 2001 From: Rushabh Mehta Date: Wed, 11 Dec 2013 10:43:52 +0530 Subject: [PATCH 01/27] moved modules inside erpnext folder --- .../Cheque Printing Format.txt | 0 .../Print Format/POS Invoice/POS Invoice.txt | 0 .../Payment Receipt Voucher.txt | 0 .../Sales Invoice Classic/Sales Invoice Classic.txt | 0 .../Sales Invoice Modern/Sales Invoice Modern.txt | 0 .../Sales Invoice Spartan/Sales Invoice Spartan.txt | 0 .../Print Format/SalesInvoice/SalesInvoice.html | 0 .../Print Format/SalesInvoice/SalesInvoice.txt | 0 {accounts => erpnext/accounts}/README.md | 0 {accounts => erpnext/accounts}/__init__.py | 0 {accounts => erpnext/accounts}/doctype/__init__.py | 0 .../accounts}/doctype/account/README.md | 0 .../accounts}/doctype/account/__init__.py | 0 .../accounts}/doctype/account/account.js | 0 .../accounts}/doctype/account/account.py | 0 .../accounts}/doctype/account/account.txt | 0 .../accounts}/doctype/account/test_account.py | 0 .../accounts}/doctype/accounts_settings/__init__.py | 0 .../doctype/accounts_settings/accounts_settings.py | 0 .../doctype/accounts_settings/accounts_settings.txt | 0 .../accounts}/doctype/bank_reconciliation/README.md | 0 .../doctype/bank_reconciliation/__init__.py | 0 .../bank_reconciliation/bank_reconciliation.js | 0 .../bank_reconciliation/bank_reconciliation.py | 0 .../bank_reconciliation/bank_reconciliation.txt | 0 .../doctype/bank_reconciliation_detail/README.md | 0 .../doctype/bank_reconciliation_detail/__init__.py | 0 .../bank_reconciliation_detail.py | 0 .../bank_reconciliation_detail.txt | 0 .../accounts}/doctype/budget_detail/README.md | 0 .../accounts}/doctype/budget_detail/__init__.py | 0 .../doctype/budget_detail/budget_detail.py | 0 .../doctype/budget_detail/budget_detail.txt | 0 .../accounts}/doctype/budget_distribution/README.md | 0 .../doctype/budget_distribution/__init__.py | 0 .../budget_distribution/budget_distribution.js | 0 .../budget_distribution/budget_distribution.py | 0 .../budget_distribution/budget_distribution.txt | 0 .../budget_distribution/test_budget_distribution.py | 0 .../doctype/budget_distribution_detail/README.md | 0 .../doctype/budget_distribution_detail/__init__.py | 0 .../budget_distribution_detail.py | 0 .../budget_distribution_detail.txt | 0 .../accounts}/doctype/c_form/README.md | 0 .../accounts}/doctype/c_form/__init__.py | 0 .../accounts}/doctype/c_form/c_form.js | 0 .../accounts}/doctype/c_form/c_form.py | 0 .../accounts}/doctype/c_form/c_form.txt | 0 .../doctype/c_form_invoice_detail/README.md | 0 .../doctype/c_form_invoice_detail/__init__.py | 0 .../c_form_invoice_detail/c_form_invoice_detail.py | 0 .../c_form_invoice_detail/c_form_invoice_detail.txt | 0 .../accounts}/doctype/cost_center/README.md | 0 .../accounts}/doctype/cost_center/__init__.py | 0 .../accounts}/doctype/cost_center/cost_center.js | 0 .../accounts}/doctype/cost_center/cost_center.py | 0 .../accounts}/doctype/cost_center/cost_center.txt | 0 .../doctype/cost_center/test_cost_center.py | 0 .../accounts}/doctype/fiscal_year/README.md | 0 .../accounts}/doctype/fiscal_year/__init__.py | 0 .../accounts}/doctype/fiscal_year/fiscal_year.js | 0 .../accounts}/doctype/fiscal_year/fiscal_year.py | 0 .../accounts}/doctype/fiscal_year/fiscal_year.txt | 0 .../doctype/fiscal_year/test_fiscal_year.py | 0 .../accounts}/doctype/gl_entry/README.md | 0 .../accounts}/doctype/gl_entry/__init__.py | 0 .../accounts}/doctype/gl_entry/gl_entry.py | 0 .../accounts}/doctype/gl_entry/gl_entry.txt | 0 .../accounts}/doctype/journal_voucher/README.md | 0 .../accounts}/doctype/journal_voucher/__init__.py | 0 .../doctype/journal_voucher/journal_voucher.js | 0 .../doctype/journal_voucher/journal_voucher.py | 0 .../doctype/journal_voucher/journal_voucher.txt | 0 .../doctype/journal_voucher/test_journal_voucher.py | 0 .../doctype/journal_voucher_detail/README.md | 0 .../doctype/journal_voucher_detail/__init__.py | 0 .../journal_voucher_detail.py | 0 .../journal_voucher_detail.txt | 0 .../accounts}/doctype/mis_control/README.md | 0 .../accounts}/doctype/mis_control/__init__.py | 0 .../accounts}/doctype/mis_control/mis_control.py | 0 .../accounts}/doctype/mis_control/mis_control.txt | 0 .../accounts}/doctype/mode_of_payment/README.md | 0 .../accounts}/doctype/mode_of_payment/__init__.py | 0 .../doctype/mode_of_payment/mode_of_payment.js | 0 .../doctype/mode_of_payment/mode_of_payment.py | 0 .../doctype/mode_of_payment/mode_of_payment.txt | 0 .../payment_to_invoice_matching_tool/README.md | 0 .../payment_to_invoice_matching_tool/__init__.py | 0 .../payment_to_invoice_matching_tool.js | 0 .../payment_to_invoice_matching_tool.py | 0 .../payment_to_invoice_matching_tool.txt | 0 .../test_payment_to_invoice_matching_tool.py | 0 .../README.md | 0 .../__init__.py | 0 .../payment_to_invoice_matching_tool_detail.py | 0 .../payment_to_invoice_matching_tool_detail.txt | 0 .../doctype/period_closing_voucher/README.md | 0 .../doctype/period_closing_voucher/__init__.py | 0 .../period_closing_voucher.js | 0 .../period_closing_voucher.py | 0 .../period_closing_voucher.txt | 0 .../test_period_closing_voucher.py | 0 .../accounts}/doctype/pos_setting/README.md | 0 .../accounts}/doctype/pos_setting/__init__.py | 0 .../accounts}/doctype/pos_setting/pos_setting.js | 0 .../accounts}/doctype/pos_setting/pos_setting.py | 0 .../accounts}/doctype/pos_setting/pos_setting.txt | 0 .../doctype/pos_setting/test_pos_setting.py | 0 .../accounts}/doctype/purchase_invoice/README.md | 0 .../accounts}/doctype/purchase_invoice/__init__.py | 0 .../doctype/purchase_invoice/purchase_invoice.js | 0 .../doctype/purchase_invoice/purchase_invoice.py | 0 .../doctype/purchase_invoice/purchase_invoice.txt | 0 .../purchase_invoice/purchase_invoice_list.js | 0 .../purchase_invoice/test_purchase_invoice.py | 0 .../doctype/purchase_invoice_advance/README.md | 0 .../doctype/purchase_invoice_advance/__init__.py | 0 .../purchase_invoice_advance.py | 0 .../purchase_invoice_advance.txt | 0 .../doctype/purchase_invoice_item/README.md | 0 .../doctype/purchase_invoice_item/__init__.py | 0 .../purchase_invoice_item/purchase_invoice_item.py | 0 .../purchase_invoice_item/purchase_invoice_item.txt | 0 .../doctype/purchase_taxes_and_charges/README.md | 0 .../doctype/purchase_taxes_and_charges/__init__.py | 0 .../purchase_taxes_and_charges.py | 0 .../purchase_taxes_and_charges.txt | 0 .../purchase_taxes_and_charges_master/README.md | 0 .../purchase_taxes_and_charges_master/__init__.py | 0 .../purchase_taxes_and_charges_master.js | 0 .../purchase_taxes_and_charges_master.py | 0 .../purchase_taxes_and_charges_master.txt | 0 .../accounts}/doctype/sales_invoice/README.md | 0 .../accounts}/doctype/sales_invoice/__init__.py | 0 .../accounts}/doctype/sales_invoice/pos.js | 0 .../accounts}/doctype/sales_invoice/pos.py | 0 .../doctype/sales_invoice/sales_invoice.js | 0 .../doctype/sales_invoice/sales_invoice.py | 0 .../doctype/sales_invoice/sales_invoice.txt | 0 .../doctype/sales_invoice/sales_invoice_list.js | 0 .../doctype/sales_invoice/sales_invoice_map.js | 0 .../doctype/sales_invoice/templates/__init__.py | 0 .../sales_invoice/templates/pages/__init__.py | 0 .../sales_invoice/templates/pages/invoice.html | 0 .../sales_invoice/templates/pages/invoice.py | 0 .../sales_invoice/templates/pages/invoices.html | 0 .../sales_invoice/templates/pages/invoices.py | 0 .../doctype/sales_invoice/test_sales_invoice.py | 0 .../doctype/sales_invoice_advance/README.md | 0 .../doctype/sales_invoice_advance/__init__.py | 0 .../sales_invoice_advance/sales_invoice_advance.py | 0 .../sales_invoice_advance/sales_invoice_advance.txt | 0 .../accounts}/doctype/sales_invoice_item/README.md | 0 .../doctype/sales_invoice_item/__init__.py | 0 .../sales_invoice_item/sales_invoice_item.py | 0 .../sales_invoice_item/sales_invoice_item.txt | 0 .../doctype/sales_taxes_and_charges/README.md | 0 .../doctype/sales_taxes_and_charges/__init__.py | 0 .../sales_taxes_and_charges.py | 0 .../sales_taxes_and_charges.txt | 0 .../sales_taxes_and_charges_master/README.md | 0 .../sales_taxes_and_charges_master/__init__.py | 0 .../sales_taxes_and_charges_master.js | 0 .../sales_taxes_and_charges_master.py | 0 .../sales_taxes_and_charges_master.txt | 0 .../test_sales_taxes_and_charges_master.py | 0 .../accounts}/doctype/shipping_rule/__init__.py | 0 .../doctype/shipping_rule/shipping_rule.js | 0 .../doctype/shipping_rule/shipping_rule.py | 0 .../doctype/shipping_rule/shipping_rule.txt | 0 .../doctype/shipping_rule/test_shipping_rule.py | 0 .../doctype/shipping_rule_condition/__init__.py | 0 .../shipping_rule_condition.py | 0 .../shipping_rule_condition.txt | 0 {accounts => erpnext/accounts}/general_ledger.py | 0 {accounts => erpnext/accounts}/page/__init__.py | 0 .../accounts}/page/accounts_browser/README.md | 0 .../accounts}/page/accounts_browser/__init__.py | 0 .../page/accounts_browser/accounts_browser.css | 0 .../page/accounts_browser/accounts_browser.js | 0 .../page/accounts_browser/accounts_browser.py | 0 .../page/accounts_browser/accounts_browser.txt | 0 .../accounts}/page/accounts_home/__init__.py | 0 .../accounts}/page/accounts_home/accounts_home.js | 0 .../accounts}/page/accounts_home/accounts_home.txt | 0 .../accounts}/page/financial_analytics/README.md | 0 .../accounts}/page/financial_analytics/__init__.py | 0 .../page/financial_analytics/financial_analytics.js | 0 .../financial_analytics/financial_analytics.txt | 0 .../accounts}/page/financial_statements/README.md | 0 .../accounts}/page/financial_statements/__init__.py | 0 .../financial_statements/financial_statements.js | 0 .../financial_statements/financial_statements.txt | 0 .../accounts}/page/general_ledger/README.md | 0 .../accounts}/page/general_ledger/__init__.py | 0 .../page/general_ledger/general_ledger.css | 0 .../page/general_ledger/general_ledger.html | 0 .../accounts}/page/general_ledger/general_ledger.js | 0 .../page/general_ledger/general_ledger.txt | 0 .../accounts}/page/trial_balance/README.md | 0 .../accounts}/page/trial_balance/__init__.py | 0 .../accounts}/page/trial_balance/trial_balance.js | 0 .../accounts}/page/trial_balance/trial_balance.txt | 0 {accounts => erpnext/accounts}/report/__init__.py | 0 .../accounts}/report/accounts_payable/__init__.py | 0 .../report/accounts_payable/accounts_payable.js | 0 .../report/accounts_payable/accounts_payable.py | 0 .../report/accounts_payable/accounts_payable.txt | 0 .../report/accounts_receivable/__init__.py | 0 .../accounts_receivable/accounts_receivable.js | 0 .../accounts_receivable/accounts_receivable.py | 0 .../accounts_receivable/accounts_receivable.txt | 0 .../report/bank_clearance_summary/__init__.py | 0 .../bank_clearance_summary.js | 0 .../bank_clearance_summary.py | 0 .../bank_clearance_summary.txt | 0 .../bank_reconciliation_statement/__init__.py | 0 .../bank_reconciliation_statement.js | 0 .../bank_reconciliation_statement.py | 0 .../bank_reconciliation_statement.txt | 0 .../report/budget_variance_report/__init__.py | 0 .../budget_variance_report.js | 0 .../budget_variance_report.py | 0 .../budget_variance_report.txt | 0 .../report/customer_account_head/__init__.py | 0 .../customer_account_head/customer_account_head.py | 0 .../customer_account_head/customer_account_head.txt | 0 .../report/delivered_items_to_be_billed/__init__.py | 0 .../delivered_items_to_be_billed.txt | 0 .../accounts}/report/gross_profit/__init__.py | 0 .../accounts}/report/gross_profit/gross_profit.js | 0 .../accounts}/report/gross_profit/gross_profit.py | 0 .../accounts}/report/gross_profit/gross_profit.txt | 0 .../report/item_wise_purchase_register/__init__.py | 0 .../item_wise_purchase_register.js | 0 .../item_wise_purchase_register.py | 0 .../item_wise_purchase_register.txt | 0 .../report/item_wise_sales_register/__init__.py | 0 .../item_wise_sales_register.js | 0 .../item_wise_sales_register.py | 0 .../item_wise_sales_register.txt | 0 .../report/ordered_items_to_be_billed/__init__.py | 0 .../ordered_items_to_be_billed.txt | 0 .../__init__.py | 0 .../payment_period_based_on_invoice_date.js | 0 .../payment_period_based_on_invoice_date.py | 0 .../payment_period_based_on_invoice_date.txt | 0 .../report/purchase_invoice_trends/__init__.py | 0 .../purchase_invoice_trends.js | 0 .../purchase_invoice_trends.py | 0 .../purchase_invoice_trends.txt | 0 .../purchase_order_items_to_be_billed/__init__.py | 0 .../purchase_order_items_to_be_billed.txt | 0 .../accounts}/report/purchase_register/__init__.py | 0 .../report/purchase_register/purchase_register.js | 0 .../report/purchase_register/purchase_register.py | 0 .../report/purchase_register/purchase_register.txt | 0 .../report/received_items_to_be_billed/__init__.py | 0 .../received_items_to_be_billed.txt | 0 .../report/sales_invoice_trends/__init__.py | 0 .../sales_invoice_trends/sales_invoice_trends.js | 0 .../sales_invoice_trends/sales_invoice_trends.py | 0 .../sales_invoice_trends/sales_invoice_trends.txt | 0 .../report/sales_partners_commission/__init__.py | 0 .../sales_partners_commission.txt | 0 .../accounts}/report/sales_register/__init__.py | 0 .../report/sales_register/sales_register.js | 0 .../report/sales_register/sales_register.py | 0 .../report/sales_register/sales_register.txt | 0 .../report/supplier_account_head/__init__.py | 0 .../supplier_account_head/supplier_account_head.py | 0 .../supplier_account_head/supplier_account_head.txt | 0 {accounts => erpnext/accounts}/utils.py | 0 .../Purchase Order Classic.txt | 0 .../Purchase Order Modern/Purchase Order Modern.txt | 0 .../Purchase Order Spartan.txt | 0 {buying => erpnext/buying}/README.md | 0 {buying => erpnext/buying}/__init__.py | 0 {buying => erpnext/buying}/doctype/__init__.py | 0 .../buying}/doctype/buying_settings/__init__.py | 0 .../doctype/buying_settings/buying_settings.py | 0 .../doctype/buying_settings/buying_settings.txt | 0 .../buying}/doctype/purchase_common/README.md | 0 .../buying}/doctype/purchase_common/__init__.py | 0 .../doctype/purchase_common/purchase_common.js | 0 .../doctype/purchase_common/purchase_common.py | 0 .../doctype/purchase_common/purchase_common.txt | 0 .../buying}/doctype/purchase_order/README.md | 0 .../buying}/doctype/purchase_order/__init__.py | 0 .../doctype/purchase_order/purchase_order.js | 0 .../doctype/purchase_order/purchase_order.py | 0 .../doctype/purchase_order/purchase_order.txt | 0 .../doctype/purchase_order/test_purchase_order.py | 0 .../buying}/doctype/purchase_order_item/README.md | 0 .../buying}/doctype/purchase_order_item/__init__.py | 0 .../purchase_order_item/purchase_order_item.py | 0 .../purchase_order_item/purchase_order_item.txt | 0 .../doctype/purchase_order_item_supplied/README.md | 0 .../purchase_order_item_supplied/__init__.py | 0 .../purchase_order_item_supplied.py | 0 .../purchase_order_item_supplied.txt | 0 .../purchase_receipt_item_supplied/README.md | 0 .../purchase_receipt_item_supplied/__init__.py | 0 .../purchase_receipt_item_supplied.py | 0 .../purchase_receipt_item_supplied.txt | 0 .../buying}/doctype/quality_inspection/README.md | 0 .../buying}/doctype/quality_inspection/__init__.py | 0 .../quality_inspection/quality_inspection.js | 0 .../quality_inspection/quality_inspection.py | 0 .../quality_inspection/quality_inspection.txt | 0 .../doctype/quality_inspection_reading/README.md | 0 .../doctype/quality_inspection_reading/__init__.py | 0 .../quality_inspection_reading.py | 0 .../quality_inspection_reading.txt | 0 .../buying}/doctype/supplier/README.md | 0 .../buying}/doctype/supplier/__init__.py | 0 .../buying}/doctype/supplier/supplier.js | 0 .../buying}/doctype/supplier/supplier.py | 0 .../buying}/doctype/supplier/supplier.txt | 0 .../buying}/doctype/supplier/test_supplier.py | 0 .../buying}/doctype/supplier_quotation/README.md | 0 .../buying}/doctype/supplier_quotation/__init__.py | 0 .../supplier_quotation/supplier_quotation.js | 0 .../supplier_quotation/supplier_quotation.py | 0 .../supplier_quotation/supplier_quotation.txt | 0 .../supplier_quotation/test_supplier_quotation.py | 0 .../doctype/supplier_quotation_item/README.md | 0 .../doctype/supplier_quotation_item/__init__.py | 0 .../supplier_quotation_item.py | 0 .../supplier_quotation_item.txt | 0 {buying => erpnext/buying}/page/__init__.py | 0 .../buying}/page/buying_home/__init__.py | 0 .../buying}/page/buying_home/buying_home.js | 0 .../buying}/page/buying_home/buying_home.txt | 0 .../buying}/page/purchase_analytics/README.md | 0 .../buying}/page/purchase_analytics/__init__.py | 0 .../page/purchase_analytics/purchase_analytics.js | 0 .../page/purchase_analytics/purchase_analytics.txt | 0 {buying => erpnext/buying}/report/__init__.py | 0 .../report/item_wise_purchase_history/__init__.py | 0 .../item_wise_purchase_history.txt | 0 .../report/purchase_order_trends/__init__.py | 0 .../purchase_order_trends/purchase_order_trends.js | 0 .../purchase_order_trends/purchase_order_trends.py | 0 .../purchase_order_trends/purchase_order_trends.txt | 0 .../requested_items_to_be_ordered/__init__.py | 0 .../requested_items_to_be_ordered.txt | 0 .../supplier_addresses_and_contacts/__init__.py | 0 .../supplier_addresses_and_contacts.txt | 0 {buying => erpnext/buying}/utils.py | 0 {controllers => erpnext/controllers}/__init__.py | 0 .../controllers}/accounts_controller.py | 0 .../controllers}/buying_controller.py | 0 .../controllers}/js/contact_address_common.js | 0 {controllers => erpnext/controllers}/queries.py | 0 .../controllers}/selling_controller.py | 0 .../controllers}/status_updater.py | 0 .../controllers}/stock_controller.py | 0 {controllers => erpnext/controllers}/trends.py | 0 {home => erpnext/home}/__init__.py | 0 {home => erpnext/home}/doctype/__init__.py | 0 {home => erpnext/home}/doctype/feed/README.md | 0 {home => erpnext/home}/doctype/feed/__init__.py | 0 {home => erpnext/home}/doctype/feed/feed.py | 0 {home => erpnext/home}/doctype/feed/feed.txt | 0 {home => erpnext/home}/page/__init__.py | 0 {home => erpnext/home}/page/activity/README.md | 0 {home => erpnext/home}/page/activity/__init__.py | 0 {home => erpnext/home}/page/activity/activity.css | 0 {home => erpnext/home}/page/activity/activity.js | 0 {home => erpnext/home}/page/activity/activity.py | 0 {home => erpnext/home}/page/activity/activity.txt | 0 .../home}/page/latest_updates/README.md | 0 .../home}/page/latest_updates/__init__.py | 0 .../home}/page/latest_updates/latest_updates.js | 0 .../home}/page/latest_updates/latest_updates.py | 0 .../home}/page/latest_updates/latest_updates.txt | 0 {hr => erpnext/hr}/README.md | 0 {hr => erpnext/hr}/__init__.py | 0 {hr => erpnext/hr}/doctype/__init__.py | 0 {hr => erpnext/hr}/doctype/appraisal/README.md | 0 {hr => erpnext/hr}/doctype/appraisal/__init__.py | 0 {hr => erpnext/hr}/doctype/appraisal/appraisal.js | 0 {hr => erpnext/hr}/doctype/appraisal/appraisal.py | 0 {hr => erpnext/hr}/doctype/appraisal/appraisal.txt | 0 {hr => erpnext/hr}/doctype/appraisal_goal/README.md | 0 .../hr}/doctype/appraisal_goal/__init__.py | 0 .../hr}/doctype/appraisal_goal/appraisal_goal.py | 0 .../hr}/doctype/appraisal_goal/appraisal_goal.txt | 0 .../hr}/doctype/appraisal_template/README.md | 0 .../hr}/doctype/appraisal_template/__init__.py | 0 .../appraisal_template/appraisal_template.py | 0 .../appraisal_template/appraisal_template.txt | 0 .../hr}/doctype/appraisal_template_goal/README.md | 0 .../hr}/doctype/appraisal_template_goal/__init__.py | 0 .../appraisal_template_goal.py | 0 .../appraisal_template_goal.txt | 0 {hr => erpnext/hr}/doctype/attendance/README.md | 0 {hr => erpnext/hr}/doctype/attendance/__init__.py | 0 {hr => erpnext/hr}/doctype/attendance/attendance.js | 0 {hr => erpnext/hr}/doctype/attendance/attendance.py | 0 .../hr}/doctype/attendance/attendance.txt | 0 {hr => erpnext/hr}/doctype/branch/README.md | 0 {hr => erpnext/hr}/doctype/branch/__init__.py | 0 {hr => erpnext/hr}/doctype/branch/branch.py | 0 {hr => erpnext/hr}/doctype/branch/branch.txt | 0 {hr => erpnext/hr}/doctype/branch/test_branch.py | 0 {hr => erpnext/hr}/doctype/deduction_type/README.md | 0 .../hr}/doctype/deduction_type/__init__.py | 0 .../hr}/doctype/deduction_type/deduction_type.py | 0 .../hr}/doctype/deduction_type/deduction_type.txt | 0 .../doctype/deduction_type/test_deduction_type.py | 0 {hr => erpnext/hr}/doctype/department/README.md | 0 {hr => erpnext/hr}/doctype/department/__init__.py | 0 {hr => erpnext/hr}/doctype/department/department.py | 0 .../hr}/doctype/department/department.txt | 0 .../hr}/doctype/department/test_department.py | 0 {hr => erpnext/hr}/doctype/designation/README.md | 0 {hr => erpnext/hr}/doctype/designation/__init__.py | 0 .../hr}/doctype/designation/designation.py | 0 .../hr}/doctype/designation/designation.txt | 0 .../hr}/doctype/designation/test_designation.py | 0 {hr => erpnext/hr}/doctype/earning_type/README.md | 0 {hr => erpnext/hr}/doctype/earning_type/__init__.py | 0 .../hr}/doctype/earning_type/earning_type.py | 0 .../hr}/doctype/earning_type/earning_type.txt | 0 .../hr}/doctype/earning_type/test_earning_type.py | 0 {hr => erpnext/hr}/doctype/employee/README.md | 0 {hr => erpnext/hr}/doctype/employee/__init__.py | 0 {hr => erpnext/hr}/doctype/employee/employee.js | 0 {hr => erpnext/hr}/doctype/employee/employee.py | 0 {hr => erpnext/hr}/doctype/employee/employee.txt | 0 .../hr}/doctype/employee/test_employee.py | 0 .../hr}/doctype/employee_education/README.md | 0 .../hr}/doctype/employee_education/__init__.py | 0 .../employee_education/employee_education.py | 0 .../employee_education/employee_education.txt | 0 .../employee_external_work_history/README.md | 0 .../employee_external_work_history/__init__.py | 0 .../employee_external_work_history.py | 0 .../employee_external_work_history.txt | 0 .../employee_internal_work_history/README.md | 0 .../employee_internal_work_history/__init__.py | 0 .../employee_internal_work_history.py | 0 .../employee_internal_work_history.txt | 0 .../hr}/doctype/employee_leave_approver/README.md | 0 .../hr}/doctype/employee_leave_approver/__init__.py | 0 .../employee_leave_approver.py | 0 .../employee_leave_approver.txt | 0 .../hr}/doctype/employment_type/README.md | 0 .../hr}/doctype/employment_type/__init__.py | 0 .../hr}/doctype/employment_type/employment_type.py | 0 .../hr}/doctype/employment_type/employment_type.txt | 0 .../doctype/employment_type/test_employment_type.py | 0 {hr => erpnext/hr}/doctype/expense_claim/README.md | 0 .../hr}/doctype/expense_claim/__init__.py | 0 .../hr}/doctype/expense_claim/expense_claim.js | 0 .../hr}/doctype/expense_claim/expense_claim.py | 0 .../hr}/doctype/expense_claim/expense_claim.txt | 0 .../hr}/doctype/expense_claim_detail/README.md | 0 .../hr}/doctype/expense_claim_detail/__init__.py | 0 .../expense_claim_detail/expense_claim_detail.py | 0 .../expense_claim_detail/expense_claim_detail.txt | 0 .../hr}/doctype/expense_claim_type/README.md | 0 .../hr}/doctype/expense_claim_type/__init__.py | 0 .../expense_claim_type/expense_claim_type.py | 0 .../expense_claim_type/expense_claim_type.txt | 0 {hr => erpnext/hr}/doctype/grade/README.md | 0 {hr => erpnext/hr}/doctype/grade/__init__.py | 0 {hr => erpnext/hr}/doctype/grade/grade.py | 0 {hr => erpnext/hr}/doctype/grade/grade.txt | 0 {hr => erpnext/hr}/doctype/grade/test_grade.py | 0 {hr => erpnext/hr}/doctype/holiday/README.md | 0 {hr => erpnext/hr}/doctype/holiday/__init__.py | 0 {hr => erpnext/hr}/doctype/holiday/holiday.py | 0 {hr => erpnext/hr}/doctype/holiday/holiday.txt | 0 {hr => erpnext/hr}/doctype/holiday_list/README.md | 0 {hr => erpnext/hr}/doctype/holiday_list/__init__.py | 0 .../hr}/doctype/holiday_list/holiday_list.py | 0 .../hr}/doctype/holiday_list/holiday_list.txt | 0 .../hr}/doctype/holiday_list/test_holiday_list.py | 0 {hr => erpnext/hr}/doctype/hr_settings/__init__.py | 0 .../hr}/doctype/hr_settings/hr_settings.py | 0 .../hr}/doctype/hr_settings/hr_settings.txt | 0 {hr => erpnext/hr}/doctype/job_applicant/README.md | 0 .../hr}/doctype/job_applicant/__init__.py | 0 .../doctype/job_applicant/get_job_applications.py | 0 .../hr}/doctype/job_applicant/job_applicant.js | 0 .../hr}/doctype/job_applicant/job_applicant.py | 0 .../hr}/doctype/job_applicant/job_applicant.txt | 0 {hr => erpnext/hr}/doctype/job_opening/README.md | 0 {hr => erpnext/hr}/doctype/job_opening/__init__.py | 0 .../hr}/doctype/job_opening/job_opening.py | 0 .../hr}/doctype/job_opening/job_opening.txt | 0 .../hr}/doctype/leave_allocation/README.md | 0 .../hr}/doctype/leave_allocation/__init__.py | 0 .../doctype/leave_allocation/leave_allocation.js | 0 .../doctype/leave_allocation/leave_allocation.py | 0 .../doctype/leave_allocation/leave_allocation.txt | 0 .../hr}/doctype/leave_application/README.md | 0 .../hr}/doctype/leave_application/__init__.py | 0 .../doctype/leave_application/leave_application.js | 0 .../doctype/leave_application/leave_application.py | 0 .../doctype/leave_application/leave_application.txt | 0 .../leave_application/leave_application_calendar.js | 0 .../leave_application/test_leave_application.py | 0 .../hr}/doctype/leave_block_list/README.md | 0 .../hr}/doctype/leave_block_list/__init__.py | 0 .../doctype/leave_block_list/leave_block_list.py | 0 .../doctype/leave_block_list/leave_block_list.txt | 0 .../leave_block_list/test_leave_block_list.py | 0 .../hr}/doctype/leave_block_list_allow/README.md | 0 .../hr}/doctype/leave_block_list_allow/__init__.py | 0 .../leave_block_list_allow.py | 0 .../leave_block_list_allow.txt | 0 .../hr}/doctype/leave_block_list_date/README.md | 0 .../hr}/doctype/leave_block_list_date/__init__.py | 0 .../leave_block_list_date/leave_block_list_date.py | 0 .../leave_block_list_date/leave_block_list_date.txt | 0 .../hr}/doctype/leave_control_panel/README.md | 0 .../hr}/doctype/leave_control_panel/__init__.py | 0 .../leave_control_panel/leave_control_panel.js | 0 .../leave_control_panel/leave_control_panel.py | 0 .../leave_control_panel/leave_control_panel.txt | 0 {hr => erpnext/hr}/doctype/leave_type/README.md | 0 {hr => erpnext/hr}/doctype/leave_type/__init__.py | 0 {hr => erpnext/hr}/doctype/leave_type/leave_type.py | 0 .../hr}/doctype/leave_type/leave_type.txt | 0 .../hr}/doctype/leave_type/test_leave_type.py | 0 {hr => erpnext/hr}/doctype/salary_manager/README.md | 0 .../hr}/doctype/salary_manager/__init__.py | 0 .../hr}/doctype/salary_manager/salary_manager.js | 0 .../hr}/doctype/salary_manager/salary_manager.py | 0 .../hr}/doctype/salary_manager/salary_manager.txt | 0 .../doctype/salary_manager/test_salary_manager.py | 0 {hr => erpnext/hr}/doctype/salary_slip/README.md | 0 {hr => erpnext/hr}/doctype/salary_slip/__init__.py | 0 .../hr}/doctype/salary_slip/salary_slip.js | 0 .../hr}/doctype/salary_slip/salary_slip.py | 0 .../hr}/doctype/salary_slip/salary_slip.txt | 0 .../hr}/doctype/salary_slip/test_salary_slip.py | 0 .../hr}/doctype/salary_slip_deduction/README.md | 0 .../hr}/doctype/salary_slip_deduction/__init__.py | 0 .../salary_slip_deduction/salary_slip_deduction.py | 0 .../salary_slip_deduction/salary_slip_deduction.txt | 0 .../hr}/doctype/salary_slip_earning/README.md | 0 .../hr}/doctype/salary_slip_earning/__init__.py | 0 .../salary_slip_earning/salary_slip_earning.py | 0 .../salary_slip_earning/salary_slip_earning.txt | 0 .../hr}/doctype/salary_structure/README.md | 0 .../hr}/doctype/salary_structure/__init__.py | 0 .../doctype/salary_structure/salary_structure.js | 0 .../doctype/salary_structure/salary_structure.py | 0 .../doctype/salary_structure/salary_structure.txt | 0 .../doctype/salary_structure_deduction/README.md | 0 .../doctype/salary_structure_deduction/__init__.py | 0 .../salary_structure_deduction.py | 0 .../salary_structure_deduction.txt | 0 .../hr}/doctype/salary_structure_earning/README.md | 0 .../doctype/salary_structure_earning/__init__.py | 0 .../salary_structure_earning.py | 0 .../salary_structure_earning.txt | 0 .../hr}/doctype/upload_attendance/README.md | 0 .../hr}/doctype/upload_attendance/__init__.py | 0 .../doctype/upload_attendance/upload_attendance.js | 0 .../doctype/upload_attendance/upload_attendance.py | 0 .../doctype/upload_attendance/upload_attendance.txt | 0 {hr => erpnext/hr}/page/__init__.py | 0 {hr => erpnext/hr}/page/hr_home/__init__.py | 0 {hr => erpnext/hr}/page/hr_home/hr_home.js | 0 {hr => erpnext/hr}/page/hr_home/hr_home.txt | 0 {hr => erpnext/hr}/report/__init__.py | 0 .../hr}/report/employee_birthday/__init__.py | 0 .../report/employee_birthday/employee_birthday.js | 0 .../report/employee_birthday/employee_birthday.py | 0 .../report/employee_birthday/employee_birthday.txt | 0 .../hr}/report/employee_information/__init__.py | 0 .../employee_information/employee_information.txt | 0 .../hr}/report/employee_leave_balance/__init__.py | 0 .../employee_leave_balance.js | 0 .../employee_leave_balance.py | 0 .../employee_leave_balance.txt | 0 .../hr}/report/monthly_attendance_sheet/__init__.py | 0 .../monthly_attendance_sheet.js | 0 .../monthly_attendance_sheet.py | 0 .../monthly_attendance_sheet.txt | 0 .../hr}/report/monthly_salary_register/__init__.py | 0 .../monthly_salary_register.js | 0 .../monthly_salary_register.py | 0 .../monthly_salary_register.txt | 0 {hr => erpnext/hr}/utils.py | 0 {manufacturing => erpnext/manufacturing}/README.md | 0 .../manufacturing}/__init__.py | 0 .../manufacturing}/doctype/__init__.py | 0 .../manufacturing}/doctype/bom/README.md | 0 .../manufacturing}/doctype/bom/__init__.py | 0 .../manufacturing}/doctype/bom/bom.js | 0 .../manufacturing}/doctype/bom/bom.py | 0 .../manufacturing}/doctype/bom/bom.txt | 0 .../manufacturing}/doctype/bom/test_bom.py | 0 .../doctype/bom_explosion_item/README.md | 0 .../doctype/bom_explosion_item/__init__.py | 0 .../bom_explosion_item/bom_explosion_item.py | 0 .../bom_explosion_item/bom_explosion_item.txt | 0 .../manufacturing}/doctype/bom_item/README.md | 0 .../manufacturing}/doctype/bom_item/__init__.py | 0 .../manufacturing}/doctype/bom_item/bom_item.py | 0 .../manufacturing}/doctype/bom_item/bom_item.txt | 0 .../manufacturing}/doctype/bom_operation/README.md | 0 .../doctype/bom_operation/__init__.py | 0 .../doctype/bom_operation/bom_operation.py | 0 .../doctype/bom_operation/bom_operation.txt | 0 .../doctype/bom_replace_tool/README.md | 0 .../doctype/bom_replace_tool/__init__.py | 0 .../doctype/bom_replace_tool/bom_replace_tool.js | 0 .../doctype/bom_replace_tool/bom_replace_tool.py | 0 .../doctype/bom_replace_tool/bom_replace_tool.txt | 0 .../doctype/production_order/README.md | 0 .../doctype/production_order/__init__.py | 0 .../doctype/production_order/production_order.js | 0 .../doctype/production_order/production_order.py | 0 .../doctype/production_order/production_order.txt | 0 .../production_order/test_production_order.py | 0 .../doctype/production_plan_item/README.md | 0 .../doctype/production_plan_item/__init__.py | 0 .../production_plan_item/production_plan_item.py | 0 .../production_plan_item/production_plan_item.txt | 0 .../doctype/production_plan_sales_order/README.md | 0 .../doctype/production_plan_sales_order/__init__.py | 0 .../production_plan_sales_order.py | 0 .../production_plan_sales_order.txt | 0 .../doctype/production_planning_tool/README.md | 0 .../doctype/production_planning_tool/__init__.py | 0 .../production_planning_tool.js | 0 .../production_planning_tool.py | 0 .../production_planning_tool.txt | 0 .../manufacturing}/doctype/workstation/README.md | 0 .../manufacturing}/doctype/workstation/__init__.py | 0 .../doctype/workstation/workstation.js | 0 .../doctype/workstation/workstation.py | 0 .../doctype/workstation/workstation.txt | 0 .../manufacturing}/page/__init__.py | 0 .../page/manufacturing_home/__init__.py | 0 .../page/manufacturing_home/manufacturing_home.js | 0 .../page/manufacturing_home/manufacturing_home.txt | 0 .../manufacturing}/report/__init__.py | 0 .../report/completed_production_orders/__init__.py | 0 .../completed_production_orders.txt | 0 .../__init__.py | 0 .../issued_items_against_production_order.txt | 0 .../report/open_production_orders/__init__.py | 0 .../open_production_orders.txt | 0 .../production_orders_in_progress/__init__.py | 0 .../production_orders_in_progress.txt | 0 {patches => erpnext/patches}/1311/__init__.py | 0 {patches => erpnext/patches}/1311/p01_cleanup.py | 0 .../patches}/1311/p01_make_gl_entries_for_si.py | 0 .../patches}/1311/p02_index_singles.py | 0 .../patches}/1311/p03_update_reqd_report_fields.py | 0 .../patches}/1311/p04_update_comments.py | 0 .../1311/p04_update_year_end_date_of_fiscal_year.py | 0 .../patches}/1311/p05_website_brand_html.py | 0 .../patches}/1311/p06_fix_report_columns.py | 0 {patches => erpnext/patches}/__init__.py | 0 {patches => erpnext/patches}/april_2013/__init__.py | 0 .../p01_update_serial_no_valuation_rate.py | 0 .../april_2013/p02_add_country_and_currency.py | 0 .../april_2013/p03_fixes_for_lead_in_quotation.py | 0 .../patches}/april_2013/p04_reverse_modules_list.py | 0 .../patches}/april_2013/p04_update_role_in_pages.py | 0 .../april_2013/p05_fixes_in_reverse_modules.py | 0 .../patches}/april_2013/p05_update_file_data.py | 0 .../patches}/april_2013/p06_default_cost_center.py | 0 .../patches}/april_2013/p06_update_file_size.py | 0 .../p07_rename_cost_center_other_charges.py | 0 .../patches}/april_2013/p07_update_file_data_2.py | 0 .../patches}/april_2013/rebuild_sales_browser.py | 0 .../patches}/august_2013/__init__.py | 0 .../patches}/august_2013/fix_fiscal_year.py | 0 .../p01_auto_accounting_for_stock_patch.py | 0 .../patches}/august_2013/p01_hr_settings.py | 0 .../patches}/august_2013/p02_rename_price_list.py | 0 .../p03_pos_setting_replace_customer_account.py | 0 .../patches}/august_2013/p05_employee_birthdays.py | 0 .../august_2013/p05_update_serial_no_status.py | 0 .../august_2013/p06_deprecate_is_cancelled.py | 0 .../august_2013/p06_fix_sle_against_stock_entry.py | 0 .../patches}/december_2012/__init__.py | 0 .../patches}/december_2012/address_title.py | 0 .../december_2012/delete_form16_print_format.py | 0 .../december_2012/deleted_contact_address_patch.py | 0 .../patches}/december_2012/deprecate_tds.py | 0 .../patches}/december_2012/expense_leave_reload.py | 0 .../patches}/december_2012/file_list_rename.py | 0 .../december_2012/fix_default_print_format.py | 0 .../december_2012/move_recent_to_memcache.py | 0 .../patches}/december_2012/production_cleanup.py | 0 .../december_2012/production_order_naming_series.py | 0 .../december_2012/rebuild_item_group_tree.py | 0 .../december_2012/remove_quotation_next_contact.py | 0 .../patches}/december_2012/replace_createlocal.py | 0 .../patches}/december_2012/repost_ordered_qty.py | 0 .../patches}/december_2012/repost_projected_qty.py | 0 .../patches}/december_2012/stock_entry_cleanup.py | 0 .../patches}/december_2012/update_print_width.py | 0 .../december_2012/website_cache_refactor.py | 0 .../patches}/february_2013/__init__.py | 0 .../february_2013/account_negative_balance.py | 0 .../patches}/february_2013/fix_outstanding.py | 0 .../gle_floating_point_issue_revisited.py | 0 .../patches}/february_2013/p01_event.py | 0 .../patches}/february_2013/p02_email_digest.py | 0 .../patches}/february_2013/p03_material_request.py | 0 .../february_2013/p04_remove_old_doctypes.py | 0 .../patches}/february_2013/p05_leave_application.py | 0 .../patches}/february_2013/p08_todo_query_report.py | 0 .../p09_remove_cancelled_warehouses.py | 0 .../patches}/february_2013/p09_timesheets.py | 0 .../payment_reconciliation_reset_values.py | 0 .../reload_bom_replace_tool_permission.py | 0 .../february_2013/remove_account_utils_folder.py | 0 .../patches}/february_2013/remove_gl_mapper.py | 0 .../patches}/february_2013/repost_reserved_qty.py | 0 .../update_company_in_leave_application.py | 0 .../patches}/january_2013/__init__.py | 0 .../patches}/january_2013/change_patch_structure.py | 0 .../patches}/january_2013/enable_currencies.py | 0 .../january_2013/file_list_rename_returns.py | 0 .../january_2013/give_report_permission_on_read.py | 0 .../patches}/january_2013/holiday_list_patch.py | 0 .../patches}/january_2013/rebuild_tree.py | 0 .../patches}/january_2013/reload_print_format.py | 0 .../patches}/january_2013/remove_bad_permissions.py | 0 .../january_2013/remove_landed_cost_master.py | 0 .../january_2013/remove_tds_entry_from_gl_mapper.py | 0 .../january_2013/remove_unwanted_permission.py | 0 .../patches}/january_2013/report_permission.py | 0 .../january_2013/stock_reconciliation_patch.py | 0 .../patches}/january_2013/tabsessions_to_myisam.py | 0 .../patches}/january_2013/update_closed_on.py | 0 .../patches}/january_2013/update_country_info.py | 0 .../january_2013/update_fraction_for_usd.py | 0 .../patches}/january_2013/update_number_format.py | 0 {patches => erpnext/patches}/july_2013/__init__.py | 0 .../july_2013/p01_remove_doctype_mappers.py | 0 .../patches}/july_2013/p01_same_sales_rate_patch.py | 0 .../patches}/july_2013/p02_copy_shipping_address.py | 0 .../patches}/july_2013/p03_cost_center_company.py | 0 .../patches}/july_2013/p04_merge_duplicate_leads.py | 0 .../july_2013/p05_custom_doctypes_in_list_view.py | 0 .../patches}/july_2013/p06_same_sales_rate.py | 0 .../p07_repost_billed_amt_in_sales_cycle.py | 0 .../p08_custom_print_format_net_total_export.py | 0 .../patches}/july_2013/p09_remove_website_pyc.py | 0 .../p10_change_partner_user_to_website_user.py | 0 .../july_2013/p11_update_price_list_currency.py | 0 .../patches}/july_2013/restore_tree_roots.py | 0 {patches => erpnext/patches}/june_2013/__init__.py | 0 .../june_2013/p01_update_bom_exploded_items.py | 0 .../june_2013/p02_update_project_completed.py | 0 .../june_2013/p03_buying_selling_for_price_list.py | 0 .../p04_fix_event_for_lead_oppty_project.py | 0 .../june_2013/p05_remove_search_criteria_reports.py | 0 .../june_2013/p05_remove_unused_doctypes.py | 0 .../patches}/june_2013/p06_drop_unused_tables.py | 0 .../june_2013/p07_taxes_price_list_for_territory.py | 0 .../june_2013/p08_shopping_cart_settings.py | 0 .../june_2013/p09_update_global_defaults.py | 0 .../patches}/june_2013/p10_lead_address.py | 0 {patches => erpnext/patches}/march_2013/__init__.py | 0 .../patches}/march_2013/p01_c_form.py | 0 .../patches}/march_2013/p02_get_global_default.py | 0 .../march_2013/p03_rename_blog_to_blog_post.py | 0 .../march_2013/p04_pos_update_stock_check.py | 0 .../march_2013/p05_payment_reconciliation.py | 0 .../p06_remove_sales_purchase_return_tool.py | 0 .../p07_update_project_in_stock_ledger.py | 0 .../march_2013/p07_update_valuation_rate.py | 0 .../patches}/march_2013/p08_create_aii_accounts.py | 0 .../march_2013/p10_set_fiscal_year_for_stock.py | 0 .../p10_update_against_expense_account.py | 0 .../patches}/march_2013/p11_update_attach_files.py | 0 .../march_2013/p12_set_item_tax_rate_in_json.py | 0 .../march_2013/update_po_prevdoc_doctype.py | 0 {patches => erpnext/patches}/may_2013/__init__.py | 0 .../may_2013/p01_selling_net_total_export.py | 0 .../patches}/may_2013/p02_update_valuation_rate.py | 0 .../patches}/may_2013/p03_update_support_ticket.py | 0 .../patches}/may_2013/p04_reorder_level.py | 0 .../may_2013/p05_update_cancelled_gl_entries.py | 0 .../patches}/may_2013/p06_make_notes.py | 0 .../may_2013/p06_update_billed_amt_po_pr.py | 0 .../may_2013/p07_move_update_stock_to_pos.py | 0 .../patches}/may_2013/p08_change_item_wise_tax.py | 0 .../may_2013/repost_stock_for_no_posting_time.py | 0 .../patches}/november_2012/__init__.py | 0 .../november_2012/add_employee_field_in_employee.py | 0 .../patches}/november_2012/add_theme_to_profile.py | 0 .../patches}/november_2012/cancelled_bom_patch.py | 0 .../communication_sender_and_recipient.py | 0 .../november_2012/custom_field_insert_after.py | 0 .../customer_issue_allocated_to_assigned.py | 0 .../november_2012/disable_cancelled_profiles.py | 0 .../november_2012/gle_floating_point_issue.py | 0 .../november_2012/leave_application_cleanup.py | 0 .../november_2012/production_order_patch.py | 0 .../patches}/november_2012/report_permissions.py | 0 .../november_2012/reset_appraisal_permissions.py | 0 .../support_ticket_response_to_communication.py | 0 .../update_delivered_billed_percentage_for_pos.py | 0 .../patches}/october_2012/__init__.py | 0 .../company_fiscal_year_docstatus_patch.py | 0 .../october_2012/custom_script_delete_permission.py | 0 .../october_2012/fix_cancelled_gl_entries.py | 0 .../patches}/october_2012/fix_wrong_vouchers.py | 0 .../october_2012/update_account_property.py | 0 .../patches}/october_2012/update_permission.py | 0 .../patches}/october_2013/__init__.py | 0 .../october_2013/fix_is_cancelled_in_sle.py | 0 .../october_2013/p01_fix_serial_no_status.py | 0 .../p01_update_delivery_note_prevdocs.py | 0 .../october_2013/p02_set_communication_status.py | 0 ...ate_price_list_and_item_details_in_item_price.py | 0 .../patches}/october_2013/p03_crm_update_status.py | 0 .../p03_remove_sales_and_purchase_return_tool.py | 0 .../october_2013/p04_update_report_permission.py | 0 .../patches}/october_2013/p04_wsgi_migration.py | 0 .../p05_delete_gl_entries_for_cancelled_vouchers.py | 0 .../p05_server_custom_script_to_file.py | 0 .../october_2013/p06_rename_packing_list_doctype.py | 0 .../p06_update_control_panel_and_global_defaults.py | 0 .../october_2013/p07_rename_for_territory.py | 0 .../p08_cleanup_after_item_price_module_change.py | 0 .../p09_update_naming_series_settings.py | 0 .../patches}/october_2013/p10_plugins_refactor.py | 0 .../perpetual_inventory_stock_transfer_utility.py | 0 .../patches}/october_2013/repost_ordered_qty.py | 0 .../patches}/october_2013/repost_planned_qty.py | 0 .../october_2013/set_stock_value_diff_in_sle.py | 0 {patches => erpnext/patches}/patch_list.py | 0 .../patches}/september_2012/__init__.py | 0 .../september_2012/add_stock_ledger_entry_index.py | 0 .../september_2012/all_permissions_patch.py | 0 .../communication_delete_permission.py | 0 .../september_2012/customer_permission_patch.py | 0 .../september_2012/deprecate_account_balance.py | 0 .../patches}/september_2012/event_permission.py | 0 .../patches}/september_2012/plot_patch.py | 0 .../september_2012/profile_delete_permission.py | 0 .../patches}/september_2012/rebuild_trees.py | 0 .../patches}/september_2012/repost_stock.py | 0 .../stock_report_permissions_for_accounts.py | 0 .../patches}/september_2013/__init__.py | 0 .../p01_add_user_defaults_from_pos_setting.py | 0 .../p01_fix_buying_amount_gl_entries.py | 0 .../september_2013/p01_update_communication.py | 0 .../september_2013/p02_fix_serial_no_status.py | 0 .../p03_modify_item_price_include_in_price_list.py | 0 .../september_2013/p03_move_website_to_framework.py | 0 .../september_2013/p03_update_stock_uom_in_sle.py | 0 .../september_2013/p04_unsubmit_serial_nos.py | 0 .../september_2013/p05_fix_customer_in_pos.py | 0 {portal => erpnext/portal}/__init__.py | 0 {portal => erpnext/portal}/templates/__init__.py | 0 {portal => erpnext/portal}/templates/base.html | 0 .../portal}/templates/includes/cart.js | 0 .../portal}/templates/includes/footer.html | 0 .../portal}/templates/includes/transactions.html | 0 .../portal}/templates/pages/__init__.py | 0 .../portal}/templates/pages/cart.html | 0 {portal => erpnext/portal}/templates/pages/cart.py | 0 .../portal}/templates/pages/profile.html | 0 .../portal}/templates/pages/profile.py | 0 {portal => erpnext/portal}/templates/sale.html | 0 .../portal}/templates/sales_transactions.html | 0 {portal => erpnext/portal}/utils.py | 0 {projects => erpnext/projects}/__init__.py | 0 {projects => erpnext/projects}/doctype/__init__.py | 0 .../projects}/doctype/activity_type/README.md | 0 .../projects}/doctype/activity_type/__init__.py | 0 .../doctype/activity_type/activity_type.py | 0 .../doctype/activity_type/activity_type.txt | 0 .../doctype/activity_type/test_activity_type.py | 0 .../projects}/doctype/project/README.md | 0 .../projects}/doctype/project/__init__.py | 0 .../projects}/doctype/project/help.md | 0 .../projects}/doctype/project/project.js | 0 .../projects}/doctype/project/project.py | 0 .../projects}/doctype/project/project.txt | 0 .../projects}/doctype/project/test_project.py | 0 .../projects}/doctype/project_milestone/README.md | 0 .../projects}/doctype/project_milestone/__init__.py | 0 .../doctype/project_milestone/project_milestone.py | 0 .../doctype/project_milestone/project_milestone.txt | 0 .../projects}/doctype/task/README.md | 0 .../projects}/doctype/task/__init__.py | 0 {projects => erpnext/projects}/doctype/task/task.js | 0 {projects => erpnext/projects}/doctype/task/task.py | 0 .../projects}/doctype/task/task.txt | 0 .../projects}/doctype/task/task_calendar.js | 0 .../projects}/doctype/task/test_task.py | 0 .../projects}/doctype/time_log/README.md | 0 .../projects}/doctype/time_log/__init__.py | 0 .../projects}/doctype/time_log/test_time_log.py | 0 .../projects}/doctype/time_log/time_log.js | 0 .../projects}/doctype/time_log/time_log.py | 0 .../projects}/doctype/time_log/time_log.txt | 0 .../projects}/doctype/time_log/time_log_calendar.js | 0 .../projects}/doctype/time_log/time_log_list.js | 0 .../projects}/doctype/time_log_batch/README.md | 0 .../projects}/doctype/time_log_batch/__init__.py | 0 .../doctype/time_log_batch/test_time_log_batch.py | 0 .../doctype/time_log_batch/time_log_batch.js | 0 .../doctype/time_log_batch/time_log_batch.py | 0 .../doctype/time_log_batch/time_log_batch.txt | 0 .../doctype/time_log_batch_detail/README.md | 0 .../doctype/time_log_batch_detail/__init__.py | 0 .../time_log_batch_detail/time_log_batch_detail.py | 0 .../time_log_batch_detail/time_log_batch_detail.txt | 0 {projects => erpnext/projects}/page/__init__.py | 0 .../projects}/page/projects_home/__init__.py | 0 .../projects}/page/projects_home/projects_home.js | 0 .../projects}/page/projects_home/projects_home.txt | 0 {projects => erpnext/projects}/report/__init__.py | 0 .../report/daily_time_log_summary/__init__.py | 0 .../daily_time_log_summary.js | 0 .../daily_time_log_summary.py | 0 .../daily_time_log_summary.txt | 0 .../report/project_wise_stock_tracking/__init__.py | 0 .../project_wise_stock_tracking.py | 0 .../project_wise_stock_tracking.txt | 0 {projects => erpnext/projects}/utils.py | 0 {public => erpnext/public}/build.json | 0 {public => erpnext/public}/css/splash.css | 0 {public => erpnext/public}/images/erpnext-fade.png | Bin {public => erpnext/public}/images/erpnext1.png | Bin {public => erpnext/public}/images/favicon.ico | Bin {public => erpnext/public}/images/feed.png | Bin {public => erpnext/public}/images/splash.svg | 0 {public => erpnext/public}/js/account_tree_grid.js | 0 {public => erpnext/public}/js/conf.js | 0 .../public}/js/controllers/accounts.js | 0 .../public}/js/controllers/stock_controller.js | 0 {public => erpnext/public}/js/feature_setup.js | 0 .../public}/js/purchase_trends_filters.js | 0 {public => erpnext/public}/js/queries.js | 0 .../public}/js/sales_trends_filters.js | 0 {public => erpnext/public}/js/startup.css | 0 {public => erpnext/public}/js/startup.js | 0 {public => erpnext/public}/js/stock_analytics.js | 0 {public => erpnext/public}/js/stock_grid_report.js | 0 {public => erpnext/public}/js/toolbar.js | 0 {public => erpnext/public}/js/transaction.js | 0 {public => erpnext/public}/js/utils.js | 0 {public => erpnext/public}/js/website_utils.js | 0 .../Quotation Classic/Quotation Classic.txt | 0 .../Quotation Modern/Quotation Modern.txt | 0 .../Quotation Spartan/Quotation Spartan.txt | 0 .../Sales Order Classic/Sales Order Classic.txt | 0 .../Sales Order Modern/Sales Order Modern.txt | 0 .../Sales Order Spartan/Sales Order Spartan.txt | 0 {selling => erpnext/selling}/README.md | 0 {selling => erpnext/selling}/__init__.py | 0 {selling => erpnext/selling}/doctype/__init__.py | 0 .../selling}/doctype/campaign/README.md | 0 .../selling}/doctype/campaign/__init__.py | 0 .../selling}/doctype/campaign/campaign.js | 0 .../selling}/doctype/campaign/campaign.py | 0 .../selling}/doctype/campaign/campaign.txt | 0 .../selling}/doctype/campaign/test_campaign.py | 0 .../selling}/doctype/customer/README.md | 0 .../selling}/doctype/customer/__init__.py | 0 .../selling}/doctype/customer/customer.js | 0 .../selling}/doctype/customer/customer.py | 0 .../selling}/doctype/customer/customer.txt | 0 .../selling}/doctype/customer/test_customer.py | 0 .../selling}/doctype/customer_discount/__init__.py | 0 .../doctype/customer_discount/customer_discount.py | 0 .../doctype/customer_discount/customer_discount.txt | 0 .../selling}/doctype/industry_type/README.md | 0 .../selling}/doctype/industry_type/__init__.py | 0 .../selling}/doctype/industry_type/industry_type.js | 0 .../selling}/doctype/industry_type/industry_type.py | 0 .../doctype/industry_type/industry_type.txt | 0 .../doctype/industry_type/test_industry_type.py | 0 .../selling}/doctype/installation_note/README.md | 0 .../selling}/doctype/installation_note/__init__.py | 0 .../doctype/installation_note/installation_note.js | 0 .../doctype/installation_note/installation_note.py | 0 .../doctype/installation_note/installation_note.txt | 0 .../doctype/installation_note_item/README.md | 0 .../doctype/installation_note_item/__init__.py | 0 .../installation_note_item.py | 0 .../installation_note_item.txt | 0 {selling => erpnext/selling}/doctype/lead/README.md | 0 .../selling}/doctype/lead/__init__.py | 0 .../selling}/doctype/lead/get_leads.py | 0 {selling => erpnext/selling}/doctype/lead/lead.js | 0 {selling => erpnext/selling}/doctype/lead/lead.py | 0 {selling => erpnext/selling}/doctype/lead/lead.txt | 0 .../selling}/doctype/lead/test_lead.py | 0 .../selling}/doctype/opportunity/README.md | 0 .../selling}/doctype/opportunity/__init__.py | 0 .../selling}/doctype/opportunity/opportunity.js | 0 .../selling}/doctype/opportunity/opportunity.py | 0 .../selling}/doctype/opportunity/opportunity.txt | 0 .../selling}/doctype/opportunity_item/README.md | 0 .../selling}/doctype/opportunity_item/__init__.py | 0 .../doctype/opportunity_item/opportunity_item.py | 0 .../doctype/opportunity_item/opportunity_item.txt | 0 .../selling}/doctype/quotation/README.md | 0 .../selling}/doctype/quotation/__init__.py | 0 .../selling}/doctype/quotation/quotation.js | 0 .../selling}/doctype/quotation/quotation.py | 0 .../selling}/doctype/quotation/quotation.txt | 0 .../selling}/doctype/quotation/test_quotation.py | 0 .../selling}/doctype/quotation_item/README.md | 0 .../selling}/doctype/quotation_item/__init__.py | 0 .../doctype/quotation_item/quotation_item.py | 0 .../doctype/quotation_item/quotation_item.txt | 0 .../selling}/doctype/sales_bom/__init__.py | 0 .../selling}/doctype/sales_bom/sales_bom.js | 0 .../selling}/doctype/sales_bom/sales_bom.py | 0 .../selling}/doctype/sales_bom/sales_bom.txt | 0 .../selling}/doctype/sales_bom/test_sales_bom.py | 0 .../selling}/doctype/sales_bom_item/__init__.py | 0 .../doctype/sales_bom_item/sales_bom_item.py | 0 .../doctype/sales_bom_item/sales_bom_item.txt | 0 .../selling}/doctype/sales_order/README.md | 0 .../selling}/doctype/sales_order/__init__.py | 0 .../selling}/doctype/sales_order/sales_order.js | 0 .../selling}/doctype/sales_order/sales_order.py | 0 .../selling}/doctype/sales_order/sales_order.txt | 0 .../doctype/sales_order/templates/__init__.py | 0 .../doctype/sales_order/templates/pages/__init__.py | 0 .../doctype/sales_order/templates/pages/order.html | 0 .../doctype/sales_order/templates/pages/order.py | 0 .../doctype/sales_order/templates/pages/orders.html | 0 .../doctype/sales_order/templates/pages/orders.py | 0 .../doctype/sales_order/test_sales_order.py | 0 .../selling}/doctype/sales_order_item/README.md | 0 .../selling}/doctype/sales_order_item/__init__.py | 0 .../doctype/sales_order_item/sales_order_item.py | 0 .../doctype/sales_order_item/sales_order_item.txt | 0 .../selling}/doctype/sales_team/README.md | 0 .../selling}/doctype/sales_team/__init__.py | 0 .../selling}/doctype/sales_team/sales_team.py | 0 .../selling}/doctype/sales_team/sales_team.txt | 0 .../selling}/doctype/selling_settings/__init__.py | 0 .../doctype/selling_settings/selling_settings.py | 0 .../doctype/selling_settings/selling_settings.txt | 0 .../doctype/shopping_cart_price_list/__init__.py | 0 .../shopping_cart_price_list.py | 0 .../shopping_cart_price_list.txt | 0 .../doctype/shopping_cart_settings/__init__.py | 0 .../shopping_cart_settings.js | 0 .../shopping_cart_settings.py | 0 .../shopping_cart_settings.txt | 0 .../test_shopping_cart_settings.py | 0 .../doctype/shopping_cart_shipping_rule/__init__.py | 0 .../shopping_cart_shipping_rule.py | 0 .../shopping_cart_shipping_rule.txt | 0 .../__init__.py | 0 .../shopping_cart_taxes_and_charges_master.py | 0 .../shopping_cart_taxes_and_charges_master.txt | 0 .../selling}/doctype/sms_center/README.md | 0 .../selling}/doctype/sms_center/__init__.py | 0 .../selling}/doctype/sms_center/sms_center.py | 0 .../selling}/doctype/sms_center/sms_center.txt | 0 {selling => erpnext/selling}/page/__init__.py | 0 .../selling}/page/sales_analytics/README.md | 0 .../selling}/page/sales_analytics/__init__.py | 0 .../page/sales_analytics/sales_analytics.js | 0 .../page/sales_analytics/sales_analytics.txt | 0 .../selling}/page/sales_browser/README.md | 0 .../selling}/page/sales_browser/__init__.py | 0 .../selling}/page/sales_browser/sales_browser.css | 0 .../selling}/page/sales_browser/sales_browser.js | 0 .../selling}/page/sales_browser/sales_browser.py | 0 .../selling}/page/sales_browser/sales_browser.txt | 0 .../selling}/page/sales_funnel/__init__.py | 0 .../selling}/page/sales_funnel/sales_funnel.css | 0 .../selling}/page/sales_funnel/sales_funnel.js | 0 .../selling}/page/sales_funnel/sales_funnel.py | 0 .../selling}/page/sales_funnel/sales_funnel.txt | 0 .../selling}/page/selling_home/__init__.py | 0 .../selling}/page/selling_home/selling_home.js | 0 .../selling}/page/selling_home/selling_home.txt | 0 {selling => erpnext/selling}/report/__init__.py | 0 .../available_stock_for_packing_items/__init__.py | 0 .../available_stock_for_packing_items.py | 0 .../available_stock_for_packing_items.txt | 0 .../customer_acquisition_and_loyalty/__init__.py | 0 .../customer_acquisition_and_loyalty.js | 0 .../customer_acquisition_and_loyalty.py | 0 .../customer_acquisition_and_loyalty.txt | 0 .../customer_addresses_and_contacts/__init__.py | 0 .../customer_addresses_and_contacts.txt | 0 .../__init__.py | 0 .../customers_not_buying_since_long_time.js | 0 .../customers_not_buying_since_long_time.py | 0 .../customers_not_buying_since_long_time.txt | 0 .../report/item_wise_sales_history/__init__.py | 0 .../item_wise_sales_history.txt | 0 .../selling}/report/lead_details/__init__.py | 0 .../selling}/report/lead_details/lead_details.txt | 0 .../__init__.py | 0 .../pending_so_items_for_purchase_request.txt | 0 .../selling}/report/quotation_trends/__init__.py | 0 .../report/quotation_trends/quotation_trends.js | 0 .../report/quotation_trends/quotation_trends.py | 0 .../report/quotation_trends/quotation_trends.txt | 0 .../selling}/report/sales_order_trends/__init__.py | 0 .../report/sales_order_trends/sales_order_trends.js | 0 .../report/sales_order_trends/sales_order_trends.py | 0 .../sales_order_trends/sales_order_trends.txt | 0 .../__init__.py | 0 .../sales_person_target_variance_item_group_wise.js | 0 .../sales_person_target_variance_item_group_wise.py | 0 ...sales_person_target_variance_item_group_wise.txt | 0 .../__init__.py | 0 .../sales_person_wise_transaction_summary.js | 0 .../sales_person_wise_transaction_summary.py | 0 .../sales_person_wise_transaction_summary.txt | 0 .../__init__.py | 0 .../territory_target_variance_item_group_wise.js | 0 .../territory_target_variance_item_group_wise.py | 0 .../territory_target_variance_item_group_wise.txt | 0 {selling => erpnext/selling}/sales_common.js | 0 {selling => erpnext/selling}/utils/__init__.py | 0 {selling => erpnext/selling}/utils/cart.py | 0 {selling => erpnext/selling}/utils/product.py | 0 {setup => erpnext/setup}/__init__.py | 0 {setup => erpnext/setup}/doctype/__init__.py | 0 .../setup}/doctype/applicable_territory/__init__.py | 0 .../applicable_territory/applicable_territory.py | 0 .../applicable_territory/applicable_territory.txt | 0 .../setup}/doctype/authorization_control/README.md | 0 .../doctype/authorization_control/__init__.py | 0 .../authorization_control/authorization_control.py | 0 .../authorization_control/authorization_control.txt | 0 .../setup}/doctype/authorization_rule/README.md | 0 .../setup}/doctype/authorization_rule/__init__.py | 0 .../authorization_rule/authorization_rule.js | 0 .../authorization_rule/authorization_rule.py | 0 .../authorization_rule/authorization_rule.txt | 0 .../setup}/doctype/backup_manager/README.md | 0 .../setup}/doctype/backup_manager/__init__.py | 0 .../setup}/doctype/backup_manager/backup_dropbox.py | 0 .../doctype/backup_manager/backup_googledrive.py | 0 .../setup}/doctype/backup_manager/backup_manager.js | 0 .../setup}/doctype/backup_manager/backup_manager.py | 0 .../doctype/backup_manager/backup_manager.txt | 0 {setup => erpnext/setup}/doctype/brand/README.md | 0 {setup => erpnext/setup}/doctype/brand/__init__.py | 0 {setup => erpnext/setup}/doctype/brand/brand.js | 0 {setup => erpnext/setup}/doctype/brand/brand.py | 0 {setup => erpnext/setup}/doctype/brand/brand.txt | 0 .../setup}/doctype/brand/test_brand.py | 0 {setup => erpnext/setup}/doctype/company/README.md | 0 .../setup}/doctype/company/__init__.py | 0 .../setup}/doctype/company/charts/__init__.py | 0 .../company/charts/ar_ar_chart_template.json | 0 .../company/charts/at_austria_chart_template.json | 0 .../company/charts/be_l10nbe_chart_template.json | 0 .../company/charts/bo_bo_chart_template.json | 0 .../company/charts/ca_ca_en_chart_template_en.json | 0 .../company/charts/ca_ca_fr_chart_template_fr.json | 0 .../company/charts/cl_cl_chart_template.json | 0 .../doctype/company/charts/cn_l10n_chart_china.json | 0 .../company/charts/de_l10n_chart_de_skr04.json | 0 .../company/charts/de_l10n_de_chart_template.json | 0 .../company/charts/ec_ec_chart_template.json | 0 .../company/charts/es_l10nES_chart_template.json | 0 .../charts/es_l10nES_chart_template_assoc.json | 0 .../charts/es_l10nES_chart_template_pymes.json | 0 .../charts/fr_l10n_fr_pcg_chart_template.json | 0 .../company/charts/gr_l10n_gr_chart_template.json | 0 .../company/charts/hn_cuentas_plantilla.json | 0 .../doctype/company/charts/import_from_openerp.py | 0 .../charts/in_indian_chart_template_private.json | 0 .../charts/in_indian_chart_template_public.json | 0 .../charts/it_l10n_it_chart_template_generic.json | 0 .../doctype/company/charts/lu_lu_2011_chart_1.json | 0 .../company/charts/ma_l10n_kzc_temp_chart.json | 0 .../company/charts/nl_l10nnl_chart_template.json | 0 .../company/charts/pa_l10npa_chart_template.json | 0 .../company/charts/pe_pe_chart_template.json | 0 .../company/charts/pl_pl_chart_template.json | 0 .../company/charts/pt_pt_chart_template.json | 0 .../company/charts/ro_romania_chart_template.json | 0 .../charts/syscohada_syscohada_chart_template.json | 0 .../setup}/doctype/company/charts/th_chart.json | 0 .../company/charts/tr_l10ntr_tek_duzen_hesap.json | 0 .../charts/us_account_chart_template_basic.json | 0 .../company/charts/uy_uy_chart_template.json | 0 {setup => erpnext/setup}/doctype/company/company.js | 0 {setup => erpnext/setup}/doctype/company/company.py | 0 .../setup}/doctype/company/company.txt | 0 .../setup}/doctype/company/sample_home_page.html | 0 .../setup}/doctype/company/test_company.py | 0 .../setup}/doctype/contact_control/README.md | 0 .../setup}/doctype/contact_control/__init__.py | 0 .../doctype/contact_control/contact_control.js | 0 .../doctype/contact_control/contact_control.py | 0 .../doctype/contact_control/contact_control.txt | 0 {setup => erpnext/setup}/doctype/country/README.md | 0 .../setup}/doctype/country/__init__.py | 0 {setup => erpnext/setup}/doctype/country/country.py | 0 .../setup}/doctype/country/country.txt | 0 .../setup}/doctype/country/test_country.py | 0 {setup => erpnext/setup}/doctype/currency/README.md | 0 .../setup}/doctype/currency/__init__.py | 0 .../setup}/doctype/currency/currency.js | 0 .../setup}/doctype/currency/currency.py | 0 .../setup}/doctype/currency/currency.txt | 0 .../setup}/doctype/currency/test_currency.py | 0 .../setup}/doctype/currency_exchange/__init__.py | 0 .../doctype/currency_exchange/currency_exchange.js | 0 .../doctype/currency_exchange/currency_exchange.py | 0 .../doctype/currency_exchange/currency_exchange.txt | 0 .../currency_exchange/test_currency_exchange.py | 0 .../setup}/doctype/customer_group/README.md | 0 .../setup}/doctype/customer_group/__init__.py | 0 .../setup}/doctype/customer_group/customer_group.js | 0 .../setup}/doctype/customer_group/customer_group.py | 0 .../doctype/customer_group/customer_group.txt | 0 .../doctype/customer_group/test_customer_group.py | 0 .../setup}/doctype/email_digest/README.md | 0 .../setup}/doctype/email_digest/__init__.py | 0 .../setup}/doctype/email_digest/email_digest.css | 0 .../setup}/doctype/email_digest/email_digest.js | 0 .../setup}/doctype/email_digest/email_digest.py | 0 .../setup}/doctype/email_digest/email_digest.txt | 0 .../setup}/doctype/email_settings/README.md | 0 .../setup}/doctype/email_settings/__init__.py | 0 .../setup}/doctype/email_settings/email_settings.py | 0 .../doctype/email_settings/email_settings.txt | 0 .../setup}/doctype/features_setup/README.md | 0 .../setup}/doctype/features_setup/__init__.py | 0 .../setup}/doctype/features_setup/features_setup.py | 0 .../doctype/features_setup/features_setup.txt | 0 .../setup}/doctype/global_defaults/README.md | 0 .../setup}/doctype/global_defaults/__init__.py | 0 .../doctype/global_defaults/global_defaults.js | 0 .../doctype/global_defaults/global_defaults.py | 0 .../doctype/global_defaults/global_defaults.txt | 0 .../setup}/doctype/item_group/README.md | 0 .../setup}/doctype/item_group/__init__.py | 0 .../setup}/doctype/item_group/item_group.js | 0 .../setup}/doctype/item_group/item_group.py | 0 .../setup}/doctype/item_group/item_group.txt | 0 .../setup}/doctype/item_group/templates/__init__.py | 0 .../item_group/templates/generators/__init__.py | 0 .../item_group/templates/generators/item_group.html | 0 .../item_group/templates/generators/item_group.py | 0 .../setup}/doctype/item_group/test_item_group.py | 0 .../setup}/doctype/jobs_email_settings/README.md | 0 .../setup}/doctype/jobs_email_settings/__init__.py | 0 .../jobs_email_settings/jobs_email_settings.js | 0 .../jobs_email_settings/jobs_email_settings.py | 0 .../jobs_email_settings/jobs_email_settings.txt | 0 .../setup}/doctype/naming_series/README.md | 0 .../setup}/doctype/naming_series/__init__.py | 0 .../setup}/doctype/naming_series/naming_series.js | 0 .../setup}/doctype/naming_series/naming_series.py | 0 .../setup}/doctype/naming_series/naming_series.txt | 0 .../setup}/doctype/notification_control/README.md | 0 .../setup}/doctype/notification_control/__init__.py | 0 .../notification_control/notification_control.js | 0 .../notification_control/notification_control.py | 0 .../notification_control/notification_control.txt | 0 .../setup}/doctype/print_heading/README.md | 0 .../setup}/doctype/print_heading/__init__.py | 0 .../setup}/doctype/print_heading/print_heading.js | 0 .../setup}/doctype/print_heading/print_heading.py | 0 .../setup}/doctype/print_heading/print_heading.txt | 0 .../doctype/print_heading/test_print_heading.py | 0 .../setup}/doctype/quotation_lost_reason/README.md | 0 .../doctype/quotation_lost_reason/__init__.py | 0 .../quotation_lost_reason/quotation_lost_reason.js | 0 .../quotation_lost_reason/quotation_lost_reason.py | 0 .../quotation_lost_reason/quotation_lost_reason.txt | 0 .../test_quotation_lost_reason.py | 0 .../setup}/doctype/sales_email_settings/README.md | 0 .../setup}/doctype/sales_email_settings/__init__.py | 0 .../sales_email_settings/sales_email_settings.js | 0 .../sales_email_settings/sales_email_settings.py | 0 .../sales_email_settings/sales_email_settings.txt | 0 .../setup}/doctype/sales_partner/README.md | 0 .../setup}/doctype/sales_partner/__init__.py | 0 .../setup}/doctype/sales_partner/sales_partner.js | 0 .../setup}/doctype/sales_partner/sales_partner.py | 0 .../setup}/doctype/sales_partner/sales_partner.txt | 0 .../doctype/sales_partner/templates/__init__.py | 0 .../sales_partner/templates/generators/__init__.py | 0 .../sales_partner/templates/generators/partner.html | 0 .../sales_partner/templates/generators/partner.py | 0 .../sales_partner/templates/pages/__init__.py | 0 .../sales_partner/templates/pages/partners.html | 0 .../sales_partner/templates/pages/partners.py | 0 .../doctype/sales_partner/test_sales_partner.py | 0 .../setup}/doctype/sales_person/README.md | 0 .../setup}/doctype/sales_person/__init__.py | 0 .../setup}/doctype/sales_person/sales_person.js | 0 .../setup}/doctype/sales_person/sales_person.py | 0 .../setup}/doctype/sales_person/sales_person.txt | 0 .../doctype/sales_person/test_sales_person.py | 0 .../setup}/doctype/sms_parameter/README.md | 0 .../setup}/doctype/sms_parameter/__init__.py | 0 .../setup}/doctype/sms_parameter/sms_parameter.py | 0 .../setup}/doctype/sms_parameter/sms_parameter.txt | 0 .../setup}/doctype/sms_settings/README.md | 0 .../setup}/doctype/sms_settings/__init__.py | 0 .../setup}/doctype/sms_settings/sms_settings.py | 0 .../setup}/doctype/sms_settings/sms_settings.txt | 0 .../setup}/doctype/supplier_type/README.md | 0 .../setup}/doctype/supplier_type/__init__.py | 0 .../setup}/doctype/supplier_type/supplier_type.js | 0 .../setup}/doctype/supplier_type/supplier_type.py | 0 .../setup}/doctype/supplier_type/supplier_type.txt | 0 .../doctype/supplier_type/test_supplier_type.py | 0 .../setup}/doctype/target_detail/README.md | 0 .../setup}/doctype/target_detail/__init__.py | 0 .../setup}/doctype/target_detail/target_detail.py | 0 .../setup}/doctype/target_detail/target_detail.txt | 0 .../setup}/doctype/terms_and_conditions/README.md | 0 .../setup}/doctype/terms_and_conditions/__init__.py | 0 .../terms_and_conditions/terms_and_conditions.js | 0 .../terms_and_conditions/terms_and_conditions.py | 0 .../terms_and_conditions/terms_and_conditions.txt | 0 .../test_terms_and_conditions.py | 0 .../setup}/doctype/territory/README.md | 0 .../setup}/doctype/territory/__init__.py | 0 .../setup}/doctype/territory/territory.js | 0 .../setup}/doctype/territory/territory.py | 0 .../setup}/doctype/territory/territory.txt | 0 .../setup}/doctype/territory/test_territory.py | 0 {setup => erpnext/setup}/doctype/uom/README.md | 0 {setup => erpnext/setup}/doctype/uom/__init__.py | 0 {setup => erpnext/setup}/doctype/uom/test_uom.py | 0 {setup => erpnext/setup}/doctype/uom/uom.js | 0 {setup => erpnext/setup}/doctype/uom/uom.py | 0 {setup => erpnext/setup}/doctype/uom/uom.txt | 0 .../setup}/doctype/website_item_group/README.md | 0 .../setup}/doctype/website_item_group/__init__.py | 0 .../website_item_group/website_item_group.py | 0 .../website_item_group/website_item_group.txt | 0 {setup => erpnext/setup}/page/__init__.py | 0 {setup => erpnext/setup}/page/setup/__init__.py | 0 {setup => erpnext/setup}/page/setup/setup.js | 0 {setup => erpnext/setup}/page/setup/setup.py | 0 {setup => erpnext/setup}/page/setup/setup.txt | 0 .../setup}/page/setup_wizard/__init__.py | 0 .../setup}/page/setup_wizard/setup_wizard.css | 0 .../setup}/page/setup_wizard/setup_wizard.js | 0 .../setup}/page/setup_wizard/setup_wizard.py | 0 .../setup}/page/setup_wizard/setup_wizard.txt | 0 .../setup}/page/setup_wizard/test_setup_data.py | 0 .../setup}/page/setup_wizard/test_setup_wizard.py | 0 {setup => erpnext/setup}/report/__init__.py | 0 .../report/item_wise_price_list_rate/__init__.py | 0 .../item_wise_price_list_rate.txt | 0 {setup => erpnext/setup}/utils.py | 0 {startup => erpnext/startup}/__init__.py | 0 {startup => erpnext/startup}/bean_handlers.py | 0 {startup => erpnext/startup}/boot.py | 0 {startup => erpnext/startup}/event_handlers.py | 0 {startup => erpnext/startup}/install.py | 0 {startup => erpnext/startup}/open_count.py | 0 {startup => erpnext/startup}/query_handlers.py | 0 {startup => erpnext/startup}/report_data_map.py | 0 {startup => erpnext/startup}/schedule_handlers.py | 0 {startup => erpnext/startup}/webutils.py | 0 .../Delivery Note Classic/Delivery Note Classic.txt | 0 .../Delivery Note Modern/Delivery Note Modern.txt | 0 .../Delivery Note Packing List Wise.txt | 0 .../Delivery Note Spartan/Delivery Note Spartan.txt | 0 .../Purchase Receipt Format.txt | 0 {stock => erpnext/stock}/README.md | 0 {stock => erpnext/stock}/__init__.py | 0 {stock => erpnext/stock}/doctype/__init__.py | 0 {stock => erpnext/stock}/doctype/batch/README.md | 0 {stock => erpnext/stock}/doctype/batch/__init__.py | 0 {stock => erpnext/stock}/doctype/batch/batch.js | 0 {stock => erpnext/stock}/doctype/batch/batch.py | 0 {stock => erpnext/stock}/doctype/batch/batch.txt | 0 {stock => erpnext/stock}/doctype/bin/README.md | 0 {stock => erpnext/stock}/doctype/bin/__init__.py | 0 {stock => erpnext/stock}/doctype/bin/bin.py | 0 {stock => erpnext/stock}/doctype/bin/bin.txt | 0 .../stock}/doctype/delivery_note/README.md | 0 .../stock}/doctype/delivery_note/__init__.py | 0 .../stock}/doctype/delivery_note/delivery_note.js | 0 .../stock}/doctype/delivery_note/delivery_note.py | 0 .../stock}/doctype/delivery_note/delivery_note.txt | 0 .../doctype/delivery_note/templates/__init__.py | 0 .../delivery_note/templates/pages/__init__.py | 0 .../delivery_note/templates/pages/shipment.html | 0 .../delivery_note/templates/pages/shipment.py | 0 .../delivery_note/templates/pages/shipments.html | 0 .../delivery_note/templates/pages/shipments.py | 0 .../doctype/delivery_note/test_delivery_note.py | 0 .../stock}/doctype/delivery_note_item/README.md | 0 .../stock}/doctype/delivery_note_item/__init__.py | 0 .../delivery_note_item/delivery_note_item.py | 0 .../delivery_note_item/delivery_note_item.txt | 0 {stock => erpnext/stock}/doctype/item/README.md | 0 {stock => erpnext/stock}/doctype/item/__init__.py | 0 {stock => erpnext/stock}/doctype/item/item.js | 0 {stock => erpnext/stock}/doctype/item/item.py | 0 {stock => erpnext/stock}/doctype/item/item.txt | 0 .../stock}/doctype/item/templates/__init__.py | 0 .../doctype/item/templates/generators/__init__.py | 0 .../doctype/item/templates/generators/item.html | 0 .../doctype/item/templates/generators/item.py | 0 .../templates/includes/product_breadcrumbs.html | 0 .../item/templates/includes/product_in_grid.html | 0 .../item/templates/includes/product_in_list.html | 0 .../doctype/item/templates/includes/product_list.js | 0 .../templates/includes/product_missing_image.html | 0 .../item/templates/includes/product_page.css | 0 .../doctype/item/templates/includes/product_page.js | 0 .../item/templates/includes/product_search_box.html | 0 .../stock}/doctype/item/templates/pages/__init__.py | 0 .../item/templates/pages/product_search.html | 0 .../doctype/item/templates/pages/product_search.py | 0 {stock => erpnext/stock}/doctype/item/test_item.py | 0 .../stock}/doctype/item_customer_detail/README.md | 0 .../stock}/doctype/item_customer_detail/__init__.py | 0 .../item_customer_detail/item_customer_detail.py | 0 .../item_customer_detail/item_customer_detail.txt | 0 .../stock}/doctype/item_price/README.md | 0 .../stock}/doctype/item_price/__init__.py | 0 .../stock}/doctype/item_price/item_price.js | 0 .../stock}/doctype/item_price/item_price.py | 0 .../stock}/doctype/item_price/item_price.txt | 0 .../stock}/doctype/item_price/test_item_price.py | 0 .../item_quality_inspection_parameter/README.md | 0 .../item_quality_inspection_parameter/__init__.py | 0 .../item_quality_inspection_parameter.py | 0 .../item_quality_inspection_parameter.txt | 0 .../stock}/doctype/item_reorder/README.md | 0 .../stock}/doctype/item_reorder/__init__.py | 0 .../stock}/doctype/item_reorder/item_reorder.py | 0 .../stock}/doctype/item_reorder/item_reorder.txt | 0 .../stock}/doctype/item_supplier/README.md | 0 .../stock}/doctype/item_supplier/__init__.py | 0 .../stock}/doctype/item_supplier/item_supplier.py | 0 .../stock}/doctype/item_supplier/item_supplier.txt | 0 {stock => erpnext/stock}/doctype/item_tax/README.md | 0 .../stock}/doctype/item_tax/__init__.py | 0 .../stock}/doctype/item_tax/item_tax.py | 0 .../stock}/doctype/item_tax/item_tax.txt | 0 .../doctype/item_website_specification/README.md | 0 .../doctype/item_website_specification/__init__.py | 0 .../item_website_specification.py | 0 .../item_website_specification.txt | 0 .../stock}/doctype/landed_cost_item/README.md | 0 .../stock}/doctype/landed_cost_item/__init__.py | 0 .../doctype/landed_cost_item/landed_cost_item.py | 0 .../doctype/landed_cost_item/landed_cost_item.txt | 0 .../doctype/landed_cost_purchase_receipt/README.md | 0 .../landed_cost_purchase_receipt/__init__.py | 0 .../landed_cost_purchase_receipt.py | 0 .../landed_cost_purchase_receipt.txt | 0 .../stock}/doctype/landed_cost_wizard/README.md | 0 .../stock}/doctype/landed_cost_wizard/__init__.py | 0 .../landed_cost_wizard/landed_cost_wizard.js | 0 .../landed_cost_wizard/landed_cost_wizard.py | 0 .../landed_cost_wizard/landed_cost_wizard.txt | 0 .../stock}/doctype/material_request/README.md | 0 .../stock}/doctype/material_request/__init__.py | 0 .../doctype/material_request/material_request.js | 0 .../doctype/material_request/material_request.py | 0 .../doctype/material_request/material_request.txt | 0 .../material_request/test_material_request.py | 0 .../stock}/doctype/material_request_item/README.md | 0 .../doctype/material_request_item/__init__.py | 0 .../material_request_item/material_request_item.py | 0 .../material_request_item/material_request_item.txt | 0 .../stock}/doctype/packed_item/__init__.py | 0 .../stock}/doctype/packed_item/packed_item.py | 0 .../stock}/doctype/packed_item/packed_item.txt | 0 .../stock}/doctype/packing_slip/README.md | 0 .../stock}/doctype/packing_slip/__init__.py | 0 .../stock}/doctype/packing_slip/packing_slip.js | 0 .../stock}/doctype/packing_slip/packing_slip.py | 0 .../stock}/doctype/packing_slip/packing_slip.txt | 0 .../stock}/doctype/packing_slip_item/README.md | 0 .../stock}/doctype/packing_slip_item/__init__.py | 0 .../doctype/packing_slip_item/packing_slip_item.py | 0 .../doctype/packing_slip_item/packing_slip_item.txt | 0 .../stock}/doctype/price_list/README.md | 0 .../stock}/doctype/price_list/__init__.py | 0 .../stock}/doctype/price_list/price_list.css | 0 .../stock}/doctype/price_list/price_list.js | 0 .../stock}/doctype/price_list/price_list.py | 0 .../stock}/doctype/price_list/price_list.txt | 0 .../stock}/doctype/price_list/test_price_list.py | 0 .../stock}/doctype/purchase_receipt/README.md | 0 .../stock}/doctype/purchase_receipt/__init__.py | 0 .../doctype/purchase_receipt/purchase_receipt.js | 0 .../doctype/purchase_receipt/purchase_receipt.py | 0 .../doctype/purchase_receipt/purchase_receipt.txt | 0 .../purchase_receipt/test_purchase_receipt.py | 0 .../stock}/doctype/purchase_receipt_item/README.md | 0 .../doctype/purchase_receipt_item/__init__.py | 0 .../purchase_receipt_item/purchase_receipt_item.py | 0 .../purchase_receipt_item/purchase_receipt_item.txt | 0 .../stock}/doctype/sales_bom/README.md | 0 .../stock}/doctype/sales_bom_item/README.md | 0 .../stock}/doctype/serial_no/README.md | 0 .../stock}/doctype/serial_no/__init__.py | 0 .../stock}/doctype/serial_no/serial_no.js | 0 .../stock}/doctype/serial_no/serial_no.py | 0 .../stock}/doctype/serial_no/serial_no.txt | 0 .../stock}/doctype/serial_no/test_serial_no.py | 0 .../stock}/doctype/stock_entry/README.md | 0 .../stock}/doctype/stock_entry/__init__.py | 0 .../stock}/doctype/stock_entry/stock_entry.js | 0 .../stock}/doctype/stock_entry/stock_entry.py | 0 .../stock}/doctype/stock_entry/stock_entry.txt | 0 .../stock}/doctype/stock_entry/test_stock_entry.py | 0 .../stock}/doctype/stock_entry_detail/README.md | 0 .../stock}/doctype/stock_entry_detail/__init__.py | 0 .../stock_entry_detail/stock_entry_detail.py | 0 .../stock_entry_detail/stock_entry_detail.txt | 0 .../stock}/doctype/stock_ledger/stock_ledger.py | 0 .../stock}/doctype/stock_ledger_entry/README.md | 0 .../stock}/doctype/stock_ledger_entry/__init__.py | 0 .../stock_ledger_entry/stock_ledger_entry.py | 0 .../stock_ledger_entry/stock_ledger_entry.txt | 0 .../stock}/doctype/stock_reconciliation/README.md | 0 .../stock}/doctype/stock_reconciliation/__init__.py | 0 .../stock_reconciliation/stock_reconciliation.js | 0 .../stock_reconciliation/stock_reconciliation.py | 0 .../stock_reconciliation/stock_reconciliation.txt | 0 .../test_stock_reconciliation.py | 0 .../stock}/doctype/stock_settings/__init__.py | 0 .../stock}/doctype/stock_settings/stock_settings.py | 0 .../doctype/stock_settings/stock_settings.txt | 0 .../doctype/stock_uom_replace_utility/README.md | 0 .../doctype/stock_uom_replace_utility/__init__.py | 0 .../stock_uom_replace_utility.js | 0 .../stock_uom_replace_utility.py | 0 .../stock_uom_replace_utility.txt | 0 .../stock}/doctype/uom_conversion_detail/README.md | 0 .../doctype/uom_conversion_detail/__init__.py | 0 .../uom_conversion_detail/uom_conversion_detail.py | 0 .../uom_conversion_detail/uom_conversion_detail.txt | 0 .../stock}/doctype/warehouse/README.md | 0 .../stock}/doctype/warehouse/__init__.py | 0 .../stock}/doctype/warehouse/test_warehouse.py | 0 .../stock}/doctype/warehouse/warehouse.js | 0 .../stock}/doctype/warehouse/warehouse.py | 0 .../stock}/doctype/warehouse/warehouse.txt | 0 .../stock}/doctype/warehouse_user/README.md | 0 .../stock}/doctype/warehouse_user/__init__.py | 0 .../stock}/doctype/warehouse_user/warehouse_user.py | 0 .../doctype/warehouse_user/warehouse_user.txt | 0 {stock => erpnext/stock}/page/__init__.py | 0 .../stock}/page/stock_ageing/README.md | 0 .../stock}/page/stock_ageing/__init__.py | 0 .../stock}/page/stock_ageing/stock_ageing.js | 0 .../stock}/page/stock_ageing/stock_ageing.txt | 0 .../stock}/page/stock_analytics/README.md | 0 .../stock}/page/stock_analytics/__init__.py | 0 .../stock}/page/stock_analytics/stock_analytics.js | 0 .../stock}/page/stock_analytics/stock_analytics.txt | 0 .../stock}/page/stock_balance/README.md | 0 .../stock}/page/stock_balance/__init__.py | 0 .../stock}/page/stock_balance/stock_balance.js | 0 .../stock}/page/stock_balance/stock_balance.txt | 0 .../stock}/page/stock_home/__init__.py | 0 .../stock}/page/stock_home/stock_home.js | 0 .../stock}/page/stock_home/stock_home.txt | 0 .../stock}/page/stock_ledger/README.md | 0 .../stock}/page/stock_ledger/__init__.py | 0 .../stock}/page/stock_ledger/stock_ledger.js | 0 .../stock}/page/stock_ledger/stock_ledger.txt | 0 {stock => erpnext/stock}/page/stock_level/README.md | 0 .../stock}/page/stock_level/__init__.py | 0 .../stock}/page/stock_level/stock_level.js | 0 .../stock}/page/stock_level/stock_level.txt | 0 {stock => erpnext/stock}/report/__init__.py | 0 .../report/batch_wise_balance_history/__init__.py | 0 .../batch_wise_balance_history.js | 0 .../batch_wise_balance_history.py | 0 .../batch_wise_balance_history.txt | 0 .../stock}/report/delivery_note_trends/__init__.py | 0 .../delivery_note_trends/delivery_note_trends.js | 0 .../delivery_note_trends/delivery_note_trends.py | 0 .../delivery_note_trends/delivery_note_trends.txt | 0 .../stock}/report/item_prices/__init__.py | 0 .../stock}/report/item_prices/item_prices.py | 0 .../stock}/report/item_prices/item_prices.txt | 0 .../stock}/report/item_shortage_report/__init__.py | 0 .../item_shortage_report/item_shortage_report.txt | 0 .../stock}/report/items_to_be_requested/__init__.py | 0 .../items_to_be_requested/items_to_be_requested.txt | 0 .../itemwise_recommended_reorder_level/__init__.py | 0 .../itemwise_recommended_reorder_level.js | 0 .../itemwise_recommended_reorder_level.py | 0 .../itemwise_recommended_reorder_level.txt | 0 .../__init__.py | 0 ...or_which_supplier_quotations_are_not_created.txt | 0 .../ordered_items_to_be_delivered/__init__.py | 0 .../ordered_items_to_be_delivered.txt | 0 .../stock}/report/purchase_in_transit/__init__.py | 0 .../purchase_in_transit/purchase_in_transit.txt | 0 .../purchase_order_items_to_be_received/__init__.py | 0 .../purchase_order_items_to_be_received.txt | 0 .../report/purchase_receipt_trends/__init__.py | 0 .../purchase_receipt_trends.js | 0 .../purchase_receipt_trends.py | 0 .../purchase_receipt_trends.txt | 0 .../requested_items_to_be_transferred/__init__.py | 0 .../requested_items_to_be_transferred.txt | 0 .../serial_no_service_contract_expiry/__init__.py | 0 .../serial_no_service_contract_expiry.txt | 0 .../stock}/report/serial_no_status/__init__.py | 0 .../report/serial_no_status/serial_no_status.txt | 0 .../report/serial_no_warranty_expiry/__init__.py | 0 .../serial_no_warranty_expiry.txt | 0 .../stock}/report/stock_ledger/__init__.py | 0 .../stock}/report/stock_ledger/stock_ledger.js | 0 .../stock}/report/stock_ledger/stock_ledger.py | 0 .../stock}/report/stock_ledger/stock_ledger.txt | 0 .../supplier_wise_sales_analytics/__init__.py | 0 .../supplier_wise_sales_analytics.js | 0 .../supplier_wise_sales_analytics.py | 0 .../supplier_wise_sales_analytics.txt | 0 .../report/warehouse_wise_stock_balance/__init__.py | 0 .../warehouse_wise_stock_balance.js | 0 .../warehouse_wise_stock_balance.py | 0 .../warehouse_wise_stock_balance.txt | 0 {stock => erpnext/stock}/stock_ledger.py | 0 {stock => erpnext/stock}/utils.py | 0 {support => erpnext/support}/README.md | 0 {support => erpnext/support}/__init__.py | 0 {support => erpnext/support}/doctype/__init__.py | 0 .../support}/doctype/customer_issue/README.md | 0 .../support}/doctype/customer_issue/__init__.py | 0 .../doctype/customer_issue/customer_issue.js | 0 .../doctype/customer_issue/customer_issue.py | 0 .../doctype/customer_issue/customer_issue.txt | 0 .../support}/doctype/maintenance_schedule/README.md | 0 .../doctype/maintenance_schedule/__init__.py | 0 .../maintenance_schedule/maintenance_schedule.js | 0 .../maintenance_schedule/maintenance_schedule.py | 0 .../maintenance_schedule/maintenance_schedule.txt | 0 .../doctype/maintenance_schedule_detail/README.md | 0 .../doctype/maintenance_schedule_detail/__init__.py | 0 .../maintenance_schedule_detail.py | 0 .../maintenance_schedule_detail.txt | 0 .../doctype/maintenance_schedule_item/README.md | 0 .../doctype/maintenance_schedule_item/__init__.py | 0 .../maintenance_schedule_item.py | 0 .../maintenance_schedule_item.txt | 0 .../support}/doctype/maintenance_visit/README.md | 0 .../support}/doctype/maintenance_visit/__init__.py | 0 .../doctype/maintenance_visit/maintenance_visit.js | 0 .../doctype/maintenance_visit/maintenance_visit.py | 0 .../doctype/maintenance_visit/maintenance_visit.txt | 0 .../doctype/maintenance_visit_purpose/README.md | 0 .../doctype/maintenance_visit_purpose/__init__.py | 0 .../maintenance_visit_purpose.py | 0 .../maintenance_visit_purpose.txt | 0 .../support}/doctype/newsletter/README.md | 0 .../support}/doctype/newsletter/__init__.py | 0 .../support}/doctype/newsletter/newsletter.js | 0 .../support}/doctype/newsletter/newsletter.py | 0 .../support}/doctype/newsletter/newsletter.txt | 0 .../support}/doctype/newsletter/test_newsletter.py | 0 .../support}/doctype/support_ticket/README.md | 0 .../support}/doctype/support_ticket/__init__.py | 0 .../doctype/support_ticket/get_support_mails.py | 0 .../doctype/support_ticket/support_ticket.js | 0 .../doctype/support_ticket/support_ticket.py | 0 .../doctype/support_ticket/support_ticket.txt | 0 .../doctype/support_ticket/templates/__init__.py | 0 .../support_ticket/templates/pages/__init__.py | 0 .../support_ticket/templates/pages/ticket.html | 0 .../support_ticket/templates/pages/ticket.py | 0 .../support_ticket/templates/pages/tickets.html | 0 .../support_ticket/templates/pages/tickets.py | 0 {support => erpnext/support}/page/__init__.py | 0 .../support}/page/support_analytics/README.md | 0 .../support}/page/support_analytics/__init__.py | 0 .../page/support_analytics/support_analytics.js | 0 .../page/support_analytics/support_analytics.txt | 0 .../support}/page/support_home/__init__.py | 0 .../support}/page/support_home/support_home.js | 0 .../support}/page/support_home/support_home.txt | 0 {support => erpnext/support}/report/__init__.py | 0 .../report/maintenance_schedules/__init__.py | 0 .../maintenance_schedules/maintenance_schedules.txt | 0 {translations => erpnext/translations}/ar.csv | 0 {translations => erpnext/translations}/de.csv | 0 {translations => erpnext/translations}/el.csv | 0 {translations => erpnext/translations}/es.csv | 0 {translations => erpnext/translations}/fr.csv | 0 {translations => erpnext/translations}/hi.csv | 0 {translations => erpnext/translations}/hr.csv | 0 {translations => erpnext/translations}/it.csv | 0 .../translations}/languages.json | 0 {translations => erpnext/translations}/nl.csv | 0 {translations => erpnext/translations}/pt-BR.csv | 0 {translations => erpnext/translations}/pt.csv | 0 {translations => erpnext/translations}/sr.csv | 0 {translations => erpnext/translations}/ta.csv | 0 {translations => erpnext/translations}/th.csv | 0 {translations => erpnext/translations}/zh-cn.csv | 0 {translations => erpnext/translations}/zh-tw.csv | 0 {utilities => erpnext/utilities}/README.md | 0 {utilities => erpnext/utilities}/__init__.py | 0 {utilities => erpnext/utilities}/cleanup_data.py | 0 {utilities => erpnext/utilities}/demo/__init__.py | 0 .../utilities}/demo/demo-login.css | 0 .../utilities}/demo/demo-login.html | 0 {utilities => erpnext/utilities}/demo/demo-login.js | 0 .../utilities}/demo/demo_control_panel.py | 0 .../utilities}/demo/demo_docs/Address.csv | 0 .../utilities}/demo/demo_docs/BOM.csv | 0 .../utilities}/demo/demo_docs/Contact.csv | 0 .../utilities}/demo/demo_docs/Customer.csv | 0 .../utilities}/demo/demo_docs/Employee.csv | 0 .../utilities}/demo/demo_docs/Fiscal_Year.csv | 0 .../utilities}/demo/demo_docs/Item.csv | 0 .../utilities}/demo/demo_docs/Item_Price.csv | 0 .../utilities}/demo/demo_docs/Lead.csv | 0 .../utilities}/demo/demo_docs/Profile.csv | 0 .../utilities}/demo/demo_docs/Salary_Structure.csv | 0 .../demo/demo_docs/Stock Reconcilation Template.csv | 0 .../utilities}/demo/demo_docs/Supplier.csv | 0 .../utilities}/demo/demo_docs/bearing-block.png | Bin .../utilities}/demo/demo_docs/wind-turbine.png | Bin {utilities => erpnext/utilities}/demo/make_demo.py | 0 .../utilities}/demo/make_erpnext_demo.py | 0 .../utilities}/doctype/__init__.py | 0 .../utilities}/doctype/address/README.md | 0 .../utilities}/doctype/address/__init__.py | 0 .../utilities}/doctype/address/address.js | 0 .../utilities}/doctype/address/address.py | 0 .../utilities}/doctype/address/address.txt | 0 .../doctype/address/templates/__init__.py | 0 .../doctype/address/templates/pages/__init__.py | 0 .../doctype/address/templates/pages/address.html | 0 .../doctype/address/templates/pages/address.py | 0 .../doctype/address/templates/pages/addresses.html | 0 .../doctype/address/templates/pages/addresses.py | 0 .../utilities}/doctype/address/test_address.py | 0 .../utilities}/doctype/contact/README.md | 0 .../utilities}/doctype/contact/__init__.py | 0 .../utilities}/doctype/contact/contact.js | 0 .../utilities}/doctype/contact/contact.py | 0 .../utilities}/doctype/contact/contact.txt | 0 .../utilities}/doctype/contact/test_contact.py | 0 .../utilities}/doctype/note/README.md | 0 .../utilities}/doctype/note/__init__.py | 0 .../utilities}/doctype/note/note.py | 0 .../utilities}/doctype/note/note.txt | 0 .../utilities}/doctype/note_user/README.md | 0 .../utilities}/doctype/note_user/__init__.py | 0 .../utilities}/doctype/note_user/note_user.py | 0 .../utilities}/doctype/note_user/note_user.txt | 0 .../utilities}/doctype/rename_tool/README.md | 0 .../utilities}/doctype/rename_tool/__init__.py | 0 .../utilities}/doctype/rename_tool/rename_tool.js | 0 .../utilities}/doctype/rename_tool/rename_tool.py | 0 .../utilities}/doctype/rename_tool/rename_tool.txt | 0 .../utilities}/doctype/sms_control/__init__.py | 0 .../utilities}/doctype/sms_control/sms_control.js | 0 .../utilities}/doctype/sms_control/sms_control.py | 0 .../utilities}/doctype/sms_control/sms_control.txt | 0 .../utilities}/doctype/sms_log/README.md | 0 .../utilities}/doctype/sms_log/__init__.py | 0 .../utilities}/doctype/sms_log/sms_log.py | 0 .../utilities}/doctype/sms_log/sms_log.txt | 0 {utilities => erpnext/utilities}/repost_stock.py | 0 .../utilities}/transaction_base.py | 0 1783 files changed, 0 insertions(+), 0 deletions(-) rename {accounts => erpnext/accounts}/Print Format/Cheque Printing Format/Cheque Printing Format.txt (100%) rename {accounts => erpnext/accounts}/Print Format/POS Invoice/POS Invoice.txt (100%) rename {accounts => erpnext/accounts}/Print Format/Payment Receipt Voucher/Payment Receipt Voucher.txt (100%) rename {accounts => erpnext/accounts}/Print Format/Sales Invoice Classic/Sales Invoice Classic.txt (100%) rename {accounts => erpnext/accounts}/Print Format/Sales Invoice Modern/Sales Invoice Modern.txt (100%) rename {accounts => erpnext/accounts}/Print Format/Sales Invoice Spartan/Sales Invoice Spartan.txt (100%) rename {accounts => erpnext/accounts}/Print Format/SalesInvoice/SalesInvoice.html (100%) rename {accounts => erpnext/accounts}/Print Format/SalesInvoice/SalesInvoice.txt (100%) rename {accounts => erpnext/accounts}/README.md (100%) rename {accounts => erpnext/accounts}/__init__.py (100%) rename {accounts => erpnext/accounts}/doctype/__init__.py (100%) rename {accounts => erpnext/accounts}/doctype/account/README.md (100%) rename {accounts => erpnext/accounts}/doctype/account/__init__.py (100%) rename {accounts => erpnext/accounts}/doctype/account/account.js (100%) rename {accounts => erpnext/accounts}/doctype/account/account.py (100%) rename {accounts => erpnext/accounts}/doctype/account/account.txt (100%) rename {accounts => erpnext/accounts}/doctype/account/test_account.py (100%) rename {accounts => erpnext/accounts}/doctype/accounts_settings/__init__.py (100%) rename {accounts => erpnext/accounts}/doctype/accounts_settings/accounts_settings.py (100%) rename {accounts => erpnext/accounts}/doctype/accounts_settings/accounts_settings.txt (100%) rename {accounts => erpnext/accounts}/doctype/bank_reconciliation/README.md (100%) rename {accounts => erpnext/accounts}/doctype/bank_reconciliation/__init__.py (100%) rename {accounts => erpnext/accounts}/doctype/bank_reconciliation/bank_reconciliation.js (100%) rename {accounts => erpnext/accounts}/doctype/bank_reconciliation/bank_reconciliation.py (100%) rename {accounts => erpnext/accounts}/doctype/bank_reconciliation/bank_reconciliation.txt (100%) rename {accounts => erpnext/accounts}/doctype/bank_reconciliation_detail/README.md (100%) rename {accounts => erpnext/accounts}/doctype/bank_reconciliation_detail/__init__.py (100%) rename {accounts => erpnext/accounts}/doctype/bank_reconciliation_detail/bank_reconciliation_detail.py (100%) rename {accounts => erpnext/accounts}/doctype/bank_reconciliation_detail/bank_reconciliation_detail.txt (100%) rename {accounts => erpnext/accounts}/doctype/budget_detail/README.md (100%) rename {accounts => erpnext/accounts}/doctype/budget_detail/__init__.py (100%) rename {accounts => erpnext/accounts}/doctype/budget_detail/budget_detail.py (100%) rename {accounts => erpnext/accounts}/doctype/budget_detail/budget_detail.txt (100%) rename {accounts => erpnext/accounts}/doctype/budget_distribution/README.md (100%) rename {accounts => erpnext/accounts}/doctype/budget_distribution/__init__.py (100%) rename {accounts => erpnext/accounts}/doctype/budget_distribution/budget_distribution.js (100%) rename {accounts => erpnext/accounts}/doctype/budget_distribution/budget_distribution.py (100%) rename {accounts => erpnext/accounts}/doctype/budget_distribution/budget_distribution.txt (100%) rename {accounts => erpnext/accounts}/doctype/budget_distribution/test_budget_distribution.py (100%) rename {accounts => erpnext/accounts}/doctype/budget_distribution_detail/README.md (100%) rename {accounts => erpnext/accounts}/doctype/budget_distribution_detail/__init__.py (100%) rename {accounts => erpnext/accounts}/doctype/budget_distribution_detail/budget_distribution_detail.py (100%) rename {accounts => erpnext/accounts}/doctype/budget_distribution_detail/budget_distribution_detail.txt (100%) rename {accounts => erpnext/accounts}/doctype/c_form/README.md (100%) rename {accounts => erpnext/accounts}/doctype/c_form/__init__.py (100%) rename {accounts => erpnext/accounts}/doctype/c_form/c_form.js (100%) rename {accounts => erpnext/accounts}/doctype/c_form/c_form.py (100%) rename {accounts => erpnext/accounts}/doctype/c_form/c_form.txt (100%) rename {accounts => erpnext/accounts}/doctype/c_form_invoice_detail/README.md (100%) rename {accounts => erpnext/accounts}/doctype/c_form_invoice_detail/__init__.py (100%) rename {accounts => erpnext/accounts}/doctype/c_form_invoice_detail/c_form_invoice_detail.py (100%) rename {accounts => erpnext/accounts}/doctype/c_form_invoice_detail/c_form_invoice_detail.txt (100%) rename {accounts => erpnext/accounts}/doctype/cost_center/README.md (100%) rename {accounts => erpnext/accounts}/doctype/cost_center/__init__.py (100%) rename {accounts => erpnext/accounts}/doctype/cost_center/cost_center.js (100%) rename {accounts => erpnext/accounts}/doctype/cost_center/cost_center.py (100%) rename {accounts => erpnext/accounts}/doctype/cost_center/cost_center.txt (100%) rename {accounts => erpnext/accounts}/doctype/cost_center/test_cost_center.py (100%) rename {accounts => erpnext/accounts}/doctype/fiscal_year/README.md (100%) rename {accounts => erpnext/accounts}/doctype/fiscal_year/__init__.py (100%) rename {accounts => erpnext/accounts}/doctype/fiscal_year/fiscal_year.js (100%) rename {accounts => erpnext/accounts}/doctype/fiscal_year/fiscal_year.py (100%) rename {accounts => erpnext/accounts}/doctype/fiscal_year/fiscal_year.txt (100%) rename {accounts => erpnext/accounts}/doctype/fiscal_year/test_fiscal_year.py (100%) rename {accounts => erpnext/accounts}/doctype/gl_entry/README.md (100%) rename {accounts => erpnext/accounts}/doctype/gl_entry/__init__.py (100%) rename {accounts => erpnext/accounts}/doctype/gl_entry/gl_entry.py (100%) rename {accounts => erpnext/accounts}/doctype/gl_entry/gl_entry.txt (100%) rename {accounts => erpnext/accounts}/doctype/journal_voucher/README.md (100%) rename {accounts => erpnext/accounts}/doctype/journal_voucher/__init__.py (100%) rename {accounts => erpnext/accounts}/doctype/journal_voucher/journal_voucher.js (100%) rename {accounts => erpnext/accounts}/doctype/journal_voucher/journal_voucher.py (100%) rename {accounts => erpnext/accounts}/doctype/journal_voucher/journal_voucher.txt (100%) rename {accounts => erpnext/accounts}/doctype/journal_voucher/test_journal_voucher.py (100%) rename {accounts => erpnext/accounts}/doctype/journal_voucher_detail/README.md (100%) rename {accounts => erpnext/accounts}/doctype/journal_voucher_detail/__init__.py (100%) rename {accounts => erpnext/accounts}/doctype/journal_voucher_detail/journal_voucher_detail.py (100%) rename {accounts => erpnext/accounts}/doctype/journal_voucher_detail/journal_voucher_detail.txt (100%) rename {accounts => erpnext/accounts}/doctype/mis_control/README.md (100%) rename {accounts => erpnext/accounts}/doctype/mis_control/__init__.py (100%) rename {accounts => erpnext/accounts}/doctype/mis_control/mis_control.py (100%) rename {accounts => erpnext/accounts}/doctype/mis_control/mis_control.txt (100%) rename {accounts => erpnext/accounts}/doctype/mode_of_payment/README.md (100%) rename {accounts => erpnext/accounts}/doctype/mode_of_payment/__init__.py (100%) rename {accounts => erpnext/accounts}/doctype/mode_of_payment/mode_of_payment.js (100%) rename {accounts => erpnext/accounts}/doctype/mode_of_payment/mode_of_payment.py (100%) rename {accounts => erpnext/accounts}/doctype/mode_of_payment/mode_of_payment.txt (100%) rename {accounts => erpnext/accounts}/doctype/payment_to_invoice_matching_tool/README.md (100%) rename {accounts => erpnext/accounts}/doctype/payment_to_invoice_matching_tool/__init__.py (100%) rename {accounts => erpnext/accounts}/doctype/payment_to_invoice_matching_tool/payment_to_invoice_matching_tool.js (100%) rename {accounts => erpnext/accounts}/doctype/payment_to_invoice_matching_tool/payment_to_invoice_matching_tool.py (100%) rename {accounts => erpnext/accounts}/doctype/payment_to_invoice_matching_tool/payment_to_invoice_matching_tool.txt (100%) rename {accounts => erpnext/accounts}/doctype/payment_to_invoice_matching_tool/test_payment_to_invoice_matching_tool.py (100%) rename {accounts => erpnext/accounts}/doctype/payment_to_invoice_matching_tool_detail/README.md (100%) rename {accounts => erpnext/accounts}/doctype/payment_to_invoice_matching_tool_detail/__init__.py (100%) rename {accounts => erpnext/accounts}/doctype/payment_to_invoice_matching_tool_detail/payment_to_invoice_matching_tool_detail.py (100%) rename {accounts => erpnext/accounts}/doctype/payment_to_invoice_matching_tool_detail/payment_to_invoice_matching_tool_detail.txt (100%) rename {accounts => erpnext/accounts}/doctype/period_closing_voucher/README.md (100%) rename {accounts => erpnext/accounts}/doctype/period_closing_voucher/__init__.py (100%) rename {accounts => erpnext/accounts}/doctype/period_closing_voucher/period_closing_voucher.js (100%) rename {accounts => erpnext/accounts}/doctype/period_closing_voucher/period_closing_voucher.py (100%) rename {accounts => erpnext/accounts}/doctype/period_closing_voucher/period_closing_voucher.txt (100%) rename {accounts => erpnext/accounts}/doctype/period_closing_voucher/test_period_closing_voucher.py (100%) rename {accounts => erpnext/accounts}/doctype/pos_setting/README.md (100%) rename {accounts => erpnext/accounts}/doctype/pos_setting/__init__.py (100%) rename {accounts => erpnext/accounts}/doctype/pos_setting/pos_setting.js (100%) rename {accounts => erpnext/accounts}/doctype/pos_setting/pos_setting.py (100%) rename {accounts => erpnext/accounts}/doctype/pos_setting/pos_setting.txt (100%) rename {accounts => erpnext/accounts}/doctype/pos_setting/test_pos_setting.py (100%) rename {accounts => erpnext/accounts}/doctype/purchase_invoice/README.md (100%) rename {accounts => erpnext/accounts}/doctype/purchase_invoice/__init__.py (100%) rename {accounts => erpnext/accounts}/doctype/purchase_invoice/purchase_invoice.js (100%) rename {accounts => erpnext/accounts}/doctype/purchase_invoice/purchase_invoice.py (100%) rename {accounts => erpnext/accounts}/doctype/purchase_invoice/purchase_invoice.txt (100%) rename {accounts => erpnext/accounts}/doctype/purchase_invoice/purchase_invoice_list.js (100%) rename {accounts => erpnext/accounts}/doctype/purchase_invoice/test_purchase_invoice.py (100%) rename {accounts => erpnext/accounts}/doctype/purchase_invoice_advance/README.md (100%) rename {accounts => erpnext/accounts}/doctype/purchase_invoice_advance/__init__.py (100%) rename {accounts => erpnext/accounts}/doctype/purchase_invoice_advance/purchase_invoice_advance.py (100%) rename {accounts => erpnext/accounts}/doctype/purchase_invoice_advance/purchase_invoice_advance.txt (100%) rename {accounts => erpnext/accounts}/doctype/purchase_invoice_item/README.md (100%) rename {accounts => erpnext/accounts}/doctype/purchase_invoice_item/__init__.py (100%) rename {accounts => erpnext/accounts}/doctype/purchase_invoice_item/purchase_invoice_item.py (100%) rename {accounts => erpnext/accounts}/doctype/purchase_invoice_item/purchase_invoice_item.txt (100%) rename {accounts => erpnext/accounts}/doctype/purchase_taxes_and_charges/README.md (100%) rename {accounts => erpnext/accounts}/doctype/purchase_taxes_and_charges/__init__.py (100%) rename {accounts => erpnext/accounts}/doctype/purchase_taxes_and_charges/purchase_taxes_and_charges.py (100%) rename {accounts => erpnext/accounts}/doctype/purchase_taxes_and_charges/purchase_taxes_and_charges.txt (100%) rename {accounts => erpnext/accounts}/doctype/purchase_taxes_and_charges_master/README.md (100%) rename {accounts => erpnext/accounts}/doctype/purchase_taxes_and_charges_master/__init__.py (100%) rename {accounts => erpnext/accounts}/doctype/purchase_taxes_and_charges_master/purchase_taxes_and_charges_master.js (100%) rename {accounts => erpnext/accounts}/doctype/purchase_taxes_and_charges_master/purchase_taxes_and_charges_master.py (100%) rename {accounts => erpnext/accounts}/doctype/purchase_taxes_and_charges_master/purchase_taxes_and_charges_master.txt (100%) rename {accounts => erpnext/accounts}/doctype/sales_invoice/README.md (100%) rename {accounts => erpnext/accounts}/doctype/sales_invoice/__init__.py (100%) rename {accounts => erpnext/accounts}/doctype/sales_invoice/pos.js (100%) rename {accounts => erpnext/accounts}/doctype/sales_invoice/pos.py (100%) rename {accounts => erpnext/accounts}/doctype/sales_invoice/sales_invoice.js (100%) rename {accounts => erpnext/accounts}/doctype/sales_invoice/sales_invoice.py (100%) rename {accounts => erpnext/accounts}/doctype/sales_invoice/sales_invoice.txt (100%) rename {accounts => erpnext/accounts}/doctype/sales_invoice/sales_invoice_list.js (100%) rename {accounts => erpnext/accounts}/doctype/sales_invoice/sales_invoice_map.js (100%) rename {accounts => erpnext/accounts}/doctype/sales_invoice/templates/__init__.py (100%) rename {accounts => erpnext/accounts}/doctype/sales_invoice/templates/pages/__init__.py (100%) rename {accounts => erpnext/accounts}/doctype/sales_invoice/templates/pages/invoice.html (100%) rename {accounts => erpnext/accounts}/doctype/sales_invoice/templates/pages/invoice.py (100%) rename {accounts => erpnext/accounts}/doctype/sales_invoice/templates/pages/invoices.html (100%) rename {accounts => erpnext/accounts}/doctype/sales_invoice/templates/pages/invoices.py (100%) rename {accounts => erpnext/accounts}/doctype/sales_invoice/test_sales_invoice.py (100%) rename {accounts => erpnext/accounts}/doctype/sales_invoice_advance/README.md (100%) rename {accounts => erpnext/accounts}/doctype/sales_invoice_advance/__init__.py (100%) rename {accounts => erpnext/accounts}/doctype/sales_invoice_advance/sales_invoice_advance.py (100%) rename {accounts => erpnext/accounts}/doctype/sales_invoice_advance/sales_invoice_advance.txt (100%) rename {accounts => erpnext/accounts}/doctype/sales_invoice_item/README.md (100%) rename {accounts => erpnext/accounts}/doctype/sales_invoice_item/__init__.py (100%) rename {accounts => erpnext/accounts}/doctype/sales_invoice_item/sales_invoice_item.py (100%) rename {accounts => erpnext/accounts}/doctype/sales_invoice_item/sales_invoice_item.txt (100%) rename {accounts => erpnext/accounts}/doctype/sales_taxes_and_charges/README.md (100%) rename {accounts => erpnext/accounts}/doctype/sales_taxes_and_charges/__init__.py (100%) rename {accounts => erpnext/accounts}/doctype/sales_taxes_and_charges/sales_taxes_and_charges.py (100%) rename {accounts => erpnext/accounts}/doctype/sales_taxes_and_charges/sales_taxes_and_charges.txt (100%) rename {accounts => erpnext/accounts}/doctype/sales_taxes_and_charges_master/README.md (100%) rename {accounts => erpnext/accounts}/doctype/sales_taxes_and_charges_master/__init__.py (100%) rename {accounts => erpnext/accounts}/doctype/sales_taxes_and_charges_master/sales_taxes_and_charges_master.js (100%) rename {accounts => erpnext/accounts}/doctype/sales_taxes_and_charges_master/sales_taxes_and_charges_master.py (100%) rename {accounts => erpnext/accounts}/doctype/sales_taxes_and_charges_master/sales_taxes_and_charges_master.txt (100%) rename {accounts => erpnext/accounts}/doctype/sales_taxes_and_charges_master/test_sales_taxes_and_charges_master.py (100%) rename {accounts => erpnext/accounts}/doctype/shipping_rule/__init__.py (100%) rename {accounts => erpnext/accounts}/doctype/shipping_rule/shipping_rule.js (100%) rename {accounts => erpnext/accounts}/doctype/shipping_rule/shipping_rule.py (100%) rename {accounts => erpnext/accounts}/doctype/shipping_rule/shipping_rule.txt (100%) rename {accounts => erpnext/accounts}/doctype/shipping_rule/test_shipping_rule.py (100%) rename {accounts => erpnext/accounts}/doctype/shipping_rule_condition/__init__.py (100%) rename {accounts => erpnext/accounts}/doctype/shipping_rule_condition/shipping_rule_condition.py (100%) rename {accounts => erpnext/accounts}/doctype/shipping_rule_condition/shipping_rule_condition.txt (100%) rename {accounts => erpnext/accounts}/general_ledger.py (100%) rename {accounts => erpnext/accounts}/page/__init__.py (100%) rename {accounts => erpnext/accounts}/page/accounts_browser/README.md (100%) rename {accounts => erpnext/accounts}/page/accounts_browser/__init__.py (100%) rename {accounts => erpnext/accounts}/page/accounts_browser/accounts_browser.css (100%) rename {accounts => erpnext/accounts}/page/accounts_browser/accounts_browser.js (100%) rename {accounts => erpnext/accounts}/page/accounts_browser/accounts_browser.py (100%) rename {accounts => erpnext/accounts}/page/accounts_browser/accounts_browser.txt (100%) rename {accounts => erpnext/accounts}/page/accounts_home/__init__.py (100%) rename {accounts => erpnext/accounts}/page/accounts_home/accounts_home.js (100%) rename {accounts => erpnext/accounts}/page/accounts_home/accounts_home.txt (100%) rename {accounts => erpnext/accounts}/page/financial_analytics/README.md (100%) rename {accounts => erpnext/accounts}/page/financial_analytics/__init__.py (100%) rename {accounts => erpnext/accounts}/page/financial_analytics/financial_analytics.js (100%) rename {accounts => erpnext/accounts}/page/financial_analytics/financial_analytics.txt (100%) rename {accounts => erpnext/accounts}/page/financial_statements/README.md (100%) rename {accounts => erpnext/accounts}/page/financial_statements/__init__.py (100%) rename {accounts => erpnext/accounts}/page/financial_statements/financial_statements.js (100%) rename {accounts => erpnext/accounts}/page/financial_statements/financial_statements.txt (100%) rename {accounts => erpnext/accounts}/page/general_ledger/README.md (100%) rename {accounts => erpnext/accounts}/page/general_ledger/__init__.py (100%) rename {accounts => erpnext/accounts}/page/general_ledger/general_ledger.css (100%) rename {accounts => erpnext/accounts}/page/general_ledger/general_ledger.html (100%) rename {accounts => erpnext/accounts}/page/general_ledger/general_ledger.js (100%) rename {accounts => erpnext/accounts}/page/general_ledger/general_ledger.txt (100%) rename {accounts => erpnext/accounts}/page/trial_balance/README.md (100%) rename {accounts => erpnext/accounts}/page/trial_balance/__init__.py (100%) rename {accounts => erpnext/accounts}/page/trial_balance/trial_balance.js (100%) rename {accounts => erpnext/accounts}/page/trial_balance/trial_balance.txt (100%) rename {accounts => erpnext/accounts}/report/__init__.py (100%) rename {accounts => erpnext/accounts}/report/accounts_payable/__init__.py (100%) rename {accounts => erpnext/accounts}/report/accounts_payable/accounts_payable.js (100%) rename {accounts => erpnext/accounts}/report/accounts_payable/accounts_payable.py (100%) rename {accounts => erpnext/accounts}/report/accounts_payable/accounts_payable.txt (100%) rename {accounts => erpnext/accounts}/report/accounts_receivable/__init__.py (100%) rename {accounts => erpnext/accounts}/report/accounts_receivable/accounts_receivable.js (100%) rename {accounts => erpnext/accounts}/report/accounts_receivable/accounts_receivable.py (100%) rename {accounts => erpnext/accounts}/report/accounts_receivable/accounts_receivable.txt (100%) rename {accounts => erpnext/accounts}/report/bank_clearance_summary/__init__.py (100%) rename {accounts => erpnext/accounts}/report/bank_clearance_summary/bank_clearance_summary.js (100%) rename {accounts => erpnext/accounts}/report/bank_clearance_summary/bank_clearance_summary.py (100%) rename {accounts => erpnext/accounts}/report/bank_clearance_summary/bank_clearance_summary.txt (100%) rename {accounts => erpnext/accounts}/report/bank_reconciliation_statement/__init__.py (100%) rename {accounts => erpnext/accounts}/report/bank_reconciliation_statement/bank_reconciliation_statement.js (100%) rename {accounts => erpnext/accounts}/report/bank_reconciliation_statement/bank_reconciliation_statement.py (100%) rename {accounts => erpnext/accounts}/report/bank_reconciliation_statement/bank_reconciliation_statement.txt (100%) rename {accounts => erpnext/accounts}/report/budget_variance_report/__init__.py (100%) rename {accounts => erpnext/accounts}/report/budget_variance_report/budget_variance_report.js (100%) rename {accounts => erpnext/accounts}/report/budget_variance_report/budget_variance_report.py (100%) rename {accounts => erpnext/accounts}/report/budget_variance_report/budget_variance_report.txt (100%) rename {accounts => erpnext/accounts}/report/customer_account_head/__init__.py (100%) rename {accounts => erpnext/accounts}/report/customer_account_head/customer_account_head.py (100%) rename {accounts => erpnext/accounts}/report/customer_account_head/customer_account_head.txt (100%) rename {accounts => erpnext/accounts}/report/delivered_items_to_be_billed/__init__.py (100%) rename {accounts => erpnext/accounts}/report/delivered_items_to_be_billed/delivered_items_to_be_billed.txt (100%) rename {accounts => erpnext/accounts}/report/gross_profit/__init__.py (100%) rename {accounts => erpnext/accounts}/report/gross_profit/gross_profit.js (100%) rename {accounts => erpnext/accounts}/report/gross_profit/gross_profit.py (100%) rename {accounts => erpnext/accounts}/report/gross_profit/gross_profit.txt (100%) rename {accounts => erpnext/accounts}/report/item_wise_purchase_register/__init__.py (100%) rename {accounts => erpnext/accounts}/report/item_wise_purchase_register/item_wise_purchase_register.js (100%) rename {accounts => erpnext/accounts}/report/item_wise_purchase_register/item_wise_purchase_register.py (100%) rename {accounts => erpnext/accounts}/report/item_wise_purchase_register/item_wise_purchase_register.txt (100%) rename {accounts => erpnext/accounts}/report/item_wise_sales_register/__init__.py (100%) rename {accounts => erpnext/accounts}/report/item_wise_sales_register/item_wise_sales_register.js (100%) rename {accounts => erpnext/accounts}/report/item_wise_sales_register/item_wise_sales_register.py (100%) rename {accounts => erpnext/accounts}/report/item_wise_sales_register/item_wise_sales_register.txt (100%) rename {accounts => erpnext/accounts}/report/ordered_items_to_be_billed/__init__.py (100%) rename {accounts => erpnext/accounts}/report/ordered_items_to_be_billed/ordered_items_to_be_billed.txt (100%) rename {accounts => erpnext/accounts}/report/payment_period_based_on_invoice_date/__init__.py (100%) rename {accounts => erpnext/accounts}/report/payment_period_based_on_invoice_date/payment_period_based_on_invoice_date.js (100%) rename {accounts => erpnext/accounts}/report/payment_period_based_on_invoice_date/payment_period_based_on_invoice_date.py (100%) rename {accounts => erpnext/accounts}/report/payment_period_based_on_invoice_date/payment_period_based_on_invoice_date.txt (100%) rename {accounts => erpnext/accounts}/report/purchase_invoice_trends/__init__.py (100%) rename {accounts => erpnext/accounts}/report/purchase_invoice_trends/purchase_invoice_trends.js (100%) rename {accounts => erpnext/accounts}/report/purchase_invoice_trends/purchase_invoice_trends.py (100%) rename {accounts => erpnext/accounts}/report/purchase_invoice_trends/purchase_invoice_trends.txt (100%) rename {accounts => erpnext/accounts}/report/purchase_order_items_to_be_billed/__init__.py (100%) rename {accounts => erpnext/accounts}/report/purchase_order_items_to_be_billed/purchase_order_items_to_be_billed.txt (100%) rename {accounts => erpnext/accounts}/report/purchase_register/__init__.py (100%) rename {accounts => erpnext/accounts}/report/purchase_register/purchase_register.js (100%) rename {accounts => erpnext/accounts}/report/purchase_register/purchase_register.py (100%) rename {accounts => erpnext/accounts}/report/purchase_register/purchase_register.txt (100%) rename {accounts => erpnext/accounts}/report/received_items_to_be_billed/__init__.py (100%) rename {accounts => erpnext/accounts}/report/received_items_to_be_billed/received_items_to_be_billed.txt (100%) rename {accounts => erpnext/accounts}/report/sales_invoice_trends/__init__.py (100%) rename {accounts => erpnext/accounts}/report/sales_invoice_trends/sales_invoice_trends.js (100%) rename {accounts => erpnext/accounts}/report/sales_invoice_trends/sales_invoice_trends.py (100%) rename {accounts => erpnext/accounts}/report/sales_invoice_trends/sales_invoice_trends.txt (100%) rename {accounts => erpnext/accounts}/report/sales_partners_commission/__init__.py (100%) rename {accounts => erpnext/accounts}/report/sales_partners_commission/sales_partners_commission.txt (100%) rename {accounts => erpnext/accounts}/report/sales_register/__init__.py (100%) rename {accounts => erpnext/accounts}/report/sales_register/sales_register.js (100%) rename {accounts => erpnext/accounts}/report/sales_register/sales_register.py (100%) rename {accounts => erpnext/accounts}/report/sales_register/sales_register.txt (100%) rename {accounts => erpnext/accounts}/report/supplier_account_head/__init__.py (100%) rename {accounts => erpnext/accounts}/report/supplier_account_head/supplier_account_head.py (100%) rename {accounts => erpnext/accounts}/report/supplier_account_head/supplier_account_head.txt (100%) rename {accounts => erpnext/accounts}/utils.py (100%) rename {buying => erpnext/buying}/Print Format/Purchase Order Classic/Purchase Order Classic.txt (100%) rename {buying => erpnext/buying}/Print Format/Purchase Order Modern/Purchase Order Modern.txt (100%) rename {buying => erpnext/buying}/Print Format/Purchase Order Spartan/Purchase Order Spartan.txt (100%) rename {buying => erpnext/buying}/README.md (100%) rename {buying => erpnext/buying}/__init__.py (100%) rename {buying => erpnext/buying}/doctype/__init__.py (100%) rename {buying => erpnext/buying}/doctype/buying_settings/__init__.py (100%) rename {buying => erpnext/buying}/doctype/buying_settings/buying_settings.py (100%) rename {buying => erpnext/buying}/doctype/buying_settings/buying_settings.txt (100%) rename {buying => erpnext/buying}/doctype/purchase_common/README.md (100%) rename {buying => erpnext/buying}/doctype/purchase_common/__init__.py (100%) rename {buying => erpnext/buying}/doctype/purchase_common/purchase_common.js (100%) rename {buying => erpnext/buying}/doctype/purchase_common/purchase_common.py (100%) rename {buying => erpnext/buying}/doctype/purchase_common/purchase_common.txt (100%) rename {buying => erpnext/buying}/doctype/purchase_order/README.md (100%) rename {buying => erpnext/buying}/doctype/purchase_order/__init__.py (100%) rename {buying => erpnext/buying}/doctype/purchase_order/purchase_order.js (100%) rename {buying => erpnext/buying}/doctype/purchase_order/purchase_order.py (100%) rename {buying => erpnext/buying}/doctype/purchase_order/purchase_order.txt (100%) rename {buying => erpnext/buying}/doctype/purchase_order/test_purchase_order.py (100%) rename {buying => erpnext/buying}/doctype/purchase_order_item/README.md (100%) rename {buying => erpnext/buying}/doctype/purchase_order_item/__init__.py (100%) rename {buying => erpnext/buying}/doctype/purchase_order_item/purchase_order_item.py (100%) rename {buying => erpnext/buying}/doctype/purchase_order_item/purchase_order_item.txt (100%) rename {buying => erpnext/buying}/doctype/purchase_order_item_supplied/README.md (100%) rename {buying => erpnext/buying}/doctype/purchase_order_item_supplied/__init__.py (100%) rename {buying => erpnext/buying}/doctype/purchase_order_item_supplied/purchase_order_item_supplied.py (100%) rename {buying => erpnext/buying}/doctype/purchase_order_item_supplied/purchase_order_item_supplied.txt (100%) rename {buying => erpnext/buying}/doctype/purchase_receipt_item_supplied/README.md (100%) rename {buying => erpnext/buying}/doctype/purchase_receipt_item_supplied/__init__.py (100%) rename {buying => erpnext/buying}/doctype/purchase_receipt_item_supplied/purchase_receipt_item_supplied.py (100%) rename {buying => erpnext/buying}/doctype/purchase_receipt_item_supplied/purchase_receipt_item_supplied.txt (100%) rename {buying => erpnext/buying}/doctype/quality_inspection/README.md (100%) rename {buying => erpnext/buying}/doctype/quality_inspection/__init__.py (100%) rename {buying => erpnext/buying}/doctype/quality_inspection/quality_inspection.js (100%) rename {buying => erpnext/buying}/doctype/quality_inspection/quality_inspection.py (100%) rename {buying => erpnext/buying}/doctype/quality_inspection/quality_inspection.txt (100%) rename {buying => erpnext/buying}/doctype/quality_inspection_reading/README.md (100%) rename {buying => erpnext/buying}/doctype/quality_inspection_reading/__init__.py (100%) rename {buying => erpnext/buying}/doctype/quality_inspection_reading/quality_inspection_reading.py (100%) rename {buying => erpnext/buying}/doctype/quality_inspection_reading/quality_inspection_reading.txt (100%) rename {buying => erpnext/buying}/doctype/supplier/README.md (100%) rename {buying => erpnext/buying}/doctype/supplier/__init__.py (100%) rename {buying => erpnext/buying}/doctype/supplier/supplier.js (100%) rename {buying => erpnext/buying}/doctype/supplier/supplier.py (100%) rename {buying => erpnext/buying}/doctype/supplier/supplier.txt (100%) rename {buying => erpnext/buying}/doctype/supplier/test_supplier.py (100%) rename {buying => erpnext/buying}/doctype/supplier_quotation/README.md (100%) rename {buying => erpnext/buying}/doctype/supplier_quotation/__init__.py (100%) rename {buying => erpnext/buying}/doctype/supplier_quotation/supplier_quotation.js (100%) rename {buying => erpnext/buying}/doctype/supplier_quotation/supplier_quotation.py (100%) rename {buying => erpnext/buying}/doctype/supplier_quotation/supplier_quotation.txt (100%) rename {buying => erpnext/buying}/doctype/supplier_quotation/test_supplier_quotation.py (100%) rename {buying => erpnext/buying}/doctype/supplier_quotation_item/README.md (100%) rename {buying => erpnext/buying}/doctype/supplier_quotation_item/__init__.py (100%) rename {buying => erpnext/buying}/doctype/supplier_quotation_item/supplier_quotation_item.py (100%) rename {buying => erpnext/buying}/doctype/supplier_quotation_item/supplier_quotation_item.txt (100%) rename {buying => erpnext/buying}/page/__init__.py (100%) rename {buying => erpnext/buying}/page/buying_home/__init__.py (100%) rename {buying => erpnext/buying}/page/buying_home/buying_home.js (100%) rename {buying => erpnext/buying}/page/buying_home/buying_home.txt (100%) rename {buying => erpnext/buying}/page/purchase_analytics/README.md (100%) rename {buying => erpnext/buying}/page/purchase_analytics/__init__.py (100%) rename {buying => erpnext/buying}/page/purchase_analytics/purchase_analytics.js (100%) rename {buying => erpnext/buying}/page/purchase_analytics/purchase_analytics.txt (100%) rename {buying => erpnext/buying}/report/__init__.py (100%) rename {buying => erpnext/buying}/report/item_wise_purchase_history/__init__.py (100%) rename {buying => erpnext/buying}/report/item_wise_purchase_history/item_wise_purchase_history.txt (100%) rename {buying => erpnext/buying}/report/purchase_order_trends/__init__.py (100%) rename {buying => erpnext/buying}/report/purchase_order_trends/purchase_order_trends.js (100%) rename {buying => erpnext/buying}/report/purchase_order_trends/purchase_order_trends.py (100%) rename {buying => erpnext/buying}/report/purchase_order_trends/purchase_order_trends.txt (100%) rename {buying => erpnext/buying}/report/requested_items_to_be_ordered/__init__.py (100%) rename {buying => erpnext/buying}/report/requested_items_to_be_ordered/requested_items_to_be_ordered.txt (100%) rename {buying => erpnext/buying}/report/supplier_addresses_and_contacts/__init__.py (100%) rename {buying => erpnext/buying}/report/supplier_addresses_and_contacts/supplier_addresses_and_contacts.txt (100%) rename {buying => erpnext/buying}/utils.py (100%) rename {controllers => erpnext/controllers}/__init__.py (100%) rename {controllers => erpnext/controllers}/accounts_controller.py (100%) rename {controllers => erpnext/controllers}/buying_controller.py (100%) rename {controllers => erpnext/controllers}/js/contact_address_common.js (100%) rename {controllers => erpnext/controllers}/queries.py (100%) rename {controllers => erpnext/controllers}/selling_controller.py (100%) rename {controllers => erpnext/controllers}/status_updater.py (100%) rename {controllers => erpnext/controllers}/stock_controller.py (100%) rename {controllers => erpnext/controllers}/trends.py (100%) rename {home => erpnext/home}/__init__.py (100%) rename {home => erpnext/home}/doctype/__init__.py (100%) rename {home => erpnext/home}/doctype/feed/README.md (100%) rename {home => erpnext/home}/doctype/feed/__init__.py (100%) rename {home => erpnext/home}/doctype/feed/feed.py (100%) rename {home => erpnext/home}/doctype/feed/feed.txt (100%) rename {home => erpnext/home}/page/__init__.py (100%) rename {home => erpnext/home}/page/activity/README.md (100%) rename {home => erpnext/home}/page/activity/__init__.py (100%) rename {home => erpnext/home}/page/activity/activity.css (100%) rename {home => erpnext/home}/page/activity/activity.js (100%) rename {home => erpnext/home}/page/activity/activity.py (100%) rename {home => erpnext/home}/page/activity/activity.txt (100%) rename {home => erpnext/home}/page/latest_updates/README.md (100%) rename {home => erpnext/home}/page/latest_updates/__init__.py (100%) rename {home => erpnext/home}/page/latest_updates/latest_updates.js (100%) rename {home => erpnext/home}/page/latest_updates/latest_updates.py (100%) rename {home => erpnext/home}/page/latest_updates/latest_updates.txt (100%) rename {hr => erpnext/hr}/README.md (100%) rename {hr => erpnext/hr}/__init__.py (100%) rename {hr => erpnext/hr}/doctype/__init__.py (100%) rename {hr => erpnext/hr}/doctype/appraisal/README.md (100%) rename {hr => erpnext/hr}/doctype/appraisal/__init__.py (100%) rename {hr => erpnext/hr}/doctype/appraisal/appraisal.js (100%) rename {hr => erpnext/hr}/doctype/appraisal/appraisal.py (100%) rename {hr => erpnext/hr}/doctype/appraisal/appraisal.txt (100%) rename {hr => erpnext/hr}/doctype/appraisal_goal/README.md (100%) rename {hr => erpnext/hr}/doctype/appraisal_goal/__init__.py (100%) rename {hr => erpnext/hr}/doctype/appraisal_goal/appraisal_goal.py (100%) rename {hr => erpnext/hr}/doctype/appraisal_goal/appraisal_goal.txt (100%) rename {hr => erpnext/hr}/doctype/appraisal_template/README.md (100%) rename {hr => erpnext/hr}/doctype/appraisal_template/__init__.py (100%) rename {hr => erpnext/hr}/doctype/appraisal_template/appraisal_template.py (100%) rename {hr => erpnext/hr}/doctype/appraisal_template/appraisal_template.txt (100%) rename {hr => erpnext/hr}/doctype/appraisal_template_goal/README.md (100%) rename {hr => erpnext/hr}/doctype/appraisal_template_goal/__init__.py (100%) rename {hr => erpnext/hr}/doctype/appraisal_template_goal/appraisal_template_goal.py (100%) rename {hr => erpnext/hr}/doctype/appraisal_template_goal/appraisal_template_goal.txt (100%) rename {hr => erpnext/hr}/doctype/attendance/README.md (100%) rename {hr => erpnext/hr}/doctype/attendance/__init__.py (100%) rename {hr => erpnext/hr}/doctype/attendance/attendance.js (100%) rename {hr => erpnext/hr}/doctype/attendance/attendance.py (100%) rename {hr => erpnext/hr}/doctype/attendance/attendance.txt (100%) rename {hr => erpnext/hr}/doctype/branch/README.md (100%) rename {hr => erpnext/hr}/doctype/branch/__init__.py (100%) rename {hr => erpnext/hr}/doctype/branch/branch.py (100%) rename {hr => erpnext/hr}/doctype/branch/branch.txt (100%) rename {hr => erpnext/hr}/doctype/branch/test_branch.py (100%) rename {hr => erpnext/hr}/doctype/deduction_type/README.md (100%) rename {hr => erpnext/hr}/doctype/deduction_type/__init__.py (100%) rename {hr => erpnext/hr}/doctype/deduction_type/deduction_type.py (100%) rename {hr => erpnext/hr}/doctype/deduction_type/deduction_type.txt (100%) rename {hr => erpnext/hr}/doctype/deduction_type/test_deduction_type.py (100%) rename {hr => erpnext/hr}/doctype/department/README.md (100%) rename {hr => erpnext/hr}/doctype/department/__init__.py (100%) rename {hr => erpnext/hr}/doctype/department/department.py (100%) rename {hr => erpnext/hr}/doctype/department/department.txt (100%) rename {hr => erpnext/hr}/doctype/department/test_department.py (100%) rename {hr => erpnext/hr}/doctype/designation/README.md (100%) rename {hr => erpnext/hr}/doctype/designation/__init__.py (100%) rename {hr => erpnext/hr}/doctype/designation/designation.py (100%) rename {hr => erpnext/hr}/doctype/designation/designation.txt (100%) rename {hr => erpnext/hr}/doctype/designation/test_designation.py (100%) rename {hr => erpnext/hr}/doctype/earning_type/README.md (100%) rename {hr => erpnext/hr}/doctype/earning_type/__init__.py (100%) rename {hr => erpnext/hr}/doctype/earning_type/earning_type.py (100%) rename {hr => erpnext/hr}/doctype/earning_type/earning_type.txt (100%) rename {hr => erpnext/hr}/doctype/earning_type/test_earning_type.py (100%) rename {hr => erpnext/hr}/doctype/employee/README.md (100%) rename {hr => erpnext/hr}/doctype/employee/__init__.py (100%) rename {hr => erpnext/hr}/doctype/employee/employee.js (100%) rename {hr => erpnext/hr}/doctype/employee/employee.py (100%) rename {hr => erpnext/hr}/doctype/employee/employee.txt (100%) rename {hr => erpnext/hr}/doctype/employee/test_employee.py (100%) rename {hr => erpnext/hr}/doctype/employee_education/README.md (100%) rename {hr => erpnext/hr}/doctype/employee_education/__init__.py (100%) rename {hr => erpnext/hr}/doctype/employee_education/employee_education.py (100%) rename {hr => erpnext/hr}/doctype/employee_education/employee_education.txt (100%) rename {hr => erpnext/hr}/doctype/employee_external_work_history/README.md (100%) rename {hr => erpnext/hr}/doctype/employee_external_work_history/__init__.py (100%) rename {hr => erpnext/hr}/doctype/employee_external_work_history/employee_external_work_history.py (100%) rename {hr => erpnext/hr}/doctype/employee_external_work_history/employee_external_work_history.txt (100%) rename {hr => erpnext/hr}/doctype/employee_internal_work_history/README.md (100%) rename {hr => erpnext/hr}/doctype/employee_internal_work_history/__init__.py (100%) rename {hr => erpnext/hr}/doctype/employee_internal_work_history/employee_internal_work_history.py (100%) rename {hr => erpnext/hr}/doctype/employee_internal_work_history/employee_internal_work_history.txt (100%) rename {hr => erpnext/hr}/doctype/employee_leave_approver/README.md (100%) rename {hr => erpnext/hr}/doctype/employee_leave_approver/__init__.py (100%) rename {hr => erpnext/hr}/doctype/employee_leave_approver/employee_leave_approver.py (100%) rename {hr => erpnext/hr}/doctype/employee_leave_approver/employee_leave_approver.txt (100%) rename {hr => erpnext/hr}/doctype/employment_type/README.md (100%) rename {hr => erpnext/hr}/doctype/employment_type/__init__.py (100%) rename {hr => erpnext/hr}/doctype/employment_type/employment_type.py (100%) rename {hr => erpnext/hr}/doctype/employment_type/employment_type.txt (100%) rename {hr => erpnext/hr}/doctype/employment_type/test_employment_type.py (100%) rename {hr => erpnext/hr}/doctype/expense_claim/README.md (100%) rename {hr => erpnext/hr}/doctype/expense_claim/__init__.py (100%) rename {hr => erpnext/hr}/doctype/expense_claim/expense_claim.js (100%) rename {hr => erpnext/hr}/doctype/expense_claim/expense_claim.py (100%) rename {hr => erpnext/hr}/doctype/expense_claim/expense_claim.txt (100%) rename {hr => erpnext/hr}/doctype/expense_claim_detail/README.md (100%) rename {hr => erpnext/hr}/doctype/expense_claim_detail/__init__.py (100%) rename {hr => erpnext/hr}/doctype/expense_claim_detail/expense_claim_detail.py (100%) rename {hr => erpnext/hr}/doctype/expense_claim_detail/expense_claim_detail.txt (100%) rename {hr => erpnext/hr}/doctype/expense_claim_type/README.md (100%) rename {hr => erpnext/hr}/doctype/expense_claim_type/__init__.py (100%) rename {hr => erpnext/hr}/doctype/expense_claim_type/expense_claim_type.py (100%) rename {hr => erpnext/hr}/doctype/expense_claim_type/expense_claim_type.txt (100%) rename {hr => erpnext/hr}/doctype/grade/README.md (100%) rename {hr => erpnext/hr}/doctype/grade/__init__.py (100%) rename {hr => erpnext/hr}/doctype/grade/grade.py (100%) rename {hr => erpnext/hr}/doctype/grade/grade.txt (100%) rename {hr => erpnext/hr}/doctype/grade/test_grade.py (100%) rename {hr => erpnext/hr}/doctype/holiday/README.md (100%) rename {hr => erpnext/hr}/doctype/holiday/__init__.py (100%) rename {hr => erpnext/hr}/doctype/holiday/holiday.py (100%) rename {hr => erpnext/hr}/doctype/holiday/holiday.txt (100%) rename {hr => erpnext/hr}/doctype/holiday_list/README.md (100%) rename {hr => erpnext/hr}/doctype/holiday_list/__init__.py (100%) rename {hr => erpnext/hr}/doctype/holiday_list/holiday_list.py (100%) rename {hr => erpnext/hr}/doctype/holiday_list/holiday_list.txt (100%) rename {hr => erpnext/hr}/doctype/holiday_list/test_holiday_list.py (100%) rename {hr => erpnext/hr}/doctype/hr_settings/__init__.py (100%) rename {hr => erpnext/hr}/doctype/hr_settings/hr_settings.py (100%) rename {hr => erpnext/hr}/doctype/hr_settings/hr_settings.txt (100%) rename {hr => erpnext/hr}/doctype/job_applicant/README.md (100%) rename {hr => erpnext/hr}/doctype/job_applicant/__init__.py (100%) rename {hr => erpnext/hr}/doctype/job_applicant/get_job_applications.py (100%) rename {hr => erpnext/hr}/doctype/job_applicant/job_applicant.js (100%) rename {hr => erpnext/hr}/doctype/job_applicant/job_applicant.py (100%) rename {hr => erpnext/hr}/doctype/job_applicant/job_applicant.txt (100%) rename {hr => erpnext/hr}/doctype/job_opening/README.md (100%) rename {hr => erpnext/hr}/doctype/job_opening/__init__.py (100%) rename {hr => erpnext/hr}/doctype/job_opening/job_opening.py (100%) rename {hr => erpnext/hr}/doctype/job_opening/job_opening.txt (100%) rename {hr => erpnext/hr}/doctype/leave_allocation/README.md (100%) rename {hr => erpnext/hr}/doctype/leave_allocation/__init__.py (100%) rename {hr => erpnext/hr}/doctype/leave_allocation/leave_allocation.js (100%) rename {hr => erpnext/hr}/doctype/leave_allocation/leave_allocation.py (100%) rename {hr => erpnext/hr}/doctype/leave_allocation/leave_allocation.txt (100%) rename {hr => erpnext/hr}/doctype/leave_application/README.md (100%) rename {hr => erpnext/hr}/doctype/leave_application/__init__.py (100%) rename {hr => erpnext/hr}/doctype/leave_application/leave_application.js (100%) rename {hr => erpnext/hr}/doctype/leave_application/leave_application.py (100%) rename {hr => erpnext/hr}/doctype/leave_application/leave_application.txt (100%) rename {hr => erpnext/hr}/doctype/leave_application/leave_application_calendar.js (100%) rename {hr => erpnext/hr}/doctype/leave_application/test_leave_application.py (100%) rename {hr => erpnext/hr}/doctype/leave_block_list/README.md (100%) rename {hr => erpnext/hr}/doctype/leave_block_list/__init__.py (100%) rename {hr => erpnext/hr}/doctype/leave_block_list/leave_block_list.py (100%) rename {hr => erpnext/hr}/doctype/leave_block_list/leave_block_list.txt (100%) rename {hr => erpnext/hr}/doctype/leave_block_list/test_leave_block_list.py (100%) rename {hr => erpnext/hr}/doctype/leave_block_list_allow/README.md (100%) rename {hr => erpnext/hr}/doctype/leave_block_list_allow/__init__.py (100%) rename {hr => erpnext/hr}/doctype/leave_block_list_allow/leave_block_list_allow.py (100%) rename {hr => erpnext/hr}/doctype/leave_block_list_allow/leave_block_list_allow.txt (100%) rename {hr => erpnext/hr}/doctype/leave_block_list_date/README.md (100%) rename {hr => erpnext/hr}/doctype/leave_block_list_date/__init__.py (100%) rename {hr => erpnext/hr}/doctype/leave_block_list_date/leave_block_list_date.py (100%) rename {hr => erpnext/hr}/doctype/leave_block_list_date/leave_block_list_date.txt (100%) rename {hr => erpnext/hr}/doctype/leave_control_panel/README.md (100%) rename {hr => erpnext/hr}/doctype/leave_control_panel/__init__.py (100%) rename {hr => erpnext/hr}/doctype/leave_control_panel/leave_control_panel.js (100%) rename {hr => erpnext/hr}/doctype/leave_control_panel/leave_control_panel.py (100%) rename {hr => erpnext/hr}/doctype/leave_control_panel/leave_control_panel.txt (100%) rename {hr => erpnext/hr}/doctype/leave_type/README.md (100%) rename {hr => erpnext/hr}/doctype/leave_type/__init__.py (100%) rename {hr => erpnext/hr}/doctype/leave_type/leave_type.py (100%) rename {hr => erpnext/hr}/doctype/leave_type/leave_type.txt (100%) rename {hr => erpnext/hr}/doctype/leave_type/test_leave_type.py (100%) rename {hr => erpnext/hr}/doctype/salary_manager/README.md (100%) rename {hr => erpnext/hr}/doctype/salary_manager/__init__.py (100%) rename {hr => erpnext/hr}/doctype/salary_manager/salary_manager.js (100%) rename {hr => erpnext/hr}/doctype/salary_manager/salary_manager.py (100%) rename {hr => erpnext/hr}/doctype/salary_manager/salary_manager.txt (100%) rename {hr => erpnext/hr}/doctype/salary_manager/test_salary_manager.py (100%) rename {hr => erpnext/hr}/doctype/salary_slip/README.md (100%) rename {hr => erpnext/hr}/doctype/salary_slip/__init__.py (100%) rename {hr => erpnext/hr}/doctype/salary_slip/salary_slip.js (100%) rename {hr => erpnext/hr}/doctype/salary_slip/salary_slip.py (100%) rename {hr => erpnext/hr}/doctype/salary_slip/salary_slip.txt (100%) rename {hr => erpnext/hr}/doctype/salary_slip/test_salary_slip.py (100%) rename {hr => erpnext/hr}/doctype/salary_slip_deduction/README.md (100%) rename {hr => erpnext/hr}/doctype/salary_slip_deduction/__init__.py (100%) rename {hr => erpnext/hr}/doctype/salary_slip_deduction/salary_slip_deduction.py (100%) rename {hr => erpnext/hr}/doctype/salary_slip_deduction/salary_slip_deduction.txt (100%) rename {hr => erpnext/hr}/doctype/salary_slip_earning/README.md (100%) rename {hr => erpnext/hr}/doctype/salary_slip_earning/__init__.py (100%) rename {hr => erpnext/hr}/doctype/salary_slip_earning/salary_slip_earning.py (100%) rename {hr => erpnext/hr}/doctype/salary_slip_earning/salary_slip_earning.txt (100%) rename {hr => erpnext/hr}/doctype/salary_structure/README.md (100%) rename {hr => erpnext/hr}/doctype/salary_structure/__init__.py (100%) rename {hr => erpnext/hr}/doctype/salary_structure/salary_structure.js (100%) rename {hr => erpnext/hr}/doctype/salary_structure/salary_structure.py (100%) rename {hr => erpnext/hr}/doctype/salary_structure/salary_structure.txt (100%) rename {hr => erpnext/hr}/doctype/salary_structure_deduction/README.md (100%) rename {hr => erpnext/hr}/doctype/salary_structure_deduction/__init__.py (100%) rename {hr => erpnext/hr}/doctype/salary_structure_deduction/salary_structure_deduction.py (100%) rename {hr => erpnext/hr}/doctype/salary_structure_deduction/salary_structure_deduction.txt (100%) rename {hr => erpnext/hr}/doctype/salary_structure_earning/README.md (100%) rename {hr => erpnext/hr}/doctype/salary_structure_earning/__init__.py (100%) rename {hr => erpnext/hr}/doctype/salary_structure_earning/salary_structure_earning.py (100%) rename {hr => erpnext/hr}/doctype/salary_structure_earning/salary_structure_earning.txt (100%) rename {hr => erpnext/hr}/doctype/upload_attendance/README.md (100%) rename {hr => erpnext/hr}/doctype/upload_attendance/__init__.py (100%) rename {hr => erpnext/hr}/doctype/upload_attendance/upload_attendance.js (100%) rename {hr => erpnext/hr}/doctype/upload_attendance/upload_attendance.py (100%) rename {hr => erpnext/hr}/doctype/upload_attendance/upload_attendance.txt (100%) rename {hr => erpnext/hr}/page/__init__.py (100%) rename {hr => erpnext/hr}/page/hr_home/__init__.py (100%) rename {hr => erpnext/hr}/page/hr_home/hr_home.js (100%) rename {hr => erpnext/hr}/page/hr_home/hr_home.txt (100%) rename {hr => erpnext/hr}/report/__init__.py (100%) rename {hr => erpnext/hr}/report/employee_birthday/__init__.py (100%) rename {hr => erpnext/hr}/report/employee_birthday/employee_birthday.js (100%) rename {hr => erpnext/hr}/report/employee_birthday/employee_birthday.py (100%) rename {hr => erpnext/hr}/report/employee_birthday/employee_birthday.txt (100%) rename {hr => erpnext/hr}/report/employee_information/__init__.py (100%) rename {hr => erpnext/hr}/report/employee_information/employee_information.txt (100%) rename {hr => erpnext/hr}/report/employee_leave_balance/__init__.py (100%) rename {hr => erpnext/hr}/report/employee_leave_balance/employee_leave_balance.js (100%) rename {hr => erpnext/hr}/report/employee_leave_balance/employee_leave_balance.py (100%) rename {hr => erpnext/hr}/report/employee_leave_balance/employee_leave_balance.txt (100%) rename {hr => erpnext/hr}/report/monthly_attendance_sheet/__init__.py (100%) rename {hr => erpnext/hr}/report/monthly_attendance_sheet/monthly_attendance_sheet.js (100%) rename {hr => erpnext/hr}/report/monthly_attendance_sheet/monthly_attendance_sheet.py (100%) rename {hr => erpnext/hr}/report/monthly_attendance_sheet/monthly_attendance_sheet.txt (100%) rename {hr => erpnext/hr}/report/monthly_salary_register/__init__.py (100%) rename {hr => erpnext/hr}/report/monthly_salary_register/monthly_salary_register.js (100%) rename {hr => erpnext/hr}/report/monthly_salary_register/monthly_salary_register.py (100%) rename {hr => erpnext/hr}/report/monthly_salary_register/monthly_salary_register.txt (100%) rename {hr => erpnext/hr}/utils.py (100%) rename {manufacturing => erpnext/manufacturing}/README.md (100%) rename {manufacturing => erpnext/manufacturing}/__init__.py (100%) rename {manufacturing => erpnext/manufacturing}/doctype/__init__.py (100%) rename {manufacturing => erpnext/manufacturing}/doctype/bom/README.md (100%) rename {manufacturing => erpnext/manufacturing}/doctype/bom/__init__.py (100%) rename {manufacturing => erpnext/manufacturing}/doctype/bom/bom.js (100%) rename {manufacturing => erpnext/manufacturing}/doctype/bom/bom.py (100%) rename {manufacturing => erpnext/manufacturing}/doctype/bom/bom.txt (100%) rename {manufacturing => erpnext/manufacturing}/doctype/bom/test_bom.py (100%) rename {manufacturing => erpnext/manufacturing}/doctype/bom_explosion_item/README.md (100%) rename {manufacturing => erpnext/manufacturing}/doctype/bom_explosion_item/__init__.py (100%) rename {manufacturing => erpnext/manufacturing}/doctype/bom_explosion_item/bom_explosion_item.py (100%) rename {manufacturing => erpnext/manufacturing}/doctype/bom_explosion_item/bom_explosion_item.txt (100%) rename {manufacturing => erpnext/manufacturing}/doctype/bom_item/README.md (100%) rename {manufacturing => erpnext/manufacturing}/doctype/bom_item/__init__.py (100%) rename {manufacturing => erpnext/manufacturing}/doctype/bom_item/bom_item.py (100%) rename {manufacturing => erpnext/manufacturing}/doctype/bom_item/bom_item.txt (100%) rename {manufacturing => erpnext/manufacturing}/doctype/bom_operation/README.md (100%) rename {manufacturing => erpnext/manufacturing}/doctype/bom_operation/__init__.py (100%) rename {manufacturing => erpnext/manufacturing}/doctype/bom_operation/bom_operation.py (100%) rename {manufacturing => erpnext/manufacturing}/doctype/bom_operation/bom_operation.txt (100%) rename {manufacturing => erpnext/manufacturing}/doctype/bom_replace_tool/README.md (100%) rename {manufacturing => erpnext/manufacturing}/doctype/bom_replace_tool/__init__.py (100%) rename {manufacturing => erpnext/manufacturing}/doctype/bom_replace_tool/bom_replace_tool.js (100%) rename {manufacturing => erpnext/manufacturing}/doctype/bom_replace_tool/bom_replace_tool.py (100%) rename {manufacturing => erpnext/manufacturing}/doctype/bom_replace_tool/bom_replace_tool.txt (100%) rename {manufacturing => erpnext/manufacturing}/doctype/production_order/README.md (100%) rename {manufacturing => erpnext/manufacturing}/doctype/production_order/__init__.py (100%) rename {manufacturing => erpnext/manufacturing}/doctype/production_order/production_order.js (100%) rename {manufacturing => erpnext/manufacturing}/doctype/production_order/production_order.py (100%) rename {manufacturing => erpnext/manufacturing}/doctype/production_order/production_order.txt (100%) rename {manufacturing => erpnext/manufacturing}/doctype/production_order/test_production_order.py (100%) rename {manufacturing => erpnext/manufacturing}/doctype/production_plan_item/README.md (100%) rename {manufacturing => erpnext/manufacturing}/doctype/production_plan_item/__init__.py (100%) rename {manufacturing => erpnext/manufacturing}/doctype/production_plan_item/production_plan_item.py (100%) rename {manufacturing => erpnext/manufacturing}/doctype/production_plan_item/production_plan_item.txt (100%) rename {manufacturing => erpnext/manufacturing}/doctype/production_plan_sales_order/README.md (100%) rename {manufacturing => erpnext/manufacturing}/doctype/production_plan_sales_order/__init__.py (100%) rename {manufacturing => erpnext/manufacturing}/doctype/production_plan_sales_order/production_plan_sales_order.py (100%) rename {manufacturing => erpnext/manufacturing}/doctype/production_plan_sales_order/production_plan_sales_order.txt (100%) rename {manufacturing => erpnext/manufacturing}/doctype/production_planning_tool/README.md (100%) rename {manufacturing => erpnext/manufacturing}/doctype/production_planning_tool/__init__.py (100%) rename {manufacturing => erpnext/manufacturing}/doctype/production_planning_tool/production_planning_tool.js (100%) rename {manufacturing => erpnext/manufacturing}/doctype/production_planning_tool/production_planning_tool.py (100%) rename {manufacturing => erpnext/manufacturing}/doctype/production_planning_tool/production_planning_tool.txt (100%) rename {manufacturing => erpnext/manufacturing}/doctype/workstation/README.md (100%) rename {manufacturing => erpnext/manufacturing}/doctype/workstation/__init__.py (100%) rename {manufacturing => erpnext/manufacturing}/doctype/workstation/workstation.js (100%) rename {manufacturing => erpnext/manufacturing}/doctype/workstation/workstation.py (100%) rename {manufacturing => erpnext/manufacturing}/doctype/workstation/workstation.txt (100%) rename {manufacturing => erpnext/manufacturing}/page/__init__.py (100%) rename {manufacturing => erpnext/manufacturing}/page/manufacturing_home/__init__.py (100%) rename {manufacturing => erpnext/manufacturing}/page/manufacturing_home/manufacturing_home.js (100%) rename {manufacturing => erpnext/manufacturing}/page/manufacturing_home/manufacturing_home.txt (100%) rename {manufacturing => erpnext/manufacturing}/report/__init__.py (100%) rename {manufacturing => erpnext/manufacturing}/report/completed_production_orders/__init__.py (100%) rename {manufacturing => erpnext/manufacturing}/report/completed_production_orders/completed_production_orders.txt (100%) rename {manufacturing => erpnext/manufacturing}/report/issued_items_against_production_order/__init__.py (100%) rename {manufacturing => erpnext/manufacturing}/report/issued_items_against_production_order/issued_items_against_production_order.txt (100%) rename {manufacturing => erpnext/manufacturing}/report/open_production_orders/__init__.py (100%) rename {manufacturing => erpnext/manufacturing}/report/open_production_orders/open_production_orders.txt (100%) rename {manufacturing => erpnext/manufacturing}/report/production_orders_in_progress/__init__.py (100%) rename {manufacturing => erpnext/manufacturing}/report/production_orders_in_progress/production_orders_in_progress.txt (100%) rename {patches => erpnext/patches}/1311/__init__.py (100%) rename {patches => erpnext/patches}/1311/p01_cleanup.py (100%) rename {patches => erpnext/patches}/1311/p01_make_gl_entries_for_si.py (100%) rename {patches => erpnext/patches}/1311/p02_index_singles.py (100%) rename {patches => erpnext/patches}/1311/p03_update_reqd_report_fields.py (100%) rename {patches => erpnext/patches}/1311/p04_update_comments.py (100%) rename {patches => erpnext/patches}/1311/p04_update_year_end_date_of_fiscal_year.py (100%) rename {patches => erpnext/patches}/1311/p05_website_brand_html.py (100%) rename {patches => erpnext/patches}/1311/p06_fix_report_columns.py (100%) rename {patches => erpnext/patches}/__init__.py (100%) rename {patches => erpnext/patches}/april_2013/__init__.py (100%) rename {patches => erpnext/patches}/april_2013/p01_update_serial_no_valuation_rate.py (100%) rename {patches => erpnext/patches}/april_2013/p02_add_country_and_currency.py (100%) rename {patches => erpnext/patches}/april_2013/p03_fixes_for_lead_in_quotation.py (100%) rename {patches => erpnext/patches}/april_2013/p04_reverse_modules_list.py (100%) rename {patches => erpnext/patches}/april_2013/p04_update_role_in_pages.py (100%) rename {patches => erpnext/patches}/april_2013/p05_fixes_in_reverse_modules.py (100%) rename {patches => erpnext/patches}/april_2013/p05_update_file_data.py (100%) rename {patches => erpnext/patches}/april_2013/p06_default_cost_center.py (100%) rename {patches => erpnext/patches}/april_2013/p06_update_file_size.py (100%) rename {patches => erpnext/patches}/april_2013/p07_rename_cost_center_other_charges.py (100%) rename {patches => erpnext/patches}/april_2013/p07_update_file_data_2.py (100%) rename {patches => erpnext/patches}/april_2013/rebuild_sales_browser.py (100%) rename {patches => erpnext/patches}/august_2013/__init__.py (100%) rename {patches => erpnext/patches}/august_2013/fix_fiscal_year.py (100%) rename {patches => erpnext/patches}/august_2013/p01_auto_accounting_for_stock_patch.py (100%) rename {patches => erpnext/patches}/august_2013/p01_hr_settings.py (100%) rename {patches => erpnext/patches}/august_2013/p02_rename_price_list.py (100%) rename {patches => erpnext/patches}/august_2013/p03_pos_setting_replace_customer_account.py (100%) rename {patches => erpnext/patches}/august_2013/p05_employee_birthdays.py (100%) rename {patches => erpnext/patches}/august_2013/p05_update_serial_no_status.py (100%) rename {patches => erpnext/patches}/august_2013/p06_deprecate_is_cancelled.py (100%) rename {patches => erpnext/patches}/august_2013/p06_fix_sle_against_stock_entry.py (100%) rename {patches => erpnext/patches}/december_2012/__init__.py (100%) rename {patches => erpnext/patches}/december_2012/address_title.py (100%) rename {patches => erpnext/patches}/december_2012/delete_form16_print_format.py (100%) rename {patches => erpnext/patches}/december_2012/deleted_contact_address_patch.py (100%) rename {patches => erpnext/patches}/december_2012/deprecate_tds.py (100%) rename {patches => erpnext/patches}/december_2012/expense_leave_reload.py (100%) rename {patches => erpnext/patches}/december_2012/file_list_rename.py (100%) rename {patches => erpnext/patches}/december_2012/fix_default_print_format.py (100%) rename {patches => erpnext/patches}/december_2012/move_recent_to_memcache.py (100%) rename {patches => erpnext/patches}/december_2012/production_cleanup.py (100%) rename {patches => erpnext/patches}/december_2012/production_order_naming_series.py (100%) rename {patches => erpnext/patches}/december_2012/rebuild_item_group_tree.py (100%) rename {patches => erpnext/patches}/december_2012/remove_quotation_next_contact.py (100%) rename {patches => erpnext/patches}/december_2012/replace_createlocal.py (100%) rename {patches => erpnext/patches}/december_2012/repost_ordered_qty.py (100%) rename {patches => erpnext/patches}/december_2012/repost_projected_qty.py (100%) rename {patches => erpnext/patches}/december_2012/stock_entry_cleanup.py (100%) rename {patches => erpnext/patches}/december_2012/update_print_width.py (100%) rename {patches => erpnext/patches}/december_2012/website_cache_refactor.py (100%) rename {patches => erpnext/patches}/february_2013/__init__.py (100%) rename {patches => erpnext/patches}/february_2013/account_negative_balance.py (100%) rename {patches => erpnext/patches}/february_2013/fix_outstanding.py (100%) rename {patches => erpnext/patches}/february_2013/gle_floating_point_issue_revisited.py (100%) rename {patches => erpnext/patches}/february_2013/p01_event.py (100%) rename {patches => erpnext/patches}/february_2013/p02_email_digest.py (100%) rename {patches => erpnext/patches}/february_2013/p03_material_request.py (100%) rename {patches => erpnext/patches}/february_2013/p04_remove_old_doctypes.py (100%) rename {patches => erpnext/patches}/february_2013/p05_leave_application.py (100%) rename {patches => erpnext/patches}/february_2013/p08_todo_query_report.py (100%) rename {patches => erpnext/patches}/february_2013/p09_remove_cancelled_warehouses.py (100%) rename {patches => erpnext/patches}/february_2013/p09_timesheets.py (100%) rename {patches => erpnext/patches}/february_2013/payment_reconciliation_reset_values.py (100%) rename {patches => erpnext/patches}/february_2013/reload_bom_replace_tool_permission.py (100%) rename {patches => erpnext/patches}/february_2013/remove_account_utils_folder.py (100%) rename {patches => erpnext/patches}/february_2013/remove_gl_mapper.py (100%) rename {patches => erpnext/patches}/february_2013/repost_reserved_qty.py (100%) rename {patches => erpnext/patches}/february_2013/update_company_in_leave_application.py (100%) rename {patches => erpnext/patches}/january_2013/__init__.py (100%) rename {patches => erpnext/patches}/january_2013/change_patch_structure.py (100%) rename {patches => erpnext/patches}/january_2013/enable_currencies.py (100%) rename {patches => erpnext/patches}/january_2013/file_list_rename_returns.py (100%) rename {patches => erpnext/patches}/january_2013/give_report_permission_on_read.py (100%) rename {patches => erpnext/patches}/january_2013/holiday_list_patch.py (100%) rename {patches => erpnext/patches}/january_2013/rebuild_tree.py (100%) rename {patches => erpnext/patches}/january_2013/reload_print_format.py (100%) rename {patches => erpnext/patches}/january_2013/remove_bad_permissions.py (100%) rename {patches => erpnext/patches}/january_2013/remove_landed_cost_master.py (100%) rename {patches => erpnext/patches}/january_2013/remove_tds_entry_from_gl_mapper.py (100%) rename {patches => erpnext/patches}/january_2013/remove_unwanted_permission.py (100%) rename {patches => erpnext/patches}/january_2013/report_permission.py (100%) rename {patches => erpnext/patches}/january_2013/stock_reconciliation_patch.py (100%) rename {patches => erpnext/patches}/january_2013/tabsessions_to_myisam.py (100%) rename {patches => erpnext/patches}/january_2013/update_closed_on.py (100%) rename {patches => erpnext/patches}/january_2013/update_country_info.py (100%) rename {patches => erpnext/patches}/january_2013/update_fraction_for_usd.py (100%) rename {patches => erpnext/patches}/january_2013/update_number_format.py (100%) rename {patches => erpnext/patches}/july_2013/__init__.py (100%) rename {patches => erpnext/patches}/july_2013/p01_remove_doctype_mappers.py (100%) rename {patches => erpnext/patches}/july_2013/p01_same_sales_rate_patch.py (100%) rename {patches => erpnext/patches}/july_2013/p02_copy_shipping_address.py (100%) rename {patches => erpnext/patches}/july_2013/p03_cost_center_company.py (100%) rename {patches => erpnext/patches}/july_2013/p04_merge_duplicate_leads.py (100%) rename {patches => erpnext/patches}/july_2013/p05_custom_doctypes_in_list_view.py (100%) rename {patches => erpnext/patches}/july_2013/p06_same_sales_rate.py (100%) rename {patches => erpnext/patches}/july_2013/p07_repost_billed_amt_in_sales_cycle.py (100%) rename {patches => erpnext/patches}/july_2013/p08_custom_print_format_net_total_export.py (100%) rename {patches => erpnext/patches}/july_2013/p09_remove_website_pyc.py (100%) rename {patches => erpnext/patches}/july_2013/p10_change_partner_user_to_website_user.py (100%) rename {patches => erpnext/patches}/july_2013/p11_update_price_list_currency.py (100%) rename {patches => erpnext/patches}/july_2013/restore_tree_roots.py (100%) rename {patches => erpnext/patches}/june_2013/__init__.py (100%) rename {patches => erpnext/patches}/june_2013/p01_update_bom_exploded_items.py (100%) rename {patches => erpnext/patches}/june_2013/p02_update_project_completed.py (100%) rename {patches => erpnext/patches}/june_2013/p03_buying_selling_for_price_list.py (100%) rename {patches => erpnext/patches}/june_2013/p04_fix_event_for_lead_oppty_project.py (100%) rename {patches => erpnext/patches}/june_2013/p05_remove_search_criteria_reports.py (100%) rename {patches => erpnext/patches}/june_2013/p05_remove_unused_doctypes.py (100%) rename {patches => erpnext/patches}/june_2013/p06_drop_unused_tables.py (100%) rename {patches => erpnext/patches}/june_2013/p07_taxes_price_list_for_territory.py (100%) rename {patches => erpnext/patches}/june_2013/p08_shopping_cart_settings.py (100%) rename {patches => erpnext/patches}/june_2013/p09_update_global_defaults.py (100%) rename {patches => erpnext/patches}/june_2013/p10_lead_address.py (100%) rename {patches => erpnext/patches}/march_2013/__init__.py (100%) rename {patches => erpnext/patches}/march_2013/p01_c_form.py (100%) rename {patches => erpnext/patches}/march_2013/p02_get_global_default.py (100%) rename {patches => erpnext/patches}/march_2013/p03_rename_blog_to_blog_post.py (100%) rename {patches => erpnext/patches}/march_2013/p04_pos_update_stock_check.py (100%) rename {patches => erpnext/patches}/march_2013/p05_payment_reconciliation.py (100%) rename {patches => erpnext/patches}/march_2013/p06_remove_sales_purchase_return_tool.py (100%) rename {patches => erpnext/patches}/march_2013/p07_update_project_in_stock_ledger.py (100%) rename {patches => erpnext/patches}/march_2013/p07_update_valuation_rate.py (100%) rename {patches => erpnext/patches}/march_2013/p08_create_aii_accounts.py (100%) rename {patches => erpnext/patches}/march_2013/p10_set_fiscal_year_for_stock.py (100%) rename {patches => erpnext/patches}/march_2013/p10_update_against_expense_account.py (100%) rename {patches => erpnext/patches}/march_2013/p11_update_attach_files.py (100%) rename {patches => erpnext/patches}/march_2013/p12_set_item_tax_rate_in_json.py (100%) rename {patches => erpnext/patches}/march_2013/update_po_prevdoc_doctype.py (100%) rename {patches => erpnext/patches}/may_2013/__init__.py (100%) rename {patches => erpnext/patches}/may_2013/p01_selling_net_total_export.py (100%) rename {patches => erpnext/patches}/may_2013/p02_update_valuation_rate.py (100%) rename {patches => erpnext/patches}/may_2013/p03_update_support_ticket.py (100%) rename {patches => erpnext/patches}/may_2013/p04_reorder_level.py (100%) rename {patches => erpnext/patches}/may_2013/p05_update_cancelled_gl_entries.py (100%) rename {patches => erpnext/patches}/may_2013/p06_make_notes.py (100%) rename {patches => erpnext/patches}/may_2013/p06_update_billed_amt_po_pr.py (100%) rename {patches => erpnext/patches}/may_2013/p07_move_update_stock_to_pos.py (100%) rename {patches => erpnext/patches}/may_2013/p08_change_item_wise_tax.py (100%) rename {patches => erpnext/patches}/may_2013/repost_stock_for_no_posting_time.py (100%) rename {patches => erpnext/patches}/november_2012/__init__.py (100%) rename {patches => erpnext/patches}/november_2012/add_employee_field_in_employee.py (100%) rename {patches => erpnext/patches}/november_2012/add_theme_to_profile.py (100%) rename {patches => erpnext/patches}/november_2012/cancelled_bom_patch.py (100%) rename {patches => erpnext/patches}/november_2012/communication_sender_and_recipient.py (100%) rename {patches => erpnext/patches}/november_2012/custom_field_insert_after.py (100%) rename {patches => erpnext/patches}/november_2012/customer_issue_allocated_to_assigned.py (100%) rename {patches => erpnext/patches}/november_2012/disable_cancelled_profiles.py (100%) rename {patches => erpnext/patches}/november_2012/gle_floating_point_issue.py (100%) rename {patches => erpnext/patches}/november_2012/leave_application_cleanup.py (100%) rename {patches => erpnext/patches}/november_2012/production_order_patch.py (100%) rename {patches => erpnext/patches}/november_2012/report_permissions.py (100%) rename {patches => erpnext/patches}/november_2012/reset_appraisal_permissions.py (100%) rename {patches => erpnext/patches}/november_2012/support_ticket_response_to_communication.py (100%) rename {patches => erpnext/patches}/november_2012/update_delivered_billed_percentage_for_pos.py (100%) rename {patches => erpnext/patches}/october_2012/__init__.py (100%) rename {patches => erpnext/patches}/october_2012/company_fiscal_year_docstatus_patch.py (100%) rename {patches => erpnext/patches}/october_2012/custom_script_delete_permission.py (100%) rename {patches => erpnext/patches}/october_2012/fix_cancelled_gl_entries.py (100%) rename {patches => erpnext/patches}/october_2012/fix_wrong_vouchers.py (100%) rename {patches => erpnext/patches}/october_2012/update_account_property.py (100%) rename {patches => erpnext/patches}/october_2012/update_permission.py (100%) rename {patches => erpnext/patches}/october_2013/__init__.py (100%) rename {patches => erpnext/patches}/october_2013/fix_is_cancelled_in_sle.py (100%) rename {patches => erpnext/patches}/october_2013/p01_fix_serial_no_status.py (100%) rename {patches => erpnext/patches}/october_2013/p01_update_delivery_note_prevdocs.py (100%) rename {patches => erpnext/patches}/october_2013/p02_set_communication_status.py (100%) rename {patches => erpnext/patches}/october_2013/p02_update_price_list_and_item_details_in_item_price.py (100%) rename {patches => erpnext/patches}/october_2013/p03_crm_update_status.py (100%) rename {patches => erpnext/patches}/october_2013/p03_remove_sales_and_purchase_return_tool.py (100%) rename {patches => erpnext/patches}/october_2013/p04_update_report_permission.py (100%) rename {patches => erpnext/patches}/october_2013/p04_wsgi_migration.py (100%) rename {patches => erpnext/patches}/october_2013/p05_delete_gl_entries_for_cancelled_vouchers.py (100%) rename {patches => erpnext/patches}/october_2013/p05_server_custom_script_to_file.py (100%) rename {patches => erpnext/patches}/october_2013/p06_rename_packing_list_doctype.py (100%) rename {patches => erpnext/patches}/october_2013/p06_update_control_panel_and_global_defaults.py (100%) rename {patches => erpnext/patches}/october_2013/p07_rename_for_territory.py (100%) rename {patches => erpnext/patches}/october_2013/p08_cleanup_after_item_price_module_change.py (100%) rename {patches => erpnext/patches}/october_2013/p09_update_naming_series_settings.py (100%) rename {patches => erpnext/patches}/october_2013/p10_plugins_refactor.py (100%) rename {patches => erpnext/patches}/october_2013/perpetual_inventory_stock_transfer_utility.py (100%) rename {patches => erpnext/patches}/october_2013/repost_ordered_qty.py (100%) rename {patches => erpnext/patches}/october_2013/repost_planned_qty.py (100%) rename {patches => erpnext/patches}/october_2013/set_stock_value_diff_in_sle.py (100%) rename {patches => erpnext/patches}/patch_list.py (100%) rename {patches => erpnext/patches}/september_2012/__init__.py (100%) rename {patches => erpnext/patches}/september_2012/add_stock_ledger_entry_index.py (100%) rename {patches => erpnext/patches}/september_2012/all_permissions_patch.py (100%) rename {patches => erpnext/patches}/september_2012/communication_delete_permission.py (100%) rename {patches => erpnext/patches}/september_2012/customer_permission_patch.py (100%) rename {patches => erpnext/patches}/september_2012/deprecate_account_balance.py (100%) rename {patches => erpnext/patches}/september_2012/event_permission.py (100%) rename {patches => erpnext/patches}/september_2012/plot_patch.py (100%) rename {patches => erpnext/patches}/september_2012/profile_delete_permission.py (100%) rename {patches => erpnext/patches}/september_2012/rebuild_trees.py (100%) rename {patches => erpnext/patches}/september_2012/repost_stock.py (100%) rename {patches => erpnext/patches}/september_2012/stock_report_permissions_for_accounts.py (100%) rename {patches => erpnext/patches}/september_2013/__init__.py (100%) rename {patches => erpnext/patches}/september_2013/p01_add_user_defaults_from_pos_setting.py (100%) rename {patches => erpnext/patches}/september_2013/p01_fix_buying_amount_gl_entries.py (100%) rename {patches => erpnext/patches}/september_2013/p01_update_communication.py (100%) rename {patches => erpnext/patches}/september_2013/p02_fix_serial_no_status.py (100%) rename {patches => erpnext/patches}/september_2013/p03_modify_item_price_include_in_price_list.py (100%) rename {patches => erpnext/patches}/september_2013/p03_move_website_to_framework.py (100%) rename {patches => erpnext/patches}/september_2013/p03_update_stock_uom_in_sle.py (100%) rename {patches => erpnext/patches}/september_2013/p04_unsubmit_serial_nos.py (100%) rename {patches => erpnext/patches}/september_2013/p05_fix_customer_in_pos.py (100%) rename {portal => erpnext/portal}/__init__.py (100%) rename {portal => erpnext/portal}/templates/__init__.py (100%) rename {portal => erpnext/portal}/templates/base.html (100%) rename {portal => erpnext/portal}/templates/includes/cart.js (100%) rename {portal => erpnext/portal}/templates/includes/footer.html (100%) rename {portal => erpnext/portal}/templates/includes/transactions.html (100%) rename {portal => erpnext/portal}/templates/pages/__init__.py (100%) rename {portal => erpnext/portal}/templates/pages/cart.html (100%) rename {portal => erpnext/portal}/templates/pages/cart.py (100%) rename {portal => erpnext/portal}/templates/pages/profile.html (100%) rename {portal => erpnext/portal}/templates/pages/profile.py (100%) rename {portal => erpnext/portal}/templates/sale.html (100%) rename {portal => erpnext/portal}/templates/sales_transactions.html (100%) rename {portal => erpnext/portal}/utils.py (100%) rename {projects => erpnext/projects}/__init__.py (100%) rename {projects => erpnext/projects}/doctype/__init__.py (100%) rename {projects => erpnext/projects}/doctype/activity_type/README.md (100%) rename {projects => erpnext/projects}/doctype/activity_type/__init__.py (100%) rename {projects => erpnext/projects}/doctype/activity_type/activity_type.py (100%) rename {projects => erpnext/projects}/doctype/activity_type/activity_type.txt (100%) rename {projects => erpnext/projects}/doctype/activity_type/test_activity_type.py (100%) rename {projects => erpnext/projects}/doctype/project/README.md (100%) rename {projects => erpnext/projects}/doctype/project/__init__.py (100%) rename {projects => erpnext/projects}/doctype/project/help.md (100%) rename {projects => erpnext/projects}/doctype/project/project.js (100%) rename {projects => erpnext/projects}/doctype/project/project.py (100%) rename {projects => erpnext/projects}/doctype/project/project.txt (100%) rename {projects => erpnext/projects}/doctype/project/test_project.py (100%) rename {projects => erpnext/projects}/doctype/project_milestone/README.md (100%) rename {projects => erpnext/projects}/doctype/project_milestone/__init__.py (100%) rename {projects => erpnext/projects}/doctype/project_milestone/project_milestone.py (100%) rename {projects => erpnext/projects}/doctype/project_milestone/project_milestone.txt (100%) rename {projects => erpnext/projects}/doctype/task/README.md (100%) rename {projects => erpnext/projects}/doctype/task/__init__.py (100%) rename {projects => erpnext/projects}/doctype/task/task.js (100%) rename {projects => erpnext/projects}/doctype/task/task.py (100%) rename {projects => erpnext/projects}/doctype/task/task.txt (100%) rename {projects => erpnext/projects}/doctype/task/task_calendar.js (100%) rename {projects => erpnext/projects}/doctype/task/test_task.py (100%) rename {projects => erpnext/projects}/doctype/time_log/README.md (100%) rename {projects => erpnext/projects}/doctype/time_log/__init__.py (100%) rename {projects => erpnext/projects}/doctype/time_log/test_time_log.py (100%) rename {projects => erpnext/projects}/doctype/time_log/time_log.js (100%) rename {projects => erpnext/projects}/doctype/time_log/time_log.py (100%) rename {projects => erpnext/projects}/doctype/time_log/time_log.txt (100%) rename {projects => erpnext/projects}/doctype/time_log/time_log_calendar.js (100%) rename {projects => erpnext/projects}/doctype/time_log/time_log_list.js (100%) rename {projects => erpnext/projects}/doctype/time_log_batch/README.md (100%) rename {projects => erpnext/projects}/doctype/time_log_batch/__init__.py (100%) rename {projects => erpnext/projects}/doctype/time_log_batch/test_time_log_batch.py (100%) rename {projects => erpnext/projects}/doctype/time_log_batch/time_log_batch.js (100%) rename {projects => erpnext/projects}/doctype/time_log_batch/time_log_batch.py (100%) rename {projects => erpnext/projects}/doctype/time_log_batch/time_log_batch.txt (100%) rename {projects => erpnext/projects}/doctype/time_log_batch_detail/README.md (100%) rename {projects => erpnext/projects}/doctype/time_log_batch_detail/__init__.py (100%) rename {projects => erpnext/projects}/doctype/time_log_batch_detail/time_log_batch_detail.py (100%) rename {projects => erpnext/projects}/doctype/time_log_batch_detail/time_log_batch_detail.txt (100%) rename {projects => erpnext/projects}/page/__init__.py (100%) rename {projects => erpnext/projects}/page/projects_home/__init__.py (100%) rename {projects => erpnext/projects}/page/projects_home/projects_home.js (100%) rename {projects => erpnext/projects}/page/projects_home/projects_home.txt (100%) rename {projects => erpnext/projects}/report/__init__.py (100%) rename {projects => erpnext/projects}/report/daily_time_log_summary/__init__.py (100%) rename {projects => erpnext/projects}/report/daily_time_log_summary/daily_time_log_summary.js (100%) rename {projects => erpnext/projects}/report/daily_time_log_summary/daily_time_log_summary.py (100%) rename {projects => erpnext/projects}/report/daily_time_log_summary/daily_time_log_summary.txt (100%) rename {projects => erpnext/projects}/report/project_wise_stock_tracking/__init__.py (100%) rename {projects => erpnext/projects}/report/project_wise_stock_tracking/project_wise_stock_tracking.py (100%) rename {projects => erpnext/projects}/report/project_wise_stock_tracking/project_wise_stock_tracking.txt (100%) rename {projects => erpnext/projects}/utils.py (100%) rename {public => erpnext/public}/build.json (100%) rename {public => erpnext/public}/css/splash.css (100%) rename {public => erpnext/public}/images/erpnext-fade.png (100%) rename {public => erpnext/public}/images/erpnext1.png (100%) rename {public => erpnext/public}/images/favicon.ico (100%) rename {public => erpnext/public}/images/feed.png (100%) rename {public => erpnext/public}/images/splash.svg (100%) rename {public => erpnext/public}/js/account_tree_grid.js (100%) rename {public => erpnext/public}/js/conf.js (100%) rename {public => erpnext/public}/js/controllers/accounts.js (100%) rename {public => erpnext/public}/js/controllers/stock_controller.js (100%) rename {public => erpnext/public}/js/feature_setup.js (100%) rename {public => erpnext/public}/js/purchase_trends_filters.js (100%) rename {public => erpnext/public}/js/queries.js (100%) rename {public => erpnext/public}/js/sales_trends_filters.js (100%) rename {public => erpnext/public}/js/startup.css (100%) rename {public => erpnext/public}/js/startup.js (100%) rename {public => erpnext/public}/js/stock_analytics.js (100%) rename {public => erpnext/public}/js/stock_grid_report.js (100%) rename {public => erpnext/public}/js/toolbar.js (100%) rename {public => erpnext/public}/js/transaction.js (100%) rename {public => erpnext/public}/js/utils.js (100%) rename {public => erpnext/public}/js/website_utils.js (100%) rename {selling => erpnext/selling}/Print Format/Quotation Classic/Quotation Classic.txt (100%) rename {selling => erpnext/selling}/Print Format/Quotation Modern/Quotation Modern.txt (100%) rename {selling => erpnext/selling}/Print Format/Quotation Spartan/Quotation Spartan.txt (100%) rename {selling => erpnext/selling}/Print Format/Sales Order Classic/Sales Order Classic.txt (100%) rename {selling => erpnext/selling}/Print Format/Sales Order Modern/Sales Order Modern.txt (100%) rename {selling => erpnext/selling}/Print Format/Sales Order Spartan/Sales Order Spartan.txt (100%) rename {selling => erpnext/selling}/README.md (100%) rename {selling => erpnext/selling}/__init__.py (100%) rename {selling => erpnext/selling}/doctype/__init__.py (100%) rename {selling => erpnext/selling}/doctype/campaign/README.md (100%) rename {selling => erpnext/selling}/doctype/campaign/__init__.py (100%) rename {selling => erpnext/selling}/doctype/campaign/campaign.js (100%) rename {selling => erpnext/selling}/doctype/campaign/campaign.py (100%) rename {selling => erpnext/selling}/doctype/campaign/campaign.txt (100%) rename {selling => erpnext/selling}/doctype/campaign/test_campaign.py (100%) rename {selling => erpnext/selling}/doctype/customer/README.md (100%) rename {selling => erpnext/selling}/doctype/customer/__init__.py (100%) rename {selling => erpnext/selling}/doctype/customer/customer.js (100%) rename {selling => erpnext/selling}/doctype/customer/customer.py (100%) rename {selling => erpnext/selling}/doctype/customer/customer.txt (100%) rename {selling => erpnext/selling}/doctype/customer/test_customer.py (100%) rename {selling => erpnext/selling}/doctype/customer_discount/__init__.py (100%) rename {selling => erpnext/selling}/doctype/customer_discount/customer_discount.py (100%) rename {selling => erpnext/selling}/doctype/customer_discount/customer_discount.txt (100%) rename {selling => erpnext/selling}/doctype/industry_type/README.md (100%) rename {selling => erpnext/selling}/doctype/industry_type/__init__.py (100%) rename {selling => erpnext/selling}/doctype/industry_type/industry_type.js (100%) rename {selling => erpnext/selling}/doctype/industry_type/industry_type.py (100%) rename {selling => erpnext/selling}/doctype/industry_type/industry_type.txt (100%) rename {selling => erpnext/selling}/doctype/industry_type/test_industry_type.py (100%) rename {selling => erpnext/selling}/doctype/installation_note/README.md (100%) rename {selling => erpnext/selling}/doctype/installation_note/__init__.py (100%) rename {selling => erpnext/selling}/doctype/installation_note/installation_note.js (100%) rename {selling => erpnext/selling}/doctype/installation_note/installation_note.py (100%) rename {selling => erpnext/selling}/doctype/installation_note/installation_note.txt (100%) rename {selling => erpnext/selling}/doctype/installation_note_item/README.md (100%) rename {selling => erpnext/selling}/doctype/installation_note_item/__init__.py (100%) rename {selling => erpnext/selling}/doctype/installation_note_item/installation_note_item.py (100%) rename {selling => erpnext/selling}/doctype/installation_note_item/installation_note_item.txt (100%) rename {selling => erpnext/selling}/doctype/lead/README.md (100%) rename {selling => erpnext/selling}/doctype/lead/__init__.py (100%) rename {selling => erpnext/selling}/doctype/lead/get_leads.py (100%) rename {selling => erpnext/selling}/doctype/lead/lead.js (100%) rename {selling => erpnext/selling}/doctype/lead/lead.py (100%) rename {selling => erpnext/selling}/doctype/lead/lead.txt (100%) rename {selling => erpnext/selling}/doctype/lead/test_lead.py (100%) rename {selling => erpnext/selling}/doctype/opportunity/README.md (100%) rename {selling => erpnext/selling}/doctype/opportunity/__init__.py (100%) rename {selling => erpnext/selling}/doctype/opportunity/opportunity.js (100%) rename {selling => erpnext/selling}/doctype/opportunity/opportunity.py (100%) rename {selling => erpnext/selling}/doctype/opportunity/opportunity.txt (100%) rename {selling => erpnext/selling}/doctype/opportunity_item/README.md (100%) rename {selling => erpnext/selling}/doctype/opportunity_item/__init__.py (100%) rename {selling => erpnext/selling}/doctype/opportunity_item/opportunity_item.py (100%) rename {selling => erpnext/selling}/doctype/opportunity_item/opportunity_item.txt (100%) rename {selling => erpnext/selling}/doctype/quotation/README.md (100%) rename {selling => erpnext/selling}/doctype/quotation/__init__.py (100%) rename {selling => erpnext/selling}/doctype/quotation/quotation.js (100%) rename {selling => erpnext/selling}/doctype/quotation/quotation.py (100%) rename {selling => erpnext/selling}/doctype/quotation/quotation.txt (100%) rename {selling => erpnext/selling}/doctype/quotation/test_quotation.py (100%) rename {selling => erpnext/selling}/doctype/quotation_item/README.md (100%) rename {selling => erpnext/selling}/doctype/quotation_item/__init__.py (100%) rename {selling => erpnext/selling}/doctype/quotation_item/quotation_item.py (100%) rename {selling => erpnext/selling}/doctype/quotation_item/quotation_item.txt (100%) rename {selling => erpnext/selling}/doctype/sales_bom/__init__.py (100%) rename {selling => erpnext/selling}/doctype/sales_bom/sales_bom.js (100%) rename {selling => erpnext/selling}/doctype/sales_bom/sales_bom.py (100%) rename {selling => erpnext/selling}/doctype/sales_bom/sales_bom.txt (100%) rename {selling => erpnext/selling}/doctype/sales_bom/test_sales_bom.py (100%) rename {selling => erpnext/selling}/doctype/sales_bom_item/__init__.py (100%) rename {selling => erpnext/selling}/doctype/sales_bom_item/sales_bom_item.py (100%) rename {selling => erpnext/selling}/doctype/sales_bom_item/sales_bom_item.txt (100%) rename {selling => erpnext/selling}/doctype/sales_order/README.md (100%) rename {selling => erpnext/selling}/doctype/sales_order/__init__.py (100%) rename {selling => erpnext/selling}/doctype/sales_order/sales_order.js (100%) rename {selling => erpnext/selling}/doctype/sales_order/sales_order.py (100%) rename {selling => erpnext/selling}/doctype/sales_order/sales_order.txt (100%) rename {selling => erpnext/selling}/doctype/sales_order/templates/__init__.py (100%) rename {selling => erpnext/selling}/doctype/sales_order/templates/pages/__init__.py (100%) rename {selling => erpnext/selling}/doctype/sales_order/templates/pages/order.html (100%) rename {selling => erpnext/selling}/doctype/sales_order/templates/pages/order.py (100%) rename {selling => erpnext/selling}/doctype/sales_order/templates/pages/orders.html (100%) rename {selling => erpnext/selling}/doctype/sales_order/templates/pages/orders.py (100%) rename {selling => erpnext/selling}/doctype/sales_order/test_sales_order.py (100%) rename {selling => erpnext/selling}/doctype/sales_order_item/README.md (100%) rename {selling => erpnext/selling}/doctype/sales_order_item/__init__.py (100%) rename {selling => erpnext/selling}/doctype/sales_order_item/sales_order_item.py (100%) rename {selling => erpnext/selling}/doctype/sales_order_item/sales_order_item.txt (100%) rename {selling => erpnext/selling}/doctype/sales_team/README.md (100%) rename {selling => erpnext/selling}/doctype/sales_team/__init__.py (100%) rename {selling => erpnext/selling}/doctype/sales_team/sales_team.py (100%) rename {selling => erpnext/selling}/doctype/sales_team/sales_team.txt (100%) rename {selling => erpnext/selling}/doctype/selling_settings/__init__.py (100%) rename {selling => erpnext/selling}/doctype/selling_settings/selling_settings.py (100%) rename {selling => erpnext/selling}/doctype/selling_settings/selling_settings.txt (100%) rename {selling => erpnext/selling}/doctype/shopping_cart_price_list/__init__.py (100%) rename {selling => erpnext/selling}/doctype/shopping_cart_price_list/shopping_cart_price_list.py (100%) rename {selling => erpnext/selling}/doctype/shopping_cart_price_list/shopping_cart_price_list.txt (100%) rename {selling => erpnext/selling}/doctype/shopping_cart_settings/__init__.py (100%) rename {selling => erpnext/selling}/doctype/shopping_cart_settings/shopping_cart_settings.js (100%) rename {selling => erpnext/selling}/doctype/shopping_cart_settings/shopping_cart_settings.py (100%) rename {selling => erpnext/selling}/doctype/shopping_cart_settings/shopping_cart_settings.txt (100%) rename {selling => erpnext/selling}/doctype/shopping_cart_settings/test_shopping_cart_settings.py (100%) rename {selling => erpnext/selling}/doctype/shopping_cart_shipping_rule/__init__.py (100%) rename {selling => erpnext/selling}/doctype/shopping_cart_shipping_rule/shopping_cart_shipping_rule.py (100%) rename {selling => erpnext/selling}/doctype/shopping_cart_shipping_rule/shopping_cart_shipping_rule.txt (100%) rename {selling => erpnext/selling}/doctype/shopping_cart_taxes_and_charges_master/__init__.py (100%) rename {selling => erpnext/selling}/doctype/shopping_cart_taxes_and_charges_master/shopping_cart_taxes_and_charges_master.py (100%) rename {selling => erpnext/selling}/doctype/shopping_cart_taxes_and_charges_master/shopping_cart_taxes_and_charges_master.txt (100%) rename {selling => erpnext/selling}/doctype/sms_center/README.md (100%) rename {selling => erpnext/selling}/doctype/sms_center/__init__.py (100%) rename {selling => erpnext/selling}/doctype/sms_center/sms_center.py (100%) rename {selling => erpnext/selling}/doctype/sms_center/sms_center.txt (100%) rename {selling => erpnext/selling}/page/__init__.py (100%) rename {selling => erpnext/selling}/page/sales_analytics/README.md (100%) rename {selling => erpnext/selling}/page/sales_analytics/__init__.py (100%) rename {selling => erpnext/selling}/page/sales_analytics/sales_analytics.js (100%) rename {selling => erpnext/selling}/page/sales_analytics/sales_analytics.txt (100%) rename {selling => erpnext/selling}/page/sales_browser/README.md (100%) rename {selling => erpnext/selling}/page/sales_browser/__init__.py (100%) rename {selling => erpnext/selling}/page/sales_browser/sales_browser.css (100%) rename {selling => erpnext/selling}/page/sales_browser/sales_browser.js (100%) rename {selling => erpnext/selling}/page/sales_browser/sales_browser.py (100%) rename {selling => erpnext/selling}/page/sales_browser/sales_browser.txt (100%) rename {selling => erpnext/selling}/page/sales_funnel/__init__.py (100%) rename {selling => erpnext/selling}/page/sales_funnel/sales_funnel.css (100%) rename {selling => erpnext/selling}/page/sales_funnel/sales_funnel.js (100%) rename {selling => erpnext/selling}/page/sales_funnel/sales_funnel.py (100%) rename {selling => erpnext/selling}/page/sales_funnel/sales_funnel.txt (100%) rename {selling => erpnext/selling}/page/selling_home/__init__.py (100%) rename {selling => erpnext/selling}/page/selling_home/selling_home.js (100%) rename {selling => erpnext/selling}/page/selling_home/selling_home.txt (100%) rename {selling => erpnext/selling}/report/__init__.py (100%) rename {selling => erpnext/selling}/report/available_stock_for_packing_items/__init__.py (100%) rename {selling => erpnext/selling}/report/available_stock_for_packing_items/available_stock_for_packing_items.py (100%) rename {selling => erpnext/selling}/report/available_stock_for_packing_items/available_stock_for_packing_items.txt (100%) rename {selling => erpnext/selling}/report/customer_acquisition_and_loyalty/__init__.py (100%) rename {selling => erpnext/selling}/report/customer_acquisition_and_loyalty/customer_acquisition_and_loyalty.js (100%) rename {selling => erpnext/selling}/report/customer_acquisition_and_loyalty/customer_acquisition_and_loyalty.py (100%) rename {selling => erpnext/selling}/report/customer_acquisition_and_loyalty/customer_acquisition_and_loyalty.txt (100%) rename {selling => erpnext/selling}/report/customer_addresses_and_contacts/__init__.py (100%) rename {selling => erpnext/selling}/report/customer_addresses_and_contacts/customer_addresses_and_contacts.txt (100%) rename {selling => erpnext/selling}/report/customers_not_buying_since_long_time/__init__.py (100%) rename {selling => erpnext/selling}/report/customers_not_buying_since_long_time/customers_not_buying_since_long_time.js (100%) rename {selling => erpnext/selling}/report/customers_not_buying_since_long_time/customers_not_buying_since_long_time.py (100%) rename {selling => erpnext/selling}/report/customers_not_buying_since_long_time/customers_not_buying_since_long_time.txt (100%) rename {selling => erpnext/selling}/report/item_wise_sales_history/__init__.py (100%) rename {selling => erpnext/selling}/report/item_wise_sales_history/item_wise_sales_history.txt (100%) rename {selling => erpnext/selling}/report/lead_details/__init__.py (100%) rename {selling => erpnext/selling}/report/lead_details/lead_details.txt (100%) rename {selling => erpnext/selling}/report/pending_so_items_for_purchase_request/__init__.py (100%) rename {selling => erpnext/selling}/report/pending_so_items_for_purchase_request/pending_so_items_for_purchase_request.txt (100%) rename {selling => erpnext/selling}/report/quotation_trends/__init__.py (100%) rename {selling => erpnext/selling}/report/quotation_trends/quotation_trends.js (100%) rename {selling => erpnext/selling}/report/quotation_trends/quotation_trends.py (100%) rename {selling => erpnext/selling}/report/quotation_trends/quotation_trends.txt (100%) rename {selling => erpnext/selling}/report/sales_order_trends/__init__.py (100%) rename {selling => erpnext/selling}/report/sales_order_trends/sales_order_trends.js (100%) rename {selling => erpnext/selling}/report/sales_order_trends/sales_order_trends.py (100%) rename {selling => erpnext/selling}/report/sales_order_trends/sales_order_trends.txt (100%) rename {selling => erpnext/selling}/report/sales_person_target_variance_item_group_wise/__init__.py (100%) rename {selling => erpnext/selling}/report/sales_person_target_variance_item_group_wise/sales_person_target_variance_item_group_wise.js (100%) rename {selling => erpnext/selling}/report/sales_person_target_variance_item_group_wise/sales_person_target_variance_item_group_wise.py (100%) rename {selling => erpnext/selling}/report/sales_person_target_variance_item_group_wise/sales_person_target_variance_item_group_wise.txt (100%) rename {selling => erpnext/selling}/report/sales_person_wise_transaction_summary/__init__.py (100%) rename {selling => erpnext/selling}/report/sales_person_wise_transaction_summary/sales_person_wise_transaction_summary.js (100%) rename {selling => erpnext/selling}/report/sales_person_wise_transaction_summary/sales_person_wise_transaction_summary.py (100%) rename {selling => erpnext/selling}/report/sales_person_wise_transaction_summary/sales_person_wise_transaction_summary.txt (100%) rename {selling => erpnext/selling}/report/territory_target_variance_item_group_wise/__init__.py (100%) rename {selling => erpnext/selling}/report/territory_target_variance_item_group_wise/territory_target_variance_item_group_wise.js (100%) rename {selling => erpnext/selling}/report/territory_target_variance_item_group_wise/territory_target_variance_item_group_wise.py (100%) rename {selling => erpnext/selling}/report/territory_target_variance_item_group_wise/territory_target_variance_item_group_wise.txt (100%) rename {selling => erpnext/selling}/sales_common.js (100%) rename {selling => erpnext/selling}/utils/__init__.py (100%) rename {selling => erpnext/selling}/utils/cart.py (100%) rename {selling => erpnext/selling}/utils/product.py (100%) rename {setup => erpnext/setup}/__init__.py (100%) rename {setup => erpnext/setup}/doctype/__init__.py (100%) rename {setup => erpnext/setup}/doctype/applicable_territory/__init__.py (100%) rename {setup => erpnext/setup}/doctype/applicable_territory/applicable_territory.py (100%) rename {setup => erpnext/setup}/doctype/applicable_territory/applicable_territory.txt (100%) rename {setup => erpnext/setup}/doctype/authorization_control/README.md (100%) rename {setup => erpnext/setup}/doctype/authorization_control/__init__.py (100%) rename {setup => erpnext/setup}/doctype/authorization_control/authorization_control.py (100%) rename {setup => erpnext/setup}/doctype/authorization_control/authorization_control.txt (100%) rename {setup => erpnext/setup}/doctype/authorization_rule/README.md (100%) rename {setup => erpnext/setup}/doctype/authorization_rule/__init__.py (100%) rename {setup => erpnext/setup}/doctype/authorization_rule/authorization_rule.js (100%) rename {setup => erpnext/setup}/doctype/authorization_rule/authorization_rule.py (100%) rename {setup => erpnext/setup}/doctype/authorization_rule/authorization_rule.txt (100%) rename {setup => erpnext/setup}/doctype/backup_manager/README.md (100%) rename {setup => erpnext/setup}/doctype/backup_manager/__init__.py (100%) rename {setup => erpnext/setup}/doctype/backup_manager/backup_dropbox.py (100%) rename {setup => erpnext/setup}/doctype/backup_manager/backup_googledrive.py (100%) rename {setup => erpnext/setup}/doctype/backup_manager/backup_manager.js (100%) rename {setup => erpnext/setup}/doctype/backup_manager/backup_manager.py (100%) rename {setup => erpnext/setup}/doctype/backup_manager/backup_manager.txt (100%) rename {setup => erpnext/setup}/doctype/brand/README.md (100%) rename {setup => erpnext/setup}/doctype/brand/__init__.py (100%) rename {setup => erpnext/setup}/doctype/brand/brand.js (100%) rename {setup => erpnext/setup}/doctype/brand/brand.py (100%) rename {setup => erpnext/setup}/doctype/brand/brand.txt (100%) rename {setup => erpnext/setup}/doctype/brand/test_brand.py (100%) rename {setup => erpnext/setup}/doctype/company/README.md (100%) rename {setup => erpnext/setup}/doctype/company/__init__.py (100%) rename {setup => erpnext/setup}/doctype/company/charts/__init__.py (100%) rename {setup => erpnext/setup}/doctype/company/charts/ar_ar_chart_template.json (100%) rename {setup => erpnext/setup}/doctype/company/charts/at_austria_chart_template.json (100%) rename {setup => erpnext/setup}/doctype/company/charts/be_l10nbe_chart_template.json (100%) rename {setup => erpnext/setup}/doctype/company/charts/bo_bo_chart_template.json (100%) rename {setup => erpnext/setup}/doctype/company/charts/ca_ca_en_chart_template_en.json (100%) rename {setup => erpnext/setup}/doctype/company/charts/ca_ca_fr_chart_template_fr.json (100%) rename {setup => erpnext/setup}/doctype/company/charts/cl_cl_chart_template.json (100%) rename {setup => erpnext/setup}/doctype/company/charts/cn_l10n_chart_china.json (100%) rename {setup => erpnext/setup}/doctype/company/charts/de_l10n_chart_de_skr04.json (100%) rename {setup => erpnext/setup}/doctype/company/charts/de_l10n_de_chart_template.json (100%) rename {setup => erpnext/setup}/doctype/company/charts/ec_ec_chart_template.json (100%) rename {setup => erpnext/setup}/doctype/company/charts/es_l10nES_chart_template.json (100%) rename {setup => erpnext/setup}/doctype/company/charts/es_l10nES_chart_template_assoc.json (100%) rename {setup => erpnext/setup}/doctype/company/charts/es_l10nES_chart_template_pymes.json (100%) rename {setup => erpnext/setup}/doctype/company/charts/fr_l10n_fr_pcg_chart_template.json (100%) rename {setup => erpnext/setup}/doctype/company/charts/gr_l10n_gr_chart_template.json (100%) rename {setup => erpnext/setup}/doctype/company/charts/hn_cuentas_plantilla.json (100%) rename {setup => erpnext/setup}/doctype/company/charts/import_from_openerp.py (100%) rename {setup => erpnext/setup}/doctype/company/charts/in_indian_chart_template_private.json (100%) rename {setup => erpnext/setup}/doctype/company/charts/in_indian_chart_template_public.json (100%) rename {setup => erpnext/setup}/doctype/company/charts/it_l10n_it_chart_template_generic.json (100%) rename {setup => erpnext/setup}/doctype/company/charts/lu_lu_2011_chart_1.json (100%) rename {setup => erpnext/setup}/doctype/company/charts/ma_l10n_kzc_temp_chart.json (100%) rename {setup => erpnext/setup}/doctype/company/charts/nl_l10nnl_chart_template.json (100%) rename {setup => erpnext/setup}/doctype/company/charts/pa_l10npa_chart_template.json (100%) rename {setup => erpnext/setup}/doctype/company/charts/pe_pe_chart_template.json (100%) rename {setup => erpnext/setup}/doctype/company/charts/pl_pl_chart_template.json (100%) rename {setup => erpnext/setup}/doctype/company/charts/pt_pt_chart_template.json (100%) rename {setup => erpnext/setup}/doctype/company/charts/ro_romania_chart_template.json (100%) rename {setup => erpnext/setup}/doctype/company/charts/syscohada_syscohada_chart_template.json (100%) rename {setup => erpnext/setup}/doctype/company/charts/th_chart.json (100%) rename {setup => erpnext/setup}/doctype/company/charts/tr_l10ntr_tek_duzen_hesap.json (100%) rename {setup => erpnext/setup}/doctype/company/charts/us_account_chart_template_basic.json (100%) rename {setup => erpnext/setup}/doctype/company/charts/uy_uy_chart_template.json (100%) rename {setup => erpnext/setup}/doctype/company/company.js (100%) rename {setup => erpnext/setup}/doctype/company/company.py (100%) rename {setup => erpnext/setup}/doctype/company/company.txt (100%) rename {setup => erpnext/setup}/doctype/company/sample_home_page.html (100%) rename {setup => erpnext/setup}/doctype/company/test_company.py (100%) rename {setup => erpnext/setup}/doctype/contact_control/README.md (100%) rename {setup => erpnext/setup}/doctype/contact_control/__init__.py (100%) rename {setup => erpnext/setup}/doctype/contact_control/contact_control.js (100%) rename {setup => erpnext/setup}/doctype/contact_control/contact_control.py (100%) rename {setup => erpnext/setup}/doctype/contact_control/contact_control.txt (100%) rename {setup => erpnext/setup}/doctype/country/README.md (100%) rename {setup => erpnext/setup}/doctype/country/__init__.py (100%) rename {setup => erpnext/setup}/doctype/country/country.py (100%) rename {setup => erpnext/setup}/doctype/country/country.txt (100%) rename {setup => erpnext/setup}/doctype/country/test_country.py (100%) rename {setup => erpnext/setup}/doctype/currency/README.md (100%) rename {setup => erpnext/setup}/doctype/currency/__init__.py (100%) rename {setup => erpnext/setup}/doctype/currency/currency.js (100%) rename {setup => erpnext/setup}/doctype/currency/currency.py (100%) rename {setup => erpnext/setup}/doctype/currency/currency.txt (100%) rename {setup => erpnext/setup}/doctype/currency/test_currency.py (100%) rename {setup => erpnext/setup}/doctype/currency_exchange/__init__.py (100%) rename {setup => erpnext/setup}/doctype/currency_exchange/currency_exchange.js (100%) rename {setup => erpnext/setup}/doctype/currency_exchange/currency_exchange.py (100%) rename {setup => erpnext/setup}/doctype/currency_exchange/currency_exchange.txt (100%) rename {setup => erpnext/setup}/doctype/currency_exchange/test_currency_exchange.py (100%) rename {setup => erpnext/setup}/doctype/customer_group/README.md (100%) rename {setup => erpnext/setup}/doctype/customer_group/__init__.py (100%) rename {setup => erpnext/setup}/doctype/customer_group/customer_group.js (100%) rename {setup => erpnext/setup}/doctype/customer_group/customer_group.py (100%) rename {setup => erpnext/setup}/doctype/customer_group/customer_group.txt (100%) rename {setup => erpnext/setup}/doctype/customer_group/test_customer_group.py (100%) rename {setup => erpnext/setup}/doctype/email_digest/README.md (100%) rename {setup => erpnext/setup}/doctype/email_digest/__init__.py (100%) rename {setup => erpnext/setup}/doctype/email_digest/email_digest.css (100%) rename {setup => erpnext/setup}/doctype/email_digest/email_digest.js (100%) rename {setup => erpnext/setup}/doctype/email_digest/email_digest.py (100%) rename {setup => erpnext/setup}/doctype/email_digest/email_digest.txt (100%) rename {setup => erpnext/setup}/doctype/email_settings/README.md (100%) rename {setup => erpnext/setup}/doctype/email_settings/__init__.py (100%) rename {setup => erpnext/setup}/doctype/email_settings/email_settings.py (100%) rename {setup => erpnext/setup}/doctype/email_settings/email_settings.txt (100%) rename {setup => erpnext/setup}/doctype/features_setup/README.md (100%) rename {setup => erpnext/setup}/doctype/features_setup/__init__.py (100%) rename {setup => erpnext/setup}/doctype/features_setup/features_setup.py (100%) rename {setup => erpnext/setup}/doctype/features_setup/features_setup.txt (100%) rename {setup => erpnext/setup}/doctype/global_defaults/README.md (100%) rename {setup => erpnext/setup}/doctype/global_defaults/__init__.py (100%) rename {setup => erpnext/setup}/doctype/global_defaults/global_defaults.js (100%) rename {setup => erpnext/setup}/doctype/global_defaults/global_defaults.py (100%) rename {setup => erpnext/setup}/doctype/global_defaults/global_defaults.txt (100%) rename {setup => erpnext/setup}/doctype/item_group/README.md (100%) rename {setup => erpnext/setup}/doctype/item_group/__init__.py (100%) rename {setup => erpnext/setup}/doctype/item_group/item_group.js (100%) rename {setup => erpnext/setup}/doctype/item_group/item_group.py (100%) rename {setup => erpnext/setup}/doctype/item_group/item_group.txt (100%) rename {setup => erpnext/setup}/doctype/item_group/templates/__init__.py (100%) rename {setup => erpnext/setup}/doctype/item_group/templates/generators/__init__.py (100%) rename {setup => erpnext/setup}/doctype/item_group/templates/generators/item_group.html (100%) rename {setup => erpnext/setup}/doctype/item_group/templates/generators/item_group.py (100%) rename {setup => erpnext/setup}/doctype/item_group/test_item_group.py (100%) rename {setup => erpnext/setup}/doctype/jobs_email_settings/README.md (100%) rename {setup => erpnext/setup}/doctype/jobs_email_settings/__init__.py (100%) rename {setup => erpnext/setup}/doctype/jobs_email_settings/jobs_email_settings.js (100%) rename {setup => erpnext/setup}/doctype/jobs_email_settings/jobs_email_settings.py (100%) rename {setup => erpnext/setup}/doctype/jobs_email_settings/jobs_email_settings.txt (100%) rename {setup => erpnext/setup}/doctype/naming_series/README.md (100%) rename {setup => erpnext/setup}/doctype/naming_series/__init__.py (100%) rename {setup => erpnext/setup}/doctype/naming_series/naming_series.js (100%) rename {setup => erpnext/setup}/doctype/naming_series/naming_series.py (100%) rename {setup => erpnext/setup}/doctype/naming_series/naming_series.txt (100%) rename {setup => erpnext/setup}/doctype/notification_control/README.md (100%) rename {setup => erpnext/setup}/doctype/notification_control/__init__.py (100%) rename {setup => erpnext/setup}/doctype/notification_control/notification_control.js (100%) rename {setup => erpnext/setup}/doctype/notification_control/notification_control.py (100%) rename {setup => erpnext/setup}/doctype/notification_control/notification_control.txt (100%) rename {setup => erpnext/setup}/doctype/print_heading/README.md (100%) rename {setup => erpnext/setup}/doctype/print_heading/__init__.py (100%) rename {setup => erpnext/setup}/doctype/print_heading/print_heading.js (100%) rename {setup => erpnext/setup}/doctype/print_heading/print_heading.py (100%) rename {setup => erpnext/setup}/doctype/print_heading/print_heading.txt (100%) rename {setup => erpnext/setup}/doctype/print_heading/test_print_heading.py (100%) rename {setup => erpnext/setup}/doctype/quotation_lost_reason/README.md (100%) rename {setup => erpnext/setup}/doctype/quotation_lost_reason/__init__.py (100%) rename {setup => erpnext/setup}/doctype/quotation_lost_reason/quotation_lost_reason.js (100%) rename {setup => erpnext/setup}/doctype/quotation_lost_reason/quotation_lost_reason.py (100%) rename {setup => erpnext/setup}/doctype/quotation_lost_reason/quotation_lost_reason.txt (100%) rename {setup => erpnext/setup}/doctype/quotation_lost_reason/test_quotation_lost_reason.py (100%) rename {setup => erpnext/setup}/doctype/sales_email_settings/README.md (100%) rename {setup => erpnext/setup}/doctype/sales_email_settings/__init__.py (100%) rename {setup => erpnext/setup}/doctype/sales_email_settings/sales_email_settings.js (100%) rename {setup => erpnext/setup}/doctype/sales_email_settings/sales_email_settings.py (100%) rename {setup => erpnext/setup}/doctype/sales_email_settings/sales_email_settings.txt (100%) rename {setup => erpnext/setup}/doctype/sales_partner/README.md (100%) rename {setup => erpnext/setup}/doctype/sales_partner/__init__.py (100%) rename {setup => erpnext/setup}/doctype/sales_partner/sales_partner.js (100%) rename {setup => erpnext/setup}/doctype/sales_partner/sales_partner.py (100%) rename {setup => erpnext/setup}/doctype/sales_partner/sales_partner.txt (100%) rename {setup => erpnext/setup}/doctype/sales_partner/templates/__init__.py (100%) rename {setup => erpnext/setup}/doctype/sales_partner/templates/generators/__init__.py (100%) rename {setup => erpnext/setup}/doctype/sales_partner/templates/generators/partner.html (100%) rename {setup => erpnext/setup}/doctype/sales_partner/templates/generators/partner.py (100%) rename {setup => erpnext/setup}/doctype/sales_partner/templates/pages/__init__.py (100%) rename {setup => erpnext/setup}/doctype/sales_partner/templates/pages/partners.html (100%) rename {setup => erpnext/setup}/doctype/sales_partner/templates/pages/partners.py (100%) rename {setup => erpnext/setup}/doctype/sales_partner/test_sales_partner.py (100%) rename {setup => erpnext/setup}/doctype/sales_person/README.md (100%) rename {setup => erpnext/setup}/doctype/sales_person/__init__.py (100%) rename {setup => erpnext/setup}/doctype/sales_person/sales_person.js (100%) rename {setup => erpnext/setup}/doctype/sales_person/sales_person.py (100%) rename {setup => erpnext/setup}/doctype/sales_person/sales_person.txt (100%) rename {setup => erpnext/setup}/doctype/sales_person/test_sales_person.py (100%) rename {setup => erpnext/setup}/doctype/sms_parameter/README.md (100%) rename {setup => erpnext/setup}/doctype/sms_parameter/__init__.py (100%) rename {setup => erpnext/setup}/doctype/sms_parameter/sms_parameter.py (100%) rename {setup => erpnext/setup}/doctype/sms_parameter/sms_parameter.txt (100%) rename {setup => erpnext/setup}/doctype/sms_settings/README.md (100%) rename {setup => erpnext/setup}/doctype/sms_settings/__init__.py (100%) rename {setup => erpnext/setup}/doctype/sms_settings/sms_settings.py (100%) rename {setup => erpnext/setup}/doctype/sms_settings/sms_settings.txt (100%) rename {setup => erpnext/setup}/doctype/supplier_type/README.md (100%) rename {setup => erpnext/setup}/doctype/supplier_type/__init__.py (100%) rename {setup => erpnext/setup}/doctype/supplier_type/supplier_type.js (100%) rename {setup => erpnext/setup}/doctype/supplier_type/supplier_type.py (100%) rename {setup => erpnext/setup}/doctype/supplier_type/supplier_type.txt (100%) rename {setup => erpnext/setup}/doctype/supplier_type/test_supplier_type.py (100%) rename {setup => erpnext/setup}/doctype/target_detail/README.md (100%) rename {setup => erpnext/setup}/doctype/target_detail/__init__.py (100%) rename {setup => erpnext/setup}/doctype/target_detail/target_detail.py (100%) rename {setup => erpnext/setup}/doctype/target_detail/target_detail.txt (100%) rename {setup => erpnext/setup}/doctype/terms_and_conditions/README.md (100%) rename {setup => erpnext/setup}/doctype/terms_and_conditions/__init__.py (100%) rename {setup => erpnext/setup}/doctype/terms_and_conditions/terms_and_conditions.js (100%) rename {setup => erpnext/setup}/doctype/terms_and_conditions/terms_and_conditions.py (100%) rename {setup => erpnext/setup}/doctype/terms_and_conditions/terms_and_conditions.txt (100%) rename {setup => erpnext/setup}/doctype/terms_and_conditions/test_terms_and_conditions.py (100%) rename {setup => erpnext/setup}/doctype/territory/README.md (100%) rename {setup => erpnext/setup}/doctype/territory/__init__.py (100%) rename {setup => erpnext/setup}/doctype/territory/territory.js (100%) rename {setup => erpnext/setup}/doctype/territory/territory.py (100%) rename {setup => erpnext/setup}/doctype/territory/territory.txt (100%) rename {setup => erpnext/setup}/doctype/territory/test_territory.py (100%) rename {setup => erpnext/setup}/doctype/uom/README.md (100%) rename {setup => erpnext/setup}/doctype/uom/__init__.py (100%) rename {setup => erpnext/setup}/doctype/uom/test_uom.py (100%) rename {setup => erpnext/setup}/doctype/uom/uom.js (100%) rename {setup => erpnext/setup}/doctype/uom/uom.py (100%) rename {setup => erpnext/setup}/doctype/uom/uom.txt (100%) rename {setup => erpnext/setup}/doctype/website_item_group/README.md (100%) rename {setup => erpnext/setup}/doctype/website_item_group/__init__.py (100%) rename {setup => erpnext/setup}/doctype/website_item_group/website_item_group.py (100%) rename {setup => erpnext/setup}/doctype/website_item_group/website_item_group.txt (100%) rename {setup => erpnext/setup}/page/__init__.py (100%) rename {setup => erpnext/setup}/page/setup/__init__.py (100%) rename {setup => erpnext/setup}/page/setup/setup.js (100%) rename {setup => erpnext/setup}/page/setup/setup.py (100%) rename {setup => erpnext/setup}/page/setup/setup.txt (100%) rename {setup => erpnext/setup}/page/setup_wizard/__init__.py (100%) rename {setup => erpnext/setup}/page/setup_wizard/setup_wizard.css (100%) rename {setup => erpnext/setup}/page/setup_wizard/setup_wizard.js (100%) rename {setup => erpnext/setup}/page/setup_wizard/setup_wizard.py (100%) rename {setup => erpnext/setup}/page/setup_wizard/setup_wizard.txt (100%) rename {setup => erpnext/setup}/page/setup_wizard/test_setup_data.py (100%) rename {setup => erpnext/setup}/page/setup_wizard/test_setup_wizard.py (100%) rename {setup => erpnext/setup}/report/__init__.py (100%) rename {setup => erpnext/setup}/report/item_wise_price_list_rate/__init__.py (100%) rename {setup => erpnext/setup}/report/item_wise_price_list_rate/item_wise_price_list_rate.txt (100%) rename {setup => erpnext/setup}/utils.py (100%) rename {startup => erpnext/startup}/__init__.py (100%) rename {startup => erpnext/startup}/bean_handlers.py (100%) rename {startup => erpnext/startup}/boot.py (100%) rename {startup => erpnext/startup}/event_handlers.py (100%) rename {startup => erpnext/startup}/install.py (100%) rename {startup => erpnext/startup}/open_count.py (100%) rename {startup => erpnext/startup}/query_handlers.py (100%) rename {startup => erpnext/startup}/report_data_map.py (100%) rename {startup => erpnext/startup}/schedule_handlers.py (100%) rename {startup => erpnext/startup}/webutils.py (100%) rename {stock => erpnext/stock}/Print Format/Delivery Note Classic/Delivery Note Classic.txt (100%) rename {stock => erpnext/stock}/Print Format/Delivery Note Modern/Delivery Note Modern.txt (100%) rename {stock => erpnext/stock}/Print Format/Delivery Note Packing List Wise/Delivery Note Packing List Wise.txt (100%) rename {stock => erpnext/stock}/Print Format/Delivery Note Spartan/Delivery Note Spartan.txt (100%) rename {stock => erpnext/stock}/Print Format/Purchase Receipt Format/Purchase Receipt Format.txt (100%) rename {stock => erpnext/stock}/README.md (100%) rename {stock => erpnext/stock}/__init__.py (100%) rename {stock => erpnext/stock}/doctype/__init__.py (100%) rename {stock => erpnext/stock}/doctype/batch/README.md (100%) rename {stock => erpnext/stock}/doctype/batch/__init__.py (100%) rename {stock => erpnext/stock}/doctype/batch/batch.js (100%) rename {stock => erpnext/stock}/doctype/batch/batch.py (100%) rename {stock => erpnext/stock}/doctype/batch/batch.txt (100%) rename {stock => erpnext/stock}/doctype/bin/README.md (100%) rename {stock => erpnext/stock}/doctype/bin/__init__.py (100%) rename {stock => erpnext/stock}/doctype/bin/bin.py (100%) rename {stock => erpnext/stock}/doctype/bin/bin.txt (100%) rename {stock => erpnext/stock}/doctype/delivery_note/README.md (100%) rename {stock => erpnext/stock}/doctype/delivery_note/__init__.py (100%) rename {stock => erpnext/stock}/doctype/delivery_note/delivery_note.js (100%) rename {stock => erpnext/stock}/doctype/delivery_note/delivery_note.py (100%) rename {stock => erpnext/stock}/doctype/delivery_note/delivery_note.txt (100%) rename {stock => erpnext/stock}/doctype/delivery_note/templates/__init__.py (100%) rename {stock => erpnext/stock}/doctype/delivery_note/templates/pages/__init__.py (100%) rename {stock => erpnext/stock}/doctype/delivery_note/templates/pages/shipment.html (100%) rename {stock => erpnext/stock}/doctype/delivery_note/templates/pages/shipment.py (100%) rename {stock => erpnext/stock}/doctype/delivery_note/templates/pages/shipments.html (100%) rename {stock => erpnext/stock}/doctype/delivery_note/templates/pages/shipments.py (100%) rename {stock => erpnext/stock}/doctype/delivery_note/test_delivery_note.py (100%) rename {stock => erpnext/stock}/doctype/delivery_note_item/README.md (100%) rename {stock => erpnext/stock}/doctype/delivery_note_item/__init__.py (100%) rename {stock => erpnext/stock}/doctype/delivery_note_item/delivery_note_item.py (100%) rename {stock => erpnext/stock}/doctype/delivery_note_item/delivery_note_item.txt (100%) rename {stock => erpnext/stock}/doctype/item/README.md (100%) rename {stock => erpnext/stock}/doctype/item/__init__.py (100%) rename {stock => erpnext/stock}/doctype/item/item.js (100%) rename {stock => erpnext/stock}/doctype/item/item.py (100%) rename {stock => erpnext/stock}/doctype/item/item.txt (100%) rename {stock => erpnext/stock}/doctype/item/templates/__init__.py (100%) rename {stock => erpnext/stock}/doctype/item/templates/generators/__init__.py (100%) rename {stock => erpnext/stock}/doctype/item/templates/generators/item.html (100%) rename {stock => erpnext/stock}/doctype/item/templates/generators/item.py (100%) rename {stock => erpnext/stock}/doctype/item/templates/includes/product_breadcrumbs.html (100%) rename {stock => erpnext/stock}/doctype/item/templates/includes/product_in_grid.html (100%) rename {stock => erpnext/stock}/doctype/item/templates/includes/product_in_list.html (100%) rename {stock => erpnext/stock}/doctype/item/templates/includes/product_list.js (100%) rename {stock => erpnext/stock}/doctype/item/templates/includes/product_missing_image.html (100%) rename {stock => erpnext/stock}/doctype/item/templates/includes/product_page.css (100%) rename {stock => erpnext/stock}/doctype/item/templates/includes/product_page.js (100%) rename {stock => erpnext/stock}/doctype/item/templates/includes/product_search_box.html (100%) rename {stock => erpnext/stock}/doctype/item/templates/pages/__init__.py (100%) rename {stock => erpnext/stock}/doctype/item/templates/pages/product_search.html (100%) rename {stock => erpnext/stock}/doctype/item/templates/pages/product_search.py (100%) rename {stock => erpnext/stock}/doctype/item/test_item.py (100%) rename {stock => erpnext/stock}/doctype/item_customer_detail/README.md (100%) rename {stock => erpnext/stock}/doctype/item_customer_detail/__init__.py (100%) rename {stock => erpnext/stock}/doctype/item_customer_detail/item_customer_detail.py (100%) rename {stock => erpnext/stock}/doctype/item_customer_detail/item_customer_detail.txt (100%) rename {stock => erpnext/stock}/doctype/item_price/README.md (100%) rename {stock => erpnext/stock}/doctype/item_price/__init__.py (100%) rename {stock => erpnext/stock}/doctype/item_price/item_price.js (100%) rename {stock => erpnext/stock}/doctype/item_price/item_price.py (100%) rename {stock => erpnext/stock}/doctype/item_price/item_price.txt (100%) rename {stock => erpnext/stock}/doctype/item_price/test_item_price.py (100%) rename {stock => erpnext/stock}/doctype/item_quality_inspection_parameter/README.md (100%) rename {stock => erpnext/stock}/doctype/item_quality_inspection_parameter/__init__.py (100%) rename {stock => erpnext/stock}/doctype/item_quality_inspection_parameter/item_quality_inspection_parameter.py (100%) rename {stock => erpnext/stock}/doctype/item_quality_inspection_parameter/item_quality_inspection_parameter.txt (100%) rename {stock => erpnext/stock}/doctype/item_reorder/README.md (100%) rename {stock => erpnext/stock}/doctype/item_reorder/__init__.py (100%) rename {stock => erpnext/stock}/doctype/item_reorder/item_reorder.py (100%) rename {stock => erpnext/stock}/doctype/item_reorder/item_reorder.txt (100%) rename {stock => erpnext/stock}/doctype/item_supplier/README.md (100%) rename {stock => erpnext/stock}/doctype/item_supplier/__init__.py (100%) rename {stock => erpnext/stock}/doctype/item_supplier/item_supplier.py (100%) rename {stock => erpnext/stock}/doctype/item_supplier/item_supplier.txt (100%) rename {stock => erpnext/stock}/doctype/item_tax/README.md (100%) rename {stock => erpnext/stock}/doctype/item_tax/__init__.py (100%) rename {stock => erpnext/stock}/doctype/item_tax/item_tax.py (100%) rename {stock => erpnext/stock}/doctype/item_tax/item_tax.txt (100%) rename {stock => erpnext/stock}/doctype/item_website_specification/README.md (100%) rename {stock => erpnext/stock}/doctype/item_website_specification/__init__.py (100%) rename {stock => erpnext/stock}/doctype/item_website_specification/item_website_specification.py (100%) rename {stock => erpnext/stock}/doctype/item_website_specification/item_website_specification.txt (100%) rename {stock => erpnext/stock}/doctype/landed_cost_item/README.md (100%) rename {stock => erpnext/stock}/doctype/landed_cost_item/__init__.py (100%) rename {stock => erpnext/stock}/doctype/landed_cost_item/landed_cost_item.py (100%) rename {stock => erpnext/stock}/doctype/landed_cost_item/landed_cost_item.txt (100%) rename {stock => erpnext/stock}/doctype/landed_cost_purchase_receipt/README.md (100%) rename {stock => erpnext/stock}/doctype/landed_cost_purchase_receipt/__init__.py (100%) rename {stock => erpnext/stock}/doctype/landed_cost_purchase_receipt/landed_cost_purchase_receipt.py (100%) rename {stock => erpnext/stock}/doctype/landed_cost_purchase_receipt/landed_cost_purchase_receipt.txt (100%) rename {stock => erpnext/stock}/doctype/landed_cost_wizard/README.md (100%) rename {stock => erpnext/stock}/doctype/landed_cost_wizard/__init__.py (100%) rename {stock => erpnext/stock}/doctype/landed_cost_wizard/landed_cost_wizard.js (100%) rename {stock => erpnext/stock}/doctype/landed_cost_wizard/landed_cost_wizard.py (100%) rename {stock => erpnext/stock}/doctype/landed_cost_wizard/landed_cost_wizard.txt (100%) rename {stock => erpnext/stock}/doctype/material_request/README.md (100%) rename {stock => erpnext/stock}/doctype/material_request/__init__.py (100%) rename {stock => erpnext/stock}/doctype/material_request/material_request.js (100%) rename {stock => erpnext/stock}/doctype/material_request/material_request.py (100%) rename {stock => erpnext/stock}/doctype/material_request/material_request.txt (100%) rename {stock => erpnext/stock}/doctype/material_request/test_material_request.py (100%) rename {stock => erpnext/stock}/doctype/material_request_item/README.md (100%) rename {stock => erpnext/stock}/doctype/material_request_item/__init__.py (100%) rename {stock => erpnext/stock}/doctype/material_request_item/material_request_item.py (100%) rename {stock => erpnext/stock}/doctype/material_request_item/material_request_item.txt (100%) rename {stock => erpnext/stock}/doctype/packed_item/__init__.py (100%) rename {stock => erpnext/stock}/doctype/packed_item/packed_item.py (100%) rename {stock => erpnext/stock}/doctype/packed_item/packed_item.txt (100%) rename {stock => erpnext/stock}/doctype/packing_slip/README.md (100%) rename {stock => erpnext/stock}/doctype/packing_slip/__init__.py (100%) rename {stock => erpnext/stock}/doctype/packing_slip/packing_slip.js (100%) rename {stock => erpnext/stock}/doctype/packing_slip/packing_slip.py (100%) rename {stock => erpnext/stock}/doctype/packing_slip/packing_slip.txt (100%) rename {stock => erpnext/stock}/doctype/packing_slip_item/README.md (100%) rename {stock => erpnext/stock}/doctype/packing_slip_item/__init__.py (100%) rename {stock => erpnext/stock}/doctype/packing_slip_item/packing_slip_item.py (100%) rename {stock => erpnext/stock}/doctype/packing_slip_item/packing_slip_item.txt (100%) rename {stock => erpnext/stock}/doctype/price_list/README.md (100%) rename {stock => erpnext/stock}/doctype/price_list/__init__.py (100%) rename {stock => erpnext/stock}/doctype/price_list/price_list.css (100%) rename {stock => erpnext/stock}/doctype/price_list/price_list.js (100%) rename {stock => erpnext/stock}/doctype/price_list/price_list.py (100%) rename {stock => erpnext/stock}/doctype/price_list/price_list.txt (100%) rename {stock => erpnext/stock}/doctype/price_list/test_price_list.py (100%) rename {stock => erpnext/stock}/doctype/purchase_receipt/README.md (100%) rename {stock => erpnext/stock}/doctype/purchase_receipt/__init__.py (100%) rename {stock => erpnext/stock}/doctype/purchase_receipt/purchase_receipt.js (100%) rename {stock => erpnext/stock}/doctype/purchase_receipt/purchase_receipt.py (100%) rename {stock => erpnext/stock}/doctype/purchase_receipt/purchase_receipt.txt (100%) rename {stock => erpnext/stock}/doctype/purchase_receipt/test_purchase_receipt.py (100%) rename {stock => erpnext/stock}/doctype/purchase_receipt_item/README.md (100%) rename {stock => erpnext/stock}/doctype/purchase_receipt_item/__init__.py (100%) rename {stock => erpnext/stock}/doctype/purchase_receipt_item/purchase_receipt_item.py (100%) rename {stock => erpnext/stock}/doctype/purchase_receipt_item/purchase_receipt_item.txt (100%) rename {stock => erpnext/stock}/doctype/sales_bom/README.md (100%) rename {stock => erpnext/stock}/doctype/sales_bom_item/README.md (100%) rename {stock => erpnext/stock}/doctype/serial_no/README.md (100%) rename {stock => erpnext/stock}/doctype/serial_no/__init__.py (100%) rename {stock => erpnext/stock}/doctype/serial_no/serial_no.js (100%) rename {stock => erpnext/stock}/doctype/serial_no/serial_no.py (100%) rename {stock => erpnext/stock}/doctype/serial_no/serial_no.txt (100%) rename {stock => erpnext/stock}/doctype/serial_no/test_serial_no.py (100%) rename {stock => erpnext/stock}/doctype/stock_entry/README.md (100%) rename {stock => erpnext/stock}/doctype/stock_entry/__init__.py (100%) rename {stock => erpnext/stock}/doctype/stock_entry/stock_entry.js (100%) rename {stock => erpnext/stock}/doctype/stock_entry/stock_entry.py (100%) rename {stock => erpnext/stock}/doctype/stock_entry/stock_entry.txt (100%) rename {stock => erpnext/stock}/doctype/stock_entry/test_stock_entry.py (100%) rename {stock => erpnext/stock}/doctype/stock_entry_detail/README.md (100%) rename {stock => erpnext/stock}/doctype/stock_entry_detail/__init__.py (100%) rename {stock => erpnext/stock}/doctype/stock_entry_detail/stock_entry_detail.py (100%) rename {stock => erpnext/stock}/doctype/stock_entry_detail/stock_entry_detail.txt (100%) rename {stock => erpnext/stock}/doctype/stock_ledger/stock_ledger.py (100%) rename {stock => erpnext/stock}/doctype/stock_ledger_entry/README.md (100%) rename {stock => erpnext/stock}/doctype/stock_ledger_entry/__init__.py (100%) rename {stock => erpnext/stock}/doctype/stock_ledger_entry/stock_ledger_entry.py (100%) rename {stock => erpnext/stock}/doctype/stock_ledger_entry/stock_ledger_entry.txt (100%) rename {stock => erpnext/stock}/doctype/stock_reconciliation/README.md (100%) rename {stock => erpnext/stock}/doctype/stock_reconciliation/__init__.py (100%) rename {stock => erpnext/stock}/doctype/stock_reconciliation/stock_reconciliation.js (100%) rename {stock => erpnext/stock}/doctype/stock_reconciliation/stock_reconciliation.py (100%) rename {stock => erpnext/stock}/doctype/stock_reconciliation/stock_reconciliation.txt (100%) rename {stock => erpnext/stock}/doctype/stock_reconciliation/test_stock_reconciliation.py (100%) rename {stock => erpnext/stock}/doctype/stock_settings/__init__.py (100%) rename {stock => erpnext/stock}/doctype/stock_settings/stock_settings.py (100%) rename {stock => erpnext/stock}/doctype/stock_settings/stock_settings.txt (100%) rename {stock => erpnext/stock}/doctype/stock_uom_replace_utility/README.md (100%) rename {stock => erpnext/stock}/doctype/stock_uom_replace_utility/__init__.py (100%) rename {stock => erpnext/stock}/doctype/stock_uom_replace_utility/stock_uom_replace_utility.js (100%) rename {stock => erpnext/stock}/doctype/stock_uom_replace_utility/stock_uom_replace_utility.py (100%) rename {stock => erpnext/stock}/doctype/stock_uom_replace_utility/stock_uom_replace_utility.txt (100%) rename {stock => erpnext/stock}/doctype/uom_conversion_detail/README.md (100%) rename {stock => erpnext/stock}/doctype/uom_conversion_detail/__init__.py (100%) rename {stock => erpnext/stock}/doctype/uom_conversion_detail/uom_conversion_detail.py (100%) rename {stock => erpnext/stock}/doctype/uom_conversion_detail/uom_conversion_detail.txt (100%) rename {stock => erpnext/stock}/doctype/warehouse/README.md (100%) rename {stock => erpnext/stock}/doctype/warehouse/__init__.py (100%) rename {stock => erpnext/stock}/doctype/warehouse/test_warehouse.py (100%) rename {stock => erpnext/stock}/doctype/warehouse/warehouse.js (100%) rename {stock => erpnext/stock}/doctype/warehouse/warehouse.py (100%) rename {stock => erpnext/stock}/doctype/warehouse/warehouse.txt (100%) rename {stock => erpnext/stock}/doctype/warehouse_user/README.md (100%) rename {stock => erpnext/stock}/doctype/warehouse_user/__init__.py (100%) rename {stock => erpnext/stock}/doctype/warehouse_user/warehouse_user.py (100%) rename {stock => erpnext/stock}/doctype/warehouse_user/warehouse_user.txt (100%) rename {stock => erpnext/stock}/page/__init__.py (100%) rename {stock => erpnext/stock}/page/stock_ageing/README.md (100%) rename {stock => erpnext/stock}/page/stock_ageing/__init__.py (100%) rename {stock => erpnext/stock}/page/stock_ageing/stock_ageing.js (100%) rename {stock => erpnext/stock}/page/stock_ageing/stock_ageing.txt (100%) rename {stock => erpnext/stock}/page/stock_analytics/README.md (100%) rename {stock => erpnext/stock}/page/stock_analytics/__init__.py (100%) rename {stock => erpnext/stock}/page/stock_analytics/stock_analytics.js (100%) rename {stock => erpnext/stock}/page/stock_analytics/stock_analytics.txt (100%) rename {stock => erpnext/stock}/page/stock_balance/README.md (100%) rename {stock => erpnext/stock}/page/stock_balance/__init__.py (100%) rename {stock => erpnext/stock}/page/stock_balance/stock_balance.js (100%) rename {stock => erpnext/stock}/page/stock_balance/stock_balance.txt (100%) rename {stock => erpnext/stock}/page/stock_home/__init__.py (100%) rename {stock => erpnext/stock}/page/stock_home/stock_home.js (100%) rename {stock => erpnext/stock}/page/stock_home/stock_home.txt (100%) rename {stock => erpnext/stock}/page/stock_ledger/README.md (100%) rename {stock => erpnext/stock}/page/stock_ledger/__init__.py (100%) rename {stock => erpnext/stock}/page/stock_ledger/stock_ledger.js (100%) rename {stock => erpnext/stock}/page/stock_ledger/stock_ledger.txt (100%) rename {stock => erpnext/stock}/page/stock_level/README.md (100%) rename {stock => erpnext/stock}/page/stock_level/__init__.py (100%) rename {stock => erpnext/stock}/page/stock_level/stock_level.js (100%) rename {stock => erpnext/stock}/page/stock_level/stock_level.txt (100%) rename {stock => erpnext/stock}/report/__init__.py (100%) rename {stock => erpnext/stock}/report/batch_wise_balance_history/__init__.py (100%) rename {stock => erpnext/stock}/report/batch_wise_balance_history/batch_wise_balance_history.js (100%) rename {stock => erpnext/stock}/report/batch_wise_balance_history/batch_wise_balance_history.py (100%) rename {stock => erpnext/stock}/report/batch_wise_balance_history/batch_wise_balance_history.txt (100%) rename {stock => erpnext/stock}/report/delivery_note_trends/__init__.py (100%) rename {stock => erpnext/stock}/report/delivery_note_trends/delivery_note_trends.js (100%) rename {stock => erpnext/stock}/report/delivery_note_trends/delivery_note_trends.py (100%) rename {stock => erpnext/stock}/report/delivery_note_trends/delivery_note_trends.txt (100%) rename {stock => erpnext/stock}/report/item_prices/__init__.py (100%) rename {stock => erpnext/stock}/report/item_prices/item_prices.py (100%) rename {stock => erpnext/stock}/report/item_prices/item_prices.txt (100%) rename {stock => erpnext/stock}/report/item_shortage_report/__init__.py (100%) rename {stock => erpnext/stock}/report/item_shortage_report/item_shortage_report.txt (100%) rename {stock => erpnext/stock}/report/items_to_be_requested/__init__.py (100%) rename {stock => erpnext/stock}/report/items_to_be_requested/items_to_be_requested.txt (100%) rename {stock => erpnext/stock}/report/itemwise_recommended_reorder_level/__init__.py (100%) rename {stock => erpnext/stock}/report/itemwise_recommended_reorder_level/itemwise_recommended_reorder_level.js (100%) rename {stock => erpnext/stock}/report/itemwise_recommended_reorder_level/itemwise_recommended_reorder_level.py (100%) rename {stock => erpnext/stock}/report/itemwise_recommended_reorder_level/itemwise_recommended_reorder_level.txt (100%) rename {stock => erpnext/stock}/report/material_requests_for_which_supplier_quotations_are_not_created/__init__.py (100%) rename {stock => erpnext/stock}/report/material_requests_for_which_supplier_quotations_are_not_created/material_requests_for_which_supplier_quotations_are_not_created.txt (100%) rename {stock => erpnext/stock}/report/ordered_items_to_be_delivered/__init__.py (100%) rename {stock => erpnext/stock}/report/ordered_items_to_be_delivered/ordered_items_to_be_delivered.txt (100%) rename {stock => erpnext/stock}/report/purchase_in_transit/__init__.py (100%) rename {stock => erpnext/stock}/report/purchase_in_transit/purchase_in_transit.txt (100%) rename {stock => erpnext/stock}/report/purchase_order_items_to_be_received/__init__.py (100%) rename {stock => erpnext/stock}/report/purchase_order_items_to_be_received/purchase_order_items_to_be_received.txt (100%) rename {stock => erpnext/stock}/report/purchase_receipt_trends/__init__.py (100%) rename {stock => erpnext/stock}/report/purchase_receipt_trends/purchase_receipt_trends.js (100%) rename {stock => erpnext/stock}/report/purchase_receipt_trends/purchase_receipt_trends.py (100%) rename {stock => erpnext/stock}/report/purchase_receipt_trends/purchase_receipt_trends.txt (100%) rename {stock => erpnext/stock}/report/requested_items_to_be_transferred/__init__.py (100%) rename {stock => erpnext/stock}/report/requested_items_to_be_transferred/requested_items_to_be_transferred.txt (100%) rename {stock => erpnext/stock}/report/serial_no_service_contract_expiry/__init__.py (100%) rename {stock => erpnext/stock}/report/serial_no_service_contract_expiry/serial_no_service_contract_expiry.txt (100%) rename {stock => erpnext/stock}/report/serial_no_status/__init__.py (100%) rename {stock => erpnext/stock}/report/serial_no_status/serial_no_status.txt (100%) rename {stock => erpnext/stock}/report/serial_no_warranty_expiry/__init__.py (100%) rename {stock => erpnext/stock}/report/serial_no_warranty_expiry/serial_no_warranty_expiry.txt (100%) rename {stock => erpnext/stock}/report/stock_ledger/__init__.py (100%) rename {stock => erpnext/stock}/report/stock_ledger/stock_ledger.js (100%) rename {stock => erpnext/stock}/report/stock_ledger/stock_ledger.py (100%) rename {stock => erpnext/stock}/report/stock_ledger/stock_ledger.txt (100%) rename {stock => erpnext/stock}/report/supplier_wise_sales_analytics/__init__.py (100%) rename {stock => erpnext/stock}/report/supplier_wise_sales_analytics/supplier_wise_sales_analytics.js (100%) rename {stock => erpnext/stock}/report/supplier_wise_sales_analytics/supplier_wise_sales_analytics.py (100%) rename {stock => erpnext/stock}/report/supplier_wise_sales_analytics/supplier_wise_sales_analytics.txt (100%) rename {stock => erpnext/stock}/report/warehouse_wise_stock_balance/__init__.py (100%) rename {stock => erpnext/stock}/report/warehouse_wise_stock_balance/warehouse_wise_stock_balance.js (100%) rename {stock => erpnext/stock}/report/warehouse_wise_stock_balance/warehouse_wise_stock_balance.py (100%) rename {stock => erpnext/stock}/report/warehouse_wise_stock_balance/warehouse_wise_stock_balance.txt (100%) rename {stock => erpnext/stock}/stock_ledger.py (100%) rename {stock => erpnext/stock}/utils.py (100%) rename {support => erpnext/support}/README.md (100%) rename {support => erpnext/support}/__init__.py (100%) rename {support => erpnext/support}/doctype/__init__.py (100%) rename {support => erpnext/support}/doctype/customer_issue/README.md (100%) rename {support => erpnext/support}/doctype/customer_issue/__init__.py (100%) rename {support => erpnext/support}/doctype/customer_issue/customer_issue.js (100%) rename {support => erpnext/support}/doctype/customer_issue/customer_issue.py (100%) rename {support => erpnext/support}/doctype/customer_issue/customer_issue.txt (100%) rename {support => erpnext/support}/doctype/maintenance_schedule/README.md (100%) rename {support => erpnext/support}/doctype/maintenance_schedule/__init__.py (100%) rename {support => erpnext/support}/doctype/maintenance_schedule/maintenance_schedule.js (100%) rename {support => erpnext/support}/doctype/maintenance_schedule/maintenance_schedule.py (100%) rename {support => erpnext/support}/doctype/maintenance_schedule/maintenance_schedule.txt (100%) rename {support => erpnext/support}/doctype/maintenance_schedule_detail/README.md (100%) rename {support => erpnext/support}/doctype/maintenance_schedule_detail/__init__.py (100%) rename {support => erpnext/support}/doctype/maintenance_schedule_detail/maintenance_schedule_detail.py (100%) rename {support => erpnext/support}/doctype/maintenance_schedule_detail/maintenance_schedule_detail.txt (100%) rename {support => erpnext/support}/doctype/maintenance_schedule_item/README.md (100%) rename {support => erpnext/support}/doctype/maintenance_schedule_item/__init__.py (100%) rename {support => erpnext/support}/doctype/maintenance_schedule_item/maintenance_schedule_item.py (100%) rename {support => erpnext/support}/doctype/maintenance_schedule_item/maintenance_schedule_item.txt (100%) rename {support => erpnext/support}/doctype/maintenance_visit/README.md (100%) rename {support => erpnext/support}/doctype/maintenance_visit/__init__.py (100%) rename {support => erpnext/support}/doctype/maintenance_visit/maintenance_visit.js (100%) rename {support => erpnext/support}/doctype/maintenance_visit/maintenance_visit.py (100%) rename {support => erpnext/support}/doctype/maintenance_visit/maintenance_visit.txt (100%) rename {support => erpnext/support}/doctype/maintenance_visit_purpose/README.md (100%) rename {support => erpnext/support}/doctype/maintenance_visit_purpose/__init__.py (100%) rename {support => erpnext/support}/doctype/maintenance_visit_purpose/maintenance_visit_purpose.py (100%) rename {support => erpnext/support}/doctype/maintenance_visit_purpose/maintenance_visit_purpose.txt (100%) rename {support => erpnext/support}/doctype/newsletter/README.md (100%) rename {support => erpnext/support}/doctype/newsletter/__init__.py (100%) rename {support => erpnext/support}/doctype/newsletter/newsletter.js (100%) rename {support => erpnext/support}/doctype/newsletter/newsletter.py (100%) rename {support => erpnext/support}/doctype/newsletter/newsletter.txt (100%) rename {support => erpnext/support}/doctype/newsletter/test_newsletter.py (100%) rename {support => erpnext/support}/doctype/support_ticket/README.md (100%) rename {support => erpnext/support}/doctype/support_ticket/__init__.py (100%) rename {support => erpnext/support}/doctype/support_ticket/get_support_mails.py (100%) rename {support => erpnext/support}/doctype/support_ticket/support_ticket.js (100%) rename {support => erpnext/support}/doctype/support_ticket/support_ticket.py (100%) rename {support => erpnext/support}/doctype/support_ticket/support_ticket.txt (100%) rename {support => erpnext/support}/doctype/support_ticket/templates/__init__.py (100%) rename {support => erpnext/support}/doctype/support_ticket/templates/pages/__init__.py (100%) rename {support => erpnext/support}/doctype/support_ticket/templates/pages/ticket.html (100%) rename {support => erpnext/support}/doctype/support_ticket/templates/pages/ticket.py (100%) rename {support => erpnext/support}/doctype/support_ticket/templates/pages/tickets.html (100%) rename {support => erpnext/support}/doctype/support_ticket/templates/pages/tickets.py (100%) rename {support => erpnext/support}/page/__init__.py (100%) rename {support => erpnext/support}/page/support_analytics/README.md (100%) rename {support => erpnext/support}/page/support_analytics/__init__.py (100%) rename {support => erpnext/support}/page/support_analytics/support_analytics.js (100%) rename {support => erpnext/support}/page/support_analytics/support_analytics.txt (100%) rename {support => erpnext/support}/page/support_home/__init__.py (100%) rename {support => erpnext/support}/page/support_home/support_home.js (100%) rename {support => erpnext/support}/page/support_home/support_home.txt (100%) rename {support => erpnext/support}/report/__init__.py (100%) rename {support => erpnext/support}/report/maintenance_schedules/__init__.py (100%) rename {support => erpnext/support}/report/maintenance_schedules/maintenance_schedules.txt (100%) rename {translations => erpnext/translations}/ar.csv (100%) rename {translations => erpnext/translations}/de.csv (100%) rename {translations => erpnext/translations}/el.csv (100%) rename {translations => erpnext/translations}/es.csv (100%) rename {translations => erpnext/translations}/fr.csv (100%) rename {translations => erpnext/translations}/hi.csv (100%) rename {translations => erpnext/translations}/hr.csv (100%) rename {translations => erpnext/translations}/it.csv (100%) rename {translations => erpnext/translations}/languages.json (100%) rename {translations => erpnext/translations}/nl.csv (100%) rename {translations => erpnext/translations}/pt-BR.csv (100%) rename {translations => erpnext/translations}/pt.csv (100%) rename {translations => erpnext/translations}/sr.csv (100%) rename {translations => erpnext/translations}/ta.csv (100%) rename {translations => erpnext/translations}/th.csv (100%) rename {translations => erpnext/translations}/zh-cn.csv (100%) rename {translations => erpnext/translations}/zh-tw.csv (100%) rename {utilities => erpnext/utilities}/README.md (100%) rename {utilities => erpnext/utilities}/__init__.py (100%) rename {utilities => erpnext/utilities}/cleanup_data.py (100%) rename {utilities => erpnext/utilities}/demo/__init__.py (100%) rename {utilities => erpnext/utilities}/demo/demo-login.css (100%) rename {utilities => erpnext/utilities}/demo/demo-login.html (100%) rename {utilities => erpnext/utilities}/demo/demo-login.js (100%) rename {utilities => erpnext/utilities}/demo/demo_control_panel.py (100%) rename {utilities => erpnext/utilities}/demo/demo_docs/Address.csv (100%) rename {utilities => erpnext/utilities}/demo/demo_docs/BOM.csv (100%) rename {utilities => erpnext/utilities}/demo/demo_docs/Contact.csv (100%) rename {utilities => erpnext/utilities}/demo/demo_docs/Customer.csv (100%) rename {utilities => erpnext/utilities}/demo/demo_docs/Employee.csv (100%) rename {utilities => erpnext/utilities}/demo/demo_docs/Fiscal_Year.csv (100%) rename {utilities => erpnext/utilities}/demo/demo_docs/Item.csv (100%) rename {utilities => erpnext/utilities}/demo/demo_docs/Item_Price.csv (100%) rename {utilities => erpnext/utilities}/demo/demo_docs/Lead.csv (100%) rename {utilities => erpnext/utilities}/demo/demo_docs/Profile.csv (100%) rename {utilities => erpnext/utilities}/demo/demo_docs/Salary_Structure.csv (100%) rename {utilities => erpnext/utilities}/demo/demo_docs/Stock Reconcilation Template.csv (100%) rename {utilities => erpnext/utilities}/demo/demo_docs/Supplier.csv (100%) rename {utilities => erpnext/utilities}/demo/demo_docs/bearing-block.png (100%) rename {utilities => erpnext/utilities}/demo/demo_docs/wind-turbine.png (100%) rename {utilities => erpnext/utilities}/demo/make_demo.py (100%) rename {utilities => erpnext/utilities}/demo/make_erpnext_demo.py (100%) rename {utilities => erpnext/utilities}/doctype/__init__.py (100%) rename {utilities => erpnext/utilities}/doctype/address/README.md (100%) rename {utilities => erpnext/utilities}/doctype/address/__init__.py (100%) rename {utilities => erpnext/utilities}/doctype/address/address.js (100%) rename {utilities => erpnext/utilities}/doctype/address/address.py (100%) rename {utilities => erpnext/utilities}/doctype/address/address.txt (100%) rename {utilities => erpnext/utilities}/doctype/address/templates/__init__.py (100%) rename {utilities => erpnext/utilities}/doctype/address/templates/pages/__init__.py (100%) rename {utilities => erpnext/utilities}/doctype/address/templates/pages/address.html (100%) rename {utilities => erpnext/utilities}/doctype/address/templates/pages/address.py (100%) rename {utilities => erpnext/utilities}/doctype/address/templates/pages/addresses.html (100%) rename {utilities => erpnext/utilities}/doctype/address/templates/pages/addresses.py (100%) rename {utilities => erpnext/utilities}/doctype/address/test_address.py (100%) rename {utilities => erpnext/utilities}/doctype/contact/README.md (100%) rename {utilities => erpnext/utilities}/doctype/contact/__init__.py (100%) rename {utilities => erpnext/utilities}/doctype/contact/contact.js (100%) rename {utilities => erpnext/utilities}/doctype/contact/contact.py (100%) rename {utilities => erpnext/utilities}/doctype/contact/contact.txt (100%) rename {utilities => erpnext/utilities}/doctype/contact/test_contact.py (100%) rename {utilities => erpnext/utilities}/doctype/note/README.md (100%) rename {utilities => erpnext/utilities}/doctype/note/__init__.py (100%) rename {utilities => erpnext/utilities}/doctype/note/note.py (100%) rename {utilities => erpnext/utilities}/doctype/note/note.txt (100%) rename {utilities => erpnext/utilities}/doctype/note_user/README.md (100%) rename {utilities => erpnext/utilities}/doctype/note_user/__init__.py (100%) rename {utilities => erpnext/utilities}/doctype/note_user/note_user.py (100%) rename {utilities => erpnext/utilities}/doctype/note_user/note_user.txt (100%) rename {utilities => erpnext/utilities}/doctype/rename_tool/README.md (100%) rename {utilities => erpnext/utilities}/doctype/rename_tool/__init__.py (100%) rename {utilities => erpnext/utilities}/doctype/rename_tool/rename_tool.js (100%) rename {utilities => erpnext/utilities}/doctype/rename_tool/rename_tool.py (100%) rename {utilities => erpnext/utilities}/doctype/rename_tool/rename_tool.txt (100%) rename {utilities => erpnext/utilities}/doctype/sms_control/__init__.py (100%) rename {utilities => erpnext/utilities}/doctype/sms_control/sms_control.js (100%) rename {utilities => erpnext/utilities}/doctype/sms_control/sms_control.py (100%) rename {utilities => erpnext/utilities}/doctype/sms_control/sms_control.txt (100%) rename {utilities => erpnext/utilities}/doctype/sms_log/README.md (100%) rename {utilities => erpnext/utilities}/doctype/sms_log/__init__.py (100%) rename {utilities => erpnext/utilities}/doctype/sms_log/sms_log.py (100%) rename {utilities => erpnext/utilities}/doctype/sms_log/sms_log.txt (100%) rename {utilities => erpnext/utilities}/repost_stock.py (100%) rename {utilities => erpnext/utilities}/transaction_base.py (100%) 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/POS Invoice/POS Invoice.txt b/erpnext/accounts/Print Format/POS Invoice/POS Invoice.txt similarity index 100% rename from accounts/Print Format/POS Invoice/POS Invoice.txt rename to erpnext/accounts/Print Format/POS Invoice/POS Invoice.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/Print Format/Sales Invoice Classic/Sales Invoice Classic.txt b/erpnext/accounts/Print Format/Sales Invoice Classic/Sales Invoice Classic.txt similarity index 100% rename from accounts/Print Format/Sales Invoice Classic/Sales Invoice Classic.txt rename to erpnext/accounts/Print Format/Sales Invoice Classic/Sales Invoice Classic.txt diff --git a/accounts/Print Format/Sales Invoice Modern/Sales Invoice Modern.txt b/erpnext/accounts/Print Format/Sales Invoice Modern/Sales Invoice Modern.txt similarity index 100% rename from accounts/Print Format/Sales Invoice Modern/Sales Invoice Modern.txt rename to erpnext/accounts/Print Format/Sales Invoice Modern/Sales Invoice Modern.txt diff --git a/accounts/Print Format/Sales Invoice Spartan/Sales Invoice Spartan.txt b/erpnext/accounts/Print Format/Sales Invoice Spartan/Sales Invoice Spartan.txt similarity index 100% rename from accounts/Print Format/Sales Invoice Spartan/Sales Invoice Spartan.txt rename to erpnext/accounts/Print Format/Sales Invoice Spartan/Sales Invoice Spartan.txt diff --git a/accounts/Print Format/SalesInvoice/SalesInvoice.html b/erpnext/accounts/Print Format/SalesInvoice/SalesInvoice.html similarity index 100% rename from accounts/Print Format/SalesInvoice/SalesInvoice.html rename to erpnext/accounts/Print Format/SalesInvoice/SalesInvoice.html diff --git a/accounts/Print Format/SalesInvoice/SalesInvoice.txt b/erpnext/accounts/Print Format/SalesInvoice/SalesInvoice.txt similarity index 100% rename from accounts/Print Format/SalesInvoice/SalesInvoice.txt rename to erpnext/accounts/Print Format/SalesInvoice/SalesInvoice.txt diff --git a/accounts/README.md b/erpnext/accounts/README.md similarity index 100% rename from accounts/README.md rename to erpnext/accounts/README.md diff --git a/accounts/__init__.py b/erpnext/accounts/__init__.py similarity index 100% rename from accounts/__init__.py rename to erpnext/accounts/__init__.py diff --git a/accounts/doctype/__init__.py b/erpnext/accounts/doctype/__init__.py similarity index 100% rename from accounts/doctype/__init__.py rename to erpnext/accounts/doctype/__init__.py diff --git a/accounts/doctype/account/README.md b/erpnext/accounts/doctype/account/README.md similarity index 100% rename from accounts/doctype/account/README.md rename to erpnext/accounts/doctype/account/README.md diff --git a/accounts/doctype/account/__init__.py b/erpnext/accounts/doctype/account/__init__.py similarity index 100% rename from accounts/doctype/account/__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/account/test_account.py b/erpnext/accounts/doctype/account/test_account.py similarity index 100% rename from accounts/doctype/account/test_account.py rename to erpnext/accounts/doctype/account/test_account.py diff --git a/accounts/doctype/accounts_settings/__init__.py b/erpnext/accounts/doctype/accounts_settings/__init__.py similarity index 100% rename from accounts/doctype/accounts_settings/__init__.py rename to erpnext/accounts/doctype/accounts_settings/__init__.py diff --git a/accounts/doctype/accounts_settings/accounts_settings.py b/erpnext/accounts/doctype/accounts_settings/accounts_settings.py similarity index 100% rename from accounts/doctype/accounts_settings/accounts_settings.py rename to erpnext/accounts/doctype/accounts_settings/accounts_settings.py diff --git a/accounts/doctype/accounts_settings/accounts_settings.txt b/erpnext/accounts/doctype/accounts_settings/accounts_settings.txt similarity index 100% rename from accounts/doctype/accounts_settings/accounts_settings.txt rename to erpnext/accounts/doctype/accounts_settings/accounts_settings.txt diff --git a/accounts/doctype/bank_reconciliation/README.md b/erpnext/accounts/doctype/bank_reconciliation/README.md similarity index 100% rename from accounts/doctype/bank_reconciliation/README.md rename to erpnext/accounts/doctype/bank_reconciliation/README.md diff --git a/accounts/doctype/bank_reconciliation/__init__.py b/erpnext/accounts/doctype/bank_reconciliation/__init__.py similarity index 100% rename from accounts/doctype/bank_reconciliation/__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/bank_reconciliation_detail/README.md b/erpnext/accounts/doctype/bank_reconciliation_detail/README.md similarity index 100% rename from accounts/doctype/bank_reconciliation_detail/README.md rename to erpnext/accounts/doctype/bank_reconciliation_detail/README.md diff --git a/accounts/doctype/bank_reconciliation_detail/__init__.py b/erpnext/accounts/doctype/bank_reconciliation_detail/__init__.py similarity index 100% rename from accounts/doctype/bank_reconciliation_detail/__init__.py rename to erpnext/accounts/doctype/bank_reconciliation_detail/__init__.py diff --git a/accounts/doctype/bank_reconciliation_detail/bank_reconciliation_detail.py b/erpnext/accounts/doctype/bank_reconciliation_detail/bank_reconciliation_detail.py similarity index 100% rename from accounts/doctype/bank_reconciliation_detail/bank_reconciliation_detail.py rename to erpnext/accounts/doctype/bank_reconciliation_detail/bank_reconciliation_detail.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/README.md b/erpnext/accounts/doctype/budget_detail/README.md similarity index 100% rename from accounts/doctype/budget_detail/README.md rename to erpnext/accounts/doctype/budget_detail/README.md diff --git a/accounts/doctype/budget_detail/__init__.py b/erpnext/accounts/doctype/budget_detail/__init__.py similarity index 100% rename from accounts/doctype/budget_detail/__init__.py rename to erpnext/accounts/doctype/budget_detail/__init__.py diff --git a/accounts/doctype/budget_detail/budget_detail.py b/erpnext/accounts/doctype/budget_detail/budget_detail.py similarity index 100% rename from accounts/doctype/budget_detail/budget_detail.py rename to erpnext/accounts/doctype/budget_detail/budget_detail.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/README.md b/erpnext/accounts/doctype/budget_distribution/README.md similarity index 100% rename from accounts/doctype/budget_distribution/README.md rename to erpnext/accounts/doctype/budget_distribution/README.md diff --git a/accounts/doctype/budget_distribution/__init__.py b/erpnext/accounts/doctype/budget_distribution/__init__.py similarity index 100% rename from accounts/doctype/budget_distribution/__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/budget_distribution/test_budget_distribution.py b/erpnext/accounts/doctype/budget_distribution/test_budget_distribution.py similarity index 100% rename from accounts/doctype/budget_distribution/test_budget_distribution.py rename to erpnext/accounts/doctype/budget_distribution/test_budget_distribution.py diff --git a/accounts/doctype/budget_distribution_detail/README.md b/erpnext/accounts/doctype/budget_distribution_detail/README.md similarity index 100% rename from accounts/doctype/budget_distribution_detail/README.md rename to erpnext/accounts/doctype/budget_distribution_detail/README.md diff --git a/accounts/doctype/budget_distribution_detail/__init__.py b/erpnext/accounts/doctype/budget_distribution_detail/__init__.py similarity index 100% rename from accounts/doctype/budget_distribution_detail/__init__.py rename to erpnext/accounts/doctype/budget_distribution_detail/__init__.py diff --git a/accounts/doctype/budget_distribution_detail/budget_distribution_detail.py b/erpnext/accounts/doctype/budget_distribution_detail/budget_distribution_detail.py similarity index 100% rename from accounts/doctype/budget_distribution_detail/budget_distribution_detail.py rename to erpnext/accounts/doctype/budget_distribution_detail/budget_distribution_detail.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/c_form/README.md b/erpnext/accounts/doctype/c_form/README.md similarity index 100% rename from accounts/doctype/c_form/README.md rename to erpnext/accounts/doctype/c_form/README.md diff --git a/accounts/doctype/c_form/__init__.py b/erpnext/accounts/doctype/c_form/__init__.py similarity index 100% rename from accounts/doctype/c_form/__init__.py rename to erpnext/accounts/doctype/c_form/__init__.py diff --git a/accounts/doctype/c_form/c_form.js b/erpnext/accounts/doctype/c_form/c_form.js similarity index 100% rename from accounts/doctype/c_form/c_form.js rename to erpnext/accounts/doctype/c_form/c_form.js diff --git a/accounts/doctype/c_form/c_form.py b/erpnext/accounts/doctype/c_form/c_form.py similarity index 100% rename from accounts/doctype/c_form/c_form.py rename to erpnext/accounts/doctype/c_form/c_form.py diff --git a/accounts/doctype/c_form/c_form.txt b/erpnext/accounts/doctype/c_form/c_form.txt similarity index 100% rename from accounts/doctype/c_form/c_form.txt rename to erpnext/accounts/doctype/c_form/c_form.txt diff --git a/accounts/doctype/c_form_invoice_detail/README.md b/erpnext/accounts/doctype/c_form_invoice_detail/README.md similarity index 100% rename from accounts/doctype/c_form_invoice_detail/README.md rename to erpnext/accounts/doctype/c_form_invoice_detail/README.md diff --git a/accounts/doctype/c_form_invoice_detail/__init__.py b/erpnext/accounts/doctype/c_form_invoice_detail/__init__.py similarity index 100% rename from accounts/doctype/c_form_invoice_detail/__init__.py rename to erpnext/accounts/doctype/c_form_invoice_detail/__init__.py diff --git a/accounts/doctype/c_form_invoice_detail/c_form_invoice_detail.py b/erpnext/accounts/doctype/c_form_invoice_detail/c_form_invoice_detail.py similarity index 100% rename from accounts/doctype/c_form_invoice_detail/c_form_invoice_detail.py rename to erpnext/accounts/doctype/c_form_invoice_detail/c_form_invoice_detail.py diff --git a/accounts/doctype/c_form_invoice_detail/c_form_invoice_detail.txt b/erpnext/accounts/doctype/c_form_invoice_detail/c_form_invoice_detail.txt similarity index 100% rename from accounts/doctype/c_form_invoice_detail/c_form_invoice_detail.txt rename to erpnext/accounts/doctype/c_form_invoice_detail/c_form_invoice_detail.txt diff --git a/accounts/doctype/cost_center/README.md b/erpnext/accounts/doctype/cost_center/README.md similarity index 100% rename from accounts/doctype/cost_center/README.md rename to erpnext/accounts/doctype/cost_center/README.md diff --git a/accounts/doctype/cost_center/__init__.py b/erpnext/accounts/doctype/cost_center/__init__.py similarity index 100% rename from accounts/doctype/cost_center/__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/cost_center/test_cost_center.py b/erpnext/accounts/doctype/cost_center/test_cost_center.py similarity index 100% rename from accounts/doctype/cost_center/test_cost_center.py rename to erpnext/accounts/doctype/cost_center/test_cost_center.py diff --git a/accounts/doctype/fiscal_year/README.md b/erpnext/accounts/doctype/fiscal_year/README.md similarity index 100% rename from accounts/doctype/fiscal_year/README.md rename to erpnext/accounts/doctype/fiscal_year/README.md diff --git a/accounts/doctype/fiscal_year/__init__.py b/erpnext/accounts/doctype/fiscal_year/__init__.py similarity index 100% rename from accounts/doctype/fiscal_year/__init__.py rename to erpnext/accounts/doctype/fiscal_year/__init__.py diff --git a/accounts/doctype/fiscal_year/fiscal_year.js b/erpnext/accounts/doctype/fiscal_year/fiscal_year.js similarity index 100% rename from accounts/doctype/fiscal_year/fiscal_year.js rename to erpnext/accounts/doctype/fiscal_year/fiscal_year.js 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/fiscal_year/test_fiscal_year.py b/erpnext/accounts/doctype/fiscal_year/test_fiscal_year.py similarity index 100% rename from accounts/doctype/fiscal_year/test_fiscal_year.py rename to erpnext/accounts/doctype/fiscal_year/test_fiscal_year.py diff --git a/accounts/doctype/gl_entry/README.md b/erpnext/accounts/doctype/gl_entry/README.md similarity index 100% rename from accounts/doctype/gl_entry/README.md rename to erpnext/accounts/doctype/gl_entry/README.md diff --git a/accounts/doctype/gl_entry/__init__.py b/erpnext/accounts/doctype/gl_entry/__init__.py similarity index 100% rename from accounts/doctype/gl_entry/__init__.py rename to erpnext/accounts/doctype/gl_entry/__init__.py 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/README.md b/erpnext/accounts/doctype/journal_voucher/README.md similarity index 100% rename from accounts/doctype/journal_voucher/README.md rename to erpnext/accounts/doctype/journal_voucher/README.md diff --git a/accounts/doctype/journal_voucher/__init__.py b/erpnext/accounts/doctype/journal_voucher/__init__.py similarity index 100% rename from accounts/doctype/journal_voucher/__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/journal_voucher/test_journal_voucher.py b/erpnext/accounts/doctype/journal_voucher/test_journal_voucher.py similarity index 100% rename from accounts/doctype/journal_voucher/test_journal_voucher.py rename to erpnext/accounts/doctype/journal_voucher/test_journal_voucher.py diff --git a/accounts/doctype/journal_voucher_detail/README.md b/erpnext/accounts/doctype/journal_voucher_detail/README.md similarity index 100% rename from accounts/doctype/journal_voucher_detail/README.md rename to erpnext/accounts/doctype/journal_voucher_detail/README.md diff --git a/accounts/doctype/journal_voucher_detail/__init__.py b/erpnext/accounts/doctype/journal_voucher_detail/__init__.py similarity index 100% rename from accounts/doctype/journal_voucher_detail/__init__.py rename to erpnext/accounts/doctype/journal_voucher_detail/__init__.py diff --git a/accounts/doctype/journal_voucher_detail/journal_voucher_detail.py b/erpnext/accounts/doctype/journal_voucher_detail/journal_voucher_detail.py similarity index 100% rename from accounts/doctype/journal_voucher_detail/journal_voucher_detail.py rename to erpnext/accounts/doctype/journal_voucher_detail/journal_voucher_detail.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/mis_control/README.md b/erpnext/accounts/doctype/mis_control/README.md similarity index 100% rename from accounts/doctype/mis_control/README.md rename to erpnext/accounts/doctype/mis_control/README.md diff --git a/accounts/doctype/mis_control/__init__.py b/erpnext/accounts/doctype/mis_control/__init__.py similarity index 100% rename from accounts/doctype/mis_control/__init__.py rename to erpnext/accounts/doctype/mis_control/__init__.py diff --git a/accounts/doctype/mis_control/mis_control.py b/erpnext/accounts/doctype/mis_control/mis_control.py similarity index 100% rename from accounts/doctype/mis_control/mis_control.py rename to erpnext/accounts/doctype/mis_control/mis_control.py diff --git a/accounts/doctype/mis_control/mis_control.txt b/erpnext/accounts/doctype/mis_control/mis_control.txt similarity index 100% rename from accounts/doctype/mis_control/mis_control.txt rename to erpnext/accounts/doctype/mis_control/mis_control.txt diff --git a/accounts/doctype/mode_of_payment/README.md b/erpnext/accounts/doctype/mode_of_payment/README.md similarity index 100% rename from accounts/doctype/mode_of_payment/README.md rename to erpnext/accounts/doctype/mode_of_payment/README.md diff --git a/accounts/doctype/mode_of_payment/__init__.py b/erpnext/accounts/doctype/mode_of_payment/__init__.py similarity index 100% rename from accounts/doctype/mode_of_payment/__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.py b/erpnext/accounts/doctype/mode_of_payment/mode_of_payment.py similarity index 100% rename from accounts/doctype/mode_of_payment/mode_of_payment.py rename to erpnext/accounts/doctype/mode_of_payment/mode_of_payment.py 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/payment_to_invoice_matching_tool/README.md b/erpnext/accounts/doctype/payment_to_invoice_matching_tool/README.md similarity index 100% rename from accounts/doctype/payment_to_invoice_matching_tool/README.md rename to erpnext/accounts/doctype/payment_to_invoice_matching_tool/README.md diff --git a/accounts/doctype/payment_to_invoice_matching_tool/__init__.py b/erpnext/accounts/doctype/payment_to_invoice_matching_tool/__init__.py similarity index 100% rename from accounts/doctype/payment_to_invoice_matching_tool/__init__.py rename to erpnext/accounts/doctype/payment_to_invoice_matching_tool/__init__.py diff --git a/accounts/doctype/payment_to_invoice_matching_tool/payment_to_invoice_matching_tool.js b/erpnext/accounts/doctype/payment_to_invoice_matching_tool/payment_to_invoice_matching_tool.js similarity index 100% rename from accounts/doctype/payment_to_invoice_matching_tool/payment_to_invoice_matching_tool.js rename to erpnext/accounts/doctype/payment_to_invoice_matching_tool/payment_to_invoice_matching_tool.js diff --git a/accounts/doctype/payment_to_invoice_matching_tool/payment_to_invoice_matching_tool.py b/erpnext/accounts/doctype/payment_to_invoice_matching_tool/payment_to_invoice_matching_tool.py similarity index 100% rename from accounts/doctype/payment_to_invoice_matching_tool/payment_to_invoice_matching_tool.py rename to erpnext/accounts/doctype/payment_to_invoice_matching_tool/payment_to_invoice_matching_tool.py diff --git a/accounts/doctype/payment_to_invoice_matching_tool/payment_to_invoice_matching_tool.txt b/erpnext/accounts/doctype/payment_to_invoice_matching_tool/payment_to_invoice_matching_tool.txt similarity index 100% rename from accounts/doctype/payment_to_invoice_matching_tool/payment_to_invoice_matching_tool.txt rename to erpnext/accounts/doctype/payment_to_invoice_matching_tool/payment_to_invoice_matching_tool.txt diff --git a/accounts/doctype/payment_to_invoice_matching_tool/test_payment_to_invoice_matching_tool.py b/erpnext/accounts/doctype/payment_to_invoice_matching_tool/test_payment_to_invoice_matching_tool.py similarity index 100% rename from accounts/doctype/payment_to_invoice_matching_tool/test_payment_to_invoice_matching_tool.py rename to erpnext/accounts/doctype/payment_to_invoice_matching_tool/test_payment_to_invoice_matching_tool.py diff --git a/accounts/doctype/payment_to_invoice_matching_tool_detail/README.md b/erpnext/accounts/doctype/payment_to_invoice_matching_tool_detail/README.md similarity index 100% rename from accounts/doctype/payment_to_invoice_matching_tool_detail/README.md rename to erpnext/accounts/doctype/payment_to_invoice_matching_tool_detail/README.md diff --git a/accounts/doctype/payment_to_invoice_matching_tool_detail/__init__.py b/erpnext/accounts/doctype/payment_to_invoice_matching_tool_detail/__init__.py similarity index 100% rename from accounts/doctype/payment_to_invoice_matching_tool_detail/__init__.py rename to erpnext/accounts/doctype/payment_to_invoice_matching_tool_detail/__init__.py diff --git a/accounts/doctype/payment_to_invoice_matching_tool_detail/payment_to_invoice_matching_tool_detail.py b/erpnext/accounts/doctype/payment_to_invoice_matching_tool_detail/payment_to_invoice_matching_tool_detail.py similarity index 100% rename from accounts/doctype/payment_to_invoice_matching_tool_detail/payment_to_invoice_matching_tool_detail.py rename to erpnext/accounts/doctype/payment_to_invoice_matching_tool_detail/payment_to_invoice_matching_tool_detail.py diff --git a/accounts/doctype/payment_to_invoice_matching_tool_detail/payment_to_invoice_matching_tool_detail.txt b/erpnext/accounts/doctype/payment_to_invoice_matching_tool_detail/payment_to_invoice_matching_tool_detail.txt similarity index 100% rename from accounts/doctype/payment_to_invoice_matching_tool_detail/payment_to_invoice_matching_tool_detail.txt rename to erpnext/accounts/doctype/payment_to_invoice_matching_tool_detail/payment_to_invoice_matching_tool_detail.txt diff --git a/accounts/doctype/period_closing_voucher/README.md b/erpnext/accounts/doctype/period_closing_voucher/README.md similarity index 100% rename from accounts/doctype/period_closing_voucher/README.md rename to erpnext/accounts/doctype/period_closing_voucher/README.md diff --git a/accounts/doctype/period_closing_voucher/__init__.py b/erpnext/accounts/doctype/period_closing_voucher/__init__.py similarity index 100% rename from accounts/doctype/period_closing_voucher/__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/period_closing_voucher/test_period_closing_voucher.py b/erpnext/accounts/doctype/period_closing_voucher/test_period_closing_voucher.py similarity index 100% rename from accounts/doctype/period_closing_voucher/test_period_closing_voucher.py rename to erpnext/accounts/doctype/period_closing_voucher/test_period_closing_voucher.py diff --git a/accounts/doctype/pos_setting/README.md b/erpnext/accounts/doctype/pos_setting/README.md similarity index 100% rename from accounts/doctype/pos_setting/README.md rename to erpnext/accounts/doctype/pos_setting/README.md diff --git a/accounts/doctype/pos_setting/__init__.py b/erpnext/accounts/doctype/pos_setting/__init__.py similarity index 100% rename from accounts/doctype/pos_setting/__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/pos_setting/test_pos_setting.py b/erpnext/accounts/doctype/pos_setting/test_pos_setting.py similarity index 100% rename from accounts/doctype/pos_setting/test_pos_setting.py rename to erpnext/accounts/doctype/pos_setting/test_pos_setting.py diff --git a/accounts/doctype/purchase_invoice/README.md b/erpnext/accounts/doctype/purchase_invoice/README.md similarity index 100% rename from accounts/doctype/purchase_invoice/README.md rename to erpnext/accounts/doctype/purchase_invoice/README.md diff --git a/accounts/doctype/purchase_invoice/__init__.py b/erpnext/accounts/doctype/purchase_invoice/__init__.py similarity index 100% rename from accounts/doctype/purchase_invoice/__init__.py rename to erpnext/accounts/doctype/purchase_invoice/__init__.py diff --git a/accounts/doctype/purchase_invoice/purchase_invoice.js b/erpnext/accounts/doctype/purchase_invoice/purchase_invoice.js similarity index 100% rename from accounts/doctype/purchase_invoice/purchase_invoice.js rename to erpnext/accounts/doctype/purchase_invoice/purchase_invoice.js diff --git a/accounts/doctype/purchase_invoice/purchase_invoice.py b/erpnext/accounts/doctype/purchase_invoice/purchase_invoice.py similarity index 100% rename from accounts/doctype/purchase_invoice/purchase_invoice.py rename to erpnext/accounts/doctype/purchase_invoice/purchase_invoice.py diff --git a/accounts/doctype/purchase_invoice/purchase_invoice.txt b/erpnext/accounts/doctype/purchase_invoice/purchase_invoice.txt similarity index 100% rename from accounts/doctype/purchase_invoice/purchase_invoice.txt rename to erpnext/accounts/doctype/purchase_invoice/purchase_invoice.txt diff --git a/accounts/doctype/purchase_invoice/purchase_invoice_list.js b/erpnext/accounts/doctype/purchase_invoice/purchase_invoice_list.js similarity index 100% rename from accounts/doctype/purchase_invoice/purchase_invoice_list.js rename to erpnext/accounts/doctype/purchase_invoice/purchase_invoice_list.js diff --git a/accounts/doctype/purchase_invoice/test_purchase_invoice.py b/erpnext/accounts/doctype/purchase_invoice/test_purchase_invoice.py similarity index 100% rename from accounts/doctype/purchase_invoice/test_purchase_invoice.py rename to erpnext/accounts/doctype/purchase_invoice/test_purchase_invoice.py diff --git a/accounts/doctype/purchase_invoice_advance/README.md b/erpnext/accounts/doctype/purchase_invoice_advance/README.md similarity index 100% rename from accounts/doctype/purchase_invoice_advance/README.md rename to erpnext/accounts/doctype/purchase_invoice_advance/README.md diff --git a/accounts/doctype/purchase_invoice_advance/__init__.py b/erpnext/accounts/doctype/purchase_invoice_advance/__init__.py similarity index 100% rename from accounts/doctype/purchase_invoice_advance/__init__.py rename to erpnext/accounts/doctype/purchase_invoice_advance/__init__.py diff --git a/accounts/doctype/purchase_invoice_advance/purchase_invoice_advance.py b/erpnext/accounts/doctype/purchase_invoice_advance/purchase_invoice_advance.py similarity index 100% rename from accounts/doctype/purchase_invoice_advance/purchase_invoice_advance.py rename to erpnext/accounts/doctype/purchase_invoice_advance/purchase_invoice_advance.py diff --git a/accounts/doctype/purchase_invoice_advance/purchase_invoice_advance.txt b/erpnext/accounts/doctype/purchase_invoice_advance/purchase_invoice_advance.txt similarity index 100% rename from accounts/doctype/purchase_invoice_advance/purchase_invoice_advance.txt rename to erpnext/accounts/doctype/purchase_invoice_advance/purchase_invoice_advance.txt diff --git a/accounts/doctype/purchase_invoice_item/README.md b/erpnext/accounts/doctype/purchase_invoice_item/README.md similarity index 100% rename from accounts/doctype/purchase_invoice_item/README.md rename to erpnext/accounts/doctype/purchase_invoice_item/README.md diff --git a/accounts/doctype/purchase_invoice_item/__init__.py b/erpnext/accounts/doctype/purchase_invoice_item/__init__.py similarity index 100% rename from accounts/doctype/purchase_invoice_item/__init__.py rename to erpnext/accounts/doctype/purchase_invoice_item/__init__.py diff --git a/accounts/doctype/purchase_invoice_item/purchase_invoice_item.py b/erpnext/accounts/doctype/purchase_invoice_item/purchase_invoice_item.py similarity index 100% rename from accounts/doctype/purchase_invoice_item/purchase_invoice_item.py rename to erpnext/accounts/doctype/purchase_invoice_item/purchase_invoice_item.py diff --git a/accounts/doctype/purchase_invoice_item/purchase_invoice_item.txt b/erpnext/accounts/doctype/purchase_invoice_item/purchase_invoice_item.txt similarity index 100% rename from accounts/doctype/purchase_invoice_item/purchase_invoice_item.txt rename to erpnext/accounts/doctype/purchase_invoice_item/purchase_invoice_item.txt diff --git a/accounts/doctype/purchase_taxes_and_charges/README.md b/erpnext/accounts/doctype/purchase_taxes_and_charges/README.md similarity index 100% rename from accounts/doctype/purchase_taxes_and_charges/README.md rename to erpnext/accounts/doctype/purchase_taxes_and_charges/README.md diff --git a/accounts/doctype/purchase_taxes_and_charges/__init__.py b/erpnext/accounts/doctype/purchase_taxes_and_charges/__init__.py similarity index 100% rename from accounts/doctype/purchase_taxes_and_charges/__init__.py rename to erpnext/accounts/doctype/purchase_taxes_and_charges/__init__.py diff --git a/accounts/doctype/purchase_taxes_and_charges/purchase_taxes_and_charges.py b/erpnext/accounts/doctype/purchase_taxes_and_charges/purchase_taxes_and_charges.py similarity index 100% rename from accounts/doctype/purchase_taxes_and_charges/purchase_taxes_and_charges.py rename to erpnext/accounts/doctype/purchase_taxes_and_charges/purchase_taxes_and_charges.py diff --git a/accounts/doctype/purchase_taxes_and_charges/purchase_taxes_and_charges.txt b/erpnext/accounts/doctype/purchase_taxes_and_charges/purchase_taxes_and_charges.txt similarity index 100% rename from accounts/doctype/purchase_taxes_and_charges/purchase_taxes_and_charges.txt rename to erpnext/accounts/doctype/purchase_taxes_and_charges/purchase_taxes_and_charges.txt diff --git a/accounts/doctype/purchase_taxes_and_charges_master/README.md b/erpnext/accounts/doctype/purchase_taxes_and_charges_master/README.md similarity index 100% rename from accounts/doctype/purchase_taxes_and_charges_master/README.md rename to erpnext/accounts/doctype/purchase_taxes_and_charges_master/README.md diff --git a/accounts/doctype/purchase_taxes_and_charges_master/__init__.py b/erpnext/accounts/doctype/purchase_taxes_and_charges_master/__init__.py similarity index 100% rename from accounts/doctype/purchase_taxes_and_charges_master/__init__.py rename to erpnext/accounts/doctype/purchase_taxes_and_charges_master/__init__.py diff --git a/accounts/doctype/purchase_taxes_and_charges_master/purchase_taxes_and_charges_master.js b/erpnext/accounts/doctype/purchase_taxes_and_charges_master/purchase_taxes_and_charges_master.js similarity index 100% rename from accounts/doctype/purchase_taxes_and_charges_master/purchase_taxes_and_charges_master.js rename to erpnext/accounts/doctype/purchase_taxes_and_charges_master/purchase_taxes_and_charges_master.js diff --git a/accounts/doctype/purchase_taxes_and_charges_master/purchase_taxes_and_charges_master.py b/erpnext/accounts/doctype/purchase_taxes_and_charges_master/purchase_taxes_and_charges_master.py similarity index 100% rename from accounts/doctype/purchase_taxes_and_charges_master/purchase_taxes_and_charges_master.py rename to erpnext/accounts/doctype/purchase_taxes_and_charges_master/purchase_taxes_and_charges_master.py diff --git a/accounts/doctype/purchase_taxes_and_charges_master/purchase_taxes_and_charges_master.txt b/erpnext/accounts/doctype/purchase_taxes_and_charges_master/purchase_taxes_and_charges_master.txt similarity index 100% rename from accounts/doctype/purchase_taxes_and_charges_master/purchase_taxes_and_charges_master.txt rename to erpnext/accounts/doctype/purchase_taxes_and_charges_master/purchase_taxes_and_charges_master.txt diff --git a/accounts/doctype/sales_invoice/README.md b/erpnext/accounts/doctype/sales_invoice/README.md similarity index 100% rename from accounts/doctype/sales_invoice/README.md rename to erpnext/accounts/doctype/sales_invoice/README.md diff --git a/accounts/doctype/sales_invoice/__init__.py b/erpnext/accounts/doctype/sales_invoice/__init__.py similarity index 100% rename from accounts/doctype/sales_invoice/__init__.py rename to erpnext/accounts/doctype/sales_invoice/__init__.py diff --git a/accounts/doctype/sales_invoice/pos.js b/erpnext/accounts/doctype/sales_invoice/pos.js similarity index 100% rename from accounts/doctype/sales_invoice/pos.js rename to erpnext/accounts/doctype/sales_invoice/pos.js diff --git a/accounts/doctype/sales_invoice/pos.py b/erpnext/accounts/doctype/sales_invoice/pos.py similarity index 100% rename from accounts/doctype/sales_invoice/pos.py rename to erpnext/accounts/doctype/sales_invoice/pos.py diff --git a/accounts/doctype/sales_invoice/sales_invoice.js b/erpnext/accounts/doctype/sales_invoice/sales_invoice.js similarity index 100% rename from accounts/doctype/sales_invoice/sales_invoice.js rename to erpnext/accounts/doctype/sales_invoice/sales_invoice.js diff --git a/accounts/doctype/sales_invoice/sales_invoice.py b/erpnext/accounts/doctype/sales_invoice/sales_invoice.py similarity index 100% rename from accounts/doctype/sales_invoice/sales_invoice.py rename to erpnext/accounts/doctype/sales_invoice/sales_invoice.py diff --git a/accounts/doctype/sales_invoice/sales_invoice.txt b/erpnext/accounts/doctype/sales_invoice/sales_invoice.txt similarity index 100% rename from accounts/doctype/sales_invoice/sales_invoice.txt rename to erpnext/accounts/doctype/sales_invoice/sales_invoice.txt diff --git a/accounts/doctype/sales_invoice/sales_invoice_list.js b/erpnext/accounts/doctype/sales_invoice/sales_invoice_list.js similarity index 100% rename from accounts/doctype/sales_invoice/sales_invoice_list.js rename to erpnext/accounts/doctype/sales_invoice/sales_invoice_list.js diff --git a/accounts/doctype/sales_invoice/sales_invoice_map.js b/erpnext/accounts/doctype/sales_invoice/sales_invoice_map.js similarity index 100% rename from accounts/doctype/sales_invoice/sales_invoice_map.js rename to erpnext/accounts/doctype/sales_invoice/sales_invoice_map.js diff --git a/accounts/doctype/sales_invoice/templates/__init__.py b/erpnext/accounts/doctype/sales_invoice/templates/__init__.py similarity index 100% rename from accounts/doctype/sales_invoice/templates/__init__.py rename to erpnext/accounts/doctype/sales_invoice/templates/__init__.py diff --git a/accounts/doctype/sales_invoice/templates/pages/__init__.py b/erpnext/accounts/doctype/sales_invoice/templates/pages/__init__.py similarity index 100% rename from accounts/doctype/sales_invoice/templates/pages/__init__.py rename to erpnext/accounts/doctype/sales_invoice/templates/pages/__init__.py diff --git a/accounts/doctype/sales_invoice/templates/pages/invoice.html b/erpnext/accounts/doctype/sales_invoice/templates/pages/invoice.html similarity index 100% rename from accounts/doctype/sales_invoice/templates/pages/invoice.html rename to erpnext/accounts/doctype/sales_invoice/templates/pages/invoice.html diff --git a/accounts/doctype/sales_invoice/templates/pages/invoice.py b/erpnext/accounts/doctype/sales_invoice/templates/pages/invoice.py similarity index 100% rename from accounts/doctype/sales_invoice/templates/pages/invoice.py rename to erpnext/accounts/doctype/sales_invoice/templates/pages/invoice.py diff --git a/accounts/doctype/sales_invoice/templates/pages/invoices.html b/erpnext/accounts/doctype/sales_invoice/templates/pages/invoices.html similarity index 100% rename from accounts/doctype/sales_invoice/templates/pages/invoices.html rename to erpnext/accounts/doctype/sales_invoice/templates/pages/invoices.html diff --git a/accounts/doctype/sales_invoice/templates/pages/invoices.py b/erpnext/accounts/doctype/sales_invoice/templates/pages/invoices.py similarity index 100% rename from accounts/doctype/sales_invoice/templates/pages/invoices.py rename to erpnext/accounts/doctype/sales_invoice/templates/pages/invoices.py diff --git a/accounts/doctype/sales_invoice/test_sales_invoice.py b/erpnext/accounts/doctype/sales_invoice/test_sales_invoice.py similarity index 100% rename from accounts/doctype/sales_invoice/test_sales_invoice.py rename to erpnext/accounts/doctype/sales_invoice/test_sales_invoice.py diff --git a/accounts/doctype/sales_invoice_advance/README.md b/erpnext/accounts/doctype/sales_invoice_advance/README.md similarity index 100% rename from accounts/doctype/sales_invoice_advance/README.md rename to erpnext/accounts/doctype/sales_invoice_advance/README.md diff --git a/accounts/doctype/sales_invoice_advance/__init__.py b/erpnext/accounts/doctype/sales_invoice_advance/__init__.py similarity index 100% rename from accounts/doctype/sales_invoice_advance/__init__.py rename to erpnext/accounts/doctype/sales_invoice_advance/__init__.py diff --git a/accounts/doctype/sales_invoice_advance/sales_invoice_advance.py b/erpnext/accounts/doctype/sales_invoice_advance/sales_invoice_advance.py similarity index 100% rename from accounts/doctype/sales_invoice_advance/sales_invoice_advance.py rename to erpnext/accounts/doctype/sales_invoice_advance/sales_invoice_advance.py diff --git a/accounts/doctype/sales_invoice_advance/sales_invoice_advance.txt b/erpnext/accounts/doctype/sales_invoice_advance/sales_invoice_advance.txt similarity index 100% rename from accounts/doctype/sales_invoice_advance/sales_invoice_advance.txt rename to erpnext/accounts/doctype/sales_invoice_advance/sales_invoice_advance.txt diff --git a/accounts/doctype/sales_invoice_item/README.md b/erpnext/accounts/doctype/sales_invoice_item/README.md similarity index 100% rename from accounts/doctype/sales_invoice_item/README.md rename to erpnext/accounts/doctype/sales_invoice_item/README.md diff --git a/accounts/doctype/sales_invoice_item/__init__.py b/erpnext/accounts/doctype/sales_invoice_item/__init__.py similarity index 100% rename from accounts/doctype/sales_invoice_item/__init__.py rename to erpnext/accounts/doctype/sales_invoice_item/__init__.py diff --git a/accounts/doctype/sales_invoice_item/sales_invoice_item.py b/erpnext/accounts/doctype/sales_invoice_item/sales_invoice_item.py similarity index 100% rename from accounts/doctype/sales_invoice_item/sales_invoice_item.py rename to erpnext/accounts/doctype/sales_invoice_item/sales_invoice_item.py diff --git a/accounts/doctype/sales_invoice_item/sales_invoice_item.txt b/erpnext/accounts/doctype/sales_invoice_item/sales_invoice_item.txt similarity index 100% rename from accounts/doctype/sales_invoice_item/sales_invoice_item.txt rename to erpnext/accounts/doctype/sales_invoice_item/sales_invoice_item.txt diff --git a/accounts/doctype/sales_taxes_and_charges/README.md b/erpnext/accounts/doctype/sales_taxes_and_charges/README.md similarity index 100% rename from accounts/doctype/sales_taxes_and_charges/README.md rename to erpnext/accounts/doctype/sales_taxes_and_charges/README.md diff --git a/accounts/doctype/sales_taxes_and_charges/__init__.py b/erpnext/accounts/doctype/sales_taxes_and_charges/__init__.py similarity index 100% rename from accounts/doctype/sales_taxes_and_charges/__init__.py rename to erpnext/accounts/doctype/sales_taxes_and_charges/__init__.py diff --git a/accounts/doctype/sales_taxes_and_charges/sales_taxes_and_charges.py b/erpnext/accounts/doctype/sales_taxes_and_charges/sales_taxes_and_charges.py similarity index 100% rename from accounts/doctype/sales_taxes_and_charges/sales_taxes_and_charges.py rename to erpnext/accounts/doctype/sales_taxes_and_charges/sales_taxes_and_charges.py diff --git a/accounts/doctype/sales_taxes_and_charges/sales_taxes_and_charges.txt b/erpnext/accounts/doctype/sales_taxes_and_charges/sales_taxes_and_charges.txt similarity index 100% rename from accounts/doctype/sales_taxes_and_charges/sales_taxes_and_charges.txt rename to erpnext/accounts/doctype/sales_taxes_and_charges/sales_taxes_and_charges.txt diff --git a/accounts/doctype/sales_taxes_and_charges_master/README.md b/erpnext/accounts/doctype/sales_taxes_and_charges_master/README.md similarity index 100% rename from accounts/doctype/sales_taxes_and_charges_master/README.md rename to erpnext/accounts/doctype/sales_taxes_and_charges_master/README.md diff --git a/accounts/doctype/sales_taxes_and_charges_master/__init__.py b/erpnext/accounts/doctype/sales_taxes_and_charges_master/__init__.py similarity index 100% rename from accounts/doctype/sales_taxes_and_charges_master/__init__.py rename to erpnext/accounts/doctype/sales_taxes_and_charges_master/__init__.py diff --git a/accounts/doctype/sales_taxes_and_charges_master/sales_taxes_and_charges_master.js b/erpnext/accounts/doctype/sales_taxes_and_charges_master/sales_taxes_and_charges_master.js similarity index 100% rename from accounts/doctype/sales_taxes_and_charges_master/sales_taxes_and_charges_master.js rename to erpnext/accounts/doctype/sales_taxes_and_charges_master/sales_taxes_and_charges_master.js diff --git a/accounts/doctype/sales_taxes_and_charges_master/sales_taxes_and_charges_master.py b/erpnext/accounts/doctype/sales_taxes_and_charges_master/sales_taxes_and_charges_master.py similarity index 100% rename from accounts/doctype/sales_taxes_and_charges_master/sales_taxes_and_charges_master.py rename to erpnext/accounts/doctype/sales_taxes_and_charges_master/sales_taxes_and_charges_master.py diff --git a/accounts/doctype/sales_taxes_and_charges_master/sales_taxes_and_charges_master.txt b/erpnext/accounts/doctype/sales_taxes_and_charges_master/sales_taxes_and_charges_master.txt similarity index 100% rename from accounts/doctype/sales_taxes_and_charges_master/sales_taxes_and_charges_master.txt rename to erpnext/accounts/doctype/sales_taxes_and_charges_master/sales_taxes_and_charges_master.txt diff --git a/accounts/doctype/sales_taxes_and_charges_master/test_sales_taxes_and_charges_master.py b/erpnext/accounts/doctype/sales_taxes_and_charges_master/test_sales_taxes_and_charges_master.py similarity index 100% rename from accounts/doctype/sales_taxes_and_charges_master/test_sales_taxes_and_charges_master.py rename to erpnext/accounts/doctype/sales_taxes_and_charges_master/test_sales_taxes_and_charges_master.py diff --git a/accounts/doctype/shipping_rule/__init__.py b/erpnext/accounts/doctype/shipping_rule/__init__.py similarity index 100% rename from accounts/doctype/shipping_rule/__init__.py rename to erpnext/accounts/doctype/shipping_rule/__init__.py diff --git a/accounts/doctype/shipping_rule/shipping_rule.js b/erpnext/accounts/doctype/shipping_rule/shipping_rule.js similarity index 100% rename from accounts/doctype/shipping_rule/shipping_rule.js rename to erpnext/accounts/doctype/shipping_rule/shipping_rule.js diff --git a/accounts/doctype/shipping_rule/shipping_rule.py b/erpnext/accounts/doctype/shipping_rule/shipping_rule.py similarity index 100% rename from accounts/doctype/shipping_rule/shipping_rule.py rename to erpnext/accounts/doctype/shipping_rule/shipping_rule.py diff --git a/accounts/doctype/shipping_rule/shipping_rule.txt b/erpnext/accounts/doctype/shipping_rule/shipping_rule.txt similarity index 100% rename from accounts/doctype/shipping_rule/shipping_rule.txt rename to erpnext/accounts/doctype/shipping_rule/shipping_rule.txt diff --git a/accounts/doctype/shipping_rule/test_shipping_rule.py b/erpnext/accounts/doctype/shipping_rule/test_shipping_rule.py similarity index 100% rename from accounts/doctype/shipping_rule/test_shipping_rule.py rename to erpnext/accounts/doctype/shipping_rule/test_shipping_rule.py diff --git a/accounts/doctype/shipping_rule_condition/__init__.py b/erpnext/accounts/doctype/shipping_rule_condition/__init__.py similarity index 100% rename from accounts/doctype/shipping_rule_condition/__init__.py rename to erpnext/accounts/doctype/shipping_rule_condition/__init__.py diff --git a/accounts/doctype/shipping_rule_condition/shipping_rule_condition.py b/erpnext/accounts/doctype/shipping_rule_condition/shipping_rule_condition.py similarity index 100% rename from accounts/doctype/shipping_rule_condition/shipping_rule_condition.py rename to erpnext/accounts/doctype/shipping_rule_condition/shipping_rule_condition.py diff --git a/accounts/doctype/shipping_rule_condition/shipping_rule_condition.txt b/erpnext/accounts/doctype/shipping_rule_condition/shipping_rule_condition.txt similarity index 100% rename from accounts/doctype/shipping_rule_condition/shipping_rule_condition.txt rename to erpnext/accounts/doctype/shipping_rule_condition/shipping_rule_condition.txt diff --git a/accounts/general_ledger.py b/erpnext/accounts/general_ledger.py similarity index 100% rename from accounts/general_ledger.py rename to erpnext/accounts/general_ledger.py diff --git a/accounts/page/__init__.py b/erpnext/accounts/page/__init__.py similarity index 100% rename from accounts/page/__init__.py rename to erpnext/accounts/page/__init__.py diff --git a/accounts/page/accounts_browser/README.md b/erpnext/accounts/page/accounts_browser/README.md similarity index 100% rename from accounts/page/accounts_browser/README.md rename to erpnext/accounts/page/accounts_browser/README.md diff --git a/accounts/page/accounts_browser/__init__.py b/erpnext/accounts/page/accounts_browser/__init__.py similarity index 100% rename from accounts/page/accounts_browser/__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.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.py b/erpnext/accounts/page/accounts_browser/accounts_browser.py similarity index 100% rename from accounts/page/accounts_browser/accounts_browser.py rename to erpnext/accounts/page/accounts_browser/accounts_browser.py 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/page/accounts_home/__init__.py b/erpnext/accounts/page/accounts_home/__init__.py similarity index 100% rename from accounts/page/accounts_home/__init__.py rename to erpnext/accounts/page/accounts_home/__init__.py diff --git a/accounts/page/accounts_home/accounts_home.js b/erpnext/accounts/page/accounts_home/accounts_home.js similarity index 100% rename from accounts/page/accounts_home/accounts_home.js rename to erpnext/accounts/page/accounts_home/accounts_home.js diff --git a/accounts/page/accounts_home/accounts_home.txt b/erpnext/accounts/page/accounts_home/accounts_home.txt similarity index 100% rename from accounts/page/accounts_home/accounts_home.txt rename to erpnext/accounts/page/accounts_home/accounts_home.txt diff --git a/accounts/page/financial_analytics/README.md b/erpnext/accounts/page/financial_analytics/README.md similarity index 100% rename from accounts/page/financial_analytics/README.md rename to erpnext/accounts/page/financial_analytics/README.md diff --git a/accounts/page/financial_analytics/__init__.py b/erpnext/accounts/page/financial_analytics/__init__.py similarity index 100% rename from accounts/page/financial_analytics/__init__.py rename to erpnext/accounts/page/financial_analytics/__init__.py diff --git a/accounts/page/financial_analytics/financial_analytics.js b/erpnext/accounts/page/financial_analytics/financial_analytics.js similarity index 100% rename from accounts/page/financial_analytics/financial_analytics.js rename to erpnext/accounts/page/financial_analytics/financial_analytics.js diff --git a/accounts/page/financial_analytics/financial_analytics.txt b/erpnext/accounts/page/financial_analytics/financial_analytics.txt similarity index 100% rename from accounts/page/financial_analytics/financial_analytics.txt rename to erpnext/accounts/page/financial_analytics/financial_analytics.txt diff --git a/accounts/page/financial_statements/README.md b/erpnext/accounts/page/financial_statements/README.md similarity index 100% rename from accounts/page/financial_statements/README.md rename to erpnext/accounts/page/financial_statements/README.md diff --git a/accounts/page/financial_statements/__init__.py b/erpnext/accounts/page/financial_statements/__init__.py similarity index 100% rename from accounts/page/financial_statements/__init__.py rename to erpnext/accounts/page/financial_statements/__init__.py 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/page/general_ledger/README.md b/erpnext/accounts/page/general_ledger/README.md similarity index 100% rename from accounts/page/general_ledger/README.md rename to erpnext/accounts/page/general_ledger/README.md diff --git a/accounts/page/general_ledger/__init__.py b/erpnext/accounts/page/general_ledger/__init__.py similarity index 100% rename from accounts/page/general_ledger/__init__.py rename to erpnext/accounts/page/general_ledger/__init__.py diff --git a/accounts/page/general_ledger/general_ledger.css b/erpnext/accounts/page/general_ledger/general_ledger.css similarity index 100% rename from accounts/page/general_ledger/general_ledger.css rename to erpnext/accounts/page/general_ledger/general_ledger.css diff --git a/accounts/page/general_ledger/general_ledger.html b/erpnext/accounts/page/general_ledger/general_ledger.html similarity index 100% rename from accounts/page/general_ledger/general_ledger.html rename to erpnext/accounts/page/general_ledger/general_ledger.html diff --git a/accounts/page/general_ledger/general_ledger.js b/erpnext/accounts/page/general_ledger/general_ledger.js similarity index 100% rename from accounts/page/general_ledger/general_ledger.js rename to erpnext/accounts/page/general_ledger/general_ledger.js diff --git a/accounts/page/general_ledger/general_ledger.txt b/erpnext/accounts/page/general_ledger/general_ledger.txt similarity index 100% rename from accounts/page/general_ledger/general_ledger.txt rename to erpnext/accounts/page/general_ledger/general_ledger.txt diff --git a/accounts/page/trial_balance/README.md b/erpnext/accounts/page/trial_balance/README.md similarity index 100% rename from accounts/page/trial_balance/README.md rename to erpnext/accounts/page/trial_balance/README.md diff --git a/accounts/page/trial_balance/__init__.py b/erpnext/accounts/page/trial_balance/__init__.py similarity index 100% rename from accounts/page/trial_balance/__init__.py rename to erpnext/accounts/page/trial_balance/__init__.py diff --git a/accounts/page/trial_balance/trial_balance.js b/erpnext/accounts/page/trial_balance/trial_balance.js similarity index 100% rename from accounts/page/trial_balance/trial_balance.js rename to erpnext/accounts/page/trial_balance/trial_balance.js diff --git a/accounts/page/trial_balance/trial_balance.txt b/erpnext/accounts/page/trial_balance/trial_balance.txt similarity index 100% rename from accounts/page/trial_balance/trial_balance.txt rename to erpnext/accounts/page/trial_balance/trial_balance.txt diff --git a/accounts/report/__init__.py b/erpnext/accounts/report/__init__.py similarity index 100% rename from accounts/report/__init__.py rename to erpnext/accounts/report/__init__.py diff --git a/accounts/report/accounts_payable/__init__.py b/erpnext/accounts/report/accounts_payable/__init__.py similarity index 100% rename from accounts/report/accounts_payable/__init__.py rename to erpnext/accounts/report/accounts_payable/__init__.py diff --git a/accounts/report/accounts_payable/accounts_payable.js b/erpnext/accounts/report/accounts_payable/accounts_payable.js similarity index 100% rename from accounts/report/accounts_payable/accounts_payable.js rename to erpnext/accounts/report/accounts_payable/accounts_payable.js diff --git a/accounts/report/accounts_payable/accounts_payable.py b/erpnext/accounts/report/accounts_payable/accounts_payable.py similarity index 100% rename from accounts/report/accounts_payable/accounts_payable.py rename to erpnext/accounts/report/accounts_payable/accounts_payable.py diff --git a/accounts/report/accounts_payable/accounts_payable.txt b/erpnext/accounts/report/accounts_payable/accounts_payable.txt similarity index 100% rename from accounts/report/accounts_payable/accounts_payable.txt rename to erpnext/accounts/report/accounts_payable/accounts_payable.txt diff --git a/accounts/report/accounts_receivable/__init__.py b/erpnext/accounts/report/accounts_receivable/__init__.py similarity index 100% rename from accounts/report/accounts_receivable/__init__.py rename to erpnext/accounts/report/accounts_receivable/__init__.py diff --git a/accounts/report/accounts_receivable/accounts_receivable.js b/erpnext/accounts/report/accounts_receivable/accounts_receivable.js similarity index 100% rename from accounts/report/accounts_receivable/accounts_receivable.js rename to erpnext/accounts/report/accounts_receivable/accounts_receivable.js diff --git a/accounts/report/accounts_receivable/accounts_receivable.py b/erpnext/accounts/report/accounts_receivable/accounts_receivable.py similarity index 100% rename from accounts/report/accounts_receivable/accounts_receivable.py rename to erpnext/accounts/report/accounts_receivable/accounts_receivable.py diff --git a/accounts/report/accounts_receivable/accounts_receivable.txt b/erpnext/accounts/report/accounts_receivable/accounts_receivable.txt similarity index 100% rename from accounts/report/accounts_receivable/accounts_receivable.txt rename to erpnext/accounts/report/accounts_receivable/accounts_receivable.txt diff --git a/accounts/report/bank_clearance_summary/__init__.py b/erpnext/accounts/report/bank_clearance_summary/__init__.py similarity index 100% rename from accounts/report/bank_clearance_summary/__init__.py rename to erpnext/accounts/report/bank_clearance_summary/__init__.py diff --git a/accounts/report/bank_clearance_summary/bank_clearance_summary.js b/erpnext/accounts/report/bank_clearance_summary/bank_clearance_summary.js similarity index 100% rename from accounts/report/bank_clearance_summary/bank_clearance_summary.js rename to erpnext/accounts/report/bank_clearance_summary/bank_clearance_summary.js diff --git a/accounts/report/bank_clearance_summary/bank_clearance_summary.py b/erpnext/accounts/report/bank_clearance_summary/bank_clearance_summary.py similarity index 100% rename from accounts/report/bank_clearance_summary/bank_clearance_summary.py rename to erpnext/accounts/report/bank_clearance_summary/bank_clearance_summary.py diff --git a/accounts/report/bank_clearance_summary/bank_clearance_summary.txt b/erpnext/accounts/report/bank_clearance_summary/bank_clearance_summary.txt similarity index 100% rename from accounts/report/bank_clearance_summary/bank_clearance_summary.txt rename to erpnext/accounts/report/bank_clearance_summary/bank_clearance_summary.txt diff --git a/accounts/report/bank_reconciliation_statement/__init__.py b/erpnext/accounts/report/bank_reconciliation_statement/__init__.py similarity index 100% rename from accounts/report/bank_reconciliation_statement/__init__.py rename to erpnext/accounts/report/bank_reconciliation_statement/__init__.py diff --git a/accounts/report/bank_reconciliation_statement/bank_reconciliation_statement.js b/erpnext/accounts/report/bank_reconciliation_statement/bank_reconciliation_statement.js similarity index 100% rename from accounts/report/bank_reconciliation_statement/bank_reconciliation_statement.js rename to erpnext/accounts/report/bank_reconciliation_statement/bank_reconciliation_statement.js diff --git a/accounts/report/bank_reconciliation_statement/bank_reconciliation_statement.py b/erpnext/accounts/report/bank_reconciliation_statement/bank_reconciliation_statement.py similarity index 100% rename from accounts/report/bank_reconciliation_statement/bank_reconciliation_statement.py rename to erpnext/accounts/report/bank_reconciliation_statement/bank_reconciliation_statement.py diff --git a/accounts/report/bank_reconciliation_statement/bank_reconciliation_statement.txt b/erpnext/accounts/report/bank_reconciliation_statement/bank_reconciliation_statement.txt similarity index 100% rename from accounts/report/bank_reconciliation_statement/bank_reconciliation_statement.txt rename to erpnext/accounts/report/bank_reconciliation_statement/bank_reconciliation_statement.txt diff --git a/accounts/report/budget_variance_report/__init__.py b/erpnext/accounts/report/budget_variance_report/__init__.py similarity index 100% rename from accounts/report/budget_variance_report/__init__.py rename to erpnext/accounts/report/budget_variance_report/__init__.py diff --git a/accounts/report/budget_variance_report/budget_variance_report.js b/erpnext/accounts/report/budget_variance_report/budget_variance_report.js similarity index 100% rename from accounts/report/budget_variance_report/budget_variance_report.js rename to erpnext/accounts/report/budget_variance_report/budget_variance_report.js diff --git a/accounts/report/budget_variance_report/budget_variance_report.py b/erpnext/accounts/report/budget_variance_report/budget_variance_report.py similarity index 100% rename from accounts/report/budget_variance_report/budget_variance_report.py rename to erpnext/accounts/report/budget_variance_report/budget_variance_report.py diff --git a/accounts/report/budget_variance_report/budget_variance_report.txt b/erpnext/accounts/report/budget_variance_report/budget_variance_report.txt similarity index 100% rename from accounts/report/budget_variance_report/budget_variance_report.txt rename to erpnext/accounts/report/budget_variance_report/budget_variance_report.txt diff --git a/accounts/report/customer_account_head/__init__.py b/erpnext/accounts/report/customer_account_head/__init__.py similarity index 100% rename from accounts/report/customer_account_head/__init__.py rename to erpnext/accounts/report/customer_account_head/__init__.py diff --git a/accounts/report/customer_account_head/customer_account_head.py b/erpnext/accounts/report/customer_account_head/customer_account_head.py similarity index 100% rename from accounts/report/customer_account_head/customer_account_head.py rename to erpnext/accounts/report/customer_account_head/customer_account_head.py diff --git a/accounts/report/customer_account_head/customer_account_head.txt b/erpnext/accounts/report/customer_account_head/customer_account_head.txt similarity index 100% rename from accounts/report/customer_account_head/customer_account_head.txt rename to erpnext/accounts/report/customer_account_head/customer_account_head.txt diff --git a/accounts/report/delivered_items_to_be_billed/__init__.py b/erpnext/accounts/report/delivered_items_to_be_billed/__init__.py similarity index 100% rename from accounts/report/delivered_items_to_be_billed/__init__.py rename to erpnext/accounts/report/delivered_items_to_be_billed/__init__.py diff --git a/accounts/report/delivered_items_to_be_billed/delivered_items_to_be_billed.txt b/erpnext/accounts/report/delivered_items_to_be_billed/delivered_items_to_be_billed.txt similarity index 100% rename from accounts/report/delivered_items_to_be_billed/delivered_items_to_be_billed.txt rename to erpnext/accounts/report/delivered_items_to_be_billed/delivered_items_to_be_billed.txt diff --git a/accounts/report/gross_profit/__init__.py b/erpnext/accounts/report/gross_profit/__init__.py similarity index 100% rename from accounts/report/gross_profit/__init__.py rename to erpnext/accounts/report/gross_profit/__init__.py diff --git a/accounts/report/gross_profit/gross_profit.js b/erpnext/accounts/report/gross_profit/gross_profit.js similarity index 100% rename from accounts/report/gross_profit/gross_profit.js rename to erpnext/accounts/report/gross_profit/gross_profit.js diff --git a/accounts/report/gross_profit/gross_profit.py b/erpnext/accounts/report/gross_profit/gross_profit.py similarity index 100% rename from accounts/report/gross_profit/gross_profit.py rename to erpnext/accounts/report/gross_profit/gross_profit.py diff --git a/accounts/report/gross_profit/gross_profit.txt b/erpnext/accounts/report/gross_profit/gross_profit.txt similarity index 100% rename from accounts/report/gross_profit/gross_profit.txt rename to erpnext/accounts/report/gross_profit/gross_profit.txt diff --git a/accounts/report/item_wise_purchase_register/__init__.py b/erpnext/accounts/report/item_wise_purchase_register/__init__.py similarity index 100% rename from accounts/report/item_wise_purchase_register/__init__.py rename to erpnext/accounts/report/item_wise_purchase_register/__init__.py diff --git a/accounts/report/item_wise_purchase_register/item_wise_purchase_register.js b/erpnext/accounts/report/item_wise_purchase_register/item_wise_purchase_register.js similarity index 100% rename from accounts/report/item_wise_purchase_register/item_wise_purchase_register.js rename to erpnext/accounts/report/item_wise_purchase_register/item_wise_purchase_register.js diff --git a/accounts/report/item_wise_purchase_register/item_wise_purchase_register.py b/erpnext/accounts/report/item_wise_purchase_register/item_wise_purchase_register.py similarity index 100% rename from accounts/report/item_wise_purchase_register/item_wise_purchase_register.py rename to erpnext/accounts/report/item_wise_purchase_register/item_wise_purchase_register.py diff --git a/accounts/report/item_wise_purchase_register/item_wise_purchase_register.txt b/erpnext/accounts/report/item_wise_purchase_register/item_wise_purchase_register.txt similarity index 100% rename from accounts/report/item_wise_purchase_register/item_wise_purchase_register.txt rename to erpnext/accounts/report/item_wise_purchase_register/item_wise_purchase_register.txt diff --git a/accounts/report/item_wise_sales_register/__init__.py b/erpnext/accounts/report/item_wise_sales_register/__init__.py similarity index 100% rename from accounts/report/item_wise_sales_register/__init__.py rename to erpnext/accounts/report/item_wise_sales_register/__init__.py diff --git a/accounts/report/item_wise_sales_register/item_wise_sales_register.js b/erpnext/accounts/report/item_wise_sales_register/item_wise_sales_register.js similarity index 100% rename from accounts/report/item_wise_sales_register/item_wise_sales_register.js rename to erpnext/accounts/report/item_wise_sales_register/item_wise_sales_register.js diff --git a/accounts/report/item_wise_sales_register/item_wise_sales_register.py b/erpnext/accounts/report/item_wise_sales_register/item_wise_sales_register.py similarity index 100% rename from accounts/report/item_wise_sales_register/item_wise_sales_register.py rename to erpnext/accounts/report/item_wise_sales_register/item_wise_sales_register.py diff --git a/accounts/report/item_wise_sales_register/item_wise_sales_register.txt b/erpnext/accounts/report/item_wise_sales_register/item_wise_sales_register.txt similarity index 100% rename from accounts/report/item_wise_sales_register/item_wise_sales_register.txt rename to erpnext/accounts/report/item_wise_sales_register/item_wise_sales_register.txt diff --git a/accounts/report/ordered_items_to_be_billed/__init__.py b/erpnext/accounts/report/ordered_items_to_be_billed/__init__.py similarity index 100% rename from accounts/report/ordered_items_to_be_billed/__init__.py rename to erpnext/accounts/report/ordered_items_to_be_billed/__init__.py diff --git a/accounts/report/ordered_items_to_be_billed/ordered_items_to_be_billed.txt b/erpnext/accounts/report/ordered_items_to_be_billed/ordered_items_to_be_billed.txt similarity index 100% rename from accounts/report/ordered_items_to_be_billed/ordered_items_to_be_billed.txt rename to erpnext/accounts/report/ordered_items_to_be_billed/ordered_items_to_be_billed.txt diff --git a/accounts/report/payment_period_based_on_invoice_date/__init__.py b/erpnext/accounts/report/payment_period_based_on_invoice_date/__init__.py similarity index 100% rename from accounts/report/payment_period_based_on_invoice_date/__init__.py rename to erpnext/accounts/report/payment_period_based_on_invoice_date/__init__.py diff --git a/accounts/report/payment_period_based_on_invoice_date/payment_period_based_on_invoice_date.js b/erpnext/accounts/report/payment_period_based_on_invoice_date/payment_period_based_on_invoice_date.js similarity index 100% rename from accounts/report/payment_period_based_on_invoice_date/payment_period_based_on_invoice_date.js rename to erpnext/accounts/report/payment_period_based_on_invoice_date/payment_period_based_on_invoice_date.js diff --git a/accounts/report/payment_period_based_on_invoice_date/payment_period_based_on_invoice_date.py b/erpnext/accounts/report/payment_period_based_on_invoice_date/payment_period_based_on_invoice_date.py similarity index 100% rename from accounts/report/payment_period_based_on_invoice_date/payment_period_based_on_invoice_date.py rename to erpnext/accounts/report/payment_period_based_on_invoice_date/payment_period_based_on_invoice_date.py diff --git a/accounts/report/payment_period_based_on_invoice_date/payment_period_based_on_invoice_date.txt b/erpnext/accounts/report/payment_period_based_on_invoice_date/payment_period_based_on_invoice_date.txt similarity index 100% rename from accounts/report/payment_period_based_on_invoice_date/payment_period_based_on_invoice_date.txt rename to erpnext/accounts/report/payment_period_based_on_invoice_date/payment_period_based_on_invoice_date.txt diff --git a/accounts/report/purchase_invoice_trends/__init__.py b/erpnext/accounts/report/purchase_invoice_trends/__init__.py similarity index 100% rename from accounts/report/purchase_invoice_trends/__init__.py rename to erpnext/accounts/report/purchase_invoice_trends/__init__.py diff --git a/accounts/report/purchase_invoice_trends/purchase_invoice_trends.js b/erpnext/accounts/report/purchase_invoice_trends/purchase_invoice_trends.js similarity index 100% rename from accounts/report/purchase_invoice_trends/purchase_invoice_trends.js rename to erpnext/accounts/report/purchase_invoice_trends/purchase_invoice_trends.js diff --git a/accounts/report/purchase_invoice_trends/purchase_invoice_trends.py b/erpnext/accounts/report/purchase_invoice_trends/purchase_invoice_trends.py similarity index 100% rename from accounts/report/purchase_invoice_trends/purchase_invoice_trends.py rename to erpnext/accounts/report/purchase_invoice_trends/purchase_invoice_trends.py diff --git a/accounts/report/purchase_invoice_trends/purchase_invoice_trends.txt b/erpnext/accounts/report/purchase_invoice_trends/purchase_invoice_trends.txt similarity index 100% rename from accounts/report/purchase_invoice_trends/purchase_invoice_trends.txt rename to erpnext/accounts/report/purchase_invoice_trends/purchase_invoice_trends.txt diff --git a/accounts/report/purchase_order_items_to_be_billed/__init__.py b/erpnext/accounts/report/purchase_order_items_to_be_billed/__init__.py similarity index 100% rename from accounts/report/purchase_order_items_to_be_billed/__init__.py rename to erpnext/accounts/report/purchase_order_items_to_be_billed/__init__.py diff --git a/accounts/report/purchase_order_items_to_be_billed/purchase_order_items_to_be_billed.txt b/erpnext/accounts/report/purchase_order_items_to_be_billed/purchase_order_items_to_be_billed.txt similarity index 100% rename from accounts/report/purchase_order_items_to_be_billed/purchase_order_items_to_be_billed.txt rename to erpnext/accounts/report/purchase_order_items_to_be_billed/purchase_order_items_to_be_billed.txt diff --git a/accounts/report/purchase_register/__init__.py b/erpnext/accounts/report/purchase_register/__init__.py similarity index 100% rename from accounts/report/purchase_register/__init__.py rename to erpnext/accounts/report/purchase_register/__init__.py diff --git a/accounts/report/purchase_register/purchase_register.js b/erpnext/accounts/report/purchase_register/purchase_register.js similarity index 100% rename from accounts/report/purchase_register/purchase_register.js rename to erpnext/accounts/report/purchase_register/purchase_register.js diff --git a/accounts/report/purchase_register/purchase_register.py b/erpnext/accounts/report/purchase_register/purchase_register.py similarity index 100% rename from accounts/report/purchase_register/purchase_register.py rename to erpnext/accounts/report/purchase_register/purchase_register.py diff --git a/accounts/report/purchase_register/purchase_register.txt b/erpnext/accounts/report/purchase_register/purchase_register.txt similarity index 100% rename from accounts/report/purchase_register/purchase_register.txt rename to erpnext/accounts/report/purchase_register/purchase_register.txt diff --git a/accounts/report/received_items_to_be_billed/__init__.py b/erpnext/accounts/report/received_items_to_be_billed/__init__.py similarity index 100% rename from accounts/report/received_items_to_be_billed/__init__.py rename to erpnext/accounts/report/received_items_to_be_billed/__init__.py diff --git a/accounts/report/received_items_to_be_billed/received_items_to_be_billed.txt b/erpnext/accounts/report/received_items_to_be_billed/received_items_to_be_billed.txt similarity index 100% rename from accounts/report/received_items_to_be_billed/received_items_to_be_billed.txt rename to erpnext/accounts/report/received_items_to_be_billed/received_items_to_be_billed.txt diff --git a/accounts/report/sales_invoice_trends/__init__.py b/erpnext/accounts/report/sales_invoice_trends/__init__.py similarity index 100% rename from accounts/report/sales_invoice_trends/__init__.py rename to erpnext/accounts/report/sales_invoice_trends/__init__.py diff --git a/accounts/report/sales_invoice_trends/sales_invoice_trends.js b/erpnext/accounts/report/sales_invoice_trends/sales_invoice_trends.js similarity index 100% rename from accounts/report/sales_invoice_trends/sales_invoice_trends.js rename to erpnext/accounts/report/sales_invoice_trends/sales_invoice_trends.js diff --git a/accounts/report/sales_invoice_trends/sales_invoice_trends.py b/erpnext/accounts/report/sales_invoice_trends/sales_invoice_trends.py similarity index 100% rename from accounts/report/sales_invoice_trends/sales_invoice_trends.py rename to erpnext/accounts/report/sales_invoice_trends/sales_invoice_trends.py diff --git a/accounts/report/sales_invoice_trends/sales_invoice_trends.txt b/erpnext/accounts/report/sales_invoice_trends/sales_invoice_trends.txt similarity index 100% rename from accounts/report/sales_invoice_trends/sales_invoice_trends.txt rename to erpnext/accounts/report/sales_invoice_trends/sales_invoice_trends.txt diff --git a/accounts/report/sales_partners_commission/__init__.py b/erpnext/accounts/report/sales_partners_commission/__init__.py similarity index 100% rename from accounts/report/sales_partners_commission/__init__.py rename to erpnext/accounts/report/sales_partners_commission/__init__.py diff --git a/accounts/report/sales_partners_commission/sales_partners_commission.txt b/erpnext/accounts/report/sales_partners_commission/sales_partners_commission.txt similarity index 100% rename from accounts/report/sales_partners_commission/sales_partners_commission.txt rename to erpnext/accounts/report/sales_partners_commission/sales_partners_commission.txt diff --git a/accounts/report/sales_register/__init__.py b/erpnext/accounts/report/sales_register/__init__.py similarity index 100% rename from accounts/report/sales_register/__init__.py rename to erpnext/accounts/report/sales_register/__init__.py diff --git a/accounts/report/sales_register/sales_register.js b/erpnext/accounts/report/sales_register/sales_register.js similarity index 100% rename from accounts/report/sales_register/sales_register.js rename to erpnext/accounts/report/sales_register/sales_register.js diff --git a/accounts/report/sales_register/sales_register.py b/erpnext/accounts/report/sales_register/sales_register.py similarity index 100% rename from accounts/report/sales_register/sales_register.py rename to erpnext/accounts/report/sales_register/sales_register.py diff --git a/accounts/report/sales_register/sales_register.txt b/erpnext/accounts/report/sales_register/sales_register.txt similarity index 100% rename from accounts/report/sales_register/sales_register.txt rename to erpnext/accounts/report/sales_register/sales_register.txt diff --git a/accounts/report/supplier_account_head/__init__.py b/erpnext/accounts/report/supplier_account_head/__init__.py similarity index 100% rename from accounts/report/supplier_account_head/__init__.py rename to erpnext/accounts/report/supplier_account_head/__init__.py diff --git a/accounts/report/supplier_account_head/supplier_account_head.py b/erpnext/accounts/report/supplier_account_head/supplier_account_head.py similarity index 100% rename from accounts/report/supplier_account_head/supplier_account_head.py rename to erpnext/accounts/report/supplier_account_head/supplier_account_head.py diff --git a/accounts/report/supplier_account_head/supplier_account_head.txt b/erpnext/accounts/report/supplier_account_head/supplier_account_head.txt similarity index 100% rename from accounts/report/supplier_account_head/supplier_account_head.txt rename to erpnext/accounts/report/supplier_account_head/supplier_account_head.txt diff --git a/accounts/utils.py b/erpnext/accounts/utils.py similarity index 100% rename from accounts/utils.py rename to erpnext/accounts/utils.py diff --git a/buying/Print Format/Purchase Order Classic/Purchase Order Classic.txt b/erpnext/buying/Print Format/Purchase Order Classic/Purchase Order Classic.txt similarity index 100% rename from buying/Print Format/Purchase Order Classic/Purchase Order Classic.txt rename to erpnext/buying/Print Format/Purchase Order Classic/Purchase Order Classic.txt diff --git a/buying/Print Format/Purchase Order Modern/Purchase Order Modern.txt b/erpnext/buying/Print Format/Purchase Order Modern/Purchase Order Modern.txt similarity index 100% rename from buying/Print Format/Purchase Order Modern/Purchase Order Modern.txt rename to erpnext/buying/Print Format/Purchase Order Modern/Purchase Order Modern.txt diff --git a/buying/Print Format/Purchase Order Spartan/Purchase Order Spartan.txt b/erpnext/buying/Print Format/Purchase Order Spartan/Purchase Order Spartan.txt similarity index 100% rename from buying/Print Format/Purchase Order Spartan/Purchase Order Spartan.txt rename to erpnext/buying/Print Format/Purchase Order Spartan/Purchase Order Spartan.txt diff --git a/buying/README.md b/erpnext/buying/README.md similarity index 100% rename from buying/README.md rename to erpnext/buying/README.md diff --git a/buying/__init__.py b/erpnext/buying/__init__.py similarity index 100% rename from buying/__init__.py rename to erpnext/buying/__init__.py diff --git a/buying/doctype/__init__.py b/erpnext/buying/doctype/__init__.py similarity index 100% rename from buying/doctype/__init__.py rename to erpnext/buying/doctype/__init__.py diff --git a/buying/doctype/buying_settings/__init__.py b/erpnext/buying/doctype/buying_settings/__init__.py similarity index 100% rename from buying/doctype/buying_settings/__init__.py rename to erpnext/buying/doctype/buying_settings/__init__.py diff --git a/buying/doctype/buying_settings/buying_settings.py b/erpnext/buying/doctype/buying_settings/buying_settings.py similarity index 100% rename from buying/doctype/buying_settings/buying_settings.py rename to erpnext/buying/doctype/buying_settings/buying_settings.py diff --git a/buying/doctype/buying_settings/buying_settings.txt b/erpnext/buying/doctype/buying_settings/buying_settings.txt similarity index 100% rename from buying/doctype/buying_settings/buying_settings.txt rename to erpnext/buying/doctype/buying_settings/buying_settings.txt diff --git a/buying/doctype/purchase_common/README.md b/erpnext/buying/doctype/purchase_common/README.md similarity index 100% rename from buying/doctype/purchase_common/README.md rename to erpnext/buying/doctype/purchase_common/README.md diff --git a/buying/doctype/purchase_common/__init__.py b/erpnext/buying/doctype/purchase_common/__init__.py similarity index 100% rename from buying/doctype/purchase_common/__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_order/README.md b/erpnext/buying/doctype/purchase_order/README.md similarity index 100% rename from buying/doctype/purchase_order/README.md rename to erpnext/buying/doctype/purchase_order/README.md diff --git a/buying/doctype/purchase_order/__init__.py b/erpnext/buying/doctype/purchase_order/__init__.py similarity index 100% rename from buying/doctype/purchase_order/__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/purchase_order/test_purchase_order.py b/erpnext/buying/doctype/purchase_order/test_purchase_order.py similarity index 100% rename from buying/doctype/purchase_order/test_purchase_order.py rename to erpnext/buying/doctype/purchase_order/test_purchase_order.py diff --git a/buying/doctype/purchase_order_item/README.md b/erpnext/buying/doctype/purchase_order_item/README.md similarity index 100% rename from buying/doctype/purchase_order_item/README.md rename to erpnext/buying/doctype/purchase_order_item/README.md diff --git a/buying/doctype/purchase_order_item/__init__.py b/erpnext/buying/doctype/purchase_order_item/__init__.py similarity index 100% rename from buying/doctype/purchase_order_item/__init__.py rename to erpnext/buying/doctype/purchase_order_item/__init__.py diff --git a/buying/doctype/purchase_order_item/purchase_order_item.py b/erpnext/buying/doctype/purchase_order_item/purchase_order_item.py similarity index 100% rename from buying/doctype/purchase_order_item/purchase_order_item.py rename to erpnext/buying/doctype/purchase_order_item/purchase_order_item.py diff --git a/buying/doctype/purchase_order_item/purchase_order_item.txt b/erpnext/buying/doctype/purchase_order_item/purchase_order_item.txt similarity index 100% rename from buying/doctype/purchase_order_item/purchase_order_item.txt rename to erpnext/buying/doctype/purchase_order_item/purchase_order_item.txt diff --git a/buying/doctype/purchase_order_item_supplied/README.md b/erpnext/buying/doctype/purchase_order_item_supplied/README.md similarity index 100% rename from buying/doctype/purchase_order_item_supplied/README.md rename to erpnext/buying/doctype/purchase_order_item_supplied/README.md diff --git a/buying/doctype/purchase_order_item_supplied/__init__.py b/erpnext/buying/doctype/purchase_order_item_supplied/__init__.py similarity index 100% rename from buying/doctype/purchase_order_item_supplied/__init__.py rename to erpnext/buying/doctype/purchase_order_item_supplied/__init__.py diff --git a/buying/doctype/purchase_order_item_supplied/purchase_order_item_supplied.py b/erpnext/buying/doctype/purchase_order_item_supplied/purchase_order_item_supplied.py similarity index 100% rename from buying/doctype/purchase_order_item_supplied/purchase_order_item_supplied.py rename to erpnext/buying/doctype/purchase_order_item_supplied/purchase_order_item_supplied.py diff --git a/buying/doctype/purchase_order_item_supplied/purchase_order_item_supplied.txt b/erpnext/buying/doctype/purchase_order_item_supplied/purchase_order_item_supplied.txt similarity index 100% rename from buying/doctype/purchase_order_item_supplied/purchase_order_item_supplied.txt rename to erpnext/buying/doctype/purchase_order_item_supplied/purchase_order_item_supplied.txt diff --git a/buying/doctype/purchase_receipt_item_supplied/README.md b/erpnext/buying/doctype/purchase_receipt_item_supplied/README.md similarity index 100% rename from buying/doctype/purchase_receipt_item_supplied/README.md rename to erpnext/buying/doctype/purchase_receipt_item_supplied/README.md diff --git a/buying/doctype/purchase_receipt_item_supplied/__init__.py b/erpnext/buying/doctype/purchase_receipt_item_supplied/__init__.py similarity index 100% rename from buying/doctype/purchase_receipt_item_supplied/__init__.py rename to erpnext/buying/doctype/purchase_receipt_item_supplied/__init__.py diff --git a/buying/doctype/purchase_receipt_item_supplied/purchase_receipt_item_supplied.py b/erpnext/buying/doctype/purchase_receipt_item_supplied/purchase_receipt_item_supplied.py similarity index 100% rename from buying/doctype/purchase_receipt_item_supplied/purchase_receipt_item_supplied.py rename to erpnext/buying/doctype/purchase_receipt_item_supplied/purchase_receipt_item_supplied.py diff --git a/buying/doctype/purchase_receipt_item_supplied/purchase_receipt_item_supplied.txt b/erpnext/buying/doctype/purchase_receipt_item_supplied/purchase_receipt_item_supplied.txt similarity index 100% rename from buying/doctype/purchase_receipt_item_supplied/purchase_receipt_item_supplied.txt rename to erpnext/buying/doctype/purchase_receipt_item_supplied/purchase_receipt_item_supplied.txt diff --git a/buying/doctype/quality_inspection/README.md b/erpnext/buying/doctype/quality_inspection/README.md similarity index 100% rename from buying/doctype/quality_inspection/README.md rename to erpnext/buying/doctype/quality_inspection/README.md diff --git a/buying/doctype/quality_inspection/__init__.py b/erpnext/buying/doctype/quality_inspection/__init__.py similarity index 100% rename from buying/doctype/quality_inspection/__init__.py rename to erpnext/buying/doctype/quality_inspection/__init__.py diff --git a/buying/doctype/quality_inspection/quality_inspection.js b/erpnext/buying/doctype/quality_inspection/quality_inspection.js similarity index 100% rename from buying/doctype/quality_inspection/quality_inspection.js rename to erpnext/buying/doctype/quality_inspection/quality_inspection.js diff --git a/buying/doctype/quality_inspection/quality_inspection.py b/erpnext/buying/doctype/quality_inspection/quality_inspection.py similarity index 100% rename from buying/doctype/quality_inspection/quality_inspection.py rename to erpnext/buying/doctype/quality_inspection/quality_inspection.py diff --git a/buying/doctype/quality_inspection/quality_inspection.txt b/erpnext/buying/doctype/quality_inspection/quality_inspection.txt similarity index 100% rename from buying/doctype/quality_inspection/quality_inspection.txt rename to erpnext/buying/doctype/quality_inspection/quality_inspection.txt diff --git a/buying/doctype/quality_inspection_reading/README.md b/erpnext/buying/doctype/quality_inspection_reading/README.md similarity index 100% rename from buying/doctype/quality_inspection_reading/README.md rename to erpnext/buying/doctype/quality_inspection_reading/README.md diff --git a/buying/doctype/quality_inspection_reading/__init__.py b/erpnext/buying/doctype/quality_inspection_reading/__init__.py similarity index 100% rename from buying/doctype/quality_inspection_reading/__init__.py rename to erpnext/buying/doctype/quality_inspection_reading/__init__.py diff --git a/buying/doctype/quality_inspection_reading/quality_inspection_reading.py b/erpnext/buying/doctype/quality_inspection_reading/quality_inspection_reading.py similarity index 100% rename from buying/doctype/quality_inspection_reading/quality_inspection_reading.py rename to erpnext/buying/doctype/quality_inspection_reading/quality_inspection_reading.py diff --git a/buying/doctype/quality_inspection_reading/quality_inspection_reading.txt b/erpnext/buying/doctype/quality_inspection_reading/quality_inspection_reading.txt similarity index 100% rename from buying/doctype/quality_inspection_reading/quality_inspection_reading.txt rename to erpnext/buying/doctype/quality_inspection_reading/quality_inspection_reading.txt diff --git a/buying/doctype/supplier/README.md b/erpnext/buying/doctype/supplier/README.md similarity index 100% rename from buying/doctype/supplier/README.md rename to erpnext/buying/doctype/supplier/README.md diff --git a/buying/doctype/supplier/__init__.py b/erpnext/buying/doctype/supplier/__init__.py similarity index 100% rename from buying/doctype/supplier/__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/doctype/supplier/test_supplier.py b/erpnext/buying/doctype/supplier/test_supplier.py similarity index 100% rename from buying/doctype/supplier/test_supplier.py rename to erpnext/buying/doctype/supplier/test_supplier.py diff --git a/buying/doctype/supplier_quotation/README.md b/erpnext/buying/doctype/supplier_quotation/README.md similarity index 100% rename from buying/doctype/supplier_quotation/README.md rename to erpnext/buying/doctype/supplier_quotation/README.md diff --git a/buying/doctype/supplier_quotation/__init__.py b/erpnext/buying/doctype/supplier_quotation/__init__.py similarity index 100% rename from buying/doctype/supplier_quotation/__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/doctype/supplier_quotation/test_supplier_quotation.py b/erpnext/buying/doctype/supplier_quotation/test_supplier_quotation.py similarity index 100% rename from buying/doctype/supplier_quotation/test_supplier_quotation.py rename to erpnext/buying/doctype/supplier_quotation/test_supplier_quotation.py diff --git a/buying/doctype/supplier_quotation_item/README.md b/erpnext/buying/doctype/supplier_quotation_item/README.md similarity index 100% rename from buying/doctype/supplier_quotation_item/README.md rename to erpnext/buying/doctype/supplier_quotation_item/README.md diff --git a/buying/doctype/supplier_quotation_item/__init__.py b/erpnext/buying/doctype/supplier_quotation_item/__init__.py similarity index 100% rename from buying/doctype/supplier_quotation_item/__init__.py rename to erpnext/buying/doctype/supplier_quotation_item/__init__.py diff --git a/buying/doctype/supplier_quotation_item/supplier_quotation_item.py b/erpnext/buying/doctype/supplier_quotation_item/supplier_quotation_item.py similarity index 100% rename from buying/doctype/supplier_quotation_item/supplier_quotation_item.py rename to erpnext/buying/doctype/supplier_quotation_item/supplier_quotation_item.py diff --git a/buying/doctype/supplier_quotation_item/supplier_quotation_item.txt b/erpnext/buying/doctype/supplier_quotation_item/supplier_quotation_item.txt similarity index 100% rename from buying/doctype/supplier_quotation_item/supplier_quotation_item.txt rename to erpnext/buying/doctype/supplier_quotation_item/supplier_quotation_item.txt diff --git a/buying/page/__init__.py b/erpnext/buying/page/__init__.py similarity index 100% rename from buying/page/__init__.py rename to erpnext/buying/page/__init__.py diff --git a/buying/page/buying_home/__init__.py b/erpnext/buying/page/buying_home/__init__.py similarity index 100% rename from buying/page/buying_home/__init__.py rename to erpnext/buying/page/buying_home/__init__.py diff --git a/buying/page/buying_home/buying_home.js b/erpnext/buying/page/buying_home/buying_home.js similarity index 100% rename from buying/page/buying_home/buying_home.js rename to erpnext/buying/page/buying_home/buying_home.js diff --git a/buying/page/buying_home/buying_home.txt b/erpnext/buying/page/buying_home/buying_home.txt similarity index 100% rename from buying/page/buying_home/buying_home.txt rename to erpnext/buying/page/buying_home/buying_home.txt diff --git a/buying/page/purchase_analytics/README.md b/erpnext/buying/page/purchase_analytics/README.md similarity index 100% rename from buying/page/purchase_analytics/README.md rename to erpnext/buying/page/purchase_analytics/README.md diff --git a/buying/page/purchase_analytics/__init__.py b/erpnext/buying/page/purchase_analytics/__init__.py similarity index 100% rename from buying/page/purchase_analytics/__init__.py rename to erpnext/buying/page/purchase_analytics/__init__.py diff --git a/buying/page/purchase_analytics/purchase_analytics.js b/erpnext/buying/page/purchase_analytics/purchase_analytics.js similarity index 100% rename from buying/page/purchase_analytics/purchase_analytics.js rename to erpnext/buying/page/purchase_analytics/purchase_analytics.js diff --git a/buying/page/purchase_analytics/purchase_analytics.txt b/erpnext/buying/page/purchase_analytics/purchase_analytics.txt similarity index 100% rename from buying/page/purchase_analytics/purchase_analytics.txt rename to erpnext/buying/page/purchase_analytics/purchase_analytics.txt diff --git a/buying/report/__init__.py b/erpnext/buying/report/__init__.py similarity index 100% rename from buying/report/__init__.py rename to erpnext/buying/report/__init__.py diff --git a/buying/report/item_wise_purchase_history/__init__.py b/erpnext/buying/report/item_wise_purchase_history/__init__.py similarity index 100% rename from buying/report/item_wise_purchase_history/__init__.py rename to erpnext/buying/report/item_wise_purchase_history/__init__.py diff --git a/buying/report/item_wise_purchase_history/item_wise_purchase_history.txt b/erpnext/buying/report/item_wise_purchase_history/item_wise_purchase_history.txt similarity index 100% rename from buying/report/item_wise_purchase_history/item_wise_purchase_history.txt rename to erpnext/buying/report/item_wise_purchase_history/item_wise_purchase_history.txt diff --git a/buying/report/purchase_order_trends/__init__.py b/erpnext/buying/report/purchase_order_trends/__init__.py similarity index 100% rename from buying/report/purchase_order_trends/__init__.py rename to erpnext/buying/report/purchase_order_trends/__init__.py diff --git a/buying/report/purchase_order_trends/purchase_order_trends.js b/erpnext/buying/report/purchase_order_trends/purchase_order_trends.js similarity index 100% rename from buying/report/purchase_order_trends/purchase_order_trends.js rename to erpnext/buying/report/purchase_order_trends/purchase_order_trends.js diff --git a/buying/report/purchase_order_trends/purchase_order_trends.py b/erpnext/buying/report/purchase_order_trends/purchase_order_trends.py similarity index 100% rename from buying/report/purchase_order_trends/purchase_order_trends.py rename to erpnext/buying/report/purchase_order_trends/purchase_order_trends.py diff --git a/buying/report/purchase_order_trends/purchase_order_trends.txt b/erpnext/buying/report/purchase_order_trends/purchase_order_trends.txt similarity index 100% rename from buying/report/purchase_order_trends/purchase_order_trends.txt rename to erpnext/buying/report/purchase_order_trends/purchase_order_trends.txt diff --git a/buying/report/requested_items_to_be_ordered/__init__.py b/erpnext/buying/report/requested_items_to_be_ordered/__init__.py similarity index 100% rename from buying/report/requested_items_to_be_ordered/__init__.py rename to erpnext/buying/report/requested_items_to_be_ordered/__init__.py diff --git a/buying/report/requested_items_to_be_ordered/requested_items_to_be_ordered.txt b/erpnext/buying/report/requested_items_to_be_ordered/requested_items_to_be_ordered.txt similarity index 100% rename from buying/report/requested_items_to_be_ordered/requested_items_to_be_ordered.txt rename to erpnext/buying/report/requested_items_to_be_ordered/requested_items_to_be_ordered.txt diff --git a/buying/report/supplier_addresses_and_contacts/__init__.py b/erpnext/buying/report/supplier_addresses_and_contacts/__init__.py similarity index 100% rename from buying/report/supplier_addresses_and_contacts/__init__.py rename to erpnext/buying/report/supplier_addresses_and_contacts/__init__.py diff --git a/buying/report/supplier_addresses_and_contacts/supplier_addresses_and_contacts.txt b/erpnext/buying/report/supplier_addresses_and_contacts/supplier_addresses_and_contacts.txt similarity index 100% rename from buying/report/supplier_addresses_and_contacts/supplier_addresses_and_contacts.txt rename to erpnext/buying/report/supplier_addresses_and_contacts/supplier_addresses_and_contacts.txt diff --git a/buying/utils.py b/erpnext/buying/utils.py similarity index 100% rename from buying/utils.py rename to erpnext/buying/utils.py diff --git a/controllers/__init__.py b/erpnext/controllers/__init__.py similarity index 100% rename from controllers/__init__.py rename to erpnext/controllers/__init__.py diff --git a/controllers/accounts_controller.py b/erpnext/controllers/accounts_controller.py similarity index 100% rename from controllers/accounts_controller.py rename to erpnext/controllers/accounts_controller.py diff --git a/controllers/buying_controller.py b/erpnext/controllers/buying_controller.py similarity index 100% rename from controllers/buying_controller.py rename to erpnext/controllers/buying_controller.py diff --git a/controllers/js/contact_address_common.js b/erpnext/controllers/js/contact_address_common.js similarity index 100% rename from controllers/js/contact_address_common.js rename to erpnext/controllers/js/contact_address_common.js diff --git a/controllers/queries.py b/erpnext/controllers/queries.py similarity index 100% rename from controllers/queries.py rename to erpnext/controllers/queries.py diff --git a/controllers/selling_controller.py b/erpnext/controllers/selling_controller.py similarity index 100% rename from controllers/selling_controller.py rename to erpnext/controllers/selling_controller.py diff --git a/controllers/status_updater.py b/erpnext/controllers/status_updater.py similarity index 100% rename from controllers/status_updater.py rename to erpnext/controllers/status_updater.py diff --git a/controllers/stock_controller.py b/erpnext/controllers/stock_controller.py similarity index 100% rename from controllers/stock_controller.py rename to erpnext/controllers/stock_controller.py diff --git a/controllers/trends.py b/erpnext/controllers/trends.py similarity index 100% rename from controllers/trends.py rename to erpnext/controllers/trends.py 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/__init__.py b/erpnext/home/doctype/__init__.py similarity index 100% rename from home/doctype/__init__.py rename to erpnext/home/doctype/__init__.py diff --git a/home/doctype/feed/README.md b/erpnext/home/doctype/feed/README.md similarity index 100% rename from home/doctype/feed/README.md rename to erpnext/home/doctype/feed/README.md diff --git a/home/doctype/feed/__init__.py b/erpnext/home/doctype/feed/__init__.py similarity index 100% rename from home/doctype/feed/__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/page/__init__.py b/erpnext/home/page/__init__.py similarity index 100% rename from home/page/__init__.py rename to erpnext/home/page/__init__.py diff --git a/home/page/activity/README.md b/erpnext/home/page/activity/README.md similarity index 100% rename from home/page/activity/README.md rename to erpnext/home/page/activity/README.md diff --git a/home/page/activity/__init__.py b/erpnext/home/page/activity/__init__.py similarity index 100% rename from home/page/activity/__init__.py rename to erpnext/home/page/activity/__init__.py diff --git a/home/page/activity/activity.css b/erpnext/home/page/activity/activity.css similarity index 100% rename from home/page/activity/activity.css rename to erpnext/home/page/activity/activity.css diff --git a/home/page/activity/activity.js b/erpnext/home/page/activity/activity.js similarity index 100% rename from home/page/activity/activity.js rename to erpnext/home/page/activity/activity.js diff --git a/home/page/activity/activity.py b/erpnext/home/page/activity/activity.py similarity index 100% rename from home/page/activity/activity.py rename to erpnext/home/page/activity/activity.py diff --git a/home/page/activity/activity.txt b/erpnext/home/page/activity/activity.txt similarity index 100% rename from home/page/activity/activity.txt rename to erpnext/home/page/activity/activity.txt diff --git a/home/page/latest_updates/README.md b/erpnext/home/page/latest_updates/README.md similarity index 100% rename from home/page/latest_updates/README.md rename to erpnext/home/page/latest_updates/README.md diff --git a/home/page/latest_updates/__init__.py b/erpnext/home/page/latest_updates/__init__.py similarity index 100% rename from home/page/latest_updates/__init__.py rename to erpnext/home/page/latest_updates/__init__.py diff --git a/home/page/latest_updates/latest_updates.js b/erpnext/home/page/latest_updates/latest_updates.js similarity index 100% rename from home/page/latest_updates/latest_updates.js rename to erpnext/home/page/latest_updates/latest_updates.js diff --git a/home/page/latest_updates/latest_updates.py b/erpnext/home/page/latest_updates/latest_updates.py similarity index 100% rename from home/page/latest_updates/latest_updates.py rename to erpnext/home/page/latest_updates/latest_updates.py diff --git a/home/page/latest_updates/latest_updates.txt b/erpnext/home/page/latest_updates/latest_updates.txt similarity index 100% rename from home/page/latest_updates/latest_updates.txt rename to erpnext/home/page/latest_updates/latest_updates.txt diff --git a/hr/README.md b/erpnext/hr/README.md similarity index 100% rename from hr/README.md rename to erpnext/hr/README.md diff --git a/hr/__init__.py b/erpnext/hr/__init__.py similarity index 100% rename from hr/__init__.py rename to erpnext/hr/__init__.py diff --git a/hr/doctype/__init__.py b/erpnext/hr/doctype/__init__.py similarity index 100% rename from hr/doctype/__init__.py rename to erpnext/hr/doctype/__init__.py diff --git a/hr/doctype/appraisal/README.md b/erpnext/hr/doctype/appraisal/README.md similarity index 100% rename from hr/doctype/appraisal/README.md rename to erpnext/hr/doctype/appraisal/README.md diff --git a/hr/doctype/appraisal/__init__.py b/erpnext/hr/doctype/appraisal/__init__.py similarity index 100% rename from hr/doctype/appraisal/__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/appraisal_goal/README.md b/erpnext/hr/doctype/appraisal_goal/README.md similarity index 100% rename from hr/doctype/appraisal_goal/README.md rename to erpnext/hr/doctype/appraisal_goal/README.md diff --git a/hr/doctype/appraisal_goal/__init__.py b/erpnext/hr/doctype/appraisal_goal/__init__.py similarity index 100% rename from hr/doctype/appraisal_goal/__init__.py rename to erpnext/hr/doctype/appraisal_goal/__init__.py diff --git a/hr/doctype/appraisal_goal/appraisal_goal.py b/erpnext/hr/doctype/appraisal_goal/appraisal_goal.py similarity index 100% rename from hr/doctype/appraisal_goal/appraisal_goal.py rename to erpnext/hr/doctype/appraisal_goal/appraisal_goal.py diff --git a/hr/doctype/appraisal_goal/appraisal_goal.txt b/erpnext/hr/doctype/appraisal_goal/appraisal_goal.txt similarity index 100% rename from hr/doctype/appraisal_goal/appraisal_goal.txt rename to erpnext/hr/doctype/appraisal_goal/appraisal_goal.txt diff --git a/hr/doctype/appraisal_template/README.md b/erpnext/hr/doctype/appraisal_template/README.md similarity index 100% rename from hr/doctype/appraisal_template/README.md rename to erpnext/hr/doctype/appraisal_template/README.md diff --git a/hr/doctype/appraisal_template/__init__.py b/erpnext/hr/doctype/appraisal_template/__init__.py similarity index 100% rename from hr/doctype/appraisal_template/__init__.py rename to erpnext/hr/doctype/appraisal_template/__init__.py diff --git a/hr/doctype/appraisal_template/appraisal_template.py b/erpnext/hr/doctype/appraisal_template/appraisal_template.py similarity index 100% rename from hr/doctype/appraisal_template/appraisal_template.py rename to erpnext/hr/doctype/appraisal_template/appraisal_template.py diff --git a/hr/doctype/appraisal_template/appraisal_template.txt b/erpnext/hr/doctype/appraisal_template/appraisal_template.txt similarity index 100% rename from hr/doctype/appraisal_template/appraisal_template.txt rename to erpnext/hr/doctype/appraisal_template/appraisal_template.txt diff --git a/hr/doctype/appraisal_template_goal/README.md b/erpnext/hr/doctype/appraisal_template_goal/README.md similarity index 100% rename from hr/doctype/appraisal_template_goal/README.md rename to erpnext/hr/doctype/appraisal_template_goal/README.md diff --git a/hr/doctype/appraisal_template_goal/__init__.py b/erpnext/hr/doctype/appraisal_template_goal/__init__.py similarity index 100% rename from hr/doctype/appraisal_template_goal/__init__.py rename to erpnext/hr/doctype/appraisal_template_goal/__init__.py diff --git a/hr/doctype/appraisal_template_goal/appraisal_template_goal.py b/erpnext/hr/doctype/appraisal_template_goal/appraisal_template_goal.py similarity index 100% rename from hr/doctype/appraisal_template_goal/appraisal_template_goal.py rename to erpnext/hr/doctype/appraisal_template_goal/appraisal_template_goal.py diff --git a/hr/doctype/appraisal_template_goal/appraisal_template_goal.txt b/erpnext/hr/doctype/appraisal_template_goal/appraisal_template_goal.txt similarity index 100% rename from hr/doctype/appraisal_template_goal/appraisal_template_goal.txt rename to erpnext/hr/doctype/appraisal_template_goal/appraisal_template_goal.txt diff --git a/hr/doctype/attendance/README.md b/erpnext/hr/doctype/attendance/README.md similarity index 100% rename from hr/doctype/attendance/README.md rename to erpnext/hr/doctype/attendance/README.md diff --git a/hr/doctype/attendance/__init__.py b/erpnext/hr/doctype/attendance/__init__.py similarity index 100% rename from hr/doctype/attendance/__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/README.md b/erpnext/hr/doctype/branch/README.md similarity index 100% rename from hr/doctype/branch/README.md rename to erpnext/hr/doctype/branch/README.md diff --git a/hr/doctype/branch/__init__.py b/erpnext/hr/doctype/branch/__init__.py similarity index 100% rename from hr/doctype/branch/__init__.py rename to erpnext/hr/doctype/branch/__init__.py diff --git a/hr/doctype/branch/branch.py b/erpnext/hr/doctype/branch/branch.py similarity index 100% rename from hr/doctype/branch/branch.py rename to erpnext/hr/doctype/branch/branch.py 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/branch/test_branch.py b/erpnext/hr/doctype/branch/test_branch.py similarity index 100% rename from hr/doctype/branch/test_branch.py rename to erpnext/hr/doctype/branch/test_branch.py diff --git a/hr/doctype/deduction_type/README.md b/erpnext/hr/doctype/deduction_type/README.md similarity index 100% rename from hr/doctype/deduction_type/README.md rename to erpnext/hr/doctype/deduction_type/README.md diff --git a/hr/doctype/deduction_type/__init__.py b/erpnext/hr/doctype/deduction_type/__init__.py similarity index 100% rename from hr/doctype/deduction_type/__init__.py rename to erpnext/hr/doctype/deduction_type/__init__.py diff --git a/hr/doctype/deduction_type/deduction_type.py b/erpnext/hr/doctype/deduction_type/deduction_type.py similarity index 100% rename from hr/doctype/deduction_type/deduction_type.py rename to erpnext/hr/doctype/deduction_type/deduction_type.py 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/deduction_type/test_deduction_type.py b/erpnext/hr/doctype/deduction_type/test_deduction_type.py similarity index 100% rename from hr/doctype/deduction_type/test_deduction_type.py rename to erpnext/hr/doctype/deduction_type/test_deduction_type.py diff --git a/hr/doctype/department/README.md b/erpnext/hr/doctype/department/README.md similarity index 100% rename from hr/doctype/department/README.md rename to erpnext/hr/doctype/department/README.md diff --git a/hr/doctype/department/__init__.py b/erpnext/hr/doctype/department/__init__.py similarity index 100% rename from hr/doctype/department/__init__.py rename to erpnext/hr/doctype/department/__init__.py diff --git a/hr/doctype/department/department.py b/erpnext/hr/doctype/department/department.py similarity index 100% rename from hr/doctype/department/department.py rename to erpnext/hr/doctype/department/department.py 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/department/test_department.py b/erpnext/hr/doctype/department/test_department.py similarity index 100% rename from hr/doctype/department/test_department.py rename to erpnext/hr/doctype/department/test_department.py diff --git a/hr/doctype/designation/README.md b/erpnext/hr/doctype/designation/README.md similarity index 100% rename from hr/doctype/designation/README.md rename to erpnext/hr/doctype/designation/README.md diff --git a/hr/doctype/designation/__init__.py b/erpnext/hr/doctype/designation/__init__.py similarity index 100% rename from hr/doctype/designation/__init__.py rename to erpnext/hr/doctype/designation/__init__.py diff --git a/hr/doctype/designation/designation.py b/erpnext/hr/doctype/designation/designation.py similarity index 100% rename from hr/doctype/designation/designation.py rename to erpnext/hr/doctype/designation/designation.py 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/designation/test_designation.py b/erpnext/hr/doctype/designation/test_designation.py similarity index 100% rename from hr/doctype/designation/test_designation.py rename to erpnext/hr/doctype/designation/test_designation.py diff --git a/hr/doctype/earning_type/README.md b/erpnext/hr/doctype/earning_type/README.md similarity index 100% rename from hr/doctype/earning_type/README.md rename to erpnext/hr/doctype/earning_type/README.md diff --git a/hr/doctype/earning_type/__init__.py b/erpnext/hr/doctype/earning_type/__init__.py similarity index 100% rename from hr/doctype/earning_type/__init__.py rename to erpnext/hr/doctype/earning_type/__init__.py diff --git a/hr/doctype/earning_type/earning_type.py b/erpnext/hr/doctype/earning_type/earning_type.py similarity index 100% rename from hr/doctype/earning_type/earning_type.py rename to erpnext/hr/doctype/earning_type/earning_type.py 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/earning_type/test_earning_type.py b/erpnext/hr/doctype/earning_type/test_earning_type.py similarity index 100% rename from hr/doctype/earning_type/test_earning_type.py rename to erpnext/hr/doctype/earning_type/test_earning_type.py diff --git a/hr/doctype/employee/README.md b/erpnext/hr/doctype/employee/README.md similarity index 100% rename from hr/doctype/employee/README.md rename to erpnext/hr/doctype/employee/README.md diff --git a/hr/doctype/employee/__init__.py b/erpnext/hr/doctype/employee/__init__.py similarity index 100% rename from hr/doctype/employee/__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/employee/test_employee.py b/erpnext/hr/doctype/employee/test_employee.py similarity index 100% rename from hr/doctype/employee/test_employee.py rename to erpnext/hr/doctype/employee/test_employee.py diff --git a/hr/doctype/employee_education/README.md b/erpnext/hr/doctype/employee_education/README.md similarity index 100% rename from hr/doctype/employee_education/README.md rename to erpnext/hr/doctype/employee_education/README.md diff --git a/hr/doctype/employee_education/__init__.py b/erpnext/hr/doctype/employee_education/__init__.py similarity index 100% rename from hr/doctype/employee_education/__init__.py rename to erpnext/hr/doctype/employee_education/__init__.py diff --git a/hr/doctype/employee_education/employee_education.py b/erpnext/hr/doctype/employee_education/employee_education.py similarity index 100% rename from hr/doctype/employee_education/employee_education.py rename to erpnext/hr/doctype/employee_education/employee_education.py diff --git a/hr/doctype/employee_education/employee_education.txt b/erpnext/hr/doctype/employee_education/employee_education.txt similarity index 100% rename from hr/doctype/employee_education/employee_education.txt rename to erpnext/hr/doctype/employee_education/employee_education.txt diff --git a/hr/doctype/employee_external_work_history/README.md b/erpnext/hr/doctype/employee_external_work_history/README.md similarity index 100% rename from hr/doctype/employee_external_work_history/README.md rename to erpnext/hr/doctype/employee_external_work_history/README.md diff --git a/hr/doctype/employee_external_work_history/__init__.py b/erpnext/hr/doctype/employee_external_work_history/__init__.py similarity index 100% rename from hr/doctype/employee_external_work_history/__init__.py rename to erpnext/hr/doctype/employee_external_work_history/__init__.py diff --git a/hr/doctype/employee_external_work_history/employee_external_work_history.py b/erpnext/hr/doctype/employee_external_work_history/employee_external_work_history.py similarity index 100% rename from hr/doctype/employee_external_work_history/employee_external_work_history.py rename to erpnext/hr/doctype/employee_external_work_history/employee_external_work_history.py diff --git a/hr/doctype/employee_external_work_history/employee_external_work_history.txt b/erpnext/hr/doctype/employee_external_work_history/employee_external_work_history.txt similarity index 100% rename from hr/doctype/employee_external_work_history/employee_external_work_history.txt rename to erpnext/hr/doctype/employee_external_work_history/employee_external_work_history.txt diff --git a/hr/doctype/employee_internal_work_history/README.md b/erpnext/hr/doctype/employee_internal_work_history/README.md similarity index 100% rename from hr/doctype/employee_internal_work_history/README.md rename to erpnext/hr/doctype/employee_internal_work_history/README.md diff --git a/hr/doctype/employee_internal_work_history/__init__.py b/erpnext/hr/doctype/employee_internal_work_history/__init__.py similarity index 100% rename from hr/doctype/employee_internal_work_history/__init__.py rename to erpnext/hr/doctype/employee_internal_work_history/__init__.py diff --git a/hr/doctype/employee_internal_work_history/employee_internal_work_history.py b/erpnext/hr/doctype/employee_internal_work_history/employee_internal_work_history.py similarity index 100% rename from hr/doctype/employee_internal_work_history/employee_internal_work_history.py rename to erpnext/hr/doctype/employee_internal_work_history/employee_internal_work_history.py diff --git a/hr/doctype/employee_internal_work_history/employee_internal_work_history.txt b/erpnext/hr/doctype/employee_internal_work_history/employee_internal_work_history.txt similarity index 100% rename from hr/doctype/employee_internal_work_history/employee_internal_work_history.txt rename to erpnext/hr/doctype/employee_internal_work_history/employee_internal_work_history.txt diff --git a/hr/doctype/employee_leave_approver/README.md b/erpnext/hr/doctype/employee_leave_approver/README.md similarity index 100% rename from hr/doctype/employee_leave_approver/README.md rename to erpnext/hr/doctype/employee_leave_approver/README.md diff --git a/hr/doctype/employee_leave_approver/__init__.py b/erpnext/hr/doctype/employee_leave_approver/__init__.py similarity index 100% rename from hr/doctype/employee_leave_approver/__init__.py rename to erpnext/hr/doctype/employee_leave_approver/__init__.py diff --git a/hr/doctype/employee_leave_approver/employee_leave_approver.py b/erpnext/hr/doctype/employee_leave_approver/employee_leave_approver.py similarity index 100% rename from hr/doctype/employee_leave_approver/employee_leave_approver.py rename to erpnext/hr/doctype/employee_leave_approver/employee_leave_approver.py diff --git a/hr/doctype/employee_leave_approver/employee_leave_approver.txt b/erpnext/hr/doctype/employee_leave_approver/employee_leave_approver.txt similarity index 100% rename from hr/doctype/employee_leave_approver/employee_leave_approver.txt rename to erpnext/hr/doctype/employee_leave_approver/employee_leave_approver.txt diff --git a/hr/doctype/employment_type/README.md b/erpnext/hr/doctype/employment_type/README.md similarity index 100% rename from hr/doctype/employment_type/README.md rename to erpnext/hr/doctype/employment_type/README.md diff --git a/hr/doctype/employment_type/__init__.py b/erpnext/hr/doctype/employment_type/__init__.py similarity index 100% rename from hr/doctype/employment_type/__init__.py rename to erpnext/hr/doctype/employment_type/__init__.py diff --git a/hr/doctype/employment_type/employment_type.py b/erpnext/hr/doctype/employment_type/employment_type.py similarity index 100% rename from hr/doctype/employment_type/employment_type.py rename to erpnext/hr/doctype/employment_type/employment_type.py 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/employment_type/test_employment_type.py b/erpnext/hr/doctype/employment_type/test_employment_type.py similarity index 100% rename from hr/doctype/employment_type/test_employment_type.py rename to erpnext/hr/doctype/employment_type/test_employment_type.py diff --git a/hr/doctype/expense_claim/README.md b/erpnext/hr/doctype/expense_claim/README.md similarity index 100% rename from hr/doctype/expense_claim/README.md rename to erpnext/hr/doctype/expense_claim/README.md diff --git a/hr/doctype/expense_claim/__init__.py b/erpnext/hr/doctype/expense_claim/__init__.py similarity index 100% rename from hr/doctype/expense_claim/__init__.py rename to erpnext/hr/doctype/expense_claim/__init__.py diff --git a/hr/doctype/expense_claim/expense_claim.js b/erpnext/hr/doctype/expense_claim/expense_claim.js similarity index 100% rename from hr/doctype/expense_claim/expense_claim.js rename to erpnext/hr/doctype/expense_claim/expense_claim.js diff --git a/hr/doctype/expense_claim/expense_claim.py b/erpnext/hr/doctype/expense_claim/expense_claim.py similarity index 100% rename from hr/doctype/expense_claim/expense_claim.py rename to erpnext/hr/doctype/expense_claim/expense_claim.py diff --git a/hr/doctype/expense_claim/expense_claim.txt b/erpnext/hr/doctype/expense_claim/expense_claim.txt similarity index 100% rename from hr/doctype/expense_claim/expense_claim.txt rename to erpnext/hr/doctype/expense_claim/expense_claim.txt diff --git a/hr/doctype/expense_claim_detail/README.md b/erpnext/hr/doctype/expense_claim_detail/README.md similarity index 100% rename from hr/doctype/expense_claim_detail/README.md rename to erpnext/hr/doctype/expense_claim_detail/README.md diff --git a/hr/doctype/expense_claim_detail/__init__.py b/erpnext/hr/doctype/expense_claim_detail/__init__.py similarity index 100% rename from hr/doctype/expense_claim_detail/__init__.py rename to erpnext/hr/doctype/expense_claim_detail/__init__.py diff --git a/hr/doctype/expense_claim_detail/expense_claim_detail.py b/erpnext/hr/doctype/expense_claim_detail/expense_claim_detail.py similarity index 100% rename from hr/doctype/expense_claim_detail/expense_claim_detail.py rename to erpnext/hr/doctype/expense_claim_detail/expense_claim_detail.py diff --git a/hr/doctype/expense_claim_detail/expense_claim_detail.txt b/erpnext/hr/doctype/expense_claim_detail/expense_claim_detail.txt similarity index 100% rename from hr/doctype/expense_claim_detail/expense_claim_detail.txt rename to erpnext/hr/doctype/expense_claim_detail/expense_claim_detail.txt diff --git a/hr/doctype/expense_claim_type/README.md b/erpnext/hr/doctype/expense_claim_type/README.md similarity index 100% rename from hr/doctype/expense_claim_type/README.md rename to erpnext/hr/doctype/expense_claim_type/README.md diff --git a/hr/doctype/expense_claim_type/__init__.py b/erpnext/hr/doctype/expense_claim_type/__init__.py similarity index 100% rename from hr/doctype/expense_claim_type/__init__.py rename to erpnext/hr/doctype/expense_claim_type/__init__.py diff --git a/hr/doctype/expense_claim_type/expense_claim_type.py b/erpnext/hr/doctype/expense_claim_type/expense_claim_type.py similarity index 100% rename from hr/doctype/expense_claim_type/expense_claim_type.py rename to erpnext/hr/doctype/expense_claim_type/expense_claim_type.py diff --git a/hr/doctype/expense_claim_type/expense_claim_type.txt b/erpnext/hr/doctype/expense_claim_type/expense_claim_type.txt similarity index 100% rename from hr/doctype/expense_claim_type/expense_claim_type.txt rename to erpnext/hr/doctype/expense_claim_type/expense_claim_type.txt diff --git a/hr/doctype/grade/README.md b/erpnext/hr/doctype/grade/README.md similarity index 100% rename from hr/doctype/grade/README.md rename to erpnext/hr/doctype/grade/README.md diff --git a/hr/doctype/grade/__init__.py b/erpnext/hr/doctype/grade/__init__.py similarity index 100% rename from hr/doctype/grade/__init__.py rename to erpnext/hr/doctype/grade/__init__.py diff --git a/hr/doctype/grade/grade.py b/erpnext/hr/doctype/grade/grade.py similarity index 100% rename from hr/doctype/grade/grade.py rename to erpnext/hr/doctype/grade/grade.py 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/grade/test_grade.py b/erpnext/hr/doctype/grade/test_grade.py similarity index 100% rename from hr/doctype/grade/test_grade.py rename to erpnext/hr/doctype/grade/test_grade.py diff --git a/hr/doctype/holiday/README.md b/erpnext/hr/doctype/holiday/README.md similarity index 100% rename from hr/doctype/holiday/README.md rename to erpnext/hr/doctype/holiday/README.md diff --git a/hr/doctype/holiday/__init__.py b/erpnext/hr/doctype/holiday/__init__.py similarity index 100% rename from hr/doctype/holiday/__init__.py rename to erpnext/hr/doctype/holiday/__init__.py diff --git a/hr/doctype/holiday/holiday.py b/erpnext/hr/doctype/holiday/holiday.py similarity index 100% rename from hr/doctype/holiday/holiday.py rename to erpnext/hr/doctype/holiday/holiday.py diff --git a/hr/doctype/holiday/holiday.txt b/erpnext/hr/doctype/holiday/holiday.txt similarity index 100% rename from hr/doctype/holiday/holiday.txt rename to erpnext/hr/doctype/holiday/holiday.txt diff --git a/hr/doctype/holiday_list/README.md b/erpnext/hr/doctype/holiday_list/README.md similarity index 100% rename from hr/doctype/holiday_list/README.md rename to erpnext/hr/doctype/holiday_list/README.md diff --git a/hr/doctype/holiday_list/__init__.py b/erpnext/hr/doctype/holiday_list/__init__.py similarity index 100% rename from hr/doctype/holiday_list/__init__.py rename to erpnext/hr/doctype/holiday_list/__init__.py 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/holiday_list/test_holiday_list.py b/erpnext/hr/doctype/holiday_list/test_holiday_list.py similarity index 100% rename from hr/doctype/holiday_list/test_holiday_list.py rename to erpnext/hr/doctype/holiday_list/test_holiday_list.py diff --git a/hr/doctype/hr_settings/__init__.py b/erpnext/hr/doctype/hr_settings/__init__.py similarity index 100% rename from hr/doctype/hr_settings/__init__.py rename to erpnext/hr/doctype/hr_settings/__init__.py diff --git a/hr/doctype/hr_settings/hr_settings.py b/erpnext/hr/doctype/hr_settings/hr_settings.py similarity index 100% rename from hr/doctype/hr_settings/hr_settings.py rename to erpnext/hr/doctype/hr_settings/hr_settings.py diff --git a/hr/doctype/hr_settings/hr_settings.txt b/erpnext/hr/doctype/hr_settings/hr_settings.txt similarity index 100% rename from hr/doctype/hr_settings/hr_settings.txt rename to erpnext/hr/doctype/hr_settings/hr_settings.txt diff --git a/hr/doctype/job_applicant/README.md b/erpnext/hr/doctype/job_applicant/README.md similarity index 100% rename from hr/doctype/job_applicant/README.md rename to erpnext/hr/doctype/job_applicant/README.md diff --git a/hr/doctype/job_applicant/__init__.py b/erpnext/hr/doctype/job_applicant/__init__.py similarity index 100% rename from hr/doctype/job_applicant/__init__.py rename to erpnext/hr/doctype/job_applicant/__init__.py diff --git a/hr/doctype/job_applicant/get_job_applications.py b/erpnext/hr/doctype/job_applicant/get_job_applications.py similarity index 100% rename from hr/doctype/job_applicant/get_job_applications.py rename to erpnext/hr/doctype/job_applicant/get_job_applications.py diff --git a/hr/doctype/job_applicant/job_applicant.js b/erpnext/hr/doctype/job_applicant/job_applicant.js similarity index 100% rename from hr/doctype/job_applicant/job_applicant.js rename to erpnext/hr/doctype/job_applicant/job_applicant.js diff --git a/hr/doctype/job_applicant/job_applicant.py b/erpnext/hr/doctype/job_applicant/job_applicant.py similarity index 100% rename from hr/doctype/job_applicant/job_applicant.py rename to erpnext/hr/doctype/job_applicant/job_applicant.py diff --git a/hr/doctype/job_applicant/job_applicant.txt b/erpnext/hr/doctype/job_applicant/job_applicant.txt similarity index 100% rename from hr/doctype/job_applicant/job_applicant.txt rename to erpnext/hr/doctype/job_applicant/job_applicant.txt diff --git a/hr/doctype/job_opening/README.md b/erpnext/hr/doctype/job_opening/README.md similarity index 100% rename from hr/doctype/job_opening/README.md rename to erpnext/hr/doctype/job_opening/README.md diff --git a/hr/doctype/job_opening/__init__.py b/erpnext/hr/doctype/job_opening/__init__.py similarity index 100% rename from hr/doctype/job_opening/__init__.py rename to erpnext/hr/doctype/job_opening/__init__.py diff --git a/hr/doctype/job_opening/job_opening.py b/erpnext/hr/doctype/job_opening/job_opening.py similarity index 100% rename from hr/doctype/job_opening/job_opening.py rename to erpnext/hr/doctype/job_opening/job_opening.py diff --git a/hr/doctype/job_opening/job_opening.txt b/erpnext/hr/doctype/job_opening/job_opening.txt similarity index 100% rename from hr/doctype/job_opening/job_opening.txt rename to erpnext/hr/doctype/job_opening/job_opening.txt diff --git a/hr/doctype/leave_allocation/README.md b/erpnext/hr/doctype/leave_allocation/README.md similarity index 100% rename from hr/doctype/leave_allocation/README.md rename to erpnext/hr/doctype/leave_allocation/README.md diff --git a/hr/doctype/leave_allocation/__init__.py b/erpnext/hr/doctype/leave_allocation/__init__.py similarity index 100% rename from hr/doctype/leave_allocation/__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_application/README.md b/erpnext/hr/doctype/leave_application/README.md similarity index 100% rename from hr/doctype/leave_application/README.md rename to erpnext/hr/doctype/leave_application/README.md diff --git a/hr/doctype/leave_application/__init__.py b/erpnext/hr/doctype/leave_application/__init__.py similarity index 100% rename from hr/doctype/leave_application/__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_application/leave_application_calendar.js b/erpnext/hr/doctype/leave_application/leave_application_calendar.js similarity index 100% rename from hr/doctype/leave_application/leave_application_calendar.js rename to erpnext/hr/doctype/leave_application/leave_application_calendar.js diff --git a/hr/doctype/leave_application/test_leave_application.py b/erpnext/hr/doctype/leave_application/test_leave_application.py similarity index 100% rename from hr/doctype/leave_application/test_leave_application.py rename to erpnext/hr/doctype/leave_application/test_leave_application.py diff --git a/hr/doctype/leave_block_list/README.md b/erpnext/hr/doctype/leave_block_list/README.md similarity index 100% rename from hr/doctype/leave_block_list/README.md rename to erpnext/hr/doctype/leave_block_list/README.md diff --git a/hr/doctype/leave_block_list/__init__.py b/erpnext/hr/doctype/leave_block_list/__init__.py similarity index 100% rename from hr/doctype/leave_block_list/__init__.py rename to erpnext/hr/doctype/leave_block_list/__init__.py diff --git a/hr/doctype/leave_block_list/leave_block_list.py b/erpnext/hr/doctype/leave_block_list/leave_block_list.py similarity index 100% rename from hr/doctype/leave_block_list/leave_block_list.py rename to erpnext/hr/doctype/leave_block_list/leave_block_list.py diff --git a/hr/doctype/leave_block_list/leave_block_list.txt b/erpnext/hr/doctype/leave_block_list/leave_block_list.txt similarity index 100% rename from hr/doctype/leave_block_list/leave_block_list.txt rename to erpnext/hr/doctype/leave_block_list/leave_block_list.txt diff --git a/hr/doctype/leave_block_list/test_leave_block_list.py b/erpnext/hr/doctype/leave_block_list/test_leave_block_list.py similarity index 100% rename from hr/doctype/leave_block_list/test_leave_block_list.py rename to erpnext/hr/doctype/leave_block_list/test_leave_block_list.py diff --git a/hr/doctype/leave_block_list_allow/README.md b/erpnext/hr/doctype/leave_block_list_allow/README.md similarity index 100% rename from hr/doctype/leave_block_list_allow/README.md rename to erpnext/hr/doctype/leave_block_list_allow/README.md diff --git a/hr/doctype/leave_block_list_allow/__init__.py b/erpnext/hr/doctype/leave_block_list_allow/__init__.py similarity index 100% rename from hr/doctype/leave_block_list_allow/__init__.py rename to erpnext/hr/doctype/leave_block_list_allow/__init__.py diff --git a/hr/doctype/leave_block_list_allow/leave_block_list_allow.py b/erpnext/hr/doctype/leave_block_list_allow/leave_block_list_allow.py similarity index 100% rename from hr/doctype/leave_block_list_allow/leave_block_list_allow.py rename to erpnext/hr/doctype/leave_block_list_allow/leave_block_list_allow.py diff --git a/hr/doctype/leave_block_list_allow/leave_block_list_allow.txt b/erpnext/hr/doctype/leave_block_list_allow/leave_block_list_allow.txt similarity index 100% rename from hr/doctype/leave_block_list_allow/leave_block_list_allow.txt rename to erpnext/hr/doctype/leave_block_list_allow/leave_block_list_allow.txt diff --git a/hr/doctype/leave_block_list_date/README.md b/erpnext/hr/doctype/leave_block_list_date/README.md similarity index 100% rename from hr/doctype/leave_block_list_date/README.md rename to erpnext/hr/doctype/leave_block_list_date/README.md diff --git a/hr/doctype/leave_block_list_date/__init__.py b/erpnext/hr/doctype/leave_block_list_date/__init__.py similarity index 100% rename from hr/doctype/leave_block_list_date/__init__.py rename to erpnext/hr/doctype/leave_block_list_date/__init__.py diff --git a/hr/doctype/leave_block_list_date/leave_block_list_date.py b/erpnext/hr/doctype/leave_block_list_date/leave_block_list_date.py similarity index 100% rename from hr/doctype/leave_block_list_date/leave_block_list_date.py rename to erpnext/hr/doctype/leave_block_list_date/leave_block_list_date.py diff --git a/hr/doctype/leave_block_list_date/leave_block_list_date.txt b/erpnext/hr/doctype/leave_block_list_date/leave_block_list_date.txt similarity index 100% rename from hr/doctype/leave_block_list_date/leave_block_list_date.txt rename to erpnext/hr/doctype/leave_block_list_date/leave_block_list_date.txt diff --git a/hr/doctype/leave_control_panel/README.md b/erpnext/hr/doctype/leave_control_panel/README.md similarity index 100% rename from hr/doctype/leave_control_panel/README.md rename to erpnext/hr/doctype/leave_control_panel/README.md diff --git a/hr/doctype/leave_control_panel/__init__.py b/erpnext/hr/doctype/leave_control_panel/__init__.py similarity index 100% rename from hr/doctype/leave_control_panel/__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/leave_type/README.md b/erpnext/hr/doctype/leave_type/README.md similarity index 100% rename from hr/doctype/leave_type/README.md rename to erpnext/hr/doctype/leave_type/README.md diff --git a/hr/doctype/leave_type/__init__.py b/erpnext/hr/doctype/leave_type/__init__.py similarity index 100% rename from hr/doctype/leave_type/__init__.py rename to erpnext/hr/doctype/leave_type/__init__.py diff --git a/hr/doctype/leave_type/leave_type.py b/erpnext/hr/doctype/leave_type/leave_type.py similarity index 100% rename from hr/doctype/leave_type/leave_type.py rename to erpnext/hr/doctype/leave_type/leave_type.py 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/leave_type/test_leave_type.py b/erpnext/hr/doctype/leave_type/test_leave_type.py similarity index 100% rename from hr/doctype/leave_type/test_leave_type.py rename to erpnext/hr/doctype/leave_type/test_leave_type.py diff --git a/hr/doctype/salary_manager/README.md b/erpnext/hr/doctype/salary_manager/README.md similarity index 100% rename from hr/doctype/salary_manager/README.md rename to erpnext/hr/doctype/salary_manager/README.md 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_slip/README.md b/erpnext/hr/doctype/salary_slip/README.md similarity index 100% rename from hr/doctype/salary_slip/README.md rename to erpnext/hr/doctype/salary_slip/README.md diff --git a/hr/doctype/salary_slip/__init__.py b/erpnext/hr/doctype/salary_slip/__init__.py similarity index 100% rename from hr/doctype/salary_slip/__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/salary_slip/test_salary_slip.py b/erpnext/hr/doctype/salary_slip/test_salary_slip.py similarity index 100% rename from hr/doctype/salary_slip/test_salary_slip.py rename to erpnext/hr/doctype/salary_slip/test_salary_slip.py diff --git a/hr/doctype/salary_slip_deduction/README.md b/erpnext/hr/doctype/salary_slip_deduction/README.md similarity index 100% rename from hr/doctype/salary_slip_deduction/README.md rename to erpnext/hr/doctype/salary_slip_deduction/README.md diff --git a/hr/doctype/salary_slip_deduction/__init__.py b/erpnext/hr/doctype/salary_slip_deduction/__init__.py similarity index 100% rename from hr/doctype/salary_slip_deduction/__init__.py rename to erpnext/hr/doctype/salary_slip_deduction/__init__.py diff --git a/hr/doctype/salary_slip_deduction/salary_slip_deduction.py b/erpnext/hr/doctype/salary_slip_deduction/salary_slip_deduction.py similarity index 100% rename from hr/doctype/salary_slip_deduction/salary_slip_deduction.py rename to erpnext/hr/doctype/salary_slip_deduction/salary_slip_deduction.py diff --git a/hr/doctype/salary_slip_deduction/salary_slip_deduction.txt b/erpnext/hr/doctype/salary_slip_deduction/salary_slip_deduction.txt similarity index 100% rename from hr/doctype/salary_slip_deduction/salary_slip_deduction.txt rename to erpnext/hr/doctype/salary_slip_deduction/salary_slip_deduction.txt diff --git a/hr/doctype/salary_slip_earning/README.md b/erpnext/hr/doctype/salary_slip_earning/README.md similarity index 100% rename from hr/doctype/salary_slip_earning/README.md rename to erpnext/hr/doctype/salary_slip_earning/README.md diff --git a/hr/doctype/salary_slip_earning/__init__.py b/erpnext/hr/doctype/salary_slip_earning/__init__.py similarity index 100% rename from hr/doctype/salary_slip_earning/__init__.py rename to erpnext/hr/doctype/salary_slip_earning/__init__.py diff --git a/hr/doctype/salary_slip_earning/salary_slip_earning.py b/erpnext/hr/doctype/salary_slip_earning/salary_slip_earning.py similarity index 100% rename from hr/doctype/salary_slip_earning/salary_slip_earning.py rename to erpnext/hr/doctype/salary_slip_earning/salary_slip_earning.py diff --git a/hr/doctype/salary_slip_earning/salary_slip_earning.txt b/erpnext/hr/doctype/salary_slip_earning/salary_slip_earning.txt similarity index 100% rename from hr/doctype/salary_slip_earning/salary_slip_earning.txt rename to erpnext/hr/doctype/salary_slip_earning/salary_slip_earning.txt diff --git a/hr/doctype/salary_structure/README.md b/erpnext/hr/doctype/salary_structure/README.md similarity index 100% rename from hr/doctype/salary_structure/README.md rename to erpnext/hr/doctype/salary_structure/README.md diff --git a/hr/doctype/salary_structure/__init__.py b/erpnext/hr/doctype/salary_structure/__init__.py similarity index 100% rename from hr/doctype/salary_structure/__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/salary_structure_deduction/README.md b/erpnext/hr/doctype/salary_structure_deduction/README.md similarity index 100% rename from hr/doctype/salary_structure_deduction/README.md rename to erpnext/hr/doctype/salary_structure_deduction/README.md diff --git a/hr/doctype/salary_structure_deduction/__init__.py b/erpnext/hr/doctype/salary_structure_deduction/__init__.py similarity index 100% rename from hr/doctype/salary_structure_deduction/__init__.py rename to erpnext/hr/doctype/salary_structure_deduction/__init__.py diff --git a/hr/doctype/salary_structure_deduction/salary_structure_deduction.py b/erpnext/hr/doctype/salary_structure_deduction/salary_structure_deduction.py similarity index 100% rename from hr/doctype/salary_structure_deduction/salary_structure_deduction.py rename to erpnext/hr/doctype/salary_structure_deduction/salary_structure_deduction.py diff --git a/hr/doctype/salary_structure_deduction/salary_structure_deduction.txt b/erpnext/hr/doctype/salary_structure_deduction/salary_structure_deduction.txt similarity index 100% rename from hr/doctype/salary_structure_deduction/salary_structure_deduction.txt rename to erpnext/hr/doctype/salary_structure_deduction/salary_structure_deduction.txt diff --git a/hr/doctype/salary_structure_earning/README.md b/erpnext/hr/doctype/salary_structure_earning/README.md similarity index 100% rename from hr/doctype/salary_structure_earning/README.md rename to erpnext/hr/doctype/salary_structure_earning/README.md diff --git a/hr/doctype/salary_structure_earning/__init__.py b/erpnext/hr/doctype/salary_structure_earning/__init__.py similarity index 100% rename from hr/doctype/salary_structure_earning/__init__.py rename to erpnext/hr/doctype/salary_structure_earning/__init__.py diff --git a/hr/doctype/salary_structure_earning/salary_structure_earning.py b/erpnext/hr/doctype/salary_structure_earning/salary_structure_earning.py similarity index 100% rename from hr/doctype/salary_structure_earning/salary_structure_earning.py rename to erpnext/hr/doctype/salary_structure_earning/salary_structure_earning.py diff --git a/hr/doctype/salary_structure_earning/salary_structure_earning.txt b/erpnext/hr/doctype/salary_structure_earning/salary_structure_earning.txt similarity index 100% rename from hr/doctype/salary_structure_earning/salary_structure_earning.txt rename to erpnext/hr/doctype/salary_structure_earning/salary_structure_earning.txt diff --git a/hr/doctype/upload_attendance/README.md b/erpnext/hr/doctype/upload_attendance/README.md similarity index 100% rename from hr/doctype/upload_attendance/README.md rename to erpnext/hr/doctype/upload_attendance/README.md diff --git a/hr/doctype/upload_attendance/__init__.py b/erpnext/hr/doctype/upload_attendance/__init__.py similarity index 100% rename from hr/doctype/upload_attendance/__init__.py rename to erpnext/hr/doctype/upload_attendance/__init__.py diff --git a/hr/doctype/upload_attendance/upload_attendance.js b/erpnext/hr/doctype/upload_attendance/upload_attendance.js similarity index 100% rename from hr/doctype/upload_attendance/upload_attendance.js rename to erpnext/hr/doctype/upload_attendance/upload_attendance.js diff --git a/hr/doctype/upload_attendance/upload_attendance.py b/erpnext/hr/doctype/upload_attendance/upload_attendance.py similarity index 100% rename from hr/doctype/upload_attendance/upload_attendance.py rename to erpnext/hr/doctype/upload_attendance/upload_attendance.py diff --git a/hr/doctype/upload_attendance/upload_attendance.txt b/erpnext/hr/doctype/upload_attendance/upload_attendance.txt similarity index 100% rename from hr/doctype/upload_attendance/upload_attendance.txt rename to erpnext/hr/doctype/upload_attendance/upload_attendance.txt diff --git a/hr/page/__init__.py b/erpnext/hr/page/__init__.py similarity index 100% rename from hr/page/__init__.py rename to erpnext/hr/page/__init__.py diff --git a/hr/page/hr_home/__init__.py b/erpnext/hr/page/hr_home/__init__.py similarity index 100% rename from hr/page/hr_home/__init__.py rename to erpnext/hr/page/hr_home/__init__.py diff --git a/hr/page/hr_home/hr_home.js b/erpnext/hr/page/hr_home/hr_home.js similarity index 100% rename from hr/page/hr_home/hr_home.js rename to erpnext/hr/page/hr_home/hr_home.js diff --git a/hr/page/hr_home/hr_home.txt b/erpnext/hr/page/hr_home/hr_home.txt similarity index 100% rename from hr/page/hr_home/hr_home.txt rename to erpnext/hr/page/hr_home/hr_home.txt diff --git a/hr/report/__init__.py b/erpnext/hr/report/__init__.py similarity index 100% rename from hr/report/__init__.py rename to erpnext/hr/report/__init__.py diff --git a/hr/report/employee_birthday/__init__.py b/erpnext/hr/report/employee_birthday/__init__.py similarity index 100% rename from hr/report/employee_birthday/__init__.py rename to erpnext/hr/report/employee_birthday/__init__.py diff --git a/hr/report/employee_birthday/employee_birthday.js b/erpnext/hr/report/employee_birthday/employee_birthday.js similarity index 100% rename from hr/report/employee_birthday/employee_birthday.js rename to erpnext/hr/report/employee_birthday/employee_birthday.js diff --git a/hr/report/employee_birthday/employee_birthday.py b/erpnext/hr/report/employee_birthday/employee_birthday.py similarity index 100% rename from hr/report/employee_birthday/employee_birthday.py rename to erpnext/hr/report/employee_birthday/employee_birthday.py diff --git a/hr/report/employee_birthday/employee_birthday.txt b/erpnext/hr/report/employee_birthday/employee_birthday.txt similarity index 100% rename from hr/report/employee_birthday/employee_birthday.txt rename to erpnext/hr/report/employee_birthday/employee_birthday.txt diff --git a/hr/report/employee_information/__init__.py b/erpnext/hr/report/employee_information/__init__.py similarity index 100% rename from hr/report/employee_information/__init__.py rename to erpnext/hr/report/employee_information/__init__.py diff --git a/hr/report/employee_information/employee_information.txt b/erpnext/hr/report/employee_information/employee_information.txt similarity index 100% rename from hr/report/employee_information/employee_information.txt rename to erpnext/hr/report/employee_information/employee_information.txt diff --git a/hr/report/employee_leave_balance/__init__.py b/erpnext/hr/report/employee_leave_balance/__init__.py similarity index 100% rename from hr/report/employee_leave_balance/__init__.py rename to erpnext/hr/report/employee_leave_balance/__init__.py diff --git a/hr/report/employee_leave_balance/employee_leave_balance.js b/erpnext/hr/report/employee_leave_balance/employee_leave_balance.js similarity index 100% rename from hr/report/employee_leave_balance/employee_leave_balance.js rename to erpnext/hr/report/employee_leave_balance/employee_leave_balance.js diff --git a/hr/report/employee_leave_balance/employee_leave_balance.py b/erpnext/hr/report/employee_leave_balance/employee_leave_balance.py similarity index 100% rename from hr/report/employee_leave_balance/employee_leave_balance.py rename to erpnext/hr/report/employee_leave_balance/employee_leave_balance.py diff --git a/hr/report/employee_leave_balance/employee_leave_balance.txt b/erpnext/hr/report/employee_leave_balance/employee_leave_balance.txt similarity index 100% rename from hr/report/employee_leave_balance/employee_leave_balance.txt rename to erpnext/hr/report/employee_leave_balance/employee_leave_balance.txt diff --git a/hr/report/monthly_attendance_sheet/__init__.py b/erpnext/hr/report/monthly_attendance_sheet/__init__.py similarity index 100% rename from hr/report/monthly_attendance_sheet/__init__.py rename to erpnext/hr/report/monthly_attendance_sheet/__init__.py diff --git a/hr/report/monthly_attendance_sheet/monthly_attendance_sheet.js b/erpnext/hr/report/monthly_attendance_sheet/monthly_attendance_sheet.js similarity index 100% rename from hr/report/monthly_attendance_sheet/monthly_attendance_sheet.js rename to erpnext/hr/report/monthly_attendance_sheet/monthly_attendance_sheet.js diff --git a/hr/report/monthly_attendance_sheet/monthly_attendance_sheet.py b/erpnext/hr/report/monthly_attendance_sheet/monthly_attendance_sheet.py similarity index 100% rename from hr/report/monthly_attendance_sheet/monthly_attendance_sheet.py rename to erpnext/hr/report/monthly_attendance_sheet/monthly_attendance_sheet.py diff --git a/hr/report/monthly_attendance_sheet/monthly_attendance_sheet.txt b/erpnext/hr/report/monthly_attendance_sheet/monthly_attendance_sheet.txt similarity index 100% rename from hr/report/monthly_attendance_sheet/monthly_attendance_sheet.txt rename to erpnext/hr/report/monthly_attendance_sheet/monthly_attendance_sheet.txt diff --git a/hr/report/monthly_salary_register/__init__.py b/erpnext/hr/report/monthly_salary_register/__init__.py similarity index 100% rename from hr/report/monthly_salary_register/__init__.py rename to erpnext/hr/report/monthly_salary_register/__init__.py diff --git a/hr/report/monthly_salary_register/monthly_salary_register.js b/erpnext/hr/report/monthly_salary_register/monthly_salary_register.js similarity index 100% rename from hr/report/monthly_salary_register/monthly_salary_register.js rename to erpnext/hr/report/monthly_salary_register/monthly_salary_register.js diff --git a/hr/report/monthly_salary_register/monthly_salary_register.py b/erpnext/hr/report/monthly_salary_register/monthly_salary_register.py similarity index 100% rename from hr/report/monthly_salary_register/monthly_salary_register.py rename to erpnext/hr/report/monthly_salary_register/monthly_salary_register.py diff --git a/hr/report/monthly_salary_register/monthly_salary_register.txt b/erpnext/hr/report/monthly_salary_register/monthly_salary_register.txt similarity index 100% rename from hr/report/monthly_salary_register/monthly_salary_register.txt rename to erpnext/hr/report/monthly_salary_register/monthly_salary_register.txt diff --git a/hr/utils.py b/erpnext/hr/utils.py similarity index 100% rename from hr/utils.py rename to erpnext/hr/utils.py diff --git a/manufacturing/README.md b/erpnext/manufacturing/README.md similarity index 100% rename from manufacturing/README.md rename to erpnext/manufacturing/README.md diff --git a/manufacturing/__init__.py b/erpnext/manufacturing/__init__.py similarity index 100% rename from manufacturing/__init__.py rename to erpnext/manufacturing/__init__.py diff --git a/manufacturing/doctype/__init__.py b/erpnext/manufacturing/doctype/__init__.py similarity index 100% rename from manufacturing/doctype/__init__.py rename to erpnext/manufacturing/doctype/__init__.py diff --git a/manufacturing/doctype/bom/README.md b/erpnext/manufacturing/doctype/bom/README.md similarity index 100% rename from manufacturing/doctype/bom/README.md rename to erpnext/manufacturing/doctype/bom/README.md diff --git a/manufacturing/doctype/bom/__init__.py b/erpnext/manufacturing/doctype/bom/__init__.py similarity index 100% rename from manufacturing/doctype/bom/__init__.py rename to erpnext/manufacturing/doctype/bom/__init__.py diff --git a/manufacturing/doctype/bom/bom.js b/erpnext/manufacturing/doctype/bom/bom.js similarity index 100% rename from manufacturing/doctype/bom/bom.js rename to erpnext/manufacturing/doctype/bom/bom.js diff --git a/manufacturing/doctype/bom/bom.py b/erpnext/manufacturing/doctype/bom/bom.py similarity index 100% rename from manufacturing/doctype/bom/bom.py rename to erpnext/manufacturing/doctype/bom/bom.py diff --git a/manufacturing/doctype/bom/bom.txt b/erpnext/manufacturing/doctype/bom/bom.txt similarity index 100% rename from manufacturing/doctype/bom/bom.txt rename to erpnext/manufacturing/doctype/bom/bom.txt diff --git a/manufacturing/doctype/bom/test_bom.py b/erpnext/manufacturing/doctype/bom/test_bom.py similarity index 100% rename from manufacturing/doctype/bom/test_bom.py rename to erpnext/manufacturing/doctype/bom/test_bom.py diff --git a/manufacturing/doctype/bom_explosion_item/README.md b/erpnext/manufacturing/doctype/bom_explosion_item/README.md similarity index 100% rename from manufacturing/doctype/bom_explosion_item/README.md rename to erpnext/manufacturing/doctype/bom_explosion_item/README.md diff --git a/manufacturing/doctype/bom_explosion_item/__init__.py b/erpnext/manufacturing/doctype/bom_explosion_item/__init__.py similarity index 100% rename from manufacturing/doctype/bom_explosion_item/__init__.py rename to erpnext/manufacturing/doctype/bom_explosion_item/__init__.py diff --git a/manufacturing/doctype/bom_explosion_item/bom_explosion_item.py b/erpnext/manufacturing/doctype/bom_explosion_item/bom_explosion_item.py similarity index 100% rename from manufacturing/doctype/bom_explosion_item/bom_explosion_item.py rename to erpnext/manufacturing/doctype/bom_explosion_item/bom_explosion_item.py diff --git a/manufacturing/doctype/bom_explosion_item/bom_explosion_item.txt b/erpnext/manufacturing/doctype/bom_explosion_item/bom_explosion_item.txt similarity index 100% rename from manufacturing/doctype/bom_explosion_item/bom_explosion_item.txt rename to erpnext/manufacturing/doctype/bom_explosion_item/bom_explosion_item.txt diff --git a/manufacturing/doctype/bom_item/README.md b/erpnext/manufacturing/doctype/bom_item/README.md similarity index 100% rename from manufacturing/doctype/bom_item/README.md rename to erpnext/manufacturing/doctype/bom_item/README.md diff --git a/manufacturing/doctype/bom_item/__init__.py b/erpnext/manufacturing/doctype/bom_item/__init__.py similarity index 100% rename from manufacturing/doctype/bom_item/__init__.py rename to erpnext/manufacturing/doctype/bom_item/__init__.py diff --git a/manufacturing/doctype/bom_item/bom_item.py b/erpnext/manufacturing/doctype/bom_item/bom_item.py similarity index 100% rename from manufacturing/doctype/bom_item/bom_item.py rename to erpnext/manufacturing/doctype/bom_item/bom_item.py diff --git a/manufacturing/doctype/bom_item/bom_item.txt b/erpnext/manufacturing/doctype/bom_item/bom_item.txt similarity index 100% rename from manufacturing/doctype/bom_item/bom_item.txt rename to erpnext/manufacturing/doctype/bom_item/bom_item.txt diff --git a/manufacturing/doctype/bom_operation/README.md b/erpnext/manufacturing/doctype/bom_operation/README.md similarity index 100% rename from manufacturing/doctype/bom_operation/README.md rename to erpnext/manufacturing/doctype/bom_operation/README.md diff --git a/manufacturing/doctype/bom_operation/__init__.py b/erpnext/manufacturing/doctype/bom_operation/__init__.py similarity index 100% rename from manufacturing/doctype/bom_operation/__init__.py rename to erpnext/manufacturing/doctype/bom_operation/__init__.py diff --git a/manufacturing/doctype/bom_operation/bom_operation.py b/erpnext/manufacturing/doctype/bom_operation/bom_operation.py similarity index 100% rename from manufacturing/doctype/bom_operation/bom_operation.py rename to erpnext/manufacturing/doctype/bom_operation/bom_operation.py diff --git a/manufacturing/doctype/bom_operation/bom_operation.txt b/erpnext/manufacturing/doctype/bom_operation/bom_operation.txt similarity index 100% rename from manufacturing/doctype/bom_operation/bom_operation.txt rename to erpnext/manufacturing/doctype/bom_operation/bom_operation.txt diff --git a/manufacturing/doctype/bom_replace_tool/README.md b/erpnext/manufacturing/doctype/bom_replace_tool/README.md similarity index 100% rename from manufacturing/doctype/bom_replace_tool/README.md rename to erpnext/manufacturing/doctype/bom_replace_tool/README.md diff --git a/manufacturing/doctype/bom_replace_tool/__init__.py b/erpnext/manufacturing/doctype/bom_replace_tool/__init__.py similarity index 100% rename from manufacturing/doctype/bom_replace_tool/__init__.py rename to erpnext/manufacturing/doctype/bom_replace_tool/__init__.py diff --git a/manufacturing/doctype/bom_replace_tool/bom_replace_tool.js b/erpnext/manufacturing/doctype/bom_replace_tool/bom_replace_tool.js similarity index 100% rename from manufacturing/doctype/bom_replace_tool/bom_replace_tool.js rename to erpnext/manufacturing/doctype/bom_replace_tool/bom_replace_tool.js diff --git a/manufacturing/doctype/bom_replace_tool/bom_replace_tool.py b/erpnext/manufacturing/doctype/bom_replace_tool/bom_replace_tool.py similarity index 100% rename from manufacturing/doctype/bom_replace_tool/bom_replace_tool.py rename to erpnext/manufacturing/doctype/bom_replace_tool/bom_replace_tool.py diff --git a/manufacturing/doctype/bom_replace_tool/bom_replace_tool.txt b/erpnext/manufacturing/doctype/bom_replace_tool/bom_replace_tool.txt similarity index 100% rename from manufacturing/doctype/bom_replace_tool/bom_replace_tool.txt rename to erpnext/manufacturing/doctype/bom_replace_tool/bom_replace_tool.txt diff --git a/manufacturing/doctype/production_order/README.md b/erpnext/manufacturing/doctype/production_order/README.md similarity index 100% rename from manufacturing/doctype/production_order/README.md rename to erpnext/manufacturing/doctype/production_order/README.md diff --git a/manufacturing/doctype/production_order/__init__.py b/erpnext/manufacturing/doctype/production_order/__init__.py similarity index 100% rename from manufacturing/doctype/production_order/__init__.py rename to erpnext/manufacturing/doctype/production_order/__init__.py diff --git a/manufacturing/doctype/production_order/production_order.js b/erpnext/manufacturing/doctype/production_order/production_order.js similarity index 100% rename from manufacturing/doctype/production_order/production_order.js rename to erpnext/manufacturing/doctype/production_order/production_order.js diff --git a/manufacturing/doctype/production_order/production_order.py b/erpnext/manufacturing/doctype/production_order/production_order.py similarity index 100% rename from manufacturing/doctype/production_order/production_order.py rename to erpnext/manufacturing/doctype/production_order/production_order.py diff --git a/manufacturing/doctype/production_order/production_order.txt b/erpnext/manufacturing/doctype/production_order/production_order.txt similarity index 100% rename from manufacturing/doctype/production_order/production_order.txt rename to erpnext/manufacturing/doctype/production_order/production_order.txt diff --git a/manufacturing/doctype/production_order/test_production_order.py b/erpnext/manufacturing/doctype/production_order/test_production_order.py similarity index 100% rename from manufacturing/doctype/production_order/test_production_order.py rename to erpnext/manufacturing/doctype/production_order/test_production_order.py diff --git a/manufacturing/doctype/production_plan_item/README.md b/erpnext/manufacturing/doctype/production_plan_item/README.md similarity index 100% rename from manufacturing/doctype/production_plan_item/README.md rename to erpnext/manufacturing/doctype/production_plan_item/README.md diff --git a/manufacturing/doctype/production_plan_item/__init__.py b/erpnext/manufacturing/doctype/production_plan_item/__init__.py similarity index 100% rename from manufacturing/doctype/production_plan_item/__init__.py rename to erpnext/manufacturing/doctype/production_plan_item/__init__.py diff --git a/manufacturing/doctype/production_plan_item/production_plan_item.py b/erpnext/manufacturing/doctype/production_plan_item/production_plan_item.py similarity index 100% rename from manufacturing/doctype/production_plan_item/production_plan_item.py rename to erpnext/manufacturing/doctype/production_plan_item/production_plan_item.py diff --git a/manufacturing/doctype/production_plan_item/production_plan_item.txt b/erpnext/manufacturing/doctype/production_plan_item/production_plan_item.txt similarity index 100% rename from manufacturing/doctype/production_plan_item/production_plan_item.txt rename to erpnext/manufacturing/doctype/production_plan_item/production_plan_item.txt diff --git a/manufacturing/doctype/production_plan_sales_order/README.md b/erpnext/manufacturing/doctype/production_plan_sales_order/README.md similarity index 100% rename from manufacturing/doctype/production_plan_sales_order/README.md rename to erpnext/manufacturing/doctype/production_plan_sales_order/README.md diff --git a/manufacturing/doctype/production_plan_sales_order/__init__.py b/erpnext/manufacturing/doctype/production_plan_sales_order/__init__.py similarity index 100% rename from manufacturing/doctype/production_plan_sales_order/__init__.py rename to erpnext/manufacturing/doctype/production_plan_sales_order/__init__.py diff --git a/manufacturing/doctype/production_plan_sales_order/production_plan_sales_order.py b/erpnext/manufacturing/doctype/production_plan_sales_order/production_plan_sales_order.py similarity index 100% rename from manufacturing/doctype/production_plan_sales_order/production_plan_sales_order.py rename to erpnext/manufacturing/doctype/production_plan_sales_order/production_plan_sales_order.py diff --git a/manufacturing/doctype/production_plan_sales_order/production_plan_sales_order.txt b/erpnext/manufacturing/doctype/production_plan_sales_order/production_plan_sales_order.txt similarity index 100% rename from manufacturing/doctype/production_plan_sales_order/production_plan_sales_order.txt rename to erpnext/manufacturing/doctype/production_plan_sales_order/production_plan_sales_order.txt diff --git a/manufacturing/doctype/production_planning_tool/README.md b/erpnext/manufacturing/doctype/production_planning_tool/README.md similarity index 100% rename from manufacturing/doctype/production_planning_tool/README.md rename to erpnext/manufacturing/doctype/production_planning_tool/README.md diff --git a/manufacturing/doctype/production_planning_tool/__init__.py b/erpnext/manufacturing/doctype/production_planning_tool/__init__.py similarity index 100% rename from manufacturing/doctype/production_planning_tool/__init__.py rename to erpnext/manufacturing/doctype/production_planning_tool/__init__.py diff --git a/manufacturing/doctype/production_planning_tool/production_planning_tool.js b/erpnext/manufacturing/doctype/production_planning_tool/production_planning_tool.js similarity index 100% rename from manufacturing/doctype/production_planning_tool/production_planning_tool.js rename to erpnext/manufacturing/doctype/production_planning_tool/production_planning_tool.js diff --git a/manufacturing/doctype/production_planning_tool/production_planning_tool.py b/erpnext/manufacturing/doctype/production_planning_tool/production_planning_tool.py similarity index 100% rename from manufacturing/doctype/production_planning_tool/production_planning_tool.py rename to erpnext/manufacturing/doctype/production_planning_tool/production_planning_tool.py diff --git a/manufacturing/doctype/production_planning_tool/production_planning_tool.txt b/erpnext/manufacturing/doctype/production_planning_tool/production_planning_tool.txt similarity index 100% rename from manufacturing/doctype/production_planning_tool/production_planning_tool.txt rename to erpnext/manufacturing/doctype/production_planning_tool/production_planning_tool.txt diff --git a/manufacturing/doctype/workstation/README.md b/erpnext/manufacturing/doctype/workstation/README.md similarity index 100% rename from manufacturing/doctype/workstation/README.md rename to erpnext/manufacturing/doctype/workstation/README.md diff --git a/manufacturing/doctype/workstation/__init__.py b/erpnext/manufacturing/doctype/workstation/__init__.py similarity index 100% rename from manufacturing/doctype/workstation/__init__.py rename to erpnext/manufacturing/doctype/workstation/__init__.py diff --git a/manufacturing/doctype/workstation/workstation.js b/erpnext/manufacturing/doctype/workstation/workstation.js similarity index 100% rename from manufacturing/doctype/workstation/workstation.js rename to erpnext/manufacturing/doctype/workstation/workstation.js diff --git a/manufacturing/doctype/workstation/workstation.py b/erpnext/manufacturing/doctype/workstation/workstation.py similarity index 100% rename from manufacturing/doctype/workstation/workstation.py rename to erpnext/manufacturing/doctype/workstation/workstation.py diff --git a/manufacturing/doctype/workstation/workstation.txt b/erpnext/manufacturing/doctype/workstation/workstation.txt similarity index 100% rename from manufacturing/doctype/workstation/workstation.txt rename to erpnext/manufacturing/doctype/workstation/workstation.txt diff --git a/manufacturing/page/__init__.py b/erpnext/manufacturing/page/__init__.py similarity index 100% rename from manufacturing/page/__init__.py rename to erpnext/manufacturing/page/__init__.py diff --git a/manufacturing/page/manufacturing_home/__init__.py b/erpnext/manufacturing/page/manufacturing_home/__init__.py similarity index 100% rename from manufacturing/page/manufacturing_home/__init__.py rename to erpnext/manufacturing/page/manufacturing_home/__init__.py diff --git a/manufacturing/page/manufacturing_home/manufacturing_home.js b/erpnext/manufacturing/page/manufacturing_home/manufacturing_home.js similarity index 100% rename from manufacturing/page/manufacturing_home/manufacturing_home.js rename to erpnext/manufacturing/page/manufacturing_home/manufacturing_home.js diff --git a/manufacturing/page/manufacturing_home/manufacturing_home.txt b/erpnext/manufacturing/page/manufacturing_home/manufacturing_home.txt similarity index 100% rename from manufacturing/page/manufacturing_home/manufacturing_home.txt rename to erpnext/manufacturing/page/manufacturing_home/manufacturing_home.txt diff --git a/manufacturing/report/__init__.py b/erpnext/manufacturing/report/__init__.py similarity index 100% rename from manufacturing/report/__init__.py rename to erpnext/manufacturing/report/__init__.py diff --git a/manufacturing/report/completed_production_orders/__init__.py b/erpnext/manufacturing/report/completed_production_orders/__init__.py similarity index 100% rename from manufacturing/report/completed_production_orders/__init__.py rename to erpnext/manufacturing/report/completed_production_orders/__init__.py diff --git a/manufacturing/report/completed_production_orders/completed_production_orders.txt b/erpnext/manufacturing/report/completed_production_orders/completed_production_orders.txt similarity index 100% rename from manufacturing/report/completed_production_orders/completed_production_orders.txt rename to erpnext/manufacturing/report/completed_production_orders/completed_production_orders.txt diff --git a/manufacturing/report/issued_items_against_production_order/__init__.py b/erpnext/manufacturing/report/issued_items_against_production_order/__init__.py similarity index 100% rename from manufacturing/report/issued_items_against_production_order/__init__.py rename to erpnext/manufacturing/report/issued_items_against_production_order/__init__.py diff --git a/manufacturing/report/issued_items_against_production_order/issued_items_against_production_order.txt b/erpnext/manufacturing/report/issued_items_against_production_order/issued_items_against_production_order.txt similarity index 100% rename from manufacturing/report/issued_items_against_production_order/issued_items_against_production_order.txt rename to erpnext/manufacturing/report/issued_items_against_production_order/issued_items_against_production_order.txt diff --git a/manufacturing/report/open_production_orders/__init__.py b/erpnext/manufacturing/report/open_production_orders/__init__.py similarity index 100% rename from manufacturing/report/open_production_orders/__init__.py rename to erpnext/manufacturing/report/open_production_orders/__init__.py diff --git a/manufacturing/report/open_production_orders/open_production_orders.txt b/erpnext/manufacturing/report/open_production_orders/open_production_orders.txt similarity index 100% rename from manufacturing/report/open_production_orders/open_production_orders.txt rename to erpnext/manufacturing/report/open_production_orders/open_production_orders.txt diff --git a/manufacturing/report/production_orders_in_progress/__init__.py b/erpnext/manufacturing/report/production_orders_in_progress/__init__.py similarity index 100% rename from manufacturing/report/production_orders_in_progress/__init__.py rename to erpnext/manufacturing/report/production_orders_in_progress/__init__.py diff --git a/manufacturing/report/production_orders_in_progress/production_orders_in_progress.txt b/erpnext/manufacturing/report/production_orders_in_progress/production_orders_in_progress.txt similarity index 100% rename from manufacturing/report/production_orders_in_progress/production_orders_in_progress.txt rename to erpnext/manufacturing/report/production_orders_in_progress/production_orders_in_progress.txt diff --git a/patches/1311/__init__.py b/erpnext/patches/1311/__init__.py similarity index 100% rename from patches/1311/__init__.py rename to erpnext/patches/1311/__init__.py diff --git a/patches/1311/p01_cleanup.py b/erpnext/patches/1311/p01_cleanup.py similarity index 100% rename from patches/1311/p01_cleanup.py rename to erpnext/patches/1311/p01_cleanup.py diff --git a/patches/1311/p01_make_gl_entries_for_si.py b/erpnext/patches/1311/p01_make_gl_entries_for_si.py similarity index 100% rename from patches/1311/p01_make_gl_entries_for_si.py rename to erpnext/patches/1311/p01_make_gl_entries_for_si.py diff --git a/patches/1311/p02_index_singles.py b/erpnext/patches/1311/p02_index_singles.py similarity index 100% rename from patches/1311/p02_index_singles.py rename to erpnext/patches/1311/p02_index_singles.py diff --git a/patches/1311/p03_update_reqd_report_fields.py b/erpnext/patches/1311/p03_update_reqd_report_fields.py similarity index 100% rename from patches/1311/p03_update_reqd_report_fields.py rename to erpnext/patches/1311/p03_update_reqd_report_fields.py diff --git a/patches/1311/p04_update_comments.py b/erpnext/patches/1311/p04_update_comments.py similarity index 100% rename from patches/1311/p04_update_comments.py rename to erpnext/patches/1311/p04_update_comments.py diff --git a/patches/1311/p04_update_year_end_date_of_fiscal_year.py b/erpnext/patches/1311/p04_update_year_end_date_of_fiscal_year.py similarity index 100% rename from patches/1311/p04_update_year_end_date_of_fiscal_year.py rename to erpnext/patches/1311/p04_update_year_end_date_of_fiscal_year.py diff --git a/patches/1311/p05_website_brand_html.py b/erpnext/patches/1311/p05_website_brand_html.py similarity index 100% rename from patches/1311/p05_website_brand_html.py rename to erpnext/patches/1311/p05_website_brand_html.py diff --git a/patches/1311/p06_fix_report_columns.py b/erpnext/patches/1311/p06_fix_report_columns.py similarity index 100% rename from patches/1311/p06_fix_report_columns.py rename to erpnext/patches/1311/p06_fix_report_columns.py diff --git a/patches/__init__.py b/erpnext/patches/__init__.py similarity index 100% rename from patches/__init__.py rename to erpnext/patches/__init__.py diff --git a/patches/april_2013/__init__.py b/erpnext/patches/april_2013/__init__.py similarity index 100% rename from patches/april_2013/__init__.py rename to erpnext/patches/april_2013/__init__.py diff --git a/patches/april_2013/p01_update_serial_no_valuation_rate.py b/erpnext/patches/april_2013/p01_update_serial_no_valuation_rate.py similarity index 100% rename from patches/april_2013/p01_update_serial_no_valuation_rate.py rename to erpnext/patches/april_2013/p01_update_serial_no_valuation_rate.py diff --git a/patches/april_2013/p02_add_country_and_currency.py b/erpnext/patches/april_2013/p02_add_country_and_currency.py similarity index 100% rename from patches/april_2013/p02_add_country_and_currency.py rename to erpnext/patches/april_2013/p02_add_country_and_currency.py diff --git a/patches/april_2013/p03_fixes_for_lead_in_quotation.py b/erpnext/patches/april_2013/p03_fixes_for_lead_in_quotation.py similarity index 100% rename from patches/april_2013/p03_fixes_for_lead_in_quotation.py rename to erpnext/patches/april_2013/p03_fixes_for_lead_in_quotation.py diff --git a/patches/april_2013/p04_reverse_modules_list.py b/erpnext/patches/april_2013/p04_reverse_modules_list.py similarity index 100% rename from patches/april_2013/p04_reverse_modules_list.py rename to erpnext/patches/april_2013/p04_reverse_modules_list.py diff --git a/patches/april_2013/p04_update_role_in_pages.py b/erpnext/patches/april_2013/p04_update_role_in_pages.py similarity index 100% rename from patches/april_2013/p04_update_role_in_pages.py rename to erpnext/patches/april_2013/p04_update_role_in_pages.py diff --git a/patches/april_2013/p05_fixes_in_reverse_modules.py b/erpnext/patches/april_2013/p05_fixes_in_reverse_modules.py similarity index 100% rename from patches/april_2013/p05_fixes_in_reverse_modules.py rename to erpnext/patches/april_2013/p05_fixes_in_reverse_modules.py diff --git a/patches/april_2013/p05_update_file_data.py b/erpnext/patches/april_2013/p05_update_file_data.py similarity index 100% rename from patches/april_2013/p05_update_file_data.py rename to erpnext/patches/april_2013/p05_update_file_data.py diff --git a/patches/april_2013/p06_default_cost_center.py b/erpnext/patches/april_2013/p06_default_cost_center.py similarity index 100% rename from patches/april_2013/p06_default_cost_center.py rename to erpnext/patches/april_2013/p06_default_cost_center.py diff --git a/patches/april_2013/p06_update_file_size.py b/erpnext/patches/april_2013/p06_update_file_size.py similarity index 100% rename from patches/april_2013/p06_update_file_size.py rename to erpnext/patches/april_2013/p06_update_file_size.py diff --git a/patches/april_2013/p07_rename_cost_center_other_charges.py b/erpnext/patches/april_2013/p07_rename_cost_center_other_charges.py similarity index 100% rename from patches/april_2013/p07_rename_cost_center_other_charges.py rename to erpnext/patches/april_2013/p07_rename_cost_center_other_charges.py diff --git a/patches/april_2013/p07_update_file_data_2.py b/erpnext/patches/april_2013/p07_update_file_data_2.py similarity index 100% rename from patches/april_2013/p07_update_file_data_2.py rename to erpnext/patches/april_2013/p07_update_file_data_2.py diff --git a/patches/april_2013/rebuild_sales_browser.py b/erpnext/patches/april_2013/rebuild_sales_browser.py similarity index 100% rename from patches/april_2013/rebuild_sales_browser.py rename to erpnext/patches/april_2013/rebuild_sales_browser.py diff --git a/patches/august_2013/__init__.py b/erpnext/patches/august_2013/__init__.py similarity index 100% rename from patches/august_2013/__init__.py rename to erpnext/patches/august_2013/__init__.py diff --git a/patches/august_2013/fix_fiscal_year.py b/erpnext/patches/august_2013/fix_fiscal_year.py similarity index 100% rename from patches/august_2013/fix_fiscal_year.py rename to erpnext/patches/august_2013/fix_fiscal_year.py diff --git a/patches/august_2013/p01_auto_accounting_for_stock_patch.py b/erpnext/patches/august_2013/p01_auto_accounting_for_stock_patch.py similarity index 100% rename from patches/august_2013/p01_auto_accounting_for_stock_patch.py rename to erpnext/patches/august_2013/p01_auto_accounting_for_stock_patch.py diff --git a/patches/august_2013/p01_hr_settings.py b/erpnext/patches/august_2013/p01_hr_settings.py similarity index 100% rename from patches/august_2013/p01_hr_settings.py rename to erpnext/patches/august_2013/p01_hr_settings.py diff --git a/patches/august_2013/p02_rename_price_list.py b/erpnext/patches/august_2013/p02_rename_price_list.py similarity index 100% rename from patches/august_2013/p02_rename_price_list.py rename to erpnext/patches/august_2013/p02_rename_price_list.py diff --git a/patches/august_2013/p03_pos_setting_replace_customer_account.py b/erpnext/patches/august_2013/p03_pos_setting_replace_customer_account.py similarity index 100% rename from patches/august_2013/p03_pos_setting_replace_customer_account.py rename to erpnext/patches/august_2013/p03_pos_setting_replace_customer_account.py diff --git a/patches/august_2013/p05_employee_birthdays.py b/erpnext/patches/august_2013/p05_employee_birthdays.py similarity index 100% rename from patches/august_2013/p05_employee_birthdays.py rename to erpnext/patches/august_2013/p05_employee_birthdays.py diff --git a/patches/august_2013/p05_update_serial_no_status.py b/erpnext/patches/august_2013/p05_update_serial_no_status.py similarity index 100% rename from patches/august_2013/p05_update_serial_no_status.py rename to erpnext/patches/august_2013/p05_update_serial_no_status.py diff --git a/patches/august_2013/p06_deprecate_is_cancelled.py b/erpnext/patches/august_2013/p06_deprecate_is_cancelled.py similarity index 100% rename from patches/august_2013/p06_deprecate_is_cancelled.py rename to erpnext/patches/august_2013/p06_deprecate_is_cancelled.py diff --git a/patches/august_2013/p06_fix_sle_against_stock_entry.py b/erpnext/patches/august_2013/p06_fix_sle_against_stock_entry.py similarity index 100% rename from patches/august_2013/p06_fix_sle_against_stock_entry.py rename to erpnext/patches/august_2013/p06_fix_sle_against_stock_entry.py diff --git a/patches/december_2012/__init__.py b/erpnext/patches/december_2012/__init__.py similarity index 100% rename from patches/december_2012/__init__.py rename to erpnext/patches/december_2012/__init__.py diff --git a/patches/december_2012/address_title.py b/erpnext/patches/december_2012/address_title.py similarity index 100% rename from patches/december_2012/address_title.py rename to erpnext/patches/december_2012/address_title.py diff --git a/patches/december_2012/delete_form16_print_format.py b/erpnext/patches/december_2012/delete_form16_print_format.py similarity index 100% rename from patches/december_2012/delete_form16_print_format.py rename to erpnext/patches/december_2012/delete_form16_print_format.py diff --git a/patches/december_2012/deleted_contact_address_patch.py b/erpnext/patches/december_2012/deleted_contact_address_patch.py similarity index 100% rename from patches/december_2012/deleted_contact_address_patch.py rename to erpnext/patches/december_2012/deleted_contact_address_patch.py diff --git a/patches/december_2012/deprecate_tds.py b/erpnext/patches/december_2012/deprecate_tds.py similarity index 100% rename from patches/december_2012/deprecate_tds.py rename to erpnext/patches/december_2012/deprecate_tds.py diff --git a/patches/december_2012/expense_leave_reload.py b/erpnext/patches/december_2012/expense_leave_reload.py similarity index 100% rename from patches/december_2012/expense_leave_reload.py rename to erpnext/patches/december_2012/expense_leave_reload.py diff --git a/patches/december_2012/file_list_rename.py b/erpnext/patches/december_2012/file_list_rename.py similarity index 100% rename from patches/december_2012/file_list_rename.py rename to erpnext/patches/december_2012/file_list_rename.py diff --git a/patches/december_2012/fix_default_print_format.py b/erpnext/patches/december_2012/fix_default_print_format.py similarity index 100% rename from patches/december_2012/fix_default_print_format.py rename to erpnext/patches/december_2012/fix_default_print_format.py diff --git a/patches/december_2012/move_recent_to_memcache.py b/erpnext/patches/december_2012/move_recent_to_memcache.py similarity index 100% rename from patches/december_2012/move_recent_to_memcache.py rename to erpnext/patches/december_2012/move_recent_to_memcache.py diff --git a/patches/december_2012/production_cleanup.py b/erpnext/patches/december_2012/production_cleanup.py similarity index 100% rename from patches/december_2012/production_cleanup.py rename to erpnext/patches/december_2012/production_cleanup.py diff --git a/patches/december_2012/production_order_naming_series.py b/erpnext/patches/december_2012/production_order_naming_series.py similarity index 100% rename from patches/december_2012/production_order_naming_series.py rename to erpnext/patches/december_2012/production_order_naming_series.py diff --git a/patches/december_2012/rebuild_item_group_tree.py b/erpnext/patches/december_2012/rebuild_item_group_tree.py similarity index 100% rename from patches/december_2012/rebuild_item_group_tree.py rename to erpnext/patches/december_2012/rebuild_item_group_tree.py diff --git a/patches/december_2012/remove_quotation_next_contact.py b/erpnext/patches/december_2012/remove_quotation_next_contact.py similarity index 100% rename from patches/december_2012/remove_quotation_next_contact.py rename to erpnext/patches/december_2012/remove_quotation_next_contact.py diff --git a/patches/december_2012/replace_createlocal.py b/erpnext/patches/december_2012/replace_createlocal.py similarity index 100% rename from patches/december_2012/replace_createlocal.py rename to erpnext/patches/december_2012/replace_createlocal.py diff --git a/patches/december_2012/repost_ordered_qty.py b/erpnext/patches/december_2012/repost_ordered_qty.py similarity index 100% rename from patches/december_2012/repost_ordered_qty.py rename to erpnext/patches/december_2012/repost_ordered_qty.py diff --git a/patches/december_2012/repost_projected_qty.py b/erpnext/patches/december_2012/repost_projected_qty.py similarity index 100% rename from patches/december_2012/repost_projected_qty.py rename to erpnext/patches/december_2012/repost_projected_qty.py diff --git a/patches/december_2012/stock_entry_cleanup.py b/erpnext/patches/december_2012/stock_entry_cleanup.py similarity index 100% rename from patches/december_2012/stock_entry_cleanup.py rename to erpnext/patches/december_2012/stock_entry_cleanup.py diff --git a/patches/december_2012/update_print_width.py b/erpnext/patches/december_2012/update_print_width.py similarity index 100% rename from patches/december_2012/update_print_width.py rename to erpnext/patches/december_2012/update_print_width.py diff --git a/patches/december_2012/website_cache_refactor.py b/erpnext/patches/december_2012/website_cache_refactor.py similarity index 100% rename from patches/december_2012/website_cache_refactor.py rename to erpnext/patches/december_2012/website_cache_refactor.py diff --git a/patches/february_2013/__init__.py b/erpnext/patches/february_2013/__init__.py similarity index 100% rename from patches/february_2013/__init__.py rename to erpnext/patches/february_2013/__init__.py diff --git a/patches/february_2013/account_negative_balance.py b/erpnext/patches/february_2013/account_negative_balance.py similarity index 100% rename from patches/february_2013/account_negative_balance.py rename to erpnext/patches/february_2013/account_negative_balance.py diff --git a/patches/february_2013/fix_outstanding.py b/erpnext/patches/february_2013/fix_outstanding.py similarity index 100% rename from patches/february_2013/fix_outstanding.py rename to erpnext/patches/february_2013/fix_outstanding.py diff --git a/patches/february_2013/gle_floating_point_issue_revisited.py b/erpnext/patches/february_2013/gle_floating_point_issue_revisited.py similarity index 100% rename from patches/february_2013/gle_floating_point_issue_revisited.py rename to erpnext/patches/february_2013/gle_floating_point_issue_revisited.py diff --git a/patches/february_2013/p01_event.py b/erpnext/patches/february_2013/p01_event.py similarity index 100% rename from patches/february_2013/p01_event.py rename to erpnext/patches/february_2013/p01_event.py diff --git a/patches/february_2013/p02_email_digest.py b/erpnext/patches/february_2013/p02_email_digest.py similarity index 100% rename from patches/february_2013/p02_email_digest.py rename to erpnext/patches/february_2013/p02_email_digest.py diff --git a/patches/february_2013/p03_material_request.py b/erpnext/patches/february_2013/p03_material_request.py similarity index 100% rename from patches/february_2013/p03_material_request.py rename to erpnext/patches/february_2013/p03_material_request.py diff --git a/patches/february_2013/p04_remove_old_doctypes.py b/erpnext/patches/february_2013/p04_remove_old_doctypes.py similarity index 100% rename from patches/february_2013/p04_remove_old_doctypes.py rename to erpnext/patches/february_2013/p04_remove_old_doctypes.py diff --git a/patches/february_2013/p05_leave_application.py b/erpnext/patches/february_2013/p05_leave_application.py similarity index 100% rename from patches/february_2013/p05_leave_application.py rename to erpnext/patches/february_2013/p05_leave_application.py diff --git a/patches/february_2013/p08_todo_query_report.py b/erpnext/patches/february_2013/p08_todo_query_report.py similarity index 100% rename from patches/february_2013/p08_todo_query_report.py rename to erpnext/patches/february_2013/p08_todo_query_report.py diff --git a/patches/february_2013/p09_remove_cancelled_warehouses.py b/erpnext/patches/february_2013/p09_remove_cancelled_warehouses.py similarity index 100% rename from patches/february_2013/p09_remove_cancelled_warehouses.py rename to erpnext/patches/february_2013/p09_remove_cancelled_warehouses.py diff --git a/patches/february_2013/p09_timesheets.py b/erpnext/patches/february_2013/p09_timesheets.py similarity index 100% rename from patches/february_2013/p09_timesheets.py rename to erpnext/patches/february_2013/p09_timesheets.py diff --git a/patches/february_2013/payment_reconciliation_reset_values.py b/erpnext/patches/february_2013/payment_reconciliation_reset_values.py similarity index 100% rename from patches/february_2013/payment_reconciliation_reset_values.py rename to erpnext/patches/february_2013/payment_reconciliation_reset_values.py diff --git a/patches/february_2013/reload_bom_replace_tool_permission.py b/erpnext/patches/february_2013/reload_bom_replace_tool_permission.py similarity index 100% rename from patches/february_2013/reload_bom_replace_tool_permission.py rename to erpnext/patches/february_2013/reload_bom_replace_tool_permission.py diff --git a/patches/february_2013/remove_account_utils_folder.py b/erpnext/patches/february_2013/remove_account_utils_folder.py similarity index 100% rename from patches/february_2013/remove_account_utils_folder.py rename to erpnext/patches/february_2013/remove_account_utils_folder.py diff --git a/patches/february_2013/remove_gl_mapper.py b/erpnext/patches/february_2013/remove_gl_mapper.py similarity index 100% rename from patches/february_2013/remove_gl_mapper.py rename to erpnext/patches/february_2013/remove_gl_mapper.py diff --git a/patches/february_2013/repost_reserved_qty.py b/erpnext/patches/february_2013/repost_reserved_qty.py similarity index 100% rename from patches/february_2013/repost_reserved_qty.py rename to erpnext/patches/february_2013/repost_reserved_qty.py diff --git a/patches/february_2013/update_company_in_leave_application.py b/erpnext/patches/february_2013/update_company_in_leave_application.py similarity index 100% rename from patches/february_2013/update_company_in_leave_application.py rename to erpnext/patches/february_2013/update_company_in_leave_application.py diff --git a/patches/january_2013/__init__.py b/erpnext/patches/january_2013/__init__.py similarity index 100% rename from patches/january_2013/__init__.py rename to erpnext/patches/january_2013/__init__.py diff --git a/patches/january_2013/change_patch_structure.py b/erpnext/patches/january_2013/change_patch_structure.py similarity index 100% rename from patches/january_2013/change_patch_structure.py rename to erpnext/patches/january_2013/change_patch_structure.py diff --git a/patches/january_2013/enable_currencies.py b/erpnext/patches/january_2013/enable_currencies.py similarity index 100% rename from patches/january_2013/enable_currencies.py rename to erpnext/patches/january_2013/enable_currencies.py diff --git a/patches/january_2013/file_list_rename_returns.py b/erpnext/patches/january_2013/file_list_rename_returns.py similarity index 100% rename from patches/january_2013/file_list_rename_returns.py rename to erpnext/patches/january_2013/file_list_rename_returns.py diff --git a/patches/january_2013/give_report_permission_on_read.py b/erpnext/patches/january_2013/give_report_permission_on_read.py similarity index 100% rename from patches/january_2013/give_report_permission_on_read.py rename to erpnext/patches/january_2013/give_report_permission_on_read.py diff --git a/patches/january_2013/holiday_list_patch.py b/erpnext/patches/january_2013/holiday_list_patch.py similarity index 100% rename from patches/january_2013/holiday_list_patch.py rename to erpnext/patches/january_2013/holiday_list_patch.py diff --git a/patches/january_2013/rebuild_tree.py b/erpnext/patches/january_2013/rebuild_tree.py similarity index 100% rename from patches/january_2013/rebuild_tree.py rename to erpnext/patches/january_2013/rebuild_tree.py diff --git a/patches/january_2013/reload_print_format.py b/erpnext/patches/january_2013/reload_print_format.py similarity index 100% rename from patches/january_2013/reload_print_format.py rename to erpnext/patches/january_2013/reload_print_format.py diff --git a/patches/january_2013/remove_bad_permissions.py b/erpnext/patches/january_2013/remove_bad_permissions.py similarity index 100% rename from patches/january_2013/remove_bad_permissions.py rename to erpnext/patches/january_2013/remove_bad_permissions.py diff --git a/patches/january_2013/remove_landed_cost_master.py b/erpnext/patches/january_2013/remove_landed_cost_master.py similarity index 100% rename from patches/january_2013/remove_landed_cost_master.py rename to erpnext/patches/january_2013/remove_landed_cost_master.py diff --git a/patches/january_2013/remove_tds_entry_from_gl_mapper.py b/erpnext/patches/january_2013/remove_tds_entry_from_gl_mapper.py similarity index 100% rename from patches/january_2013/remove_tds_entry_from_gl_mapper.py rename to erpnext/patches/january_2013/remove_tds_entry_from_gl_mapper.py diff --git a/patches/january_2013/remove_unwanted_permission.py b/erpnext/patches/january_2013/remove_unwanted_permission.py similarity index 100% rename from patches/january_2013/remove_unwanted_permission.py rename to erpnext/patches/january_2013/remove_unwanted_permission.py diff --git a/patches/january_2013/report_permission.py b/erpnext/patches/january_2013/report_permission.py similarity index 100% rename from patches/january_2013/report_permission.py rename to erpnext/patches/january_2013/report_permission.py diff --git a/patches/january_2013/stock_reconciliation_patch.py b/erpnext/patches/january_2013/stock_reconciliation_patch.py similarity index 100% rename from patches/january_2013/stock_reconciliation_patch.py rename to erpnext/patches/january_2013/stock_reconciliation_patch.py diff --git a/patches/january_2013/tabsessions_to_myisam.py b/erpnext/patches/january_2013/tabsessions_to_myisam.py similarity index 100% rename from patches/january_2013/tabsessions_to_myisam.py rename to erpnext/patches/january_2013/tabsessions_to_myisam.py diff --git a/patches/january_2013/update_closed_on.py b/erpnext/patches/january_2013/update_closed_on.py similarity index 100% rename from patches/january_2013/update_closed_on.py rename to erpnext/patches/january_2013/update_closed_on.py diff --git a/patches/january_2013/update_country_info.py b/erpnext/patches/january_2013/update_country_info.py similarity index 100% rename from patches/january_2013/update_country_info.py rename to erpnext/patches/january_2013/update_country_info.py diff --git a/patches/january_2013/update_fraction_for_usd.py b/erpnext/patches/january_2013/update_fraction_for_usd.py similarity index 100% rename from patches/january_2013/update_fraction_for_usd.py rename to erpnext/patches/january_2013/update_fraction_for_usd.py diff --git a/patches/january_2013/update_number_format.py b/erpnext/patches/january_2013/update_number_format.py similarity index 100% rename from patches/january_2013/update_number_format.py rename to erpnext/patches/january_2013/update_number_format.py diff --git a/patches/july_2013/__init__.py b/erpnext/patches/july_2013/__init__.py similarity index 100% rename from patches/july_2013/__init__.py rename to erpnext/patches/july_2013/__init__.py diff --git a/patches/july_2013/p01_remove_doctype_mappers.py b/erpnext/patches/july_2013/p01_remove_doctype_mappers.py similarity index 100% rename from patches/july_2013/p01_remove_doctype_mappers.py rename to erpnext/patches/july_2013/p01_remove_doctype_mappers.py diff --git a/patches/july_2013/p01_same_sales_rate_patch.py b/erpnext/patches/july_2013/p01_same_sales_rate_patch.py similarity index 100% rename from patches/july_2013/p01_same_sales_rate_patch.py rename to erpnext/patches/july_2013/p01_same_sales_rate_patch.py diff --git a/patches/july_2013/p02_copy_shipping_address.py b/erpnext/patches/july_2013/p02_copy_shipping_address.py similarity index 100% rename from patches/july_2013/p02_copy_shipping_address.py rename to erpnext/patches/july_2013/p02_copy_shipping_address.py diff --git a/patches/july_2013/p03_cost_center_company.py b/erpnext/patches/july_2013/p03_cost_center_company.py similarity index 100% rename from patches/july_2013/p03_cost_center_company.py rename to erpnext/patches/july_2013/p03_cost_center_company.py diff --git a/patches/july_2013/p04_merge_duplicate_leads.py b/erpnext/patches/july_2013/p04_merge_duplicate_leads.py similarity index 100% rename from patches/july_2013/p04_merge_duplicate_leads.py rename to erpnext/patches/july_2013/p04_merge_duplicate_leads.py diff --git a/patches/july_2013/p05_custom_doctypes_in_list_view.py b/erpnext/patches/july_2013/p05_custom_doctypes_in_list_view.py similarity index 100% rename from patches/july_2013/p05_custom_doctypes_in_list_view.py rename to erpnext/patches/july_2013/p05_custom_doctypes_in_list_view.py diff --git a/patches/july_2013/p06_same_sales_rate.py b/erpnext/patches/july_2013/p06_same_sales_rate.py similarity index 100% rename from patches/july_2013/p06_same_sales_rate.py rename to erpnext/patches/july_2013/p06_same_sales_rate.py diff --git a/patches/july_2013/p07_repost_billed_amt_in_sales_cycle.py b/erpnext/patches/july_2013/p07_repost_billed_amt_in_sales_cycle.py similarity index 100% rename from patches/july_2013/p07_repost_billed_amt_in_sales_cycle.py rename to erpnext/patches/july_2013/p07_repost_billed_amt_in_sales_cycle.py diff --git a/patches/july_2013/p08_custom_print_format_net_total_export.py b/erpnext/patches/july_2013/p08_custom_print_format_net_total_export.py similarity index 100% rename from patches/july_2013/p08_custom_print_format_net_total_export.py rename to erpnext/patches/july_2013/p08_custom_print_format_net_total_export.py diff --git a/patches/july_2013/p09_remove_website_pyc.py b/erpnext/patches/july_2013/p09_remove_website_pyc.py similarity index 100% rename from patches/july_2013/p09_remove_website_pyc.py rename to erpnext/patches/july_2013/p09_remove_website_pyc.py diff --git a/patches/july_2013/p10_change_partner_user_to_website_user.py b/erpnext/patches/july_2013/p10_change_partner_user_to_website_user.py similarity index 100% rename from patches/july_2013/p10_change_partner_user_to_website_user.py rename to erpnext/patches/july_2013/p10_change_partner_user_to_website_user.py diff --git a/patches/july_2013/p11_update_price_list_currency.py b/erpnext/patches/july_2013/p11_update_price_list_currency.py similarity index 100% rename from patches/july_2013/p11_update_price_list_currency.py rename to erpnext/patches/july_2013/p11_update_price_list_currency.py diff --git a/patches/july_2013/restore_tree_roots.py b/erpnext/patches/july_2013/restore_tree_roots.py similarity index 100% rename from patches/july_2013/restore_tree_roots.py rename to erpnext/patches/july_2013/restore_tree_roots.py diff --git a/patches/june_2013/__init__.py b/erpnext/patches/june_2013/__init__.py similarity index 100% rename from patches/june_2013/__init__.py rename to erpnext/patches/june_2013/__init__.py diff --git a/patches/june_2013/p01_update_bom_exploded_items.py b/erpnext/patches/june_2013/p01_update_bom_exploded_items.py similarity index 100% rename from patches/june_2013/p01_update_bom_exploded_items.py rename to erpnext/patches/june_2013/p01_update_bom_exploded_items.py diff --git a/patches/june_2013/p02_update_project_completed.py b/erpnext/patches/june_2013/p02_update_project_completed.py similarity index 100% rename from patches/june_2013/p02_update_project_completed.py rename to erpnext/patches/june_2013/p02_update_project_completed.py diff --git a/patches/june_2013/p03_buying_selling_for_price_list.py b/erpnext/patches/june_2013/p03_buying_selling_for_price_list.py similarity index 100% rename from patches/june_2013/p03_buying_selling_for_price_list.py rename to erpnext/patches/june_2013/p03_buying_selling_for_price_list.py diff --git a/patches/june_2013/p04_fix_event_for_lead_oppty_project.py b/erpnext/patches/june_2013/p04_fix_event_for_lead_oppty_project.py similarity index 100% rename from patches/june_2013/p04_fix_event_for_lead_oppty_project.py rename to erpnext/patches/june_2013/p04_fix_event_for_lead_oppty_project.py diff --git a/patches/june_2013/p05_remove_search_criteria_reports.py b/erpnext/patches/june_2013/p05_remove_search_criteria_reports.py similarity index 100% rename from patches/june_2013/p05_remove_search_criteria_reports.py rename to erpnext/patches/june_2013/p05_remove_search_criteria_reports.py diff --git a/patches/june_2013/p05_remove_unused_doctypes.py b/erpnext/patches/june_2013/p05_remove_unused_doctypes.py similarity index 100% rename from patches/june_2013/p05_remove_unused_doctypes.py rename to erpnext/patches/june_2013/p05_remove_unused_doctypes.py diff --git a/patches/june_2013/p06_drop_unused_tables.py b/erpnext/patches/june_2013/p06_drop_unused_tables.py similarity index 100% rename from patches/june_2013/p06_drop_unused_tables.py rename to erpnext/patches/june_2013/p06_drop_unused_tables.py diff --git a/patches/june_2013/p07_taxes_price_list_for_territory.py b/erpnext/patches/june_2013/p07_taxes_price_list_for_territory.py similarity index 100% rename from patches/june_2013/p07_taxes_price_list_for_territory.py rename to erpnext/patches/june_2013/p07_taxes_price_list_for_territory.py diff --git a/patches/june_2013/p08_shopping_cart_settings.py b/erpnext/patches/june_2013/p08_shopping_cart_settings.py similarity index 100% rename from patches/june_2013/p08_shopping_cart_settings.py rename to erpnext/patches/june_2013/p08_shopping_cart_settings.py diff --git a/patches/june_2013/p09_update_global_defaults.py b/erpnext/patches/june_2013/p09_update_global_defaults.py similarity index 100% rename from patches/june_2013/p09_update_global_defaults.py rename to erpnext/patches/june_2013/p09_update_global_defaults.py diff --git a/patches/june_2013/p10_lead_address.py b/erpnext/patches/june_2013/p10_lead_address.py similarity index 100% rename from patches/june_2013/p10_lead_address.py rename to erpnext/patches/june_2013/p10_lead_address.py diff --git a/patches/march_2013/__init__.py b/erpnext/patches/march_2013/__init__.py similarity index 100% rename from patches/march_2013/__init__.py rename to erpnext/patches/march_2013/__init__.py diff --git a/patches/march_2013/p01_c_form.py b/erpnext/patches/march_2013/p01_c_form.py similarity index 100% rename from patches/march_2013/p01_c_form.py rename to erpnext/patches/march_2013/p01_c_form.py diff --git a/patches/march_2013/p02_get_global_default.py b/erpnext/patches/march_2013/p02_get_global_default.py similarity index 100% rename from patches/march_2013/p02_get_global_default.py rename to erpnext/patches/march_2013/p02_get_global_default.py diff --git a/patches/march_2013/p03_rename_blog_to_blog_post.py b/erpnext/patches/march_2013/p03_rename_blog_to_blog_post.py similarity index 100% rename from patches/march_2013/p03_rename_blog_to_blog_post.py rename to erpnext/patches/march_2013/p03_rename_blog_to_blog_post.py diff --git a/patches/march_2013/p04_pos_update_stock_check.py b/erpnext/patches/march_2013/p04_pos_update_stock_check.py similarity index 100% rename from patches/march_2013/p04_pos_update_stock_check.py rename to erpnext/patches/march_2013/p04_pos_update_stock_check.py diff --git a/patches/march_2013/p05_payment_reconciliation.py b/erpnext/patches/march_2013/p05_payment_reconciliation.py similarity index 100% rename from patches/march_2013/p05_payment_reconciliation.py rename to erpnext/patches/march_2013/p05_payment_reconciliation.py diff --git a/patches/march_2013/p06_remove_sales_purchase_return_tool.py b/erpnext/patches/march_2013/p06_remove_sales_purchase_return_tool.py similarity index 100% rename from patches/march_2013/p06_remove_sales_purchase_return_tool.py rename to erpnext/patches/march_2013/p06_remove_sales_purchase_return_tool.py diff --git a/patches/march_2013/p07_update_project_in_stock_ledger.py b/erpnext/patches/march_2013/p07_update_project_in_stock_ledger.py similarity index 100% rename from patches/march_2013/p07_update_project_in_stock_ledger.py rename to erpnext/patches/march_2013/p07_update_project_in_stock_ledger.py diff --git a/patches/march_2013/p07_update_valuation_rate.py b/erpnext/patches/march_2013/p07_update_valuation_rate.py similarity index 100% rename from patches/march_2013/p07_update_valuation_rate.py rename to erpnext/patches/march_2013/p07_update_valuation_rate.py diff --git a/patches/march_2013/p08_create_aii_accounts.py b/erpnext/patches/march_2013/p08_create_aii_accounts.py similarity index 100% rename from patches/march_2013/p08_create_aii_accounts.py rename to erpnext/patches/march_2013/p08_create_aii_accounts.py diff --git a/patches/march_2013/p10_set_fiscal_year_for_stock.py b/erpnext/patches/march_2013/p10_set_fiscal_year_for_stock.py similarity index 100% rename from patches/march_2013/p10_set_fiscal_year_for_stock.py rename to erpnext/patches/march_2013/p10_set_fiscal_year_for_stock.py diff --git a/patches/march_2013/p10_update_against_expense_account.py b/erpnext/patches/march_2013/p10_update_against_expense_account.py similarity index 100% rename from patches/march_2013/p10_update_against_expense_account.py rename to erpnext/patches/march_2013/p10_update_against_expense_account.py diff --git a/patches/march_2013/p11_update_attach_files.py b/erpnext/patches/march_2013/p11_update_attach_files.py similarity index 100% rename from patches/march_2013/p11_update_attach_files.py rename to erpnext/patches/march_2013/p11_update_attach_files.py diff --git a/patches/march_2013/p12_set_item_tax_rate_in_json.py b/erpnext/patches/march_2013/p12_set_item_tax_rate_in_json.py similarity index 100% rename from patches/march_2013/p12_set_item_tax_rate_in_json.py rename to erpnext/patches/march_2013/p12_set_item_tax_rate_in_json.py diff --git a/patches/march_2013/update_po_prevdoc_doctype.py b/erpnext/patches/march_2013/update_po_prevdoc_doctype.py similarity index 100% rename from patches/march_2013/update_po_prevdoc_doctype.py rename to erpnext/patches/march_2013/update_po_prevdoc_doctype.py diff --git a/patches/may_2013/__init__.py b/erpnext/patches/may_2013/__init__.py similarity index 100% rename from patches/may_2013/__init__.py rename to erpnext/patches/may_2013/__init__.py diff --git a/patches/may_2013/p01_selling_net_total_export.py b/erpnext/patches/may_2013/p01_selling_net_total_export.py similarity index 100% rename from patches/may_2013/p01_selling_net_total_export.py rename to erpnext/patches/may_2013/p01_selling_net_total_export.py diff --git a/patches/may_2013/p02_update_valuation_rate.py b/erpnext/patches/may_2013/p02_update_valuation_rate.py similarity index 100% rename from patches/may_2013/p02_update_valuation_rate.py rename to erpnext/patches/may_2013/p02_update_valuation_rate.py diff --git a/patches/may_2013/p03_update_support_ticket.py b/erpnext/patches/may_2013/p03_update_support_ticket.py similarity index 100% rename from patches/may_2013/p03_update_support_ticket.py rename to erpnext/patches/may_2013/p03_update_support_ticket.py diff --git a/patches/may_2013/p04_reorder_level.py b/erpnext/patches/may_2013/p04_reorder_level.py similarity index 100% rename from patches/may_2013/p04_reorder_level.py rename to erpnext/patches/may_2013/p04_reorder_level.py diff --git a/patches/may_2013/p05_update_cancelled_gl_entries.py b/erpnext/patches/may_2013/p05_update_cancelled_gl_entries.py similarity index 100% rename from patches/may_2013/p05_update_cancelled_gl_entries.py rename to erpnext/patches/may_2013/p05_update_cancelled_gl_entries.py diff --git a/patches/may_2013/p06_make_notes.py b/erpnext/patches/may_2013/p06_make_notes.py similarity index 100% rename from patches/may_2013/p06_make_notes.py rename to erpnext/patches/may_2013/p06_make_notes.py diff --git a/patches/may_2013/p06_update_billed_amt_po_pr.py b/erpnext/patches/may_2013/p06_update_billed_amt_po_pr.py similarity index 100% rename from patches/may_2013/p06_update_billed_amt_po_pr.py rename to erpnext/patches/may_2013/p06_update_billed_amt_po_pr.py diff --git a/patches/may_2013/p07_move_update_stock_to_pos.py b/erpnext/patches/may_2013/p07_move_update_stock_to_pos.py similarity index 100% rename from patches/may_2013/p07_move_update_stock_to_pos.py rename to erpnext/patches/may_2013/p07_move_update_stock_to_pos.py diff --git a/patches/may_2013/p08_change_item_wise_tax.py b/erpnext/patches/may_2013/p08_change_item_wise_tax.py similarity index 100% rename from patches/may_2013/p08_change_item_wise_tax.py rename to erpnext/patches/may_2013/p08_change_item_wise_tax.py diff --git a/patches/may_2013/repost_stock_for_no_posting_time.py b/erpnext/patches/may_2013/repost_stock_for_no_posting_time.py similarity index 100% rename from patches/may_2013/repost_stock_for_no_posting_time.py rename to erpnext/patches/may_2013/repost_stock_for_no_posting_time.py diff --git a/patches/november_2012/__init__.py b/erpnext/patches/november_2012/__init__.py similarity index 100% rename from patches/november_2012/__init__.py rename to erpnext/patches/november_2012/__init__.py diff --git a/patches/november_2012/add_employee_field_in_employee.py b/erpnext/patches/november_2012/add_employee_field_in_employee.py similarity index 100% rename from patches/november_2012/add_employee_field_in_employee.py rename to erpnext/patches/november_2012/add_employee_field_in_employee.py diff --git a/patches/november_2012/add_theme_to_profile.py b/erpnext/patches/november_2012/add_theme_to_profile.py similarity index 100% rename from patches/november_2012/add_theme_to_profile.py rename to erpnext/patches/november_2012/add_theme_to_profile.py diff --git a/patches/november_2012/cancelled_bom_patch.py b/erpnext/patches/november_2012/cancelled_bom_patch.py similarity index 100% rename from patches/november_2012/cancelled_bom_patch.py rename to erpnext/patches/november_2012/cancelled_bom_patch.py diff --git a/patches/november_2012/communication_sender_and_recipient.py b/erpnext/patches/november_2012/communication_sender_and_recipient.py similarity index 100% rename from patches/november_2012/communication_sender_and_recipient.py rename to erpnext/patches/november_2012/communication_sender_and_recipient.py diff --git a/patches/november_2012/custom_field_insert_after.py b/erpnext/patches/november_2012/custom_field_insert_after.py similarity index 100% rename from patches/november_2012/custom_field_insert_after.py rename to erpnext/patches/november_2012/custom_field_insert_after.py diff --git a/patches/november_2012/customer_issue_allocated_to_assigned.py b/erpnext/patches/november_2012/customer_issue_allocated_to_assigned.py similarity index 100% rename from patches/november_2012/customer_issue_allocated_to_assigned.py rename to erpnext/patches/november_2012/customer_issue_allocated_to_assigned.py diff --git a/patches/november_2012/disable_cancelled_profiles.py b/erpnext/patches/november_2012/disable_cancelled_profiles.py similarity index 100% rename from patches/november_2012/disable_cancelled_profiles.py rename to erpnext/patches/november_2012/disable_cancelled_profiles.py diff --git a/patches/november_2012/gle_floating_point_issue.py b/erpnext/patches/november_2012/gle_floating_point_issue.py similarity index 100% rename from patches/november_2012/gle_floating_point_issue.py rename to erpnext/patches/november_2012/gle_floating_point_issue.py diff --git a/patches/november_2012/leave_application_cleanup.py b/erpnext/patches/november_2012/leave_application_cleanup.py similarity index 100% rename from patches/november_2012/leave_application_cleanup.py rename to erpnext/patches/november_2012/leave_application_cleanup.py diff --git a/patches/november_2012/production_order_patch.py b/erpnext/patches/november_2012/production_order_patch.py similarity index 100% rename from patches/november_2012/production_order_patch.py rename to erpnext/patches/november_2012/production_order_patch.py diff --git a/patches/november_2012/report_permissions.py b/erpnext/patches/november_2012/report_permissions.py similarity index 100% rename from patches/november_2012/report_permissions.py rename to erpnext/patches/november_2012/report_permissions.py diff --git a/patches/november_2012/reset_appraisal_permissions.py b/erpnext/patches/november_2012/reset_appraisal_permissions.py similarity index 100% rename from patches/november_2012/reset_appraisal_permissions.py rename to erpnext/patches/november_2012/reset_appraisal_permissions.py diff --git a/patches/november_2012/support_ticket_response_to_communication.py b/erpnext/patches/november_2012/support_ticket_response_to_communication.py similarity index 100% rename from patches/november_2012/support_ticket_response_to_communication.py rename to erpnext/patches/november_2012/support_ticket_response_to_communication.py diff --git a/patches/november_2012/update_delivered_billed_percentage_for_pos.py b/erpnext/patches/november_2012/update_delivered_billed_percentage_for_pos.py similarity index 100% rename from patches/november_2012/update_delivered_billed_percentage_for_pos.py rename to erpnext/patches/november_2012/update_delivered_billed_percentage_for_pos.py diff --git a/patches/october_2012/__init__.py b/erpnext/patches/october_2012/__init__.py similarity index 100% rename from patches/october_2012/__init__.py rename to erpnext/patches/october_2012/__init__.py diff --git a/patches/october_2012/company_fiscal_year_docstatus_patch.py b/erpnext/patches/october_2012/company_fiscal_year_docstatus_patch.py similarity index 100% rename from patches/october_2012/company_fiscal_year_docstatus_patch.py rename to erpnext/patches/october_2012/company_fiscal_year_docstatus_patch.py diff --git a/patches/october_2012/custom_script_delete_permission.py b/erpnext/patches/october_2012/custom_script_delete_permission.py similarity index 100% rename from patches/october_2012/custom_script_delete_permission.py rename to erpnext/patches/october_2012/custom_script_delete_permission.py diff --git a/patches/october_2012/fix_cancelled_gl_entries.py b/erpnext/patches/october_2012/fix_cancelled_gl_entries.py similarity index 100% rename from patches/october_2012/fix_cancelled_gl_entries.py rename to erpnext/patches/october_2012/fix_cancelled_gl_entries.py diff --git a/patches/october_2012/fix_wrong_vouchers.py b/erpnext/patches/october_2012/fix_wrong_vouchers.py similarity index 100% rename from patches/october_2012/fix_wrong_vouchers.py rename to erpnext/patches/october_2012/fix_wrong_vouchers.py diff --git a/patches/october_2012/update_account_property.py b/erpnext/patches/october_2012/update_account_property.py similarity index 100% rename from patches/october_2012/update_account_property.py rename to erpnext/patches/october_2012/update_account_property.py diff --git a/patches/october_2012/update_permission.py b/erpnext/patches/october_2012/update_permission.py similarity index 100% rename from patches/october_2012/update_permission.py rename to erpnext/patches/october_2012/update_permission.py diff --git a/patches/october_2013/__init__.py b/erpnext/patches/october_2013/__init__.py similarity index 100% rename from patches/october_2013/__init__.py rename to erpnext/patches/october_2013/__init__.py diff --git a/patches/october_2013/fix_is_cancelled_in_sle.py b/erpnext/patches/october_2013/fix_is_cancelled_in_sle.py similarity index 100% rename from patches/october_2013/fix_is_cancelled_in_sle.py rename to erpnext/patches/october_2013/fix_is_cancelled_in_sle.py diff --git a/patches/october_2013/p01_fix_serial_no_status.py b/erpnext/patches/october_2013/p01_fix_serial_no_status.py similarity index 100% rename from patches/october_2013/p01_fix_serial_no_status.py rename to erpnext/patches/october_2013/p01_fix_serial_no_status.py diff --git a/patches/october_2013/p01_update_delivery_note_prevdocs.py b/erpnext/patches/october_2013/p01_update_delivery_note_prevdocs.py similarity index 100% rename from patches/october_2013/p01_update_delivery_note_prevdocs.py rename to erpnext/patches/october_2013/p01_update_delivery_note_prevdocs.py diff --git a/patches/october_2013/p02_set_communication_status.py b/erpnext/patches/october_2013/p02_set_communication_status.py similarity index 100% rename from patches/october_2013/p02_set_communication_status.py rename to erpnext/patches/october_2013/p02_set_communication_status.py diff --git a/patches/october_2013/p02_update_price_list_and_item_details_in_item_price.py b/erpnext/patches/october_2013/p02_update_price_list_and_item_details_in_item_price.py similarity index 100% rename from patches/october_2013/p02_update_price_list_and_item_details_in_item_price.py rename to erpnext/patches/october_2013/p02_update_price_list_and_item_details_in_item_price.py diff --git a/patches/october_2013/p03_crm_update_status.py b/erpnext/patches/october_2013/p03_crm_update_status.py similarity index 100% rename from patches/october_2013/p03_crm_update_status.py rename to erpnext/patches/october_2013/p03_crm_update_status.py diff --git a/patches/october_2013/p03_remove_sales_and_purchase_return_tool.py b/erpnext/patches/october_2013/p03_remove_sales_and_purchase_return_tool.py similarity index 100% rename from patches/october_2013/p03_remove_sales_and_purchase_return_tool.py rename to erpnext/patches/october_2013/p03_remove_sales_and_purchase_return_tool.py diff --git a/patches/october_2013/p04_update_report_permission.py b/erpnext/patches/october_2013/p04_update_report_permission.py similarity index 100% rename from patches/october_2013/p04_update_report_permission.py rename to erpnext/patches/october_2013/p04_update_report_permission.py diff --git a/patches/october_2013/p04_wsgi_migration.py b/erpnext/patches/october_2013/p04_wsgi_migration.py similarity index 100% rename from patches/october_2013/p04_wsgi_migration.py rename to erpnext/patches/october_2013/p04_wsgi_migration.py diff --git a/patches/october_2013/p05_delete_gl_entries_for_cancelled_vouchers.py b/erpnext/patches/october_2013/p05_delete_gl_entries_for_cancelled_vouchers.py similarity index 100% rename from patches/october_2013/p05_delete_gl_entries_for_cancelled_vouchers.py rename to erpnext/patches/october_2013/p05_delete_gl_entries_for_cancelled_vouchers.py diff --git a/patches/october_2013/p05_server_custom_script_to_file.py b/erpnext/patches/october_2013/p05_server_custom_script_to_file.py similarity index 100% rename from patches/october_2013/p05_server_custom_script_to_file.py rename to erpnext/patches/october_2013/p05_server_custom_script_to_file.py diff --git a/patches/october_2013/p06_rename_packing_list_doctype.py b/erpnext/patches/october_2013/p06_rename_packing_list_doctype.py similarity index 100% rename from patches/october_2013/p06_rename_packing_list_doctype.py rename to erpnext/patches/october_2013/p06_rename_packing_list_doctype.py diff --git a/patches/october_2013/p06_update_control_panel_and_global_defaults.py b/erpnext/patches/october_2013/p06_update_control_panel_and_global_defaults.py similarity index 100% rename from patches/october_2013/p06_update_control_panel_and_global_defaults.py rename to erpnext/patches/october_2013/p06_update_control_panel_and_global_defaults.py diff --git a/patches/october_2013/p07_rename_for_territory.py b/erpnext/patches/october_2013/p07_rename_for_territory.py similarity index 100% rename from patches/october_2013/p07_rename_for_territory.py rename to erpnext/patches/october_2013/p07_rename_for_territory.py diff --git a/patches/october_2013/p08_cleanup_after_item_price_module_change.py b/erpnext/patches/october_2013/p08_cleanup_after_item_price_module_change.py similarity index 100% rename from patches/october_2013/p08_cleanup_after_item_price_module_change.py rename to erpnext/patches/october_2013/p08_cleanup_after_item_price_module_change.py diff --git a/patches/october_2013/p09_update_naming_series_settings.py b/erpnext/patches/october_2013/p09_update_naming_series_settings.py similarity index 100% rename from patches/october_2013/p09_update_naming_series_settings.py rename to erpnext/patches/october_2013/p09_update_naming_series_settings.py diff --git a/patches/october_2013/p10_plugins_refactor.py b/erpnext/patches/october_2013/p10_plugins_refactor.py similarity index 100% rename from patches/october_2013/p10_plugins_refactor.py rename to erpnext/patches/october_2013/p10_plugins_refactor.py diff --git a/patches/october_2013/perpetual_inventory_stock_transfer_utility.py b/erpnext/patches/october_2013/perpetual_inventory_stock_transfer_utility.py similarity index 100% rename from patches/october_2013/perpetual_inventory_stock_transfer_utility.py rename to erpnext/patches/october_2013/perpetual_inventory_stock_transfer_utility.py diff --git a/patches/october_2013/repost_ordered_qty.py b/erpnext/patches/october_2013/repost_ordered_qty.py similarity index 100% rename from patches/october_2013/repost_ordered_qty.py rename to erpnext/patches/october_2013/repost_ordered_qty.py diff --git a/patches/october_2013/repost_planned_qty.py b/erpnext/patches/october_2013/repost_planned_qty.py similarity index 100% rename from patches/october_2013/repost_planned_qty.py rename to erpnext/patches/october_2013/repost_planned_qty.py diff --git a/patches/october_2013/set_stock_value_diff_in_sle.py b/erpnext/patches/october_2013/set_stock_value_diff_in_sle.py similarity index 100% rename from patches/october_2013/set_stock_value_diff_in_sle.py rename to erpnext/patches/october_2013/set_stock_value_diff_in_sle.py diff --git a/patches/patch_list.py b/erpnext/patches/patch_list.py similarity index 100% rename from patches/patch_list.py rename to erpnext/patches/patch_list.py diff --git a/patches/september_2012/__init__.py b/erpnext/patches/september_2012/__init__.py similarity index 100% rename from patches/september_2012/__init__.py rename to erpnext/patches/september_2012/__init__.py diff --git a/patches/september_2012/add_stock_ledger_entry_index.py b/erpnext/patches/september_2012/add_stock_ledger_entry_index.py similarity index 100% rename from patches/september_2012/add_stock_ledger_entry_index.py rename to erpnext/patches/september_2012/add_stock_ledger_entry_index.py diff --git a/patches/september_2012/all_permissions_patch.py b/erpnext/patches/september_2012/all_permissions_patch.py similarity index 100% rename from patches/september_2012/all_permissions_patch.py rename to erpnext/patches/september_2012/all_permissions_patch.py diff --git a/patches/september_2012/communication_delete_permission.py b/erpnext/patches/september_2012/communication_delete_permission.py similarity index 100% rename from patches/september_2012/communication_delete_permission.py rename to erpnext/patches/september_2012/communication_delete_permission.py diff --git a/patches/september_2012/customer_permission_patch.py b/erpnext/patches/september_2012/customer_permission_patch.py similarity index 100% rename from patches/september_2012/customer_permission_patch.py rename to erpnext/patches/september_2012/customer_permission_patch.py diff --git a/patches/september_2012/deprecate_account_balance.py b/erpnext/patches/september_2012/deprecate_account_balance.py similarity index 100% rename from patches/september_2012/deprecate_account_balance.py rename to erpnext/patches/september_2012/deprecate_account_balance.py diff --git a/patches/september_2012/event_permission.py b/erpnext/patches/september_2012/event_permission.py similarity index 100% rename from patches/september_2012/event_permission.py rename to erpnext/patches/september_2012/event_permission.py diff --git a/patches/september_2012/plot_patch.py b/erpnext/patches/september_2012/plot_patch.py similarity index 100% rename from patches/september_2012/plot_patch.py rename to erpnext/patches/september_2012/plot_patch.py diff --git a/patches/september_2012/profile_delete_permission.py b/erpnext/patches/september_2012/profile_delete_permission.py similarity index 100% rename from patches/september_2012/profile_delete_permission.py rename to erpnext/patches/september_2012/profile_delete_permission.py diff --git a/patches/september_2012/rebuild_trees.py b/erpnext/patches/september_2012/rebuild_trees.py similarity index 100% rename from patches/september_2012/rebuild_trees.py rename to erpnext/patches/september_2012/rebuild_trees.py diff --git a/patches/september_2012/repost_stock.py b/erpnext/patches/september_2012/repost_stock.py similarity index 100% rename from patches/september_2012/repost_stock.py rename to erpnext/patches/september_2012/repost_stock.py diff --git a/patches/september_2012/stock_report_permissions_for_accounts.py b/erpnext/patches/september_2012/stock_report_permissions_for_accounts.py similarity index 100% rename from patches/september_2012/stock_report_permissions_for_accounts.py rename to erpnext/patches/september_2012/stock_report_permissions_for_accounts.py diff --git a/patches/september_2013/__init__.py b/erpnext/patches/september_2013/__init__.py similarity index 100% rename from patches/september_2013/__init__.py rename to erpnext/patches/september_2013/__init__.py diff --git a/patches/september_2013/p01_add_user_defaults_from_pos_setting.py b/erpnext/patches/september_2013/p01_add_user_defaults_from_pos_setting.py similarity index 100% rename from patches/september_2013/p01_add_user_defaults_from_pos_setting.py rename to erpnext/patches/september_2013/p01_add_user_defaults_from_pos_setting.py diff --git a/patches/september_2013/p01_fix_buying_amount_gl_entries.py b/erpnext/patches/september_2013/p01_fix_buying_amount_gl_entries.py similarity index 100% rename from patches/september_2013/p01_fix_buying_amount_gl_entries.py rename to erpnext/patches/september_2013/p01_fix_buying_amount_gl_entries.py diff --git a/patches/september_2013/p01_update_communication.py b/erpnext/patches/september_2013/p01_update_communication.py similarity index 100% rename from patches/september_2013/p01_update_communication.py rename to erpnext/patches/september_2013/p01_update_communication.py diff --git a/patches/september_2013/p02_fix_serial_no_status.py b/erpnext/patches/september_2013/p02_fix_serial_no_status.py similarity index 100% rename from patches/september_2013/p02_fix_serial_no_status.py rename to erpnext/patches/september_2013/p02_fix_serial_no_status.py diff --git a/patches/september_2013/p03_modify_item_price_include_in_price_list.py b/erpnext/patches/september_2013/p03_modify_item_price_include_in_price_list.py similarity index 100% rename from patches/september_2013/p03_modify_item_price_include_in_price_list.py rename to erpnext/patches/september_2013/p03_modify_item_price_include_in_price_list.py diff --git a/patches/september_2013/p03_move_website_to_framework.py b/erpnext/patches/september_2013/p03_move_website_to_framework.py similarity index 100% rename from patches/september_2013/p03_move_website_to_framework.py rename to erpnext/patches/september_2013/p03_move_website_to_framework.py diff --git a/patches/september_2013/p03_update_stock_uom_in_sle.py b/erpnext/patches/september_2013/p03_update_stock_uom_in_sle.py similarity index 100% rename from patches/september_2013/p03_update_stock_uom_in_sle.py rename to erpnext/patches/september_2013/p03_update_stock_uom_in_sle.py diff --git a/patches/september_2013/p04_unsubmit_serial_nos.py b/erpnext/patches/september_2013/p04_unsubmit_serial_nos.py similarity index 100% rename from patches/september_2013/p04_unsubmit_serial_nos.py rename to erpnext/patches/september_2013/p04_unsubmit_serial_nos.py diff --git a/patches/september_2013/p05_fix_customer_in_pos.py b/erpnext/patches/september_2013/p05_fix_customer_in_pos.py similarity index 100% rename from patches/september_2013/p05_fix_customer_in_pos.py rename to erpnext/patches/september_2013/p05_fix_customer_in_pos.py diff --git a/portal/__init__.py b/erpnext/portal/__init__.py similarity index 100% rename from portal/__init__.py rename to erpnext/portal/__init__.py diff --git a/portal/templates/__init__.py b/erpnext/portal/templates/__init__.py similarity index 100% rename from portal/templates/__init__.py rename to erpnext/portal/templates/__init__.py diff --git a/portal/templates/base.html b/erpnext/portal/templates/base.html similarity index 100% rename from portal/templates/base.html rename to erpnext/portal/templates/base.html diff --git a/portal/templates/includes/cart.js b/erpnext/portal/templates/includes/cart.js similarity index 100% rename from portal/templates/includes/cart.js rename to erpnext/portal/templates/includes/cart.js diff --git a/portal/templates/includes/footer.html b/erpnext/portal/templates/includes/footer.html similarity index 100% rename from portal/templates/includes/footer.html rename to erpnext/portal/templates/includes/footer.html diff --git a/portal/templates/includes/transactions.html b/erpnext/portal/templates/includes/transactions.html similarity index 100% rename from portal/templates/includes/transactions.html rename to erpnext/portal/templates/includes/transactions.html diff --git a/portal/templates/pages/__init__.py b/erpnext/portal/templates/pages/__init__.py similarity index 100% rename from portal/templates/pages/__init__.py rename to erpnext/portal/templates/pages/__init__.py diff --git a/portal/templates/pages/cart.html b/erpnext/portal/templates/pages/cart.html similarity index 100% rename from portal/templates/pages/cart.html rename to erpnext/portal/templates/pages/cart.html diff --git a/portal/templates/pages/cart.py b/erpnext/portal/templates/pages/cart.py similarity index 100% rename from portal/templates/pages/cart.py rename to erpnext/portal/templates/pages/cart.py diff --git a/portal/templates/pages/profile.html b/erpnext/portal/templates/pages/profile.html similarity index 100% rename from portal/templates/pages/profile.html rename to erpnext/portal/templates/pages/profile.html diff --git a/portal/templates/pages/profile.py b/erpnext/portal/templates/pages/profile.py similarity index 100% rename from portal/templates/pages/profile.py rename to erpnext/portal/templates/pages/profile.py diff --git a/portal/templates/sale.html b/erpnext/portal/templates/sale.html similarity index 100% rename from portal/templates/sale.html rename to erpnext/portal/templates/sale.html diff --git a/portal/templates/sales_transactions.html b/erpnext/portal/templates/sales_transactions.html similarity index 100% rename from portal/templates/sales_transactions.html rename to erpnext/portal/templates/sales_transactions.html diff --git a/portal/utils.py b/erpnext/portal/utils.py similarity index 100% rename from portal/utils.py rename to erpnext/portal/utils.py diff --git a/projects/__init__.py b/erpnext/projects/__init__.py similarity index 100% rename from projects/__init__.py rename to erpnext/projects/__init__.py diff --git a/projects/doctype/__init__.py b/erpnext/projects/doctype/__init__.py similarity index 100% rename from projects/doctype/__init__.py rename to erpnext/projects/doctype/__init__.py diff --git a/projects/doctype/activity_type/README.md b/erpnext/projects/doctype/activity_type/README.md similarity index 100% rename from projects/doctype/activity_type/README.md rename to erpnext/projects/doctype/activity_type/README.md diff --git a/projects/doctype/activity_type/__init__.py b/erpnext/projects/doctype/activity_type/__init__.py similarity index 100% rename from projects/doctype/activity_type/__init__.py rename to erpnext/projects/doctype/activity_type/__init__.py diff --git a/projects/doctype/activity_type/activity_type.py b/erpnext/projects/doctype/activity_type/activity_type.py similarity index 100% rename from projects/doctype/activity_type/activity_type.py rename to erpnext/projects/doctype/activity_type/activity_type.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/activity_type/test_activity_type.py b/erpnext/projects/doctype/activity_type/test_activity_type.py similarity index 100% rename from projects/doctype/activity_type/test_activity_type.py rename to erpnext/projects/doctype/activity_type/test_activity_type.py diff --git a/projects/doctype/project/README.md b/erpnext/projects/doctype/project/README.md similarity index 100% rename from projects/doctype/project/README.md rename to erpnext/projects/doctype/project/README.md diff --git a/projects/doctype/project/__init__.py b/erpnext/projects/doctype/project/__init__.py similarity index 100% rename from projects/doctype/project/__init__.py rename to erpnext/projects/doctype/project/__init__.py diff --git a/projects/doctype/project/help.md b/erpnext/projects/doctype/project/help.md similarity index 100% rename from projects/doctype/project/help.md rename to erpnext/projects/doctype/project/help.md 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/test_project.py b/erpnext/projects/doctype/project/test_project.py similarity index 100% rename from projects/doctype/project/test_project.py rename to erpnext/projects/doctype/project/test_project.py diff --git a/projects/doctype/project_milestone/README.md b/erpnext/projects/doctype/project_milestone/README.md similarity index 100% rename from projects/doctype/project_milestone/README.md rename to erpnext/projects/doctype/project_milestone/README.md diff --git a/projects/doctype/project_milestone/__init__.py b/erpnext/projects/doctype/project_milestone/__init__.py similarity index 100% rename from projects/doctype/project_milestone/__init__.py rename to erpnext/projects/doctype/project_milestone/__init__.py diff --git a/projects/doctype/project_milestone/project_milestone.py b/erpnext/projects/doctype/project_milestone/project_milestone.py similarity index 100% rename from projects/doctype/project_milestone/project_milestone.py rename to erpnext/projects/doctype/project_milestone/project_milestone.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/task/README.md b/erpnext/projects/doctype/task/README.md similarity index 100% rename from projects/doctype/task/README.md rename to erpnext/projects/doctype/task/README.md diff --git a/projects/doctype/task/__init__.py b/erpnext/projects/doctype/task/__init__.py similarity index 100% rename from projects/doctype/task/__init__.py rename to erpnext/projects/doctype/task/__init__.py diff --git a/projects/doctype/task/task.js b/erpnext/projects/doctype/task/task.js similarity index 100% rename from projects/doctype/task/task.js rename to erpnext/projects/doctype/task/task.js diff --git a/projects/doctype/task/task.py b/erpnext/projects/doctype/task/task.py similarity index 100% rename from projects/doctype/task/task.py rename to erpnext/projects/doctype/task/task.py diff --git a/projects/doctype/task/task.txt b/erpnext/projects/doctype/task/task.txt similarity index 100% rename from projects/doctype/task/task.txt rename to erpnext/projects/doctype/task/task.txt diff --git a/projects/doctype/task/task_calendar.js b/erpnext/projects/doctype/task/task_calendar.js similarity index 100% rename from projects/doctype/task/task_calendar.js rename to erpnext/projects/doctype/task/task_calendar.js diff --git a/projects/doctype/task/test_task.py b/erpnext/projects/doctype/task/test_task.py similarity index 100% rename from projects/doctype/task/test_task.py rename to erpnext/projects/doctype/task/test_task.py diff --git a/projects/doctype/time_log/README.md b/erpnext/projects/doctype/time_log/README.md similarity index 100% rename from projects/doctype/time_log/README.md rename to erpnext/projects/doctype/time_log/README.md diff --git a/projects/doctype/time_log/__init__.py b/erpnext/projects/doctype/time_log/__init__.py similarity index 100% rename from projects/doctype/time_log/__init__.py rename to erpnext/projects/doctype/time_log/__init__.py diff --git a/projects/doctype/time_log/test_time_log.py b/erpnext/projects/doctype/time_log/test_time_log.py similarity index 100% rename from projects/doctype/time_log/test_time_log.py rename to erpnext/projects/doctype/time_log/test_time_log.py diff --git a/projects/doctype/time_log/time_log.js b/erpnext/projects/doctype/time_log/time_log.js similarity index 100% rename from projects/doctype/time_log/time_log.js rename to erpnext/projects/doctype/time_log/time_log.js diff --git a/projects/doctype/time_log/time_log.py b/erpnext/projects/doctype/time_log/time_log.py similarity index 100% rename from projects/doctype/time_log/time_log.py rename to erpnext/projects/doctype/time_log/time_log.py diff --git a/projects/doctype/time_log/time_log.txt b/erpnext/projects/doctype/time_log/time_log.txt similarity index 100% rename from projects/doctype/time_log/time_log.txt rename to erpnext/projects/doctype/time_log/time_log.txt diff --git a/projects/doctype/time_log/time_log_calendar.js b/erpnext/projects/doctype/time_log/time_log_calendar.js similarity index 100% rename from projects/doctype/time_log/time_log_calendar.js rename to erpnext/projects/doctype/time_log/time_log_calendar.js diff --git a/projects/doctype/time_log/time_log_list.js b/erpnext/projects/doctype/time_log/time_log_list.js similarity index 100% rename from projects/doctype/time_log/time_log_list.js rename to erpnext/projects/doctype/time_log/time_log_list.js diff --git a/projects/doctype/time_log_batch/README.md b/erpnext/projects/doctype/time_log_batch/README.md similarity index 100% rename from projects/doctype/time_log_batch/README.md rename to erpnext/projects/doctype/time_log_batch/README.md diff --git a/projects/doctype/time_log_batch/__init__.py b/erpnext/projects/doctype/time_log_batch/__init__.py similarity index 100% rename from projects/doctype/time_log_batch/__init__.py rename to erpnext/projects/doctype/time_log_batch/__init__.py diff --git a/projects/doctype/time_log_batch/test_time_log_batch.py b/erpnext/projects/doctype/time_log_batch/test_time_log_batch.py similarity index 100% rename from projects/doctype/time_log_batch/test_time_log_batch.py rename to erpnext/projects/doctype/time_log_batch/test_time_log_batch.py diff --git a/projects/doctype/time_log_batch/time_log_batch.js b/erpnext/projects/doctype/time_log_batch/time_log_batch.js similarity index 100% rename from projects/doctype/time_log_batch/time_log_batch.js rename to erpnext/projects/doctype/time_log_batch/time_log_batch.js diff --git a/projects/doctype/time_log_batch/time_log_batch.py b/erpnext/projects/doctype/time_log_batch/time_log_batch.py similarity index 100% rename from projects/doctype/time_log_batch/time_log_batch.py rename to erpnext/projects/doctype/time_log_batch/time_log_batch.py diff --git a/projects/doctype/time_log_batch/time_log_batch.txt b/erpnext/projects/doctype/time_log_batch/time_log_batch.txt similarity index 100% rename from projects/doctype/time_log_batch/time_log_batch.txt rename to erpnext/projects/doctype/time_log_batch/time_log_batch.txt diff --git a/projects/doctype/time_log_batch_detail/README.md b/erpnext/projects/doctype/time_log_batch_detail/README.md similarity index 100% rename from projects/doctype/time_log_batch_detail/README.md rename to erpnext/projects/doctype/time_log_batch_detail/README.md diff --git a/projects/doctype/time_log_batch_detail/__init__.py b/erpnext/projects/doctype/time_log_batch_detail/__init__.py similarity index 100% rename from projects/doctype/time_log_batch_detail/__init__.py rename to erpnext/projects/doctype/time_log_batch_detail/__init__.py diff --git a/projects/doctype/time_log_batch_detail/time_log_batch_detail.py b/erpnext/projects/doctype/time_log_batch_detail/time_log_batch_detail.py similarity index 100% rename from projects/doctype/time_log_batch_detail/time_log_batch_detail.py rename to erpnext/projects/doctype/time_log_batch_detail/time_log_batch_detail.py diff --git a/projects/doctype/time_log_batch_detail/time_log_batch_detail.txt b/erpnext/projects/doctype/time_log_batch_detail/time_log_batch_detail.txt similarity index 100% rename from projects/doctype/time_log_batch_detail/time_log_batch_detail.txt rename to erpnext/projects/doctype/time_log_batch_detail/time_log_batch_detail.txt diff --git a/projects/page/__init__.py b/erpnext/projects/page/__init__.py similarity index 100% rename from projects/page/__init__.py rename to erpnext/projects/page/__init__.py diff --git a/projects/page/projects_home/__init__.py b/erpnext/projects/page/projects_home/__init__.py similarity index 100% rename from projects/page/projects_home/__init__.py rename to erpnext/projects/page/projects_home/__init__.py diff --git a/projects/page/projects_home/projects_home.js b/erpnext/projects/page/projects_home/projects_home.js similarity index 100% rename from projects/page/projects_home/projects_home.js rename to erpnext/projects/page/projects_home/projects_home.js diff --git a/projects/page/projects_home/projects_home.txt b/erpnext/projects/page/projects_home/projects_home.txt similarity index 100% rename from projects/page/projects_home/projects_home.txt rename to erpnext/projects/page/projects_home/projects_home.txt diff --git a/projects/report/__init__.py b/erpnext/projects/report/__init__.py similarity index 100% rename from projects/report/__init__.py rename to erpnext/projects/report/__init__.py diff --git a/projects/report/daily_time_log_summary/__init__.py b/erpnext/projects/report/daily_time_log_summary/__init__.py similarity index 100% rename from projects/report/daily_time_log_summary/__init__.py rename to erpnext/projects/report/daily_time_log_summary/__init__.py diff --git a/projects/report/daily_time_log_summary/daily_time_log_summary.js b/erpnext/projects/report/daily_time_log_summary/daily_time_log_summary.js similarity index 100% rename from projects/report/daily_time_log_summary/daily_time_log_summary.js rename to erpnext/projects/report/daily_time_log_summary/daily_time_log_summary.js diff --git a/projects/report/daily_time_log_summary/daily_time_log_summary.py b/erpnext/projects/report/daily_time_log_summary/daily_time_log_summary.py similarity index 100% rename from projects/report/daily_time_log_summary/daily_time_log_summary.py rename to erpnext/projects/report/daily_time_log_summary/daily_time_log_summary.py diff --git a/projects/report/daily_time_log_summary/daily_time_log_summary.txt b/erpnext/projects/report/daily_time_log_summary/daily_time_log_summary.txt similarity index 100% rename from projects/report/daily_time_log_summary/daily_time_log_summary.txt rename to erpnext/projects/report/daily_time_log_summary/daily_time_log_summary.txt diff --git a/projects/report/project_wise_stock_tracking/__init__.py b/erpnext/projects/report/project_wise_stock_tracking/__init__.py similarity index 100% rename from projects/report/project_wise_stock_tracking/__init__.py rename to erpnext/projects/report/project_wise_stock_tracking/__init__.py diff --git a/projects/report/project_wise_stock_tracking/project_wise_stock_tracking.py b/erpnext/projects/report/project_wise_stock_tracking/project_wise_stock_tracking.py similarity index 100% rename from projects/report/project_wise_stock_tracking/project_wise_stock_tracking.py rename to erpnext/projects/report/project_wise_stock_tracking/project_wise_stock_tracking.py diff --git a/projects/report/project_wise_stock_tracking/project_wise_stock_tracking.txt b/erpnext/projects/report/project_wise_stock_tracking/project_wise_stock_tracking.txt similarity index 100% rename from projects/report/project_wise_stock_tracking/project_wise_stock_tracking.txt rename to erpnext/projects/report/project_wise_stock_tracking/project_wise_stock_tracking.txt diff --git a/projects/utils.py b/erpnext/projects/utils.py similarity index 100% rename from projects/utils.py rename to erpnext/projects/utils.py diff --git a/public/build.json b/erpnext/public/build.json similarity index 100% rename from public/build.json rename to erpnext/public/build.json diff --git a/public/css/splash.css b/erpnext/public/css/splash.css similarity index 100% rename from public/css/splash.css rename to erpnext/public/css/splash.css diff --git a/public/images/erpnext-fade.png b/erpnext/public/images/erpnext-fade.png similarity index 100% rename from public/images/erpnext-fade.png rename to erpnext/public/images/erpnext-fade.png diff --git a/public/images/erpnext1.png b/erpnext/public/images/erpnext1.png similarity index 100% rename from public/images/erpnext1.png rename to erpnext/public/images/erpnext1.png diff --git a/public/images/favicon.ico b/erpnext/public/images/favicon.ico similarity index 100% rename from public/images/favicon.ico rename to erpnext/public/images/favicon.ico diff --git a/public/images/feed.png b/erpnext/public/images/feed.png similarity index 100% rename from public/images/feed.png rename to erpnext/public/images/feed.png diff --git a/public/images/splash.svg b/erpnext/public/images/splash.svg similarity index 100% rename from public/images/splash.svg rename to erpnext/public/images/splash.svg diff --git a/public/js/account_tree_grid.js b/erpnext/public/js/account_tree_grid.js similarity index 100% rename from public/js/account_tree_grid.js rename to erpnext/public/js/account_tree_grid.js diff --git a/public/js/conf.js b/erpnext/public/js/conf.js similarity index 100% rename from public/js/conf.js rename to erpnext/public/js/conf.js diff --git a/public/js/controllers/accounts.js b/erpnext/public/js/controllers/accounts.js similarity index 100% rename from public/js/controllers/accounts.js rename to erpnext/public/js/controllers/accounts.js diff --git a/public/js/controllers/stock_controller.js b/erpnext/public/js/controllers/stock_controller.js similarity index 100% rename from public/js/controllers/stock_controller.js rename to erpnext/public/js/controllers/stock_controller.js diff --git a/public/js/feature_setup.js b/erpnext/public/js/feature_setup.js similarity index 100% rename from public/js/feature_setup.js rename to erpnext/public/js/feature_setup.js diff --git a/public/js/purchase_trends_filters.js b/erpnext/public/js/purchase_trends_filters.js similarity index 100% rename from public/js/purchase_trends_filters.js rename to erpnext/public/js/purchase_trends_filters.js diff --git a/public/js/queries.js b/erpnext/public/js/queries.js similarity index 100% rename from public/js/queries.js rename to erpnext/public/js/queries.js diff --git a/public/js/sales_trends_filters.js b/erpnext/public/js/sales_trends_filters.js similarity index 100% rename from public/js/sales_trends_filters.js rename to erpnext/public/js/sales_trends_filters.js diff --git a/public/js/startup.css b/erpnext/public/js/startup.css similarity index 100% rename from public/js/startup.css rename to erpnext/public/js/startup.css diff --git a/public/js/startup.js b/erpnext/public/js/startup.js similarity index 100% rename from public/js/startup.js rename to erpnext/public/js/startup.js diff --git a/public/js/stock_analytics.js b/erpnext/public/js/stock_analytics.js similarity index 100% rename from public/js/stock_analytics.js rename to erpnext/public/js/stock_analytics.js diff --git a/public/js/stock_grid_report.js b/erpnext/public/js/stock_grid_report.js similarity index 100% rename from public/js/stock_grid_report.js rename to erpnext/public/js/stock_grid_report.js diff --git a/public/js/toolbar.js b/erpnext/public/js/toolbar.js similarity index 100% rename from public/js/toolbar.js rename to erpnext/public/js/toolbar.js diff --git a/public/js/transaction.js b/erpnext/public/js/transaction.js similarity index 100% rename from public/js/transaction.js rename to erpnext/public/js/transaction.js diff --git a/public/js/utils.js b/erpnext/public/js/utils.js similarity index 100% rename from public/js/utils.js rename to erpnext/public/js/utils.js diff --git a/public/js/website_utils.js b/erpnext/public/js/website_utils.js similarity index 100% rename from public/js/website_utils.js rename to erpnext/public/js/website_utils.js diff --git a/selling/Print Format/Quotation Classic/Quotation Classic.txt b/erpnext/selling/Print Format/Quotation Classic/Quotation Classic.txt similarity index 100% rename from selling/Print Format/Quotation Classic/Quotation Classic.txt rename to erpnext/selling/Print Format/Quotation Classic/Quotation Classic.txt diff --git a/selling/Print Format/Quotation Modern/Quotation Modern.txt b/erpnext/selling/Print Format/Quotation Modern/Quotation Modern.txt similarity index 100% rename from selling/Print Format/Quotation Modern/Quotation Modern.txt rename to erpnext/selling/Print Format/Quotation Modern/Quotation Modern.txt diff --git a/selling/Print Format/Quotation Spartan/Quotation Spartan.txt b/erpnext/selling/Print Format/Quotation Spartan/Quotation Spartan.txt similarity index 100% rename from selling/Print Format/Quotation Spartan/Quotation Spartan.txt rename to erpnext/selling/Print Format/Quotation Spartan/Quotation Spartan.txt diff --git a/selling/Print Format/Sales Order Classic/Sales Order Classic.txt b/erpnext/selling/Print Format/Sales Order Classic/Sales Order Classic.txt similarity index 100% rename from selling/Print Format/Sales Order Classic/Sales Order Classic.txt rename to erpnext/selling/Print Format/Sales Order Classic/Sales Order Classic.txt diff --git a/selling/Print Format/Sales Order Modern/Sales Order Modern.txt b/erpnext/selling/Print Format/Sales Order Modern/Sales Order Modern.txt similarity index 100% rename from selling/Print Format/Sales Order Modern/Sales Order Modern.txt rename to erpnext/selling/Print Format/Sales Order Modern/Sales Order Modern.txt diff --git a/selling/Print Format/Sales Order Spartan/Sales Order Spartan.txt b/erpnext/selling/Print Format/Sales Order Spartan/Sales Order Spartan.txt similarity index 100% rename from selling/Print Format/Sales Order Spartan/Sales Order Spartan.txt rename to erpnext/selling/Print Format/Sales Order Spartan/Sales Order Spartan.txt diff --git a/selling/README.md b/erpnext/selling/README.md similarity index 100% rename from selling/README.md rename to erpnext/selling/README.md diff --git a/selling/__init__.py b/erpnext/selling/__init__.py similarity index 100% rename from selling/__init__.py rename to erpnext/selling/__init__.py diff --git a/selling/doctype/__init__.py b/erpnext/selling/doctype/__init__.py similarity index 100% rename from selling/doctype/__init__.py rename to erpnext/selling/doctype/__init__.py diff --git a/selling/doctype/campaign/README.md b/erpnext/selling/doctype/campaign/README.md similarity index 100% rename from selling/doctype/campaign/README.md rename to erpnext/selling/doctype/campaign/README.md diff --git a/selling/doctype/campaign/__init__.py b/erpnext/selling/doctype/campaign/__init__.py similarity index 100% rename from selling/doctype/campaign/__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.py b/erpnext/selling/doctype/campaign/campaign.py similarity index 100% rename from selling/doctype/campaign/campaign.py rename to erpnext/selling/doctype/campaign/campaign.py 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/campaign/test_campaign.py b/erpnext/selling/doctype/campaign/test_campaign.py similarity index 100% rename from selling/doctype/campaign/test_campaign.py rename to erpnext/selling/doctype/campaign/test_campaign.py diff --git a/selling/doctype/customer/README.md b/erpnext/selling/doctype/customer/README.md similarity index 100% rename from selling/doctype/customer/README.md rename to erpnext/selling/doctype/customer/README.md diff --git a/selling/doctype/customer/__init__.py b/erpnext/selling/doctype/customer/__init__.py similarity index 100% rename from selling/doctype/customer/__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/customer/test_customer.py b/erpnext/selling/doctype/customer/test_customer.py similarity index 100% rename from selling/doctype/customer/test_customer.py rename to erpnext/selling/doctype/customer/test_customer.py diff --git a/selling/doctype/customer_discount/__init__.py b/erpnext/selling/doctype/customer_discount/__init__.py similarity index 100% rename from selling/doctype/customer_discount/__init__.py rename to erpnext/selling/doctype/customer_discount/__init__.py diff --git a/selling/doctype/customer_discount/customer_discount.py b/erpnext/selling/doctype/customer_discount/customer_discount.py similarity index 100% rename from selling/doctype/customer_discount/customer_discount.py rename to erpnext/selling/doctype/customer_discount/customer_discount.py diff --git a/selling/doctype/customer_discount/customer_discount.txt b/erpnext/selling/doctype/customer_discount/customer_discount.txt similarity index 100% rename from selling/doctype/customer_discount/customer_discount.txt rename to erpnext/selling/doctype/customer_discount/customer_discount.txt diff --git a/selling/doctype/industry_type/README.md b/erpnext/selling/doctype/industry_type/README.md similarity index 100% rename from selling/doctype/industry_type/README.md rename to erpnext/selling/doctype/industry_type/README.md diff --git a/selling/doctype/industry_type/__init__.py b/erpnext/selling/doctype/industry_type/__init__.py similarity index 100% rename from selling/doctype/industry_type/__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.py b/erpnext/selling/doctype/industry_type/industry_type.py similarity index 100% rename from selling/doctype/industry_type/industry_type.py rename to erpnext/selling/doctype/industry_type/industry_type.py 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/industry_type/test_industry_type.py b/erpnext/selling/doctype/industry_type/test_industry_type.py similarity index 100% rename from selling/doctype/industry_type/test_industry_type.py rename to erpnext/selling/doctype/industry_type/test_industry_type.py diff --git a/selling/doctype/installation_note/README.md b/erpnext/selling/doctype/installation_note/README.md similarity index 100% rename from selling/doctype/installation_note/README.md rename to erpnext/selling/doctype/installation_note/README.md diff --git a/selling/doctype/installation_note/__init__.py b/erpnext/selling/doctype/installation_note/__init__.py similarity index 100% rename from selling/doctype/installation_note/__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/installation_note_item/README.md b/erpnext/selling/doctype/installation_note_item/README.md similarity index 100% rename from selling/doctype/installation_note_item/README.md rename to erpnext/selling/doctype/installation_note_item/README.md diff --git a/selling/doctype/installation_note_item/__init__.py b/erpnext/selling/doctype/installation_note_item/__init__.py similarity index 100% rename from selling/doctype/installation_note_item/__init__.py rename to erpnext/selling/doctype/installation_note_item/__init__.py diff --git a/selling/doctype/installation_note_item/installation_note_item.py b/erpnext/selling/doctype/installation_note_item/installation_note_item.py similarity index 100% rename from selling/doctype/installation_note_item/installation_note_item.py rename to erpnext/selling/doctype/installation_note_item/installation_note_item.py diff --git a/selling/doctype/installation_note_item/installation_note_item.txt b/erpnext/selling/doctype/installation_note_item/installation_note_item.txt similarity index 100% rename from selling/doctype/installation_note_item/installation_note_item.txt rename to erpnext/selling/doctype/installation_note_item/installation_note_item.txt diff --git a/selling/doctype/lead/README.md b/erpnext/selling/doctype/lead/README.md similarity index 100% rename from selling/doctype/lead/README.md rename to erpnext/selling/doctype/lead/README.md diff --git a/selling/doctype/lead/__init__.py b/erpnext/selling/doctype/lead/__init__.py similarity index 100% rename from selling/doctype/lead/__init__.py rename to erpnext/selling/doctype/lead/__init__.py diff --git a/selling/doctype/lead/get_leads.py b/erpnext/selling/doctype/lead/get_leads.py similarity index 100% rename from selling/doctype/lead/get_leads.py rename to erpnext/selling/doctype/lead/get_leads.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/test_lead.py b/erpnext/selling/doctype/lead/test_lead.py similarity index 100% rename from selling/doctype/lead/test_lead.py rename to erpnext/selling/doctype/lead/test_lead.py diff --git a/selling/doctype/opportunity/README.md b/erpnext/selling/doctype/opportunity/README.md similarity index 100% rename from selling/doctype/opportunity/README.md rename to erpnext/selling/doctype/opportunity/README.md diff --git a/selling/doctype/opportunity/__init__.py b/erpnext/selling/doctype/opportunity/__init__.py similarity index 100% rename from selling/doctype/opportunity/__init__.py rename to erpnext/selling/doctype/opportunity/__init__.py diff --git a/selling/doctype/opportunity/opportunity.js b/erpnext/selling/doctype/opportunity/opportunity.js similarity index 100% rename from selling/doctype/opportunity/opportunity.js rename to erpnext/selling/doctype/opportunity/opportunity.js diff --git a/selling/doctype/opportunity/opportunity.py b/erpnext/selling/doctype/opportunity/opportunity.py similarity index 100% rename from selling/doctype/opportunity/opportunity.py rename to erpnext/selling/doctype/opportunity/opportunity.py diff --git a/selling/doctype/opportunity/opportunity.txt b/erpnext/selling/doctype/opportunity/opportunity.txt similarity index 100% rename from selling/doctype/opportunity/opportunity.txt rename to erpnext/selling/doctype/opportunity/opportunity.txt diff --git a/selling/doctype/opportunity_item/README.md b/erpnext/selling/doctype/opportunity_item/README.md similarity index 100% rename from selling/doctype/opportunity_item/README.md rename to erpnext/selling/doctype/opportunity_item/README.md diff --git a/selling/doctype/opportunity_item/__init__.py b/erpnext/selling/doctype/opportunity_item/__init__.py similarity index 100% rename from selling/doctype/opportunity_item/__init__.py rename to erpnext/selling/doctype/opportunity_item/__init__.py diff --git a/selling/doctype/opportunity_item/opportunity_item.py b/erpnext/selling/doctype/opportunity_item/opportunity_item.py similarity index 100% rename from selling/doctype/opportunity_item/opportunity_item.py rename to erpnext/selling/doctype/opportunity_item/opportunity_item.py diff --git a/selling/doctype/opportunity_item/opportunity_item.txt b/erpnext/selling/doctype/opportunity_item/opportunity_item.txt similarity index 100% rename from selling/doctype/opportunity_item/opportunity_item.txt rename to erpnext/selling/doctype/opportunity_item/opportunity_item.txt diff --git a/selling/doctype/quotation/README.md b/erpnext/selling/doctype/quotation/README.md similarity index 100% rename from selling/doctype/quotation/README.md rename to erpnext/selling/doctype/quotation/README.md diff --git a/selling/doctype/quotation/__init__.py b/erpnext/selling/doctype/quotation/__init__.py similarity index 100% rename from selling/doctype/quotation/__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/quotation/test_quotation.py b/erpnext/selling/doctype/quotation/test_quotation.py similarity index 100% rename from selling/doctype/quotation/test_quotation.py rename to erpnext/selling/doctype/quotation/test_quotation.py diff --git a/selling/doctype/quotation_item/README.md b/erpnext/selling/doctype/quotation_item/README.md similarity index 100% rename from selling/doctype/quotation_item/README.md rename to erpnext/selling/doctype/quotation_item/README.md diff --git a/selling/doctype/quotation_item/__init__.py b/erpnext/selling/doctype/quotation_item/__init__.py similarity index 100% rename from selling/doctype/quotation_item/__init__.py rename to erpnext/selling/doctype/quotation_item/__init__.py diff --git a/selling/doctype/quotation_item/quotation_item.py b/erpnext/selling/doctype/quotation_item/quotation_item.py similarity index 100% rename from selling/doctype/quotation_item/quotation_item.py rename to erpnext/selling/doctype/quotation_item/quotation_item.py diff --git a/selling/doctype/quotation_item/quotation_item.txt b/erpnext/selling/doctype/quotation_item/quotation_item.txt similarity index 100% rename from selling/doctype/quotation_item/quotation_item.txt rename to erpnext/selling/doctype/quotation_item/quotation_item.txt diff --git a/selling/doctype/sales_bom/__init__.py b/erpnext/selling/doctype/sales_bom/__init__.py similarity index 100% rename from selling/doctype/sales_bom/__init__.py rename to erpnext/selling/doctype/sales_bom/__init__.py diff --git a/selling/doctype/sales_bom/sales_bom.js b/erpnext/selling/doctype/sales_bom/sales_bom.js similarity index 100% rename from selling/doctype/sales_bom/sales_bom.js rename to erpnext/selling/doctype/sales_bom/sales_bom.js diff --git a/selling/doctype/sales_bom/sales_bom.py b/erpnext/selling/doctype/sales_bom/sales_bom.py similarity index 100% rename from selling/doctype/sales_bom/sales_bom.py rename to erpnext/selling/doctype/sales_bom/sales_bom.py diff --git a/selling/doctype/sales_bom/sales_bom.txt b/erpnext/selling/doctype/sales_bom/sales_bom.txt similarity index 100% rename from selling/doctype/sales_bom/sales_bom.txt rename to erpnext/selling/doctype/sales_bom/sales_bom.txt diff --git a/selling/doctype/sales_bom/test_sales_bom.py b/erpnext/selling/doctype/sales_bom/test_sales_bom.py similarity index 100% rename from selling/doctype/sales_bom/test_sales_bom.py rename to erpnext/selling/doctype/sales_bom/test_sales_bom.py diff --git a/selling/doctype/sales_bom_item/__init__.py b/erpnext/selling/doctype/sales_bom_item/__init__.py similarity index 100% rename from selling/doctype/sales_bom_item/__init__.py rename to erpnext/selling/doctype/sales_bom_item/__init__.py diff --git a/selling/doctype/sales_bom_item/sales_bom_item.py b/erpnext/selling/doctype/sales_bom_item/sales_bom_item.py similarity index 100% rename from selling/doctype/sales_bom_item/sales_bom_item.py rename to erpnext/selling/doctype/sales_bom_item/sales_bom_item.py diff --git a/selling/doctype/sales_bom_item/sales_bom_item.txt b/erpnext/selling/doctype/sales_bom_item/sales_bom_item.txt similarity index 100% rename from selling/doctype/sales_bom_item/sales_bom_item.txt rename to erpnext/selling/doctype/sales_bom_item/sales_bom_item.txt diff --git a/selling/doctype/sales_order/README.md b/erpnext/selling/doctype/sales_order/README.md similarity index 100% rename from selling/doctype/sales_order/README.md rename to erpnext/selling/doctype/sales_order/README.md diff --git a/selling/doctype/sales_order/__init__.py b/erpnext/selling/doctype/sales_order/__init__.py similarity index 100% rename from selling/doctype/sales_order/__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_order/templates/__init__.py b/erpnext/selling/doctype/sales_order/templates/__init__.py similarity index 100% rename from selling/doctype/sales_order/templates/__init__.py rename to erpnext/selling/doctype/sales_order/templates/__init__.py diff --git a/selling/doctype/sales_order/templates/pages/__init__.py b/erpnext/selling/doctype/sales_order/templates/pages/__init__.py similarity index 100% rename from selling/doctype/sales_order/templates/pages/__init__.py rename to erpnext/selling/doctype/sales_order/templates/pages/__init__.py diff --git a/selling/doctype/sales_order/templates/pages/order.html b/erpnext/selling/doctype/sales_order/templates/pages/order.html similarity index 100% rename from selling/doctype/sales_order/templates/pages/order.html rename to erpnext/selling/doctype/sales_order/templates/pages/order.html diff --git a/selling/doctype/sales_order/templates/pages/order.py b/erpnext/selling/doctype/sales_order/templates/pages/order.py similarity index 100% rename from selling/doctype/sales_order/templates/pages/order.py rename to erpnext/selling/doctype/sales_order/templates/pages/order.py diff --git a/selling/doctype/sales_order/templates/pages/orders.html b/erpnext/selling/doctype/sales_order/templates/pages/orders.html similarity index 100% rename from selling/doctype/sales_order/templates/pages/orders.html rename to erpnext/selling/doctype/sales_order/templates/pages/orders.html diff --git a/selling/doctype/sales_order/templates/pages/orders.py b/erpnext/selling/doctype/sales_order/templates/pages/orders.py similarity index 100% rename from selling/doctype/sales_order/templates/pages/orders.py rename to erpnext/selling/doctype/sales_order/templates/pages/orders.py diff --git a/selling/doctype/sales_order/test_sales_order.py b/erpnext/selling/doctype/sales_order/test_sales_order.py similarity index 100% rename from selling/doctype/sales_order/test_sales_order.py rename to erpnext/selling/doctype/sales_order/test_sales_order.py diff --git a/selling/doctype/sales_order_item/README.md b/erpnext/selling/doctype/sales_order_item/README.md similarity index 100% rename from selling/doctype/sales_order_item/README.md rename to erpnext/selling/doctype/sales_order_item/README.md diff --git a/selling/doctype/sales_order_item/__init__.py b/erpnext/selling/doctype/sales_order_item/__init__.py similarity index 100% rename from selling/doctype/sales_order_item/__init__.py rename to erpnext/selling/doctype/sales_order_item/__init__.py diff --git a/selling/doctype/sales_order_item/sales_order_item.py b/erpnext/selling/doctype/sales_order_item/sales_order_item.py similarity index 100% rename from selling/doctype/sales_order_item/sales_order_item.py rename to erpnext/selling/doctype/sales_order_item/sales_order_item.py diff --git a/selling/doctype/sales_order_item/sales_order_item.txt b/erpnext/selling/doctype/sales_order_item/sales_order_item.txt similarity index 100% rename from selling/doctype/sales_order_item/sales_order_item.txt rename to erpnext/selling/doctype/sales_order_item/sales_order_item.txt diff --git a/selling/doctype/sales_team/README.md b/erpnext/selling/doctype/sales_team/README.md similarity index 100% rename from selling/doctype/sales_team/README.md rename to erpnext/selling/doctype/sales_team/README.md diff --git a/selling/doctype/sales_team/__init__.py b/erpnext/selling/doctype/sales_team/__init__.py similarity index 100% rename from selling/doctype/sales_team/__init__.py rename to erpnext/selling/doctype/sales_team/__init__.py diff --git a/selling/doctype/sales_team/sales_team.py b/erpnext/selling/doctype/sales_team/sales_team.py similarity index 100% rename from selling/doctype/sales_team/sales_team.py rename to erpnext/selling/doctype/sales_team/sales_team.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/selling_settings/__init__.py b/erpnext/selling/doctype/selling_settings/__init__.py similarity index 100% rename from selling/doctype/selling_settings/__init__.py rename to erpnext/selling/doctype/selling_settings/__init__.py diff --git a/selling/doctype/selling_settings/selling_settings.py b/erpnext/selling/doctype/selling_settings/selling_settings.py similarity index 100% rename from selling/doctype/selling_settings/selling_settings.py rename to erpnext/selling/doctype/selling_settings/selling_settings.py diff --git a/selling/doctype/selling_settings/selling_settings.txt b/erpnext/selling/doctype/selling_settings/selling_settings.txt similarity index 100% rename from selling/doctype/selling_settings/selling_settings.txt rename to erpnext/selling/doctype/selling_settings/selling_settings.txt diff --git a/selling/doctype/shopping_cart_price_list/__init__.py b/erpnext/selling/doctype/shopping_cart_price_list/__init__.py similarity index 100% rename from selling/doctype/shopping_cart_price_list/__init__.py rename to erpnext/selling/doctype/shopping_cart_price_list/__init__.py diff --git a/selling/doctype/shopping_cart_price_list/shopping_cart_price_list.py b/erpnext/selling/doctype/shopping_cart_price_list/shopping_cart_price_list.py similarity index 100% rename from selling/doctype/shopping_cart_price_list/shopping_cart_price_list.py rename to erpnext/selling/doctype/shopping_cart_price_list/shopping_cart_price_list.py diff --git a/selling/doctype/shopping_cart_price_list/shopping_cart_price_list.txt b/erpnext/selling/doctype/shopping_cart_price_list/shopping_cart_price_list.txt similarity index 100% rename from selling/doctype/shopping_cart_price_list/shopping_cart_price_list.txt rename to erpnext/selling/doctype/shopping_cart_price_list/shopping_cart_price_list.txt diff --git a/selling/doctype/shopping_cart_settings/__init__.py b/erpnext/selling/doctype/shopping_cart_settings/__init__.py similarity index 100% rename from selling/doctype/shopping_cart_settings/__init__.py rename to erpnext/selling/doctype/shopping_cart_settings/__init__.py diff --git a/selling/doctype/shopping_cart_settings/shopping_cart_settings.js b/erpnext/selling/doctype/shopping_cart_settings/shopping_cart_settings.js similarity index 100% rename from selling/doctype/shopping_cart_settings/shopping_cart_settings.js rename to erpnext/selling/doctype/shopping_cart_settings/shopping_cart_settings.js diff --git a/selling/doctype/shopping_cart_settings/shopping_cart_settings.py b/erpnext/selling/doctype/shopping_cart_settings/shopping_cart_settings.py similarity index 100% rename from selling/doctype/shopping_cart_settings/shopping_cart_settings.py rename to erpnext/selling/doctype/shopping_cart_settings/shopping_cart_settings.py diff --git a/selling/doctype/shopping_cart_settings/shopping_cart_settings.txt b/erpnext/selling/doctype/shopping_cart_settings/shopping_cart_settings.txt similarity index 100% rename from selling/doctype/shopping_cart_settings/shopping_cart_settings.txt rename to erpnext/selling/doctype/shopping_cart_settings/shopping_cart_settings.txt diff --git a/selling/doctype/shopping_cart_settings/test_shopping_cart_settings.py b/erpnext/selling/doctype/shopping_cart_settings/test_shopping_cart_settings.py similarity index 100% rename from selling/doctype/shopping_cart_settings/test_shopping_cart_settings.py rename to erpnext/selling/doctype/shopping_cart_settings/test_shopping_cart_settings.py diff --git a/selling/doctype/shopping_cart_shipping_rule/__init__.py b/erpnext/selling/doctype/shopping_cart_shipping_rule/__init__.py similarity index 100% rename from selling/doctype/shopping_cart_shipping_rule/__init__.py rename to erpnext/selling/doctype/shopping_cart_shipping_rule/__init__.py diff --git a/selling/doctype/shopping_cart_shipping_rule/shopping_cart_shipping_rule.py b/erpnext/selling/doctype/shopping_cart_shipping_rule/shopping_cart_shipping_rule.py similarity index 100% rename from selling/doctype/shopping_cart_shipping_rule/shopping_cart_shipping_rule.py rename to erpnext/selling/doctype/shopping_cart_shipping_rule/shopping_cart_shipping_rule.py diff --git a/selling/doctype/shopping_cart_shipping_rule/shopping_cart_shipping_rule.txt b/erpnext/selling/doctype/shopping_cart_shipping_rule/shopping_cart_shipping_rule.txt similarity index 100% rename from selling/doctype/shopping_cart_shipping_rule/shopping_cart_shipping_rule.txt rename to erpnext/selling/doctype/shopping_cart_shipping_rule/shopping_cart_shipping_rule.txt diff --git a/selling/doctype/shopping_cart_taxes_and_charges_master/__init__.py b/erpnext/selling/doctype/shopping_cart_taxes_and_charges_master/__init__.py similarity index 100% rename from selling/doctype/shopping_cart_taxes_and_charges_master/__init__.py rename to erpnext/selling/doctype/shopping_cart_taxes_and_charges_master/__init__.py diff --git a/selling/doctype/shopping_cart_taxes_and_charges_master/shopping_cart_taxes_and_charges_master.py b/erpnext/selling/doctype/shopping_cart_taxes_and_charges_master/shopping_cart_taxes_and_charges_master.py similarity index 100% rename from selling/doctype/shopping_cart_taxes_and_charges_master/shopping_cart_taxes_and_charges_master.py rename to erpnext/selling/doctype/shopping_cart_taxes_and_charges_master/shopping_cart_taxes_and_charges_master.py diff --git a/selling/doctype/shopping_cart_taxes_and_charges_master/shopping_cart_taxes_and_charges_master.txt b/erpnext/selling/doctype/shopping_cart_taxes_and_charges_master/shopping_cart_taxes_and_charges_master.txt similarity index 100% rename from selling/doctype/shopping_cart_taxes_and_charges_master/shopping_cart_taxes_and_charges_master.txt rename to erpnext/selling/doctype/shopping_cart_taxes_and_charges_master/shopping_cart_taxes_and_charges_master.txt diff --git a/selling/doctype/sms_center/README.md b/erpnext/selling/doctype/sms_center/README.md similarity index 100% rename from selling/doctype/sms_center/README.md rename to erpnext/selling/doctype/sms_center/README.md diff --git a/selling/doctype/sms_center/__init__.py b/erpnext/selling/doctype/sms_center/__init__.py similarity index 100% rename from selling/doctype/sms_center/__init__.py rename to erpnext/selling/doctype/sms_center/__init__.py 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/__init__.py b/erpnext/selling/page/__init__.py similarity index 100% rename from selling/page/__init__.py rename to erpnext/selling/page/__init__.py diff --git a/selling/page/sales_analytics/README.md b/erpnext/selling/page/sales_analytics/README.md similarity index 100% rename from selling/page/sales_analytics/README.md rename to erpnext/selling/page/sales_analytics/README.md diff --git a/selling/page/sales_analytics/__init__.py b/erpnext/selling/page/sales_analytics/__init__.py similarity index 100% rename from selling/page/sales_analytics/__init__.py rename to erpnext/selling/page/sales_analytics/__init__.py diff --git a/selling/page/sales_analytics/sales_analytics.js b/erpnext/selling/page/sales_analytics/sales_analytics.js similarity index 100% rename from selling/page/sales_analytics/sales_analytics.js rename to erpnext/selling/page/sales_analytics/sales_analytics.js diff --git a/selling/page/sales_analytics/sales_analytics.txt b/erpnext/selling/page/sales_analytics/sales_analytics.txt similarity index 100% rename from selling/page/sales_analytics/sales_analytics.txt rename to erpnext/selling/page/sales_analytics/sales_analytics.txt diff --git a/selling/page/sales_browser/README.md b/erpnext/selling/page/sales_browser/README.md similarity index 100% rename from selling/page/sales_browser/README.md rename to erpnext/selling/page/sales_browser/README.md diff --git a/selling/page/sales_browser/__init__.py b/erpnext/selling/page/sales_browser/__init__.py similarity index 100% rename from selling/page/sales_browser/__init__.py rename to erpnext/selling/page/sales_browser/__init__.py diff --git a/selling/page/sales_browser/sales_browser.css b/erpnext/selling/page/sales_browser/sales_browser.css similarity index 100% rename from selling/page/sales_browser/sales_browser.css rename to erpnext/selling/page/sales_browser/sales_browser.css 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.py b/erpnext/selling/page/sales_browser/sales_browser.py similarity index 100% rename from selling/page/sales_browser/sales_browser.py rename to erpnext/selling/page/sales_browser/sales_browser.py 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/page/sales_funnel/__init__.py b/erpnext/selling/page/sales_funnel/__init__.py similarity index 100% rename from selling/page/sales_funnel/__init__.py rename to erpnext/selling/page/sales_funnel/__init__.py diff --git a/selling/page/sales_funnel/sales_funnel.css b/erpnext/selling/page/sales_funnel/sales_funnel.css similarity index 100% rename from selling/page/sales_funnel/sales_funnel.css rename to erpnext/selling/page/sales_funnel/sales_funnel.css diff --git a/selling/page/sales_funnel/sales_funnel.js b/erpnext/selling/page/sales_funnel/sales_funnel.js similarity index 100% rename from selling/page/sales_funnel/sales_funnel.js rename to erpnext/selling/page/sales_funnel/sales_funnel.js diff --git a/selling/page/sales_funnel/sales_funnel.py b/erpnext/selling/page/sales_funnel/sales_funnel.py similarity index 100% rename from selling/page/sales_funnel/sales_funnel.py rename to erpnext/selling/page/sales_funnel/sales_funnel.py diff --git a/selling/page/sales_funnel/sales_funnel.txt b/erpnext/selling/page/sales_funnel/sales_funnel.txt similarity index 100% rename from selling/page/sales_funnel/sales_funnel.txt rename to erpnext/selling/page/sales_funnel/sales_funnel.txt diff --git a/selling/page/selling_home/__init__.py b/erpnext/selling/page/selling_home/__init__.py similarity index 100% rename from selling/page/selling_home/__init__.py rename to erpnext/selling/page/selling_home/__init__.py diff --git a/selling/page/selling_home/selling_home.js b/erpnext/selling/page/selling_home/selling_home.js similarity index 100% rename from selling/page/selling_home/selling_home.js rename to erpnext/selling/page/selling_home/selling_home.js diff --git a/selling/page/selling_home/selling_home.txt b/erpnext/selling/page/selling_home/selling_home.txt similarity index 100% rename from selling/page/selling_home/selling_home.txt rename to erpnext/selling/page/selling_home/selling_home.txt diff --git a/selling/report/__init__.py b/erpnext/selling/report/__init__.py similarity index 100% rename from selling/report/__init__.py rename to erpnext/selling/report/__init__.py diff --git a/selling/report/available_stock_for_packing_items/__init__.py b/erpnext/selling/report/available_stock_for_packing_items/__init__.py similarity index 100% rename from selling/report/available_stock_for_packing_items/__init__.py rename to erpnext/selling/report/available_stock_for_packing_items/__init__.py diff --git a/selling/report/available_stock_for_packing_items/available_stock_for_packing_items.py b/erpnext/selling/report/available_stock_for_packing_items/available_stock_for_packing_items.py similarity index 100% rename from selling/report/available_stock_for_packing_items/available_stock_for_packing_items.py rename to erpnext/selling/report/available_stock_for_packing_items/available_stock_for_packing_items.py diff --git a/selling/report/available_stock_for_packing_items/available_stock_for_packing_items.txt b/erpnext/selling/report/available_stock_for_packing_items/available_stock_for_packing_items.txt similarity index 100% rename from selling/report/available_stock_for_packing_items/available_stock_for_packing_items.txt rename to erpnext/selling/report/available_stock_for_packing_items/available_stock_for_packing_items.txt diff --git a/selling/report/customer_acquisition_and_loyalty/__init__.py b/erpnext/selling/report/customer_acquisition_and_loyalty/__init__.py similarity index 100% rename from selling/report/customer_acquisition_and_loyalty/__init__.py rename to erpnext/selling/report/customer_acquisition_and_loyalty/__init__.py diff --git a/selling/report/customer_acquisition_and_loyalty/customer_acquisition_and_loyalty.js b/erpnext/selling/report/customer_acquisition_and_loyalty/customer_acquisition_and_loyalty.js similarity index 100% rename from selling/report/customer_acquisition_and_loyalty/customer_acquisition_and_loyalty.js rename to erpnext/selling/report/customer_acquisition_and_loyalty/customer_acquisition_and_loyalty.js diff --git a/selling/report/customer_acquisition_and_loyalty/customer_acquisition_and_loyalty.py b/erpnext/selling/report/customer_acquisition_and_loyalty/customer_acquisition_and_loyalty.py similarity index 100% rename from selling/report/customer_acquisition_and_loyalty/customer_acquisition_and_loyalty.py rename to erpnext/selling/report/customer_acquisition_and_loyalty/customer_acquisition_and_loyalty.py diff --git a/selling/report/customer_acquisition_and_loyalty/customer_acquisition_and_loyalty.txt b/erpnext/selling/report/customer_acquisition_and_loyalty/customer_acquisition_and_loyalty.txt similarity index 100% rename from selling/report/customer_acquisition_and_loyalty/customer_acquisition_and_loyalty.txt rename to erpnext/selling/report/customer_acquisition_and_loyalty/customer_acquisition_and_loyalty.txt diff --git a/selling/report/customer_addresses_and_contacts/__init__.py b/erpnext/selling/report/customer_addresses_and_contacts/__init__.py similarity index 100% rename from selling/report/customer_addresses_and_contacts/__init__.py rename to erpnext/selling/report/customer_addresses_and_contacts/__init__.py diff --git a/selling/report/customer_addresses_and_contacts/customer_addresses_and_contacts.txt b/erpnext/selling/report/customer_addresses_and_contacts/customer_addresses_and_contacts.txt similarity index 100% rename from selling/report/customer_addresses_and_contacts/customer_addresses_and_contacts.txt rename to erpnext/selling/report/customer_addresses_and_contacts/customer_addresses_and_contacts.txt diff --git a/selling/report/customers_not_buying_since_long_time/__init__.py b/erpnext/selling/report/customers_not_buying_since_long_time/__init__.py similarity index 100% rename from selling/report/customers_not_buying_since_long_time/__init__.py rename to erpnext/selling/report/customers_not_buying_since_long_time/__init__.py diff --git a/selling/report/customers_not_buying_since_long_time/customers_not_buying_since_long_time.js b/erpnext/selling/report/customers_not_buying_since_long_time/customers_not_buying_since_long_time.js similarity index 100% rename from selling/report/customers_not_buying_since_long_time/customers_not_buying_since_long_time.js rename to erpnext/selling/report/customers_not_buying_since_long_time/customers_not_buying_since_long_time.js diff --git a/selling/report/customers_not_buying_since_long_time/customers_not_buying_since_long_time.py b/erpnext/selling/report/customers_not_buying_since_long_time/customers_not_buying_since_long_time.py similarity index 100% rename from selling/report/customers_not_buying_since_long_time/customers_not_buying_since_long_time.py rename to erpnext/selling/report/customers_not_buying_since_long_time/customers_not_buying_since_long_time.py diff --git a/selling/report/customers_not_buying_since_long_time/customers_not_buying_since_long_time.txt b/erpnext/selling/report/customers_not_buying_since_long_time/customers_not_buying_since_long_time.txt similarity index 100% rename from selling/report/customers_not_buying_since_long_time/customers_not_buying_since_long_time.txt rename to erpnext/selling/report/customers_not_buying_since_long_time/customers_not_buying_since_long_time.txt diff --git a/selling/report/item_wise_sales_history/__init__.py b/erpnext/selling/report/item_wise_sales_history/__init__.py similarity index 100% rename from selling/report/item_wise_sales_history/__init__.py rename to erpnext/selling/report/item_wise_sales_history/__init__.py diff --git a/selling/report/item_wise_sales_history/item_wise_sales_history.txt b/erpnext/selling/report/item_wise_sales_history/item_wise_sales_history.txt similarity index 100% rename from selling/report/item_wise_sales_history/item_wise_sales_history.txt rename to erpnext/selling/report/item_wise_sales_history/item_wise_sales_history.txt diff --git a/selling/report/lead_details/__init__.py b/erpnext/selling/report/lead_details/__init__.py similarity index 100% rename from selling/report/lead_details/__init__.py rename to erpnext/selling/report/lead_details/__init__.py diff --git a/selling/report/lead_details/lead_details.txt b/erpnext/selling/report/lead_details/lead_details.txt similarity index 100% rename from selling/report/lead_details/lead_details.txt rename to erpnext/selling/report/lead_details/lead_details.txt diff --git a/selling/report/pending_so_items_for_purchase_request/__init__.py b/erpnext/selling/report/pending_so_items_for_purchase_request/__init__.py similarity index 100% rename from selling/report/pending_so_items_for_purchase_request/__init__.py rename to erpnext/selling/report/pending_so_items_for_purchase_request/__init__.py diff --git a/selling/report/pending_so_items_for_purchase_request/pending_so_items_for_purchase_request.txt b/erpnext/selling/report/pending_so_items_for_purchase_request/pending_so_items_for_purchase_request.txt similarity index 100% rename from selling/report/pending_so_items_for_purchase_request/pending_so_items_for_purchase_request.txt rename to erpnext/selling/report/pending_so_items_for_purchase_request/pending_so_items_for_purchase_request.txt diff --git a/selling/report/quotation_trends/__init__.py b/erpnext/selling/report/quotation_trends/__init__.py similarity index 100% rename from selling/report/quotation_trends/__init__.py rename to erpnext/selling/report/quotation_trends/__init__.py diff --git a/selling/report/quotation_trends/quotation_trends.js b/erpnext/selling/report/quotation_trends/quotation_trends.js similarity index 100% rename from selling/report/quotation_trends/quotation_trends.js rename to erpnext/selling/report/quotation_trends/quotation_trends.js diff --git a/selling/report/quotation_trends/quotation_trends.py b/erpnext/selling/report/quotation_trends/quotation_trends.py similarity index 100% rename from selling/report/quotation_trends/quotation_trends.py rename to erpnext/selling/report/quotation_trends/quotation_trends.py diff --git a/selling/report/quotation_trends/quotation_trends.txt b/erpnext/selling/report/quotation_trends/quotation_trends.txt similarity index 100% rename from selling/report/quotation_trends/quotation_trends.txt rename to erpnext/selling/report/quotation_trends/quotation_trends.txt diff --git a/selling/report/sales_order_trends/__init__.py b/erpnext/selling/report/sales_order_trends/__init__.py similarity index 100% rename from selling/report/sales_order_trends/__init__.py rename to erpnext/selling/report/sales_order_trends/__init__.py diff --git a/selling/report/sales_order_trends/sales_order_trends.js b/erpnext/selling/report/sales_order_trends/sales_order_trends.js similarity index 100% rename from selling/report/sales_order_trends/sales_order_trends.js rename to erpnext/selling/report/sales_order_trends/sales_order_trends.js diff --git a/selling/report/sales_order_trends/sales_order_trends.py b/erpnext/selling/report/sales_order_trends/sales_order_trends.py similarity index 100% rename from selling/report/sales_order_trends/sales_order_trends.py rename to erpnext/selling/report/sales_order_trends/sales_order_trends.py diff --git a/selling/report/sales_order_trends/sales_order_trends.txt b/erpnext/selling/report/sales_order_trends/sales_order_trends.txt similarity index 100% rename from selling/report/sales_order_trends/sales_order_trends.txt rename to erpnext/selling/report/sales_order_trends/sales_order_trends.txt diff --git a/selling/report/sales_person_target_variance_item_group_wise/__init__.py b/erpnext/selling/report/sales_person_target_variance_item_group_wise/__init__.py similarity index 100% rename from selling/report/sales_person_target_variance_item_group_wise/__init__.py rename to erpnext/selling/report/sales_person_target_variance_item_group_wise/__init__.py diff --git a/selling/report/sales_person_target_variance_item_group_wise/sales_person_target_variance_item_group_wise.js b/erpnext/selling/report/sales_person_target_variance_item_group_wise/sales_person_target_variance_item_group_wise.js similarity index 100% rename from selling/report/sales_person_target_variance_item_group_wise/sales_person_target_variance_item_group_wise.js rename to erpnext/selling/report/sales_person_target_variance_item_group_wise/sales_person_target_variance_item_group_wise.js diff --git a/selling/report/sales_person_target_variance_item_group_wise/sales_person_target_variance_item_group_wise.py b/erpnext/selling/report/sales_person_target_variance_item_group_wise/sales_person_target_variance_item_group_wise.py similarity index 100% rename from selling/report/sales_person_target_variance_item_group_wise/sales_person_target_variance_item_group_wise.py rename to erpnext/selling/report/sales_person_target_variance_item_group_wise/sales_person_target_variance_item_group_wise.py diff --git a/selling/report/sales_person_target_variance_item_group_wise/sales_person_target_variance_item_group_wise.txt b/erpnext/selling/report/sales_person_target_variance_item_group_wise/sales_person_target_variance_item_group_wise.txt similarity index 100% rename from selling/report/sales_person_target_variance_item_group_wise/sales_person_target_variance_item_group_wise.txt rename to erpnext/selling/report/sales_person_target_variance_item_group_wise/sales_person_target_variance_item_group_wise.txt diff --git a/selling/report/sales_person_wise_transaction_summary/__init__.py b/erpnext/selling/report/sales_person_wise_transaction_summary/__init__.py similarity index 100% rename from selling/report/sales_person_wise_transaction_summary/__init__.py rename to erpnext/selling/report/sales_person_wise_transaction_summary/__init__.py diff --git a/selling/report/sales_person_wise_transaction_summary/sales_person_wise_transaction_summary.js b/erpnext/selling/report/sales_person_wise_transaction_summary/sales_person_wise_transaction_summary.js similarity index 100% rename from selling/report/sales_person_wise_transaction_summary/sales_person_wise_transaction_summary.js rename to erpnext/selling/report/sales_person_wise_transaction_summary/sales_person_wise_transaction_summary.js diff --git a/selling/report/sales_person_wise_transaction_summary/sales_person_wise_transaction_summary.py b/erpnext/selling/report/sales_person_wise_transaction_summary/sales_person_wise_transaction_summary.py similarity index 100% rename from selling/report/sales_person_wise_transaction_summary/sales_person_wise_transaction_summary.py rename to erpnext/selling/report/sales_person_wise_transaction_summary/sales_person_wise_transaction_summary.py diff --git a/selling/report/sales_person_wise_transaction_summary/sales_person_wise_transaction_summary.txt b/erpnext/selling/report/sales_person_wise_transaction_summary/sales_person_wise_transaction_summary.txt similarity index 100% rename from selling/report/sales_person_wise_transaction_summary/sales_person_wise_transaction_summary.txt rename to erpnext/selling/report/sales_person_wise_transaction_summary/sales_person_wise_transaction_summary.txt diff --git a/selling/report/territory_target_variance_item_group_wise/__init__.py b/erpnext/selling/report/territory_target_variance_item_group_wise/__init__.py similarity index 100% rename from selling/report/territory_target_variance_item_group_wise/__init__.py rename to erpnext/selling/report/territory_target_variance_item_group_wise/__init__.py diff --git a/selling/report/territory_target_variance_item_group_wise/territory_target_variance_item_group_wise.js b/erpnext/selling/report/territory_target_variance_item_group_wise/territory_target_variance_item_group_wise.js similarity index 100% rename from selling/report/territory_target_variance_item_group_wise/territory_target_variance_item_group_wise.js rename to erpnext/selling/report/territory_target_variance_item_group_wise/territory_target_variance_item_group_wise.js diff --git a/selling/report/territory_target_variance_item_group_wise/territory_target_variance_item_group_wise.py b/erpnext/selling/report/territory_target_variance_item_group_wise/territory_target_variance_item_group_wise.py similarity index 100% rename from selling/report/territory_target_variance_item_group_wise/territory_target_variance_item_group_wise.py rename to erpnext/selling/report/territory_target_variance_item_group_wise/territory_target_variance_item_group_wise.py diff --git a/selling/report/territory_target_variance_item_group_wise/territory_target_variance_item_group_wise.txt b/erpnext/selling/report/territory_target_variance_item_group_wise/territory_target_variance_item_group_wise.txt similarity index 100% rename from selling/report/territory_target_variance_item_group_wise/territory_target_variance_item_group_wise.txt rename to erpnext/selling/report/territory_target_variance_item_group_wise/territory_target_variance_item_group_wise.txt diff --git a/selling/sales_common.js b/erpnext/selling/sales_common.js similarity index 100% rename from selling/sales_common.js rename to erpnext/selling/sales_common.js diff --git a/selling/utils/__init__.py b/erpnext/selling/utils/__init__.py similarity index 100% rename from selling/utils/__init__.py rename to erpnext/selling/utils/__init__.py diff --git a/selling/utils/cart.py b/erpnext/selling/utils/cart.py similarity index 100% rename from selling/utils/cart.py rename to erpnext/selling/utils/cart.py diff --git a/selling/utils/product.py b/erpnext/selling/utils/product.py similarity index 100% rename from selling/utils/product.py rename to erpnext/selling/utils/product.py diff --git a/setup/__init__.py b/erpnext/setup/__init__.py similarity index 100% rename from setup/__init__.py rename to erpnext/setup/__init__.py diff --git a/setup/doctype/__init__.py b/erpnext/setup/doctype/__init__.py similarity index 100% rename from setup/doctype/__init__.py rename to erpnext/setup/doctype/__init__.py diff --git a/setup/doctype/applicable_territory/__init__.py b/erpnext/setup/doctype/applicable_territory/__init__.py similarity index 100% rename from setup/doctype/applicable_territory/__init__.py rename to erpnext/setup/doctype/applicable_territory/__init__.py diff --git a/setup/doctype/applicable_territory/applicable_territory.py b/erpnext/setup/doctype/applicable_territory/applicable_territory.py similarity index 100% rename from setup/doctype/applicable_territory/applicable_territory.py rename to erpnext/setup/doctype/applicable_territory/applicable_territory.py diff --git a/setup/doctype/applicable_territory/applicable_territory.txt b/erpnext/setup/doctype/applicable_territory/applicable_territory.txt similarity index 100% rename from setup/doctype/applicable_territory/applicable_territory.txt rename to erpnext/setup/doctype/applicable_territory/applicable_territory.txt diff --git a/setup/doctype/authorization_control/README.md b/erpnext/setup/doctype/authorization_control/README.md similarity index 100% rename from setup/doctype/authorization_control/README.md rename to erpnext/setup/doctype/authorization_control/README.md diff --git a/setup/doctype/authorization_control/__init__.py b/erpnext/setup/doctype/authorization_control/__init__.py similarity index 100% rename from setup/doctype/authorization_control/__init__.py rename to erpnext/setup/doctype/authorization_control/__init__.py 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/authorization_rule/README.md b/erpnext/setup/doctype/authorization_rule/README.md similarity index 100% rename from setup/doctype/authorization_rule/README.md rename to erpnext/setup/doctype/authorization_rule/README.md diff --git a/setup/doctype/authorization_rule/__init__.py b/erpnext/setup/doctype/authorization_rule/__init__.py similarity index 100% rename from setup/doctype/authorization_rule/__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/backup_manager/README.md b/erpnext/setup/doctype/backup_manager/README.md similarity index 100% rename from setup/doctype/backup_manager/README.md rename to erpnext/setup/doctype/backup_manager/README.md diff --git a/setup/doctype/backup_manager/__init__.py b/erpnext/setup/doctype/backup_manager/__init__.py similarity index 100% rename from setup/doctype/backup_manager/__init__.py rename to erpnext/setup/doctype/backup_manager/__init__.py diff --git a/setup/doctype/backup_manager/backup_dropbox.py b/erpnext/setup/doctype/backup_manager/backup_dropbox.py similarity index 100% rename from setup/doctype/backup_manager/backup_dropbox.py rename to erpnext/setup/doctype/backup_manager/backup_dropbox.py diff --git a/setup/doctype/backup_manager/backup_googledrive.py b/erpnext/setup/doctype/backup_manager/backup_googledrive.py similarity index 100% rename from setup/doctype/backup_manager/backup_googledrive.py rename to erpnext/setup/doctype/backup_manager/backup_googledrive.py diff --git a/setup/doctype/backup_manager/backup_manager.js b/erpnext/setup/doctype/backup_manager/backup_manager.js similarity index 100% rename from setup/doctype/backup_manager/backup_manager.js rename to erpnext/setup/doctype/backup_manager/backup_manager.js diff --git a/setup/doctype/backup_manager/backup_manager.py b/erpnext/setup/doctype/backup_manager/backup_manager.py similarity index 100% rename from setup/doctype/backup_manager/backup_manager.py rename to erpnext/setup/doctype/backup_manager/backup_manager.py diff --git a/setup/doctype/backup_manager/backup_manager.txt b/erpnext/setup/doctype/backup_manager/backup_manager.txt similarity index 100% rename from setup/doctype/backup_manager/backup_manager.txt rename to erpnext/setup/doctype/backup_manager/backup_manager.txt diff --git a/setup/doctype/brand/README.md b/erpnext/setup/doctype/brand/README.md similarity index 100% rename from setup/doctype/brand/README.md rename to erpnext/setup/doctype/brand/README.md diff --git a/setup/doctype/brand/__init__.py b/erpnext/setup/doctype/brand/__init__.py similarity index 100% rename from setup/doctype/brand/__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.py b/erpnext/setup/doctype/brand/brand.py similarity index 100% rename from setup/doctype/brand/brand.py rename to erpnext/setup/doctype/brand/brand.py 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/brand/test_brand.py b/erpnext/setup/doctype/brand/test_brand.py similarity index 100% rename from setup/doctype/brand/test_brand.py rename to erpnext/setup/doctype/brand/test_brand.py diff --git a/setup/doctype/company/README.md b/erpnext/setup/doctype/company/README.md similarity index 100% rename from setup/doctype/company/README.md rename to erpnext/setup/doctype/company/README.md diff --git a/setup/doctype/company/__init__.py b/erpnext/setup/doctype/company/__init__.py similarity index 100% rename from setup/doctype/company/__init__.py rename to erpnext/setup/doctype/company/__init__.py diff --git a/setup/doctype/company/charts/__init__.py b/erpnext/setup/doctype/company/charts/__init__.py similarity index 100% rename from setup/doctype/company/charts/__init__.py rename to erpnext/setup/doctype/company/charts/__init__.py diff --git a/setup/doctype/company/charts/ar_ar_chart_template.json b/erpnext/setup/doctype/company/charts/ar_ar_chart_template.json similarity index 100% rename from setup/doctype/company/charts/ar_ar_chart_template.json rename to erpnext/setup/doctype/company/charts/ar_ar_chart_template.json diff --git a/setup/doctype/company/charts/at_austria_chart_template.json b/erpnext/setup/doctype/company/charts/at_austria_chart_template.json similarity index 100% rename from setup/doctype/company/charts/at_austria_chart_template.json rename to erpnext/setup/doctype/company/charts/at_austria_chart_template.json diff --git a/setup/doctype/company/charts/be_l10nbe_chart_template.json b/erpnext/setup/doctype/company/charts/be_l10nbe_chart_template.json similarity index 100% rename from setup/doctype/company/charts/be_l10nbe_chart_template.json rename to erpnext/setup/doctype/company/charts/be_l10nbe_chart_template.json diff --git a/setup/doctype/company/charts/bo_bo_chart_template.json b/erpnext/setup/doctype/company/charts/bo_bo_chart_template.json similarity index 100% rename from setup/doctype/company/charts/bo_bo_chart_template.json rename to erpnext/setup/doctype/company/charts/bo_bo_chart_template.json diff --git a/setup/doctype/company/charts/ca_ca_en_chart_template_en.json b/erpnext/setup/doctype/company/charts/ca_ca_en_chart_template_en.json similarity index 100% rename from setup/doctype/company/charts/ca_ca_en_chart_template_en.json rename to erpnext/setup/doctype/company/charts/ca_ca_en_chart_template_en.json diff --git a/setup/doctype/company/charts/ca_ca_fr_chart_template_fr.json b/erpnext/setup/doctype/company/charts/ca_ca_fr_chart_template_fr.json similarity index 100% rename from setup/doctype/company/charts/ca_ca_fr_chart_template_fr.json rename to erpnext/setup/doctype/company/charts/ca_ca_fr_chart_template_fr.json diff --git a/setup/doctype/company/charts/cl_cl_chart_template.json b/erpnext/setup/doctype/company/charts/cl_cl_chart_template.json similarity index 100% rename from setup/doctype/company/charts/cl_cl_chart_template.json rename to erpnext/setup/doctype/company/charts/cl_cl_chart_template.json diff --git a/setup/doctype/company/charts/cn_l10n_chart_china.json b/erpnext/setup/doctype/company/charts/cn_l10n_chart_china.json similarity index 100% rename from setup/doctype/company/charts/cn_l10n_chart_china.json rename to erpnext/setup/doctype/company/charts/cn_l10n_chart_china.json diff --git a/setup/doctype/company/charts/de_l10n_chart_de_skr04.json b/erpnext/setup/doctype/company/charts/de_l10n_chart_de_skr04.json similarity index 100% rename from setup/doctype/company/charts/de_l10n_chart_de_skr04.json rename to erpnext/setup/doctype/company/charts/de_l10n_chart_de_skr04.json diff --git a/setup/doctype/company/charts/de_l10n_de_chart_template.json b/erpnext/setup/doctype/company/charts/de_l10n_de_chart_template.json similarity index 100% rename from setup/doctype/company/charts/de_l10n_de_chart_template.json rename to erpnext/setup/doctype/company/charts/de_l10n_de_chart_template.json diff --git a/setup/doctype/company/charts/ec_ec_chart_template.json b/erpnext/setup/doctype/company/charts/ec_ec_chart_template.json similarity index 100% rename from setup/doctype/company/charts/ec_ec_chart_template.json rename to erpnext/setup/doctype/company/charts/ec_ec_chart_template.json diff --git a/setup/doctype/company/charts/es_l10nES_chart_template.json b/erpnext/setup/doctype/company/charts/es_l10nES_chart_template.json similarity index 100% rename from setup/doctype/company/charts/es_l10nES_chart_template.json rename to erpnext/setup/doctype/company/charts/es_l10nES_chart_template.json diff --git a/setup/doctype/company/charts/es_l10nES_chart_template_assoc.json b/erpnext/setup/doctype/company/charts/es_l10nES_chart_template_assoc.json similarity index 100% rename from setup/doctype/company/charts/es_l10nES_chart_template_assoc.json rename to erpnext/setup/doctype/company/charts/es_l10nES_chart_template_assoc.json diff --git a/setup/doctype/company/charts/es_l10nES_chart_template_pymes.json b/erpnext/setup/doctype/company/charts/es_l10nES_chart_template_pymes.json similarity index 100% rename from setup/doctype/company/charts/es_l10nES_chart_template_pymes.json rename to erpnext/setup/doctype/company/charts/es_l10nES_chart_template_pymes.json diff --git a/setup/doctype/company/charts/fr_l10n_fr_pcg_chart_template.json b/erpnext/setup/doctype/company/charts/fr_l10n_fr_pcg_chart_template.json similarity index 100% rename from setup/doctype/company/charts/fr_l10n_fr_pcg_chart_template.json rename to erpnext/setup/doctype/company/charts/fr_l10n_fr_pcg_chart_template.json diff --git a/setup/doctype/company/charts/gr_l10n_gr_chart_template.json b/erpnext/setup/doctype/company/charts/gr_l10n_gr_chart_template.json similarity index 100% rename from setup/doctype/company/charts/gr_l10n_gr_chart_template.json rename to erpnext/setup/doctype/company/charts/gr_l10n_gr_chart_template.json diff --git a/setup/doctype/company/charts/hn_cuentas_plantilla.json b/erpnext/setup/doctype/company/charts/hn_cuentas_plantilla.json similarity index 100% rename from setup/doctype/company/charts/hn_cuentas_plantilla.json rename to erpnext/setup/doctype/company/charts/hn_cuentas_plantilla.json diff --git a/setup/doctype/company/charts/import_from_openerp.py b/erpnext/setup/doctype/company/charts/import_from_openerp.py similarity index 100% rename from setup/doctype/company/charts/import_from_openerp.py rename to erpnext/setup/doctype/company/charts/import_from_openerp.py diff --git a/setup/doctype/company/charts/in_indian_chart_template_private.json b/erpnext/setup/doctype/company/charts/in_indian_chart_template_private.json similarity index 100% rename from setup/doctype/company/charts/in_indian_chart_template_private.json rename to erpnext/setup/doctype/company/charts/in_indian_chart_template_private.json diff --git a/setup/doctype/company/charts/in_indian_chart_template_public.json b/erpnext/setup/doctype/company/charts/in_indian_chart_template_public.json similarity index 100% rename from setup/doctype/company/charts/in_indian_chart_template_public.json rename to erpnext/setup/doctype/company/charts/in_indian_chart_template_public.json diff --git a/setup/doctype/company/charts/it_l10n_it_chart_template_generic.json b/erpnext/setup/doctype/company/charts/it_l10n_it_chart_template_generic.json similarity index 100% rename from setup/doctype/company/charts/it_l10n_it_chart_template_generic.json rename to erpnext/setup/doctype/company/charts/it_l10n_it_chart_template_generic.json diff --git a/setup/doctype/company/charts/lu_lu_2011_chart_1.json b/erpnext/setup/doctype/company/charts/lu_lu_2011_chart_1.json similarity index 100% rename from setup/doctype/company/charts/lu_lu_2011_chart_1.json rename to erpnext/setup/doctype/company/charts/lu_lu_2011_chart_1.json diff --git a/setup/doctype/company/charts/ma_l10n_kzc_temp_chart.json b/erpnext/setup/doctype/company/charts/ma_l10n_kzc_temp_chart.json similarity index 100% rename from setup/doctype/company/charts/ma_l10n_kzc_temp_chart.json rename to erpnext/setup/doctype/company/charts/ma_l10n_kzc_temp_chart.json diff --git a/setup/doctype/company/charts/nl_l10nnl_chart_template.json b/erpnext/setup/doctype/company/charts/nl_l10nnl_chart_template.json similarity index 100% rename from setup/doctype/company/charts/nl_l10nnl_chart_template.json rename to erpnext/setup/doctype/company/charts/nl_l10nnl_chart_template.json diff --git a/setup/doctype/company/charts/pa_l10npa_chart_template.json b/erpnext/setup/doctype/company/charts/pa_l10npa_chart_template.json similarity index 100% rename from setup/doctype/company/charts/pa_l10npa_chart_template.json rename to erpnext/setup/doctype/company/charts/pa_l10npa_chart_template.json diff --git a/setup/doctype/company/charts/pe_pe_chart_template.json b/erpnext/setup/doctype/company/charts/pe_pe_chart_template.json similarity index 100% rename from setup/doctype/company/charts/pe_pe_chart_template.json rename to erpnext/setup/doctype/company/charts/pe_pe_chart_template.json diff --git a/setup/doctype/company/charts/pl_pl_chart_template.json b/erpnext/setup/doctype/company/charts/pl_pl_chart_template.json similarity index 100% rename from setup/doctype/company/charts/pl_pl_chart_template.json rename to erpnext/setup/doctype/company/charts/pl_pl_chart_template.json diff --git a/setup/doctype/company/charts/pt_pt_chart_template.json b/erpnext/setup/doctype/company/charts/pt_pt_chart_template.json similarity index 100% rename from setup/doctype/company/charts/pt_pt_chart_template.json rename to erpnext/setup/doctype/company/charts/pt_pt_chart_template.json diff --git a/setup/doctype/company/charts/ro_romania_chart_template.json b/erpnext/setup/doctype/company/charts/ro_romania_chart_template.json similarity index 100% rename from setup/doctype/company/charts/ro_romania_chart_template.json rename to erpnext/setup/doctype/company/charts/ro_romania_chart_template.json diff --git a/setup/doctype/company/charts/syscohada_syscohada_chart_template.json b/erpnext/setup/doctype/company/charts/syscohada_syscohada_chart_template.json similarity index 100% rename from setup/doctype/company/charts/syscohada_syscohada_chart_template.json rename to erpnext/setup/doctype/company/charts/syscohada_syscohada_chart_template.json diff --git a/setup/doctype/company/charts/th_chart.json b/erpnext/setup/doctype/company/charts/th_chart.json similarity index 100% rename from setup/doctype/company/charts/th_chart.json rename to erpnext/setup/doctype/company/charts/th_chart.json diff --git a/setup/doctype/company/charts/tr_l10ntr_tek_duzen_hesap.json b/erpnext/setup/doctype/company/charts/tr_l10ntr_tek_duzen_hesap.json similarity index 100% rename from setup/doctype/company/charts/tr_l10ntr_tek_duzen_hesap.json rename to erpnext/setup/doctype/company/charts/tr_l10ntr_tek_duzen_hesap.json diff --git a/setup/doctype/company/charts/us_account_chart_template_basic.json b/erpnext/setup/doctype/company/charts/us_account_chart_template_basic.json similarity index 100% rename from setup/doctype/company/charts/us_account_chart_template_basic.json rename to erpnext/setup/doctype/company/charts/us_account_chart_template_basic.json diff --git a/setup/doctype/company/charts/uy_uy_chart_template.json b/erpnext/setup/doctype/company/charts/uy_uy_chart_template.json similarity index 100% rename from setup/doctype/company/charts/uy_uy_chart_template.json rename to erpnext/setup/doctype/company/charts/uy_uy_chart_template.json 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/company/sample_home_page.html b/erpnext/setup/doctype/company/sample_home_page.html similarity index 100% rename from setup/doctype/company/sample_home_page.html rename to erpnext/setup/doctype/company/sample_home_page.html diff --git a/setup/doctype/company/test_company.py b/erpnext/setup/doctype/company/test_company.py similarity index 100% rename from setup/doctype/company/test_company.py rename to erpnext/setup/doctype/company/test_company.py diff --git a/setup/doctype/contact_control/README.md b/erpnext/setup/doctype/contact_control/README.md similarity index 100% rename from setup/doctype/contact_control/README.md rename to erpnext/setup/doctype/contact_control/README.md diff --git a/setup/doctype/contact_control/__init__.py b/erpnext/setup/doctype/contact_control/__init__.py similarity index 100% rename from setup/doctype/contact_control/__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/country/README.md b/erpnext/setup/doctype/country/README.md similarity index 100% rename from setup/doctype/country/README.md rename to erpnext/setup/doctype/country/README.md diff --git a/setup/doctype/country/__init__.py b/erpnext/setup/doctype/country/__init__.py similarity index 100% rename from setup/doctype/country/__init__.py rename to erpnext/setup/doctype/country/__init__.py diff --git a/setup/doctype/country/country.py b/erpnext/setup/doctype/country/country.py similarity index 100% rename from setup/doctype/country/country.py rename to erpnext/setup/doctype/country/country.py 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/country/test_country.py b/erpnext/setup/doctype/country/test_country.py similarity index 100% rename from setup/doctype/country/test_country.py rename to erpnext/setup/doctype/country/test_country.py diff --git a/setup/doctype/currency/README.md b/erpnext/setup/doctype/currency/README.md similarity index 100% rename from setup/doctype/currency/README.md rename to erpnext/setup/doctype/currency/README.md diff --git a/setup/doctype/currency/__init__.py b/erpnext/setup/doctype/currency/__init__.py similarity index 100% rename from setup/doctype/currency/__init__.py rename to erpnext/setup/doctype/currency/__init__.py diff --git a/setup/doctype/currency/currency.js b/erpnext/setup/doctype/currency/currency.js similarity index 100% rename from setup/doctype/currency/currency.js rename to erpnext/setup/doctype/currency/currency.js diff --git a/setup/doctype/currency/currency.py b/erpnext/setup/doctype/currency/currency.py similarity index 100% rename from setup/doctype/currency/currency.py rename to erpnext/setup/doctype/currency/currency.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/currency/test_currency.py b/erpnext/setup/doctype/currency/test_currency.py similarity index 100% rename from setup/doctype/currency/test_currency.py rename to erpnext/setup/doctype/currency/test_currency.py diff --git a/setup/doctype/currency_exchange/__init__.py b/erpnext/setup/doctype/currency_exchange/__init__.py similarity index 100% rename from setup/doctype/currency_exchange/__init__.py rename to erpnext/setup/doctype/currency_exchange/__init__.py diff --git a/setup/doctype/currency_exchange/currency_exchange.js b/erpnext/setup/doctype/currency_exchange/currency_exchange.js similarity index 100% rename from setup/doctype/currency_exchange/currency_exchange.js rename to erpnext/setup/doctype/currency_exchange/currency_exchange.js diff --git a/setup/doctype/currency_exchange/currency_exchange.py b/erpnext/setup/doctype/currency_exchange/currency_exchange.py similarity index 100% rename from setup/doctype/currency_exchange/currency_exchange.py rename to erpnext/setup/doctype/currency_exchange/currency_exchange.py diff --git a/setup/doctype/currency_exchange/currency_exchange.txt b/erpnext/setup/doctype/currency_exchange/currency_exchange.txt similarity index 100% rename from setup/doctype/currency_exchange/currency_exchange.txt rename to erpnext/setup/doctype/currency_exchange/currency_exchange.txt diff --git a/setup/doctype/currency_exchange/test_currency_exchange.py b/erpnext/setup/doctype/currency_exchange/test_currency_exchange.py similarity index 100% rename from setup/doctype/currency_exchange/test_currency_exchange.py rename to erpnext/setup/doctype/currency_exchange/test_currency_exchange.py diff --git a/setup/doctype/customer_group/README.md b/erpnext/setup/doctype/customer_group/README.md similarity index 100% rename from setup/doctype/customer_group/README.md rename to erpnext/setup/doctype/customer_group/README.md diff --git a/setup/doctype/customer_group/__init__.py b/erpnext/setup/doctype/customer_group/__init__.py similarity index 100% rename from setup/doctype/customer_group/__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/customer_group/test_customer_group.py b/erpnext/setup/doctype/customer_group/test_customer_group.py similarity index 100% rename from setup/doctype/customer_group/test_customer_group.py rename to erpnext/setup/doctype/customer_group/test_customer_group.py diff --git a/setup/doctype/email_digest/README.md b/erpnext/setup/doctype/email_digest/README.md similarity index 100% rename from setup/doctype/email_digest/README.md rename to erpnext/setup/doctype/email_digest/README.md diff --git a/setup/doctype/email_digest/__init__.py b/erpnext/setup/doctype/email_digest/__init__.py similarity index 100% rename from setup/doctype/email_digest/__init__.py rename to erpnext/setup/doctype/email_digest/__init__.py diff --git a/setup/doctype/email_digest/email_digest.css b/erpnext/setup/doctype/email_digest/email_digest.css similarity index 100% rename from setup/doctype/email_digest/email_digest.css rename to erpnext/setup/doctype/email_digest/email_digest.css diff --git a/setup/doctype/email_digest/email_digest.js b/erpnext/setup/doctype/email_digest/email_digest.js similarity index 100% rename from setup/doctype/email_digest/email_digest.js rename to erpnext/setup/doctype/email_digest/email_digest.js diff --git a/setup/doctype/email_digest/email_digest.py b/erpnext/setup/doctype/email_digest/email_digest.py similarity index 100% rename from setup/doctype/email_digest/email_digest.py rename to erpnext/setup/doctype/email_digest/email_digest.py diff --git a/setup/doctype/email_digest/email_digest.txt b/erpnext/setup/doctype/email_digest/email_digest.txt similarity index 100% rename from setup/doctype/email_digest/email_digest.txt rename to erpnext/setup/doctype/email_digest/email_digest.txt diff --git a/setup/doctype/email_settings/README.md b/erpnext/setup/doctype/email_settings/README.md similarity index 100% rename from setup/doctype/email_settings/README.md rename to erpnext/setup/doctype/email_settings/README.md diff --git a/setup/doctype/email_settings/__init__.py b/erpnext/setup/doctype/email_settings/__init__.py similarity index 100% rename from setup/doctype/email_settings/__init__.py rename to erpnext/setup/doctype/email_settings/__init__.py 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/features_setup/README.md b/erpnext/setup/doctype/features_setup/README.md similarity index 100% rename from setup/doctype/features_setup/README.md rename to erpnext/setup/doctype/features_setup/README.md diff --git a/setup/doctype/features_setup/__init__.py b/erpnext/setup/doctype/features_setup/__init__.py similarity index 100% rename from setup/doctype/features_setup/__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/global_defaults/README.md b/erpnext/setup/doctype/global_defaults/README.md similarity index 100% rename from setup/doctype/global_defaults/README.md rename to erpnext/setup/doctype/global_defaults/README.md diff --git a/setup/doctype/global_defaults/__init__.py b/erpnext/setup/doctype/global_defaults/__init__.py similarity index 100% rename from setup/doctype/global_defaults/__init__.py rename to erpnext/setup/doctype/global_defaults/__init__.py diff --git a/setup/doctype/global_defaults/global_defaults.js b/erpnext/setup/doctype/global_defaults/global_defaults.js similarity index 100% rename from setup/doctype/global_defaults/global_defaults.js rename to erpnext/setup/doctype/global_defaults/global_defaults.js diff --git a/setup/doctype/global_defaults/global_defaults.py b/erpnext/setup/doctype/global_defaults/global_defaults.py similarity index 100% rename from setup/doctype/global_defaults/global_defaults.py rename to erpnext/setup/doctype/global_defaults/global_defaults.py diff --git a/setup/doctype/global_defaults/global_defaults.txt b/erpnext/setup/doctype/global_defaults/global_defaults.txt similarity index 100% rename from setup/doctype/global_defaults/global_defaults.txt rename to erpnext/setup/doctype/global_defaults/global_defaults.txt diff --git a/setup/doctype/item_group/README.md b/erpnext/setup/doctype/item_group/README.md similarity index 100% rename from setup/doctype/item_group/README.md rename to erpnext/setup/doctype/item_group/README.md diff --git a/setup/doctype/item_group/__init__.py b/erpnext/setup/doctype/item_group/__init__.py similarity index 100% rename from setup/doctype/item_group/__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/item_group/templates/__init__.py b/erpnext/setup/doctype/item_group/templates/__init__.py similarity index 100% rename from setup/doctype/item_group/templates/__init__.py rename to erpnext/setup/doctype/item_group/templates/__init__.py diff --git a/setup/doctype/item_group/templates/generators/__init__.py b/erpnext/setup/doctype/item_group/templates/generators/__init__.py similarity index 100% rename from setup/doctype/item_group/templates/generators/__init__.py rename to erpnext/setup/doctype/item_group/templates/generators/__init__.py diff --git a/setup/doctype/item_group/templates/generators/item_group.html b/erpnext/setup/doctype/item_group/templates/generators/item_group.html similarity index 100% rename from setup/doctype/item_group/templates/generators/item_group.html rename to erpnext/setup/doctype/item_group/templates/generators/item_group.html diff --git a/setup/doctype/item_group/templates/generators/item_group.py b/erpnext/setup/doctype/item_group/templates/generators/item_group.py similarity index 100% rename from setup/doctype/item_group/templates/generators/item_group.py rename to erpnext/setup/doctype/item_group/templates/generators/item_group.py diff --git a/setup/doctype/item_group/test_item_group.py b/erpnext/setup/doctype/item_group/test_item_group.py similarity index 100% rename from setup/doctype/item_group/test_item_group.py rename to erpnext/setup/doctype/item_group/test_item_group.py diff --git a/setup/doctype/jobs_email_settings/README.md b/erpnext/setup/doctype/jobs_email_settings/README.md similarity index 100% rename from setup/doctype/jobs_email_settings/README.md rename to erpnext/setup/doctype/jobs_email_settings/README.md diff --git a/setup/doctype/jobs_email_settings/__init__.py b/erpnext/setup/doctype/jobs_email_settings/__init__.py similarity index 100% rename from setup/doctype/jobs_email_settings/__init__.py rename to erpnext/setup/doctype/jobs_email_settings/__init__.py diff --git a/setup/doctype/jobs_email_settings/jobs_email_settings.js b/erpnext/setup/doctype/jobs_email_settings/jobs_email_settings.js similarity index 100% rename from setup/doctype/jobs_email_settings/jobs_email_settings.js rename to erpnext/setup/doctype/jobs_email_settings/jobs_email_settings.js diff --git a/setup/doctype/jobs_email_settings/jobs_email_settings.py b/erpnext/setup/doctype/jobs_email_settings/jobs_email_settings.py similarity index 100% rename from setup/doctype/jobs_email_settings/jobs_email_settings.py rename to erpnext/setup/doctype/jobs_email_settings/jobs_email_settings.py diff --git a/setup/doctype/jobs_email_settings/jobs_email_settings.txt b/erpnext/setup/doctype/jobs_email_settings/jobs_email_settings.txt similarity index 100% rename from setup/doctype/jobs_email_settings/jobs_email_settings.txt rename to erpnext/setup/doctype/jobs_email_settings/jobs_email_settings.txt diff --git a/setup/doctype/naming_series/README.md b/erpnext/setup/doctype/naming_series/README.md similarity index 100% rename from setup/doctype/naming_series/README.md rename to erpnext/setup/doctype/naming_series/README.md diff --git a/setup/doctype/naming_series/__init__.py b/erpnext/setup/doctype/naming_series/__init__.py similarity index 100% rename from setup/doctype/naming_series/__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/notification_control/README.md b/erpnext/setup/doctype/notification_control/README.md similarity index 100% rename from setup/doctype/notification_control/README.md rename to erpnext/setup/doctype/notification_control/README.md diff --git a/setup/doctype/notification_control/__init__.py b/erpnext/setup/doctype/notification_control/__init__.py similarity index 100% rename from setup/doctype/notification_control/__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/print_heading/README.md b/erpnext/setup/doctype/print_heading/README.md similarity index 100% rename from setup/doctype/print_heading/README.md rename to erpnext/setup/doctype/print_heading/README.md diff --git a/setup/doctype/print_heading/__init__.py b/erpnext/setup/doctype/print_heading/__init__.py similarity index 100% rename from setup/doctype/print_heading/__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/print_heading/test_print_heading.py b/erpnext/setup/doctype/print_heading/test_print_heading.py similarity index 100% rename from setup/doctype/print_heading/test_print_heading.py rename to erpnext/setup/doctype/print_heading/test_print_heading.py diff --git a/setup/doctype/quotation_lost_reason/README.md b/erpnext/setup/doctype/quotation_lost_reason/README.md similarity index 100% rename from setup/doctype/quotation_lost_reason/README.md rename to erpnext/setup/doctype/quotation_lost_reason/README.md diff --git a/setup/doctype/quotation_lost_reason/__init__.py b/erpnext/setup/doctype/quotation_lost_reason/__init__.py similarity index 100% rename from setup/doctype/quotation_lost_reason/__init__.py rename to erpnext/setup/doctype/quotation_lost_reason/__init__.py diff --git a/setup/doctype/quotation_lost_reason/quotation_lost_reason.js b/erpnext/setup/doctype/quotation_lost_reason/quotation_lost_reason.js similarity index 100% rename from setup/doctype/quotation_lost_reason/quotation_lost_reason.js rename to erpnext/setup/doctype/quotation_lost_reason/quotation_lost_reason.js diff --git a/setup/doctype/quotation_lost_reason/quotation_lost_reason.py b/erpnext/setup/doctype/quotation_lost_reason/quotation_lost_reason.py similarity index 100% rename from setup/doctype/quotation_lost_reason/quotation_lost_reason.py rename to erpnext/setup/doctype/quotation_lost_reason/quotation_lost_reason.py diff --git a/setup/doctype/quotation_lost_reason/quotation_lost_reason.txt b/erpnext/setup/doctype/quotation_lost_reason/quotation_lost_reason.txt similarity index 100% rename from setup/doctype/quotation_lost_reason/quotation_lost_reason.txt rename to erpnext/setup/doctype/quotation_lost_reason/quotation_lost_reason.txt diff --git a/setup/doctype/quotation_lost_reason/test_quotation_lost_reason.py b/erpnext/setup/doctype/quotation_lost_reason/test_quotation_lost_reason.py similarity index 100% rename from setup/doctype/quotation_lost_reason/test_quotation_lost_reason.py rename to erpnext/setup/doctype/quotation_lost_reason/test_quotation_lost_reason.py diff --git a/setup/doctype/sales_email_settings/README.md b/erpnext/setup/doctype/sales_email_settings/README.md similarity index 100% rename from setup/doctype/sales_email_settings/README.md rename to erpnext/setup/doctype/sales_email_settings/README.md diff --git a/setup/doctype/sales_email_settings/__init__.py b/erpnext/setup/doctype/sales_email_settings/__init__.py similarity index 100% rename from setup/doctype/sales_email_settings/__init__.py rename to erpnext/setup/doctype/sales_email_settings/__init__.py diff --git a/setup/doctype/sales_email_settings/sales_email_settings.js b/erpnext/setup/doctype/sales_email_settings/sales_email_settings.js similarity index 100% rename from setup/doctype/sales_email_settings/sales_email_settings.js rename to erpnext/setup/doctype/sales_email_settings/sales_email_settings.js diff --git a/setup/doctype/sales_email_settings/sales_email_settings.py b/erpnext/setup/doctype/sales_email_settings/sales_email_settings.py similarity index 100% rename from setup/doctype/sales_email_settings/sales_email_settings.py rename to erpnext/setup/doctype/sales_email_settings/sales_email_settings.py diff --git a/setup/doctype/sales_email_settings/sales_email_settings.txt b/erpnext/setup/doctype/sales_email_settings/sales_email_settings.txt similarity index 100% rename from setup/doctype/sales_email_settings/sales_email_settings.txt rename to erpnext/setup/doctype/sales_email_settings/sales_email_settings.txt diff --git a/setup/doctype/sales_partner/README.md b/erpnext/setup/doctype/sales_partner/README.md similarity index 100% rename from setup/doctype/sales_partner/README.md rename to erpnext/setup/doctype/sales_partner/README.md diff --git a/setup/doctype/sales_partner/__init__.py b/erpnext/setup/doctype/sales_partner/__init__.py similarity index 100% rename from setup/doctype/sales_partner/__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/sales_partner/templates/__init__.py b/erpnext/setup/doctype/sales_partner/templates/__init__.py similarity index 100% rename from setup/doctype/sales_partner/templates/__init__.py rename to erpnext/setup/doctype/sales_partner/templates/__init__.py diff --git a/setup/doctype/sales_partner/templates/generators/__init__.py b/erpnext/setup/doctype/sales_partner/templates/generators/__init__.py similarity index 100% rename from setup/doctype/sales_partner/templates/generators/__init__.py rename to erpnext/setup/doctype/sales_partner/templates/generators/__init__.py diff --git a/setup/doctype/sales_partner/templates/generators/partner.html b/erpnext/setup/doctype/sales_partner/templates/generators/partner.html similarity index 100% rename from setup/doctype/sales_partner/templates/generators/partner.html rename to erpnext/setup/doctype/sales_partner/templates/generators/partner.html diff --git a/setup/doctype/sales_partner/templates/generators/partner.py b/erpnext/setup/doctype/sales_partner/templates/generators/partner.py similarity index 100% rename from setup/doctype/sales_partner/templates/generators/partner.py rename to erpnext/setup/doctype/sales_partner/templates/generators/partner.py diff --git a/setup/doctype/sales_partner/templates/pages/__init__.py b/erpnext/setup/doctype/sales_partner/templates/pages/__init__.py similarity index 100% rename from setup/doctype/sales_partner/templates/pages/__init__.py rename to erpnext/setup/doctype/sales_partner/templates/pages/__init__.py diff --git a/setup/doctype/sales_partner/templates/pages/partners.html b/erpnext/setup/doctype/sales_partner/templates/pages/partners.html similarity index 100% rename from setup/doctype/sales_partner/templates/pages/partners.html rename to erpnext/setup/doctype/sales_partner/templates/pages/partners.html diff --git a/setup/doctype/sales_partner/templates/pages/partners.py b/erpnext/setup/doctype/sales_partner/templates/pages/partners.py similarity index 100% rename from setup/doctype/sales_partner/templates/pages/partners.py rename to erpnext/setup/doctype/sales_partner/templates/pages/partners.py diff --git a/setup/doctype/sales_partner/test_sales_partner.py b/erpnext/setup/doctype/sales_partner/test_sales_partner.py similarity index 100% rename from setup/doctype/sales_partner/test_sales_partner.py rename to erpnext/setup/doctype/sales_partner/test_sales_partner.py diff --git a/setup/doctype/sales_person/README.md b/erpnext/setup/doctype/sales_person/README.md similarity index 100% rename from setup/doctype/sales_person/README.md rename to erpnext/setup/doctype/sales_person/README.md diff --git a/setup/doctype/sales_person/__init__.py b/erpnext/setup/doctype/sales_person/__init__.py similarity index 100% rename from setup/doctype/sales_person/__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/sales_person/test_sales_person.py b/erpnext/setup/doctype/sales_person/test_sales_person.py similarity index 100% rename from setup/doctype/sales_person/test_sales_person.py rename to erpnext/setup/doctype/sales_person/test_sales_person.py diff --git a/setup/doctype/sms_parameter/README.md b/erpnext/setup/doctype/sms_parameter/README.md similarity index 100% rename from setup/doctype/sms_parameter/README.md rename to erpnext/setup/doctype/sms_parameter/README.md diff --git a/setup/doctype/sms_parameter/__init__.py b/erpnext/setup/doctype/sms_parameter/__init__.py similarity index 100% rename from setup/doctype/sms_parameter/__init__.py rename to erpnext/setup/doctype/sms_parameter/__init__.py diff --git a/setup/doctype/sms_parameter/sms_parameter.py b/erpnext/setup/doctype/sms_parameter/sms_parameter.py similarity index 100% rename from setup/doctype/sms_parameter/sms_parameter.py rename to erpnext/setup/doctype/sms_parameter/sms_parameter.py diff --git a/setup/doctype/sms_parameter/sms_parameter.txt b/erpnext/setup/doctype/sms_parameter/sms_parameter.txt similarity index 100% rename from setup/doctype/sms_parameter/sms_parameter.txt rename to erpnext/setup/doctype/sms_parameter/sms_parameter.txt diff --git a/setup/doctype/sms_settings/README.md b/erpnext/setup/doctype/sms_settings/README.md similarity index 100% rename from setup/doctype/sms_settings/README.md rename to erpnext/setup/doctype/sms_settings/README.md diff --git a/setup/doctype/sms_settings/__init__.py b/erpnext/setup/doctype/sms_settings/__init__.py similarity index 100% rename from setup/doctype/sms_settings/__init__.py rename to erpnext/setup/doctype/sms_settings/__init__.py diff --git a/setup/doctype/sms_settings/sms_settings.py b/erpnext/setup/doctype/sms_settings/sms_settings.py similarity index 100% rename from setup/doctype/sms_settings/sms_settings.py rename to erpnext/setup/doctype/sms_settings/sms_settings.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/README.md b/erpnext/setup/doctype/supplier_type/README.md similarity index 100% rename from setup/doctype/supplier_type/README.md rename to erpnext/setup/doctype/supplier_type/README.md diff --git a/setup/doctype/supplier_type/__init__.py b/erpnext/setup/doctype/supplier_type/__init__.py similarity index 100% rename from setup/doctype/supplier_type/__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.py b/erpnext/setup/doctype/supplier_type/supplier_type.py similarity index 100% rename from setup/doctype/supplier_type/supplier_type.py rename to erpnext/setup/doctype/supplier_type/supplier_type.py 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/supplier_type/test_supplier_type.py b/erpnext/setup/doctype/supplier_type/test_supplier_type.py similarity index 100% rename from setup/doctype/supplier_type/test_supplier_type.py rename to erpnext/setup/doctype/supplier_type/test_supplier_type.py diff --git a/setup/doctype/target_detail/README.md b/erpnext/setup/doctype/target_detail/README.md similarity index 100% rename from setup/doctype/target_detail/README.md rename to erpnext/setup/doctype/target_detail/README.md diff --git a/setup/doctype/target_detail/__init__.py b/erpnext/setup/doctype/target_detail/__init__.py similarity index 100% rename from setup/doctype/target_detail/__init__.py rename to erpnext/setup/doctype/target_detail/__init__.py diff --git a/setup/doctype/target_detail/target_detail.py b/erpnext/setup/doctype/target_detail/target_detail.py similarity index 100% rename from setup/doctype/target_detail/target_detail.py rename to erpnext/setup/doctype/target_detail/target_detail.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/terms_and_conditions/README.md b/erpnext/setup/doctype/terms_and_conditions/README.md similarity index 100% rename from setup/doctype/terms_and_conditions/README.md rename to erpnext/setup/doctype/terms_and_conditions/README.md diff --git a/setup/doctype/terms_and_conditions/__init__.py b/erpnext/setup/doctype/terms_and_conditions/__init__.py similarity index 100% rename from setup/doctype/terms_and_conditions/__init__.py rename to erpnext/setup/doctype/terms_and_conditions/__init__.py diff --git a/setup/doctype/terms_and_conditions/terms_and_conditions.js b/erpnext/setup/doctype/terms_and_conditions/terms_and_conditions.js similarity index 100% rename from setup/doctype/terms_and_conditions/terms_and_conditions.js rename to erpnext/setup/doctype/terms_and_conditions/terms_and_conditions.js diff --git a/setup/doctype/terms_and_conditions/terms_and_conditions.py b/erpnext/setup/doctype/terms_and_conditions/terms_and_conditions.py similarity index 100% rename from setup/doctype/terms_and_conditions/terms_and_conditions.py rename to erpnext/setup/doctype/terms_and_conditions/terms_and_conditions.py diff --git a/setup/doctype/terms_and_conditions/terms_and_conditions.txt b/erpnext/setup/doctype/terms_and_conditions/terms_and_conditions.txt similarity index 100% rename from setup/doctype/terms_and_conditions/terms_and_conditions.txt rename to erpnext/setup/doctype/terms_and_conditions/terms_and_conditions.txt diff --git a/setup/doctype/terms_and_conditions/test_terms_and_conditions.py b/erpnext/setup/doctype/terms_and_conditions/test_terms_and_conditions.py similarity index 100% rename from setup/doctype/terms_and_conditions/test_terms_and_conditions.py rename to erpnext/setup/doctype/terms_and_conditions/test_terms_and_conditions.py diff --git a/setup/doctype/territory/README.md b/erpnext/setup/doctype/territory/README.md similarity index 100% rename from setup/doctype/territory/README.md rename to erpnext/setup/doctype/territory/README.md diff --git a/setup/doctype/territory/__init__.py b/erpnext/setup/doctype/territory/__init__.py similarity index 100% rename from setup/doctype/territory/__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/territory/test_territory.py b/erpnext/setup/doctype/territory/test_territory.py similarity index 100% rename from setup/doctype/territory/test_territory.py rename to erpnext/setup/doctype/territory/test_territory.py diff --git a/setup/doctype/uom/README.md b/erpnext/setup/doctype/uom/README.md similarity index 100% rename from setup/doctype/uom/README.md rename to erpnext/setup/doctype/uom/README.md diff --git a/setup/doctype/uom/__init__.py b/erpnext/setup/doctype/uom/__init__.py similarity index 100% rename from setup/doctype/uom/__init__.py rename to erpnext/setup/doctype/uom/__init__.py diff --git a/setup/doctype/uom/test_uom.py b/erpnext/setup/doctype/uom/test_uom.py similarity index 100% rename from setup/doctype/uom/test_uom.py rename to erpnext/setup/doctype/uom/test_uom.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.py b/erpnext/setup/doctype/uom/uom.py similarity index 100% rename from setup/doctype/uom/uom.py rename to erpnext/setup/doctype/uom/uom.py 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/website_item_group/README.md b/erpnext/setup/doctype/website_item_group/README.md similarity index 100% rename from setup/doctype/website_item_group/README.md rename to erpnext/setup/doctype/website_item_group/README.md diff --git a/setup/doctype/website_item_group/__init__.py b/erpnext/setup/doctype/website_item_group/__init__.py similarity index 100% rename from setup/doctype/website_item_group/__init__.py rename to erpnext/setup/doctype/website_item_group/__init__.py diff --git a/setup/doctype/website_item_group/website_item_group.py b/erpnext/setup/doctype/website_item_group/website_item_group.py similarity index 100% rename from setup/doctype/website_item_group/website_item_group.py rename to erpnext/setup/doctype/website_item_group/website_item_group.py diff --git a/setup/doctype/website_item_group/website_item_group.txt b/erpnext/setup/doctype/website_item_group/website_item_group.txt similarity index 100% rename from setup/doctype/website_item_group/website_item_group.txt rename to erpnext/setup/doctype/website_item_group/website_item_group.txt diff --git a/setup/page/__init__.py b/erpnext/setup/page/__init__.py similarity index 100% rename from setup/page/__init__.py rename to erpnext/setup/page/__init__.py diff --git a/setup/page/setup/__init__.py b/erpnext/setup/page/setup/__init__.py similarity index 100% rename from setup/page/setup/__init__.py rename to erpnext/setup/page/setup/__init__.py 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.py b/erpnext/setup/page/setup/setup.py similarity index 100% rename from setup/page/setup/setup.py rename to erpnext/setup/page/setup/setup.py 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_wizard/__init__.py b/erpnext/setup/page/setup_wizard/__init__.py similarity index 100% rename from setup/page/setup_wizard/__init__.py rename to erpnext/setup/page/setup_wizard/__init__.py diff --git a/setup/page/setup_wizard/setup_wizard.css b/erpnext/setup/page/setup_wizard/setup_wizard.css similarity index 100% rename from setup/page/setup_wizard/setup_wizard.css rename to erpnext/setup/page/setup_wizard/setup_wizard.css 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.py b/erpnext/setup/page/setup_wizard/setup_wizard.py similarity index 100% rename from setup/page/setup_wizard/setup_wizard.py rename to erpnext/setup/page/setup_wizard/setup_wizard.py 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/test_setup_data.py b/erpnext/setup/page/setup_wizard/test_setup_data.py similarity index 100% rename from setup/page/setup_wizard/test_setup_data.py rename to erpnext/setup/page/setup_wizard/test_setup_data.py diff --git a/setup/page/setup_wizard/test_setup_wizard.py b/erpnext/setup/page/setup_wizard/test_setup_wizard.py similarity index 100% rename from setup/page/setup_wizard/test_setup_wizard.py rename to erpnext/setup/page/setup_wizard/test_setup_wizard.py diff --git a/setup/report/__init__.py b/erpnext/setup/report/__init__.py similarity index 100% rename from setup/report/__init__.py rename to erpnext/setup/report/__init__.py diff --git a/setup/report/item_wise_price_list_rate/__init__.py b/erpnext/setup/report/item_wise_price_list_rate/__init__.py similarity index 100% rename from setup/report/item_wise_price_list_rate/__init__.py rename to erpnext/setup/report/item_wise_price_list_rate/__init__.py diff --git a/setup/report/item_wise_price_list_rate/item_wise_price_list_rate.txt b/erpnext/setup/report/item_wise_price_list_rate/item_wise_price_list_rate.txt similarity index 100% rename from setup/report/item_wise_price_list_rate/item_wise_price_list_rate.txt rename to erpnext/setup/report/item_wise_price_list_rate/item_wise_price_list_rate.txt diff --git a/setup/utils.py b/erpnext/setup/utils.py similarity index 100% rename from setup/utils.py rename to erpnext/setup/utils.py diff --git a/startup/__init__.py b/erpnext/startup/__init__.py similarity index 100% rename from startup/__init__.py rename to erpnext/startup/__init__.py diff --git a/startup/bean_handlers.py b/erpnext/startup/bean_handlers.py similarity index 100% rename from startup/bean_handlers.py rename to erpnext/startup/bean_handlers.py diff --git a/startup/boot.py b/erpnext/startup/boot.py similarity index 100% rename from startup/boot.py rename to erpnext/startup/boot.py 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/install.py b/erpnext/startup/install.py similarity index 100% rename from startup/install.py rename to erpnext/startup/install.py diff --git a/startup/open_count.py b/erpnext/startup/open_count.py similarity index 100% rename from startup/open_count.py rename to erpnext/startup/open_count.py diff --git a/startup/query_handlers.py b/erpnext/startup/query_handlers.py similarity index 100% rename from startup/query_handlers.py rename to erpnext/startup/query_handlers.py diff --git a/startup/report_data_map.py b/erpnext/startup/report_data_map.py similarity index 100% rename from startup/report_data_map.py rename to erpnext/startup/report_data_map.py diff --git a/startup/schedule_handlers.py b/erpnext/startup/schedule_handlers.py similarity index 100% rename from startup/schedule_handlers.py rename to erpnext/startup/schedule_handlers.py diff --git a/startup/webutils.py b/erpnext/startup/webutils.py similarity index 100% rename from startup/webutils.py rename to erpnext/startup/webutils.py diff --git a/stock/Print Format/Delivery Note Classic/Delivery Note Classic.txt b/erpnext/stock/Print Format/Delivery Note Classic/Delivery Note Classic.txt similarity index 100% rename from stock/Print Format/Delivery Note Classic/Delivery Note Classic.txt rename to erpnext/stock/Print Format/Delivery Note Classic/Delivery Note Classic.txt diff --git a/stock/Print Format/Delivery Note Modern/Delivery Note Modern.txt b/erpnext/stock/Print Format/Delivery Note Modern/Delivery Note Modern.txt similarity index 100% rename from stock/Print Format/Delivery Note Modern/Delivery Note Modern.txt rename to erpnext/stock/Print Format/Delivery Note Modern/Delivery Note Modern.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/Delivery Note Spartan/Delivery Note Spartan.txt b/erpnext/stock/Print Format/Delivery Note Spartan/Delivery Note Spartan.txt similarity index 100% rename from stock/Print Format/Delivery Note Spartan/Delivery Note Spartan.txt rename to erpnext/stock/Print Format/Delivery Note Spartan/Delivery Note Spartan.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/README.md b/erpnext/stock/README.md similarity index 100% rename from stock/README.md rename to erpnext/stock/README.md diff --git a/stock/__init__.py b/erpnext/stock/__init__.py similarity index 100% rename from stock/__init__.py rename to erpnext/stock/__init__.py diff --git a/stock/doctype/__init__.py b/erpnext/stock/doctype/__init__.py similarity index 100% rename from stock/doctype/__init__.py rename to erpnext/stock/doctype/__init__.py diff --git a/stock/doctype/batch/README.md b/erpnext/stock/doctype/batch/README.md similarity index 100% rename from stock/doctype/batch/README.md rename to erpnext/stock/doctype/batch/README.md diff --git a/stock/doctype/batch/__init__.py b/erpnext/stock/doctype/batch/__init__.py similarity index 100% rename from stock/doctype/batch/__init__.py rename to erpnext/stock/doctype/batch/__init__.py diff --git a/stock/doctype/batch/batch.js b/erpnext/stock/doctype/batch/batch.js similarity index 100% rename from stock/doctype/batch/batch.js rename to erpnext/stock/doctype/batch/batch.js diff --git a/stock/doctype/batch/batch.py b/erpnext/stock/doctype/batch/batch.py similarity index 100% rename from stock/doctype/batch/batch.py rename to erpnext/stock/doctype/batch/batch.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/bin/README.md b/erpnext/stock/doctype/bin/README.md similarity index 100% rename from stock/doctype/bin/README.md rename to erpnext/stock/doctype/bin/README.md diff --git a/stock/doctype/bin/__init__.py b/erpnext/stock/doctype/bin/__init__.py similarity index 100% rename from stock/doctype/bin/__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/README.md b/erpnext/stock/doctype/delivery_note/README.md similarity index 100% rename from stock/doctype/delivery_note/README.md rename to erpnext/stock/doctype/delivery_note/README.md diff --git a/stock/doctype/delivery_note/__init__.py b/erpnext/stock/doctype/delivery_note/__init__.py similarity index 100% rename from stock/doctype/delivery_note/__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/delivery_note/templates/__init__.py b/erpnext/stock/doctype/delivery_note/templates/__init__.py similarity index 100% rename from stock/doctype/delivery_note/templates/__init__.py rename to erpnext/stock/doctype/delivery_note/templates/__init__.py diff --git a/stock/doctype/delivery_note/templates/pages/__init__.py b/erpnext/stock/doctype/delivery_note/templates/pages/__init__.py similarity index 100% rename from stock/doctype/delivery_note/templates/pages/__init__.py rename to erpnext/stock/doctype/delivery_note/templates/pages/__init__.py diff --git a/stock/doctype/delivery_note/templates/pages/shipment.html b/erpnext/stock/doctype/delivery_note/templates/pages/shipment.html similarity index 100% rename from stock/doctype/delivery_note/templates/pages/shipment.html rename to erpnext/stock/doctype/delivery_note/templates/pages/shipment.html diff --git a/stock/doctype/delivery_note/templates/pages/shipment.py b/erpnext/stock/doctype/delivery_note/templates/pages/shipment.py similarity index 100% rename from stock/doctype/delivery_note/templates/pages/shipment.py rename to erpnext/stock/doctype/delivery_note/templates/pages/shipment.py diff --git a/stock/doctype/delivery_note/templates/pages/shipments.html b/erpnext/stock/doctype/delivery_note/templates/pages/shipments.html similarity index 100% rename from stock/doctype/delivery_note/templates/pages/shipments.html rename to erpnext/stock/doctype/delivery_note/templates/pages/shipments.html diff --git a/stock/doctype/delivery_note/templates/pages/shipments.py b/erpnext/stock/doctype/delivery_note/templates/pages/shipments.py similarity index 100% rename from stock/doctype/delivery_note/templates/pages/shipments.py rename to erpnext/stock/doctype/delivery_note/templates/pages/shipments.py diff --git a/stock/doctype/delivery_note/test_delivery_note.py b/erpnext/stock/doctype/delivery_note/test_delivery_note.py similarity index 100% rename from stock/doctype/delivery_note/test_delivery_note.py rename to erpnext/stock/doctype/delivery_note/test_delivery_note.py diff --git a/stock/doctype/delivery_note_item/README.md b/erpnext/stock/doctype/delivery_note_item/README.md similarity index 100% rename from stock/doctype/delivery_note_item/README.md rename to erpnext/stock/doctype/delivery_note_item/README.md diff --git a/stock/doctype/delivery_note_item/__init__.py b/erpnext/stock/doctype/delivery_note_item/__init__.py similarity index 100% rename from stock/doctype/delivery_note_item/__init__.py rename to erpnext/stock/doctype/delivery_note_item/__init__.py diff --git a/stock/doctype/delivery_note_item/delivery_note_item.py b/erpnext/stock/doctype/delivery_note_item/delivery_note_item.py similarity index 100% rename from stock/doctype/delivery_note_item/delivery_note_item.py rename to erpnext/stock/doctype/delivery_note_item/delivery_note_item.py diff --git a/stock/doctype/delivery_note_item/delivery_note_item.txt b/erpnext/stock/doctype/delivery_note_item/delivery_note_item.txt similarity index 100% rename from stock/doctype/delivery_note_item/delivery_note_item.txt rename to erpnext/stock/doctype/delivery_note_item/delivery_note_item.txt diff --git a/stock/doctype/item/README.md b/erpnext/stock/doctype/item/README.md similarity index 100% rename from stock/doctype/item/README.md rename to erpnext/stock/doctype/item/README.md diff --git a/stock/doctype/item/__init__.py b/erpnext/stock/doctype/item/__init__.py similarity index 100% rename from stock/doctype/item/__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/templates/__init__.py b/erpnext/stock/doctype/item/templates/__init__.py similarity index 100% rename from stock/doctype/item/templates/__init__.py rename to erpnext/stock/doctype/item/templates/__init__.py diff --git a/stock/doctype/item/templates/generators/__init__.py b/erpnext/stock/doctype/item/templates/generators/__init__.py similarity index 100% rename from stock/doctype/item/templates/generators/__init__.py rename to erpnext/stock/doctype/item/templates/generators/__init__.py diff --git a/stock/doctype/item/templates/generators/item.html b/erpnext/stock/doctype/item/templates/generators/item.html similarity index 100% rename from stock/doctype/item/templates/generators/item.html rename to erpnext/stock/doctype/item/templates/generators/item.html diff --git a/stock/doctype/item/templates/generators/item.py b/erpnext/stock/doctype/item/templates/generators/item.py similarity index 100% rename from stock/doctype/item/templates/generators/item.py rename to erpnext/stock/doctype/item/templates/generators/item.py diff --git a/stock/doctype/item/templates/includes/product_breadcrumbs.html b/erpnext/stock/doctype/item/templates/includes/product_breadcrumbs.html similarity index 100% rename from stock/doctype/item/templates/includes/product_breadcrumbs.html rename to erpnext/stock/doctype/item/templates/includes/product_breadcrumbs.html diff --git a/stock/doctype/item/templates/includes/product_in_grid.html b/erpnext/stock/doctype/item/templates/includes/product_in_grid.html similarity index 100% rename from stock/doctype/item/templates/includes/product_in_grid.html rename to erpnext/stock/doctype/item/templates/includes/product_in_grid.html diff --git a/stock/doctype/item/templates/includes/product_in_list.html b/erpnext/stock/doctype/item/templates/includes/product_in_list.html similarity index 100% rename from stock/doctype/item/templates/includes/product_in_list.html rename to erpnext/stock/doctype/item/templates/includes/product_in_list.html diff --git a/stock/doctype/item/templates/includes/product_list.js b/erpnext/stock/doctype/item/templates/includes/product_list.js similarity index 100% rename from stock/doctype/item/templates/includes/product_list.js rename to erpnext/stock/doctype/item/templates/includes/product_list.js diff --git a/stock/doctype/item/templates/includes/product_missing_image.html b/erpnext/stock/doctype/item/templates/includes/product_missing_image.html similarity index 100% rename from stock/doctype/item/templates/includes/product_missing_image.html rename to erpnext/stock/doctype/item/templates/includes/product_missing_image.html diff --git a/stock/doctype/item/templates/includes/product_page.css b/erpnext/stock/doctype/item/templates/includes/product_page.css similarity index 100% rename from stock/doctype/item/templates/includes/product_page.css rename to erpnext/stock/doctype/item/templates/includes/product_page.css diff --git a/stock/doctype/item/templates/includes/product_page.js b/erpnext/stock/doctype/item/templates/includes/product_page.js similarity index 100% rename from stock/doctype/item/templates/includes/product_page.js rename to erpnext/stock/doctype/item/templates/includes/product_page.js diff --git a/stock/doctype/item/templates/includes/product_search_box.html b/erpnext/stock/doctype/item/templates/includes/product_search_box.html similarity index 100% rename from stock/doctype/item/templates/includes/product_search_box.html rename to erpnext/stock/doctype/item/templates/includes/product_search_box.html diff --git a/stock/doctype/item/templates/pages/__init__.py b/erpnext/stock/doctype/item/templates/pages/__init__.py similarity index 100% rename from stock/doctype/item/templates/pages/__init__.py rename to erpnext/stock/doctype/item/templates/pages/__init__.py diff --git a/stock/doctype/item/templates/pages/product_search.html b/erpnext/stock/doctype/item/templates/pages/product_search.html similarity index 100% rename from stock/doctype/item/templates/pages/product_search.html rename to erpnext/stock/doctype/item/templates/pages/product_search.html diff --git a/stock/doctype/item/templates/pages/product_search.py b/erpnext/stock/doctype/item/templates/pages/product_search.py similarity index 100% rename from stock/doctype/item/templates/pages/product_search.py rename to erpnext/stock/doctype/item/templates/pages/product_search.py diff --git a/stock/doctype/item/test_item.py b/erpnext/stock/doctype/item/test_item.py similarity index 100% rename from stock/doctype/item/test_item.py rename to erpnext/stock/doctype/item/test_item.py diff --git a/stock/doctype/item_customer_detail/README.md b/erpnext/stock/doctype/item_customer_detail/README.md similarity index 100% rename from stock/doctype/item_customer_detail/README.md rename to erpnext/stock/doctype/item_customer_detail/README.md diff --git a/stock/doctype/item_customer_detail/__init__.py b/erpnext/stock/doctype/item_customer_detail/__init__.py similarity index 100% rename from stock/doctype/item_customer_detail/__init__.py rename to erpnext/stock/doctype/item_customer_detail/__init__.py diff --git a/stock/doctype/item_customer_detail/item_customer_detail.py b/erpnext/stock/doctype/item_customer_detail/item_customer_detail.py similarity index 100% rename from stock/doctype/item_customer_detail/item_customer_detail.py rename to erpnext/stock/doctype/item_customer_detail/item_customer_detail.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/item_price/README.md b/erpnext/stock/doctype/item_price/README.md similarity index 100% rename from stock/doctype/item_price/README.md rename to erpnext/stock/doctype/item_price/README.md diff --git a/stock/doctype/item_price/__init__.py b/erpnext/stock/doctype/item_price/__init__.py similarity index 100% rename from stock/doctype/item_price/__init__.py rename to erpnext/stock/doctype/item_price/__init__.py diff --git a/stock/doctype/item_price/item_price.js b/erpnext/stock/doctype/item_price/item_price.js similarity index 100% rename from stock/doctype/item_price/item_price.js rename to erpnext/stock/doctype/item_price/item_price.js diff --git a/stock/doctype/item_price/item_price.py b/erpnext/stock/doctype/item_price/item_price.py similarity index 100% rename from stock/doctype/item_price/item_price.py rename to erpnext/stock/doctype/item_price/item_price.py diff --git a/stock/doctype/item_price/item_price.txt b/erpnext/stock/doctype/item_price/item_price.txt similarity index 100% rename from stock/doctype/item_price/item_price.txt rename to erpnext/stock/doctype/item_price/item_price.txt diff --git a/stock/doctype/item_price/test_item_price.py b/erpnext/stock/doctype/item_price/test_item_price.py similarity index 100% rename from stock/doctype/item_price/test_item_price.py rename to erpnext/stock/doctype/item_price/test_item_price.py diff --git a/stock/doctype/item_quality_inspection_parameter/README.md b/erpnext/stock/doctype/item_quality_inspection_parameter/README.md similarity index 100% rename from stock/doctype/item_quality_inspection_parameter/README.md rename to erpnext/stock/doctype/item_quality_inspection_parameter/README.md diff --git a/stock/doctype/item_quality_inspection_parameter/__init__.py b/erpnext/stock/doctype/item_quality_inspection_parameter/__init__.py similarity index 100% rename from stock/doctype/item_quality_inspection_parameter/__init__.py rename to erpnext/stock/doctype/item_quality_inspection_parameter/__init__.py diff --git a/stock/doctype/item_quality_inspection_parameter/item_quality_inspection_parameter.py b/erpnext/stock/doctype/item_quality_inspection_parameter/item_quality_inspection_parameter.py similarity index 100% rename from stock/doctype/item_quality_inspection_parameter/item_quality_inspection_parameter.py rename to erpnext/stock/doctype/item_quality_inspection_parameter/item_quality_inspection_parameter.py diff --git a/stock/doctype/item_quality_inspection_parameter/item_quality_inspection_parameter.txt b/erpnext/stock/doctype/item_quality_inspection_parameter/item_quality_inspection_parameter.txt similarity index 100% rename from stock/doctype/item_quality_inspection_parameter/item_quality_inspection_parameter.txt rename to erpnext/stock/doctype/item_quality_inspection_parameter/item_quality_inspection_parameter.txt diff --git a/stock/doctype/item_reorder/README.md b/erpnext/stock/doctype/item_reorder/README.md similarity index 100% rename from stock/doctype/item_reorder/README.md rename to erpnext/stock/doctype/item_reorder/README.md diff --git a/stock/doctype/item_reorder/__init__.py b/erpnext/stock/doctype/item_reorder/__init__.py similarity index 100% rename from stock/doctype/item_reorder/__init__.py rename to erpnext/stock/doctype/item_reorder/__init__.py diff --git a/stock/doctype/item_reorder/item_reorder.py b/erpnext/stock/doctype/item_reorder/item_reorder.py similarity index 100% rename from stock/doctype/item_reorder/item_reorder.py rename to erpnext/stock/doctype/item_reorder/item_reorder.py diff --git a/stock/doctype/item_reorder/item_reorder.txt b/erpnext/stock/doctype/item_reorder/item_reorder.txt similarity index 100% rename from stock/doctype/item_reorder/item_reorder.txt rename to erpnext/stock/doctype/item_reorder/item_reorder.txt diff --git a/stock/doctype/item_supplier/README.md b/erpnext/stock/doctype/item_supplier/README.md similarity index 100% rename from stock/doctype/item_supplier/README.md rename to erpnext/stock/doctype/item_supplier/README.md diff --git a/stock/doctype/item_supplier/__init__.py b/erpnext/stock/doctype/item_supplier/__init__.py similarity index 100% rename from stock/doctype/item_supplier/__init__.py rename to erpnext/stock/doctype/item_supplier/__init__.py diff --git a/stock/doctype/item_supplier/item_supplier.py b/erpnext/stock/doctype/item_supplier/item_supplier.py similarity index 100% rename from stock/doctype/item_supplier/item_supplier.py rename to erpnext/stock/doctype/item_supplier/item_supplier.py diff --git a/stock/doctype/item_supplier/item_supplier.txt b/erpnext/stock/doctype/item_supplier/item_supplier.txt similarity index 100% rename from stock/doctype/item_supplier/item_supplier.txt rename to erpnext/stock/doctype/item_supplier/item_supplier.txt diff --git a/stock/doctype/item_tax/README.md b/erpnext/stock/doctype/item_tax/README.md similarity index 100% rename from stock/doctype/item_tax/README.md rename to erpnext/stock/doctype/item_tax/README.md diff --git a/stock/doctype/item_tax/__init__.py b/erpnext/stock/doctype/item_tax/__init__.py similarity index 100% rename from stock/doctype/item_tax/__init__.py rename to erpnext/stock/doctype/item_tax/__init__.py diff --git a/stock/doctype/item_tax/item_tax.py b/erpnext/stock/doctype/item_tax/item_tax.py similarity index 100% rename from stock/doctype/item_tax/item_tax.py rename to erpnext/stock/doctype/item_tax/item_tax.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/item_website_specification/README.md b/erpnext/stock/doctype/item_website_specification/README.md similarity index 100% rename from stock/doctype/item_website_specification/README.md rename to erpnext/stock/doctype/item_website_specification/README.md diff --git a/stock/doctype/item_website_specification/__init__.py b/erpnext/stock/doctype/item_website_specification/__init__.py similarity index 100% rename from stock/doctype/item_website_specification/__init__.py rename to erpnext/stock/doctype/item_website_specification/__init__.py diff --git a/stock/doctype/item_website_specification/item_website_specification.py b/erpnext/stock/doctype/item_website_specification/item_website_specification.py similarity index 100% rename from stock/doctype/item_website_specification/item_website_specification.py rename to erpnext/stock/doctype/item_website_specification/item_website_specification.py diff --git a/stock/doctype/item_website_specification/item_website_specification.txt b/erpnext/stock/doctype/item_website_specification/item_website_specification.txt similarity index 100% rename from stock/doctype/item_website_specification/item_website_specification.txt rename to erpnext/stock/doctype/item_website_specification/item_website_specification.txt diff --git a/stock/doctype/landed_cost_item/README.md b/erpnext/stock/doctype/landed_cost_item/README.md similarity index 100% rename from stock/doctype/landed_cost_item/README.md rename to erpnext/stock/doctype/landed_cost_item/README.md diff --git a/stock/doctype/landed_cost_item/__init__.py b/erpnext/stock/doctype/landed_cost_item/__init__.py similarity index 100% rename from stock/doctype/landed_cost_item/__init__.py rename to erpnext/stock/doctype/landed_cost_item/__init__.py diff --git a/stock/doctype/landed_cost_item/landed_cost_item.py b/erpnext/stock/doctype/landed_cost_item/landed_cost_item.py similarity index 100% rename from stock/doctype/landed_cost_item/landed_cost_item.py rename to erpnext/stock/doctype/landed_cost_item/landed_cost_item.py diff --git a/stock/doctype/landed_cost_item/landed_cost_item.txt b/erpnext/stock/doctype/landed_cost_item/landed_cost_item.txt similarity index 100% rename from stock/doctype/landed_cost_item/landed_cost_item.txt rename to erpnext/stock/doctype/landed_cost_item/landed_cost_item.txt diff --git a/stock/doctype/landed_cost_purchase_receipt/README.md b/erpnext/stock/doctype/landed_cost_purchase_receipt/README.md similarity index 100% rename from stock/doctype/landed_cost_purchase_receipt/README.md rename to erpnext/stock/doctype/landed_cost_purchase_receipt/README.md diff --git a/stock/doctype/landed_cost_purchase_receipt/__init__.py b/erpnext/stock/doctype/landed_cost_purchase_receipt/__init__.py similarity index 100% rename from stock/doctype/landed_cost_purchase_receipt/__init__.py rename to erpnext/stock/doctype/landed_cost_purchase_receipt/__init__.py diff --git a/stock/doctype/landed_cost_purchase_receipt/landed_cost_purchase_receipt.py b/erpnext/stock/doctype/landed_cost_purchase_receipt/landed_cost_purchase_receipt.py similarity index 100% rename from stock/doctype/landed_cost_purchase_receipt/landed_cost_purchase_receipt.py rename to erpnext/stock/doctype/landed_cost_purchase_receipt/landed_cost_purchase_receipt.py diff --git a/stock/doctype/landed_cost_purchase_receipt/landed_cost_purchase_receipt.txt b/erpnext/stock/doctype/landed_cost_purchase_receipt/landed_cost_purchase_receipt.txt similarity index 100% rename from stock/doctype/landed_cost_purchase_receipt/landed_cost_purchase_receipt.txt rename to erpnext/stock/doctype/landed_cost_purchase_receipt/landed_cost_purchase_receipt.txt diff --git a/stock/doctype/landed_cost_wizard/README.md b/erpnext/stock/doctype/landed_cost_wizard/README.md similarity index 100% rename from stock/doctype/landed_cost_wizard/README.md rename to erpnext/stock/doctype/landed_cost_wizard/README.md diff --git a/stock/doctype/landed_cost_wizard/__init__.py b/erpnext/stock/doctype/landed_cost_wizard/__init__.py similarity index 100% rename from stock/doctype/landed_cost_wizard/__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/material_request/README.md b/erpnext/stock/doctype/material_request/README.md similarity index 100% rename from stock/doctype/material_request/README.md rename to erpnext/stock/doctype/material_request/README.md diff --git a/stock/doctype/material_request/__init__.py b/erpnext/stock/doctype/material_request/__init__.py similarity index 100% rename from stock/doctype/material_request/__init__.py rename to erpnext/stock/doctype/material_request/__init__.py diff --git a/stock/doctype/material_request/material_request.js b/erpnext/stock/doctype/material_request/material_request.js similarity index 100% rename from stock/doctype/material_request/material_request.js rename to erpnext/stock/doctype/material_request/material_request.js diff --git a/stock/doctype/material_request/material_request.py b/erpnext/stock/doctype/material_request/material_request.py similarity index 100% rename from stock/doctype/material_request/material_request.py rename to erpnext/stock/doctype/material_request/material_request.py diff --git a/stock/doctype/material_request/material_request.txt b/erpnext/stock/doctype/material_request/material_request.txt similarity index 100% rename from stock/doctype/material_request/material_request.txt rename to erpnext/stock/doctype/material_request/material_request.txt diff --git a/stock/doctype/material_request/test_material_request.py b/erpnext/stock/doctype/material_request/test_material_request.py similarity index 100% rename from stock/doctype/material_request/test_material_request.py rename to erpnext/stock/doctype/material_request/test_material_request.py diff --git a/stock/doctype/material_request_item/README.md b/erpnext/stock/doctype/material_request_item/README.md similarity index 100% rename from stock/doctype/material_request_item/README.md rename to erpnext/stock/doctype/material_request_item/README.md diff --git a/stock/doctype/material_request_item/__init__.py b/erpnext/stock/doctype/material_request_item/__init__.py similarity index 100% rename from stock/doctype/material_request_item/__init__.py rename to erpnext/stock/doctype/material_request_item/__init__.py diff --git a/stock/doctype/material_request_item/material_request_item.py b/erpnext/stock/doctype/material_request_item/material_request_item.py similarity index 100% rename from stock/doctype/material_request_item/material_request_item.py rename to erpnext/stock/doctype/material_request_item/material_request_item.py diff --git a/stock/doctype/material_request_item/material_request_item.txt b/erpnext/stock/doctype/material_request_item/material_request_item.txt similarity index 100% rename from stock/doctype/material_request_item/material_request_item.txt rename to erpnext/stock/doctype/material_request_item/material_request_item.txt diff --git a/stock/doctype/packed_item/__init__.py b/erpnext/stock/doctype/packed_item/__init__.py similarity index 100% rename from stock/doctype/packed_item/__init__.py rename to erpnext/stock/doctype/packed_item/__init__.py diff --git a/stock/doctype/packed_item/packed_item.py b/erpnext/stock/doctype/packed_item/packed_item.py similarity index 100% rename from stock/doctype/packed_item/packed_item.py rename to erpnext/stock/doctype/packed_item/packed_item.py diff --git a/stock/doctype/packed_item/packed_item.txt b/erpnext/stock/doctype/packed_item/packed_item.txt similarity index 100% rename from stock/doctype/packed_item/packed_item.txt rename to erpnext/stock/doctype/packed_item/packed_item.txt diff --git a/stock/doctype/packing_slip/README.md b/erpnext/stock/doctype/packing_slip/README.md similarity index 100% rename from stock/doctype/packing_slip/README.md rename to erpnext/stock/doctype/packing_slip/README.md diff --git a/stock/doctype/packing_slip/__init__.py b/erpnext/stock/doctype/packing_slip/__init__.py similarity index 100% rename from stock/doctype/packing_slip/__init__.py rename to erpnext/stock/doctype/packing_slip/__init__.py diff --git a/stock/doctype/packing_slip/packing_slip.js b/erpnext/stock/doctype/packing_slip/packing_slip.js similarity index 100% rename from stock/doctype/packing_slip/packing_slip.js rename to erpnext/stock/doctype/packing_slip/packing_slip.js diff --git a/stock/doctype/packing_slip/packing_slip.py b/erpnext/stock/doctype/packing_slip/packing_slip.py similarity index 100% rename from stock/doctype/packing_slip/packing_slip.py rename to erpnext/stock/doctype/packing_slip/packing_slip.py diff --git a/stock/doctype/packing_slip/packing_slip.txt b/erpnext/stock/doctype/packing_slip/packing_slip.txt similarity index 100% rename from stock/doctype/packing_slip/packing_slip.txt rename to erpnext/stock/doctype/packing_slip/packing_slip.txt diff --git a/stock/doctype/packing_slip_item/README.md b/erpnext/stock/doctype/packing_slip_item/README.md similarity index 100% rename from stock/doctype/packing_slip_item/README.md rename to erpnext/stock/doctype/packing_slip_item/README.md diff --git a/stock/doctype/packing_slip_item/__init__.py b/erpnext/stock/doctype/packing_slip_item/__init__.py similarity index 100% rename from stock/doctype/packing_slip_item/__init__.py rename to erpnext/stock/doctype/packing_slip_item/__init__.py diff --git a/stock/doctype/packing_slip_item/packing_slip_item.py b/erpnext/stock/doctype/packing_slip_item/packing_slip_item.py similarity index 100% rename from stock/doctype/packing_slip_item/packing_slip_item.py rename to erpnext/stock/doctype/packing_slip_item/packing_slip_item.py diff --git a/stock/doctype/packing_slip_item/packing_slip_item.txt b/erpnext/stock/doctype/packing_slip_item/packing_slip_item.txt similarity index 100% rename from stock/doctype/packing_slip_item/packing_slip_item.txt rename to erpnext/stock/doctype/packing_slip_item/packing_slip_item.txt diff --git a/stock/doctype/price_list/README.md b/erpnext/stock/doctype/price_list/README.md similarity index 100% rename from stock/doctype/price_list/README.md rename to erpnext/stock/doctype/price_list/README.md diff --git a/stock/doctype/price_list/__init__.py b/erpnext/stock/doctype/price_list/__init__.py similarity index 100% rename from stock/doctype/price_list/__init__.py rename to erpnext/stock/doctype/price_list/__init__.py diff --git a/stock/doctype/price_list/price_list.css b/erpnext/stock/doctype/price_list/price_list.css similarity index 100% rename from stock/doctype/price_list/price_list.css rename to erpnext/stock/doctype/price_list/price_list.css diff --git a/stock/doctype/price_list/price_list.js b/erpnext/stock/doctype/price_list/price_list.js similarity index 100% rename from stock/doctype/price_list/price_list.js rename to erpnext/stock/doctype/price_list/price_list.js diff --git a/stock/doctype/price_list/price_list.py b/erpnext/stock/doctype/price_list/price_list.py similarity index 100% rename from stock/doctype/price_list/price_list.py rename to erpnext/stock/doctype/price_list/price_list.py diff --git a/stock/doctype/price_list/price_list.txt b/erpnext/stock/doctype/price_list/price_list.txt similarity index 100% rename from stock/doctype/price_list/price_list.txt rename to erpnext/stock/doctype/price_list/price_list.txt diff --git a/stock/doctype/price_list/test_price_list.py b/erpnext/stock/doctype/price_list/test_price_list.py similarity index 100% rename from stock/doctype/price_list/test_price_list.py rename to erpnext/stock/doctype/price_list/test_price_list.py diff --git a/stock/doctype/purchase_receipt/README.md b/erpnext/stock/doctype/purchase_receipt/README.md similarity index 100% rename from stock/doctype/purchase_receipt/README.md rename to erpnext/stock/doctype/purchase_receipt/README.md diff --git a/stock/doctype/purchase_receipt/__init__.py b/erpnext/stock/doctype/purchase_receipt/__init__.py similarity index 100% rename from stock/doctype/purchase_receipt/__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/purchase_receipt/test_purchase_receipt.py b/erpnext/stock/doctype/purchase_receipt/test_purchase_receipt.py similarity index 100% rename from stock/doctype/purchase_receipt/test_purchase_receipt.py rename to erpnext/stock/doctype/purchase_receipt/test_purchase_receipt.py diff --git a/stock/doctype/purchase_receipt_item/README.md b/erpnext/stock/doctype/purchase_receipt_item/README.md similarity index 100% rename from stock/doctype/purchase_receipt_item/README.md rename to erpnext/stock/doctype/purchase_receipt_item/README.md diff --git a/stock/doctype/purchase_receipt_item/__init__.py b/erpnext/stock/doctype/purchase_receipt_item/__init__.py similarity index 100% rename from stock/doctype/purchase_receipt_item/__init__.py rename to erpnext/stock/doctype/purchase_receipt_item/__init__.py diff --git a/stock/doctype/purchase_receipt_item/purchase_receipt_item.py b/erpnext/stock/doctype/purchase_receipt_item/purchase_receipt_item.py similarity index 100% rename from stock/doctype/purchase_receipt_item/purchase_receipt_item.py rename to erpnext/stock/doctype/purchase_receipt_item/purchase_receipt_item.py diff --git a/stock/doctype/purchase_receipt_item/purchase_receipt_item.txt b/erpnext/stock/doctype/purchase_receipt_item/purchase_receipt_item.txt similarity index 100% rename from stock/doctype/purchase_receipt_item/purchase_receipt_item.txt rename to erpnext/stock/doctype/purchase_receipt_item/purchase_receipt_item.txt diff --git a/stock/doctype/sales_bom/README.md b/erpnext/stock/doctype/sales_bom/README.md similarity index 100% rename from stock/doctype/sales_bom/README.md rename to erpnext/stock/doctype/sales_bom/README.md diff --git a/stock/doctype/sales_bom_item/README.md b/erpnext/stock/doctype/sales_bom_item/README.md similarity index 100% rename from stock/doctype/sales_bom_item/README.md rename to erpnext/stock/doctype/sales_bom_item/README.md diff --git a/stock/doctype/serial_no/README.md b/erpnext/stock/doctype/serial_no/README.md similarity index 100% rename from stock/doctype/serial_no/README.md rename to erpnext/stock/doctype/serial_no/README.md diff --git a/stock/doctype/serial_no/__init__.py b/erpnext/stock/doctype/serial_no/__init__.py similarity index 100% rename from stock/doctype/serial_no/__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/serial_no/test_serial_no.py b/erpnext/stock/doctype/serial_no/test_serial_no.py similarity index 100% rename from stock/doctype/serial_no/test_serial_no.py rename to erpnext/stock/doctype/serial_no/test_serial_no.py diff --git a/stock/doctype/stock_entry/README.md b/erpnext/stock/doctype/stock_entry/README.md similarity index 100% rename from stock/doctype/stock_entry/README.md rename to erpnext/stock/doctype/stock_entry/README.md diff --git a/stock/doctype/stock_entry/__init__.py b/erpnext/stock/doctype/stock_entry/__init__.py similarity index 100% rename from stock/doctype/stock_entry/__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.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_entry/test_stock_entry.py b/erpnext/stock/doctype/stock_entry/test_stock_entry.py similarity index 100% rename from stock/doctype/stock_entry/test_stock_entry.py rename to erpnext/stock/doctype/stock_entry/test_stock_entry.py diff --git a/stock/doctype/stock_entry_detail/README.md b/erpnext/stock/doctype/stock_entry_detail/README.md similarity index 100% rename from stock/doctype/stock_entry_detail/README.md rename to erpnext/stock/doctype/stock_entry_detail/README.md diff --git a/stock/doctype/stock_entry_detail/__init__.py b/erpnext/stock/doctype/stock_entry_detail/__init__.py similarity index 100% rename from stock/doctype/stock_entry_detail/__init__.py rename to erpnext/stock/doctype/stock_entry_detail/__init__.py diff --git a/stock/doctype/stock_entry_detail/stock_entry_detail.py b/erpnext/stock/doctype/stock_entry_detail/stock_entry_detail.py similarity index 100% rename from stock/doctype/stock_entry_detail/stock_entry_detail.py rename to erpnext/stock/doctype/stock_entry_detail/stock_entry_detail.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_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_entry/README.md b/erpnext/stock/doctype/stock_ledger_entry/README.md similarity index 100% rename from stock/doctype/stock_ledger_entry/README.md rename to erpnext/stock/doctype/stock_ledger_entry/README.md diff --git a/stock/doctype/stock_ledger_entry/__init__.py b/erpnext/stock/doctype/stock_ledger_entry/__init__.py similarity index 100% rename from stock/doctype/stock_ledger_entry/__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/stock_reconciliation/README.md b/erpnext/stock/doctype/stock_reconciliation/README.md similarity index 100% rename from stock/doctype/stock_reconciliation/README.md rename to erpnext/stock/doctype/stock_reconciliation/README.md diff --git a/stock/doctype/stock_reconciliation/__init__.py b/erpnext/stock/doctype/stock_reconciliation/__init__.py similarity index 100% rename from stock/doctype/stock_reconciliation/__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/stock_reconciliation/test_stock_reconciliation.py b/erpnext/stock/doctype/stock_reconciliation/test_stock_reconciliation.py similarity index 100% rename from stock/doctype/stock_reconciliation/test_stock_reconciliation.py rename to erpnext/stock/doctype/stock_reconciliation/test_stock_reconciliation.py diff --git a/stock/doctype/stock_settings/__init__.py b/erpnext/stock/doctype/stock_settings/__init__.py similarity index 100% rename from stock/doctype/stock_settings/__init__.py rename to erpnext/stock/doctype/stock_settings/__init__.py diff --git a/stock/doctype/stock_settings/stock_settings.py b/erpnext/stock/doctype/stock_settings/stock_settings.py similarity index 100% rename from stock/doctype/stock_settings/stock_settings.py rename to erpnext/stock/doctype/stock_settings/stock_settings.py diff --git a/stock/doctype/stock_settings/stock_settings.txt b/erpnext/stock/doctype/stock_settings/stock_settings.txt similarity index 100% rename from stock/doctype/stock_settings/stock_settings.txt rename to erpnext/stock/doctype/stock_settings/stock_settings.txt diff --git a/stock/doctype/stock_uom_replace_utility/README.md b/erpnext/stock/doctype/stock_uom_replace_utility/README.md similarity index 100% rename from stock/doctype/stock_uom_replace_utility/README.md rename to erpnext/stock/doctype/stock_uom_replace_utility/README.md diff --git a/stock/doctype/stock_uom_replace_utility/__init__.py b/erpnext/stock/doctype/stock_uom_replace_utility/__init__.py similarity index 100% rename from stock/doctype/stock_uom_replace_utility/__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/uom_conversion_detail/README.md b/erpnext/stock/doctype/uom_conversion_detail/README.md similarity index 100% rename from stock/doctype/uom_conversion_detail/README.md rename to erpnext/stock/doctype/uom_conversion_detail/README.md diff --git a/stock/doctype/uom_conversion_detail/__init__.py b/erpnext/stock/doctype/uom_conversion_detail/__init__.py similarity index 100% rename from stock/doctype/uom_conversion_detail/__init__.py rename to erpnext/stock/doctype/uom_conversion_detail/__init__.py diff --git a/stock/doctype/uom_conversion_detail/uom_conversion_detail.py b/erpnext/stock/doctype/uom_conversion_detail/uom_conversion_detail.py similarity index 100% rename from stock/doctype/uom_conversion_detail/uom_conversion_detail.py rename to erpnext/stock/doctype/uom_conversion_detail/uom_conversion_detail.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/doctype/warehouse/README.md b/erpnext/stock/doctype/warehouse/README.md similarity index 100% rename from stock/doctype/warehouse/README.md rename to erpnext/stock/doctype/warehouse/README.md diff --git a/stock/doctype/warehouse/__init__.py b/erpnext/stock/doctype/warehouse/__init__.py similarity index 100% rename from stock/doctype/warehouse/__init__.py rename to erpnext/stock/doctype/warehouse/__init__.py diff --git a/stock/doctype/warehouse/test_warehouse.py b/erpnext/stock/doctype/warehouse/test_warehouse.py similarity index 100% rename from stock/doctype/warehouse/test_warehouse.py rename to erpnext/stock/doctype/warehouse/test_warehouse.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/doctype/warehouse_user/README.md b/erpnext/stock/doctype/warehouse_user/README.md similarity index 100% rename from stock/doctype/warehouse_user/README.md rename to erpnext/stock/doctype/warehouse_user/README.md diff --git a/stock/doctype/warehouse_user/__init__.py b/erpnext/stock/doctype/warehouse_user/__init__.py similarity index 100% rename from stock/doctype/warehouse_user/__init__.py rename to erpnext/stock/doctype/warehouse_user/__init__.py diff --git a/stock/doctype/warehouse_user/warehouse_user.py b/erpnext/stock/doctype/warehouse_user/warehouse_user.py similarity index 100% rename from stock/doctype/warehouse_user/warehouse_user.py rename to erpnext/stock/doctype/warehouse_user/warehouse_user.py diff --git a/stock/doctype/warehouse_user/warehouse_user.txt b/erpnext/stock/doctype/warehouse_user/warehouse_user.txt similarity index 100% rename from stock/doctype/warehouse_user/warehouse_user.txt rename to erpnext/stock/doctype/warehouse_user/warehouse_user.txt diff --git a/stock/page/__init__.py b/erpnext/stock/page/__init__.py similarity index 100% rename from stock/page/__init__.py rename to erpnext/stock/page/__init__.py diff --git a/stock/page/stock_ageing/README.md b/erpnext/stock/page/stock_ageing/README.md similarity index 100% rename from stock/page/stock_ageing/README.md rename to erpnext/stock/page/stock_ageing/README.md diff --git a/stock/page/stock_ageing/__init__.py b/erpnext/stock/page/stock_ageing/__init__.py similarity index 100% rename from stock/page/stock_ageing/__init__.py rename to erpnext/stock/page/stock_ageing/__init__.py diff --git a/stock/page/stock_ageing/stock_ageing.js b/erpnext/stock/page/stock_ageing/stock_ageing.js similarity index 100% rename from stock/page/stock_ageing/stock_ageing.js rename to erpnext/stock/page/stock_ageing/stock_ageing.js diff --git a/stock/page/stock_ageing/stock_ageing.txt b/erpnext/stock/page/stock_ageing/stock_ageing.txt similarity index 100% rename from stock/page/stock_ageing/stock_ageing.txt rename to erpnext/stock/page/stock_ageing/stock_ageing.txt diff --git a/stock/page/stock_analytics/README.md b/erpnext/stock/page/stock_analytics/README.md similarity index 100% rename from stock/page/stock_analytics/README.md rename to erpnext/stock/page/stock_analytics/README.md diff --git a/stock/page/stock_analytics/__init__.py b/erpnext/stock/page/stock_analytics/__init__.py similarity index 100% rename from stock/page/stock_analytics/__init__.py rename to erpnext/stock/page/stock_analytics/__init__.py diff --git a/stock/page/stock_analytics/stock_analytics.js b/erpnext/stock/page/stock_analytics/stock_analytics.js similarity index 100% rename from stock/page/stock_analytics/stock_analytics.js rename to erpnext/stock/page/stock_analytics/stock_analytics.js diff --git a/stock/page/stock_analytics/stock_analytics.txt b/erpnext/stock/page/stock_analytics/stock_analytics.txt similarity index 100% rename from stock/page/stock_analytics/stock_analytics.txt rename to erpnext/stock/page/stock_analytics/stock_analytics.txt diff --git a/stock/page/stock_balance/README.md b/erpnext/stock/page/stock_balance/README.md similarity index 100% rename from stock/page/stock_balance/README.md rename to erpnext/stock/page/stock_balance/README.md diff --git a/stock/page/stock_balance/__init__.py b/erpnext/stock/page/stock_balance/__init__.py similarity index 100% rename from stock/page/stock_balance/__init__.py rename to erpnext/stock/page/stock_balance/__init__.py diff --git a/stock/page/stock_balance/stock_balance.js b/erpnext/stock/page/stock_balance/stock_balance.js similarity index 100% rename from stock/page/stock_balance/stock_balance.js rename to erpnext/stock/page/stock_balance/stock_balance.js diff --git a/stock/page/stock_balance/stock_balance.txt b/erpnext/stock/page/stock_balance/stock_balance.txt similarity index 100% rename from stock/page/stock_balance/stock_balance.txt rename to erpnext/stock/page/stock_balance/stock_balance.txt diff --git a/stock/page/stock_home/__init__.py b/erpnext/stock/page/stock_home/__init__.py similarity index 100% rename from stock/page/stock_home/__init__.py rename to erpnext/stock/page/stock_home/__init__.py diff --git a/stock/page/stock_home/stock_home.js b/erpnext/stock/page/stock_home/stock_home.js similarity index 100% rename from stock/page/stock_home/stock_home.js rename to erpnext/stock/page/stock_home/stock_home.js diff --git a/stock/page/stock_home/stock_home.txt b/erpnext/stock/page/stock_home/stock_home.txt similarity index 100% rename from stock/page/stock_home/stock_home.txt rename to erpnext/stock/page/stock_home/stock_home.txt diff --git a/stock/page/stock_ledger/README.md b/erpnext/stock/page/stock_ledger/README.md similarity index 100% rename from stock/page/stock_ledger/README.md rename to erpnext/stock/page/stock_ledger/README.md diff --git a/stock/page/stock_ledger/__init__.py b/erpnext/stock/page/stock_ledger/__init__.py similarity index 100% rename from stock/page/stock_ledger/__init__.py rename to erpnext/stock/page/stock_ledger/__init__.py diff --git a/stock/page/stock_ledger/stock_ledger.js b/erpnext/stock/page/stock_ledger/stock_ledger.js similarity index 100% rename from stock/page/stock_ledger/stock_ledger.js rename to erpnext/stock/page/stock_ledger/stock_ledger.js diff --git a/stock/page/stock_ledger/stock_ledger.txt b/erpnext/stock/page/stock_ledger/stock_ledger.txt similarity index 100% rename from stock/page/stock_ledger/stock_ledger.txt rename to erpnext/stock/page/stock_ledger/stock_ledger.txt diff --git a/stock/page/stock_level/README.md b/erpnext/stock/page/stock_level/README.md similarity index 100% rename from stock/page/stock_level/README.md rename to erpnext/stock/page/stock_level/README.md diff --git a/stock/page/stock_level/__init__.py b/erpnext/stock/page/stock_level/__init__.py similarity index 100% rename from stock/page/stock_level/__init__.py rename to erpnext/stock/page/stock_level/__init__.py diff --git a/stock/page/stock_level/stock_level.js b/erpnext/stock/page/stock_level/stock_level.js similarity index 100% rename from stock/page/stock_level/stock_level.js rename to erpnext/stock/page/stock_level/stock_level.js diff --git a/stock/page/stock_level/stock_level.txt b/erpnext/stock/page/stock_level/stock_level.txt similarity index 100% rename from stock/page/stock_level/stock_level.txt rename to erpnext/stock/page/stock_level/stock_level.txt diff --git a/stock/report/__init__.py b/erpnext/stock/report/__init__.py similarity index 100% rename from stock/report/__init__.py rename to erpnext/stock/report/__init__.py diff --git a/stock/report/batch_wise_balance_history/__init__.py b/erpnext/stock/report/batch_wise_balance_history/__init__.py similarity index 100% rename from stock/report/batch_wise_balance_history/__init__.py rename to erpnext/stock/report/batch_wise_balance_history/__init__.py diff --git a/stock/report/batch_wise_balance_history/batch_wise_balance_history.js b/erpnext/stock/report/batch_wise_balance_history/batch_wise_balance_history.js similarity index 100% rename from stock/report/batch_wise_balance_history/batch_wise_balance_history.js rename to erpnext/stock/report/batch_wise_balance_history/batch_wise_balance_history.js diff --git a/stock/report/batch_wise_balance_history/batch_wise_balance_history.py b/erpnext/stock/report/batch_wise_balance_history/batch_wise_balance_history.py similarity index 100% rename from stock/report/batch_wise_balance_history/batch_wise_balance_history.py rename to erpnext/stock/report/batch_wise_balance_history/batch_wise_balance_history.py diff --git a/stock/report/batch_wise_balance_history/batch_wise_balance_history.txt b/erpnext/stock/report/batch_wise_balance_history/batch_wise_balance_history.txt similarity index 100% rename from stock/report/batch_wise_balance_history/batch_wise_balance_history.txt rename to erpnext/stock/report/batch_wise_balance_history/batch_wise_balance_history.txt diff --git a/stock/report/delivery_note_trends/__init__.py b/erpnext/stock/report/delivery_note_trends/__init__.py similarity index 100% rename from stock/report/delivery_note_trends/__init__.py rename to erpnext/stock/report/delivery_note_trends/__init__.py diff --git a/stock/report/delivery_note_trends/delivery_note_trends.js b/erpnext/stock/report/delivery_note_trends/delivery_note_trends.js similarity index 100% rename from stock/report/delivery_note_trends/delivery_note_trends.js rename to erpnext/stock/report/delivery_note_trends/delivery_note_trends.js diff --git a/stock/report/delivery_note_trends/delivery_note_trends.py b/erpnext/stock/report/delivery_note_trends/delivery_note_trends.py similarity index 100% rename from stock/report/delivery_note_trends/delivery_note_trends.py rename to erpnext/stock/report/delivery_note_trends/delivery_note_trends.py diff --git a/stock/report/delivery_note_trends/delivery_note_trends.txt b/erpnext/stock/report/delivery_note_trends/delivery_note_trends.txt similarity index 100% rename from stock/report/delivery_note_trends/delivery_note_trends.txt rename to erpnext/stock/report/delivery_note_trends/delivery_note_trends.txt diff --git a/stock/report/item_prices/__init__.py b/erpnext/stock/report/item_prices/__init__.py similarity index 100% rename from stock/report/item_prices/__init__.py rename to erpnext/stock/report/item_prices/__init__.py diff --git a/stock/report/item_prices/item_prices.py b/erpnext/stock/report/item_prices/item_prices.py similarity index 100% rename from stock/report/item_prices/item_prices.py rename to erpnext/stock/report/item_prices/item_prices.py diff --git a/stock/report/item_prices/item_prices.txt b/erpnext/stock/report/item_prices/item_prices.txt similarity index 100% rename from stock/report/item_prices/item_prices.txt rename to erpnext/stock/report/item_prices/item_prices.txt diff --git a/stock/report/item_shortage_report/__init__.py b/erpnext/stock/report/item_shortage_report/__init__.py similarity index 100% rename from stock/report/item_shortage_report/__init__.py rename to erpnext/stock/report/item_shortage_report/__init__.py diff --git a/stock/report/item_shortage_report/item_shortage_report.txt b/erpnext/stock/report/item_shortage_report/item_shortage_report.txt similarity index 100% rename from stock/report/item_shortage_report/item_shortage_report.txt rename to erpnext/stock/report/item_shortage_report/item_shortage_report.txt diff --git a/stock/report/items_to_be_requested/__init__.py b/erpnext/stock/report/items_to_be_requested/__init__.py similarity index 100% rename from stock/report/items_to_be_requested/__init__.py rename to erpnext/stock/report/items_to_be_requested/__init__.py diff --git a/stock/report/items_to_be_requested/items_to_be_requested.txt b/erpnext/stock/report/items_to_be_requested/items_to_be_requested.txt similarity index 100% rename from stock/report/items_to_be_requested/items_to_be_requested.txt rename to erpnext/stock/report/items_to_be_requested/items_to_be_requested.txt diff --git a/stock/report/itemwise_recommended_reorder_level/__init__.py b/erpnext/stock/report/itemwise_recommended_reorder_level/__init__.py similarity index 100% rename from stock/report/itemwise_recommended_reorder_level/__init__.py rename to erpnext/stock/report/itemwise_recommended_reorder_level/__init__.py diff --git a/stock/report/itemwise_recommended_reorder_level/itemwise_recommended_reorder_level.js b/erpnext/stock/report/itemwise_recommended_reorder_level/itemwise_recommended_reorder_level.js similarity index 100% rename from stock/report/itemwise_recommended_reorder_level/itemwise_recommended_reorder_level.js rename to erpnext/stock/report/itemwise_recommended_reorder_level/itemwise_recommended_reorder_level.js diff --git a/stock/report/itemwise_recommended_reorder_level/itemwise_recommended_reorder_level.py b/erpnext/stock/report/itemwise_recommended_reorder_level/itemwise_recommended_reorder_level.py similarity index 100% rename from stock/report/itemwise_recommended_reorder_level/itemwise_recommended_reorder_level.py rename to erpnext/stock/report/itemwise_recommended_reorder_level/itemwise_recommended_reorder_level.py diff --git a/stock/report/itemwise_recommended_reorder_level/itemwise_recommended_reorder_level.txt b/erpnext/stock/report/itemwise_recommended_reorder_level/itemwise_recommended_reorder_level.txt similarity index 100% rename from stock/report/itemwise_recommended_reorder_level/itemwise_recommended_reorder_level.txt rename to erpnext/stock/report/itemwise_recommended_reorder_level/itemwise_recommended_reorder_level.txt diff --git a/stock/report/material_requests_for_which_supplier_quotations_are_not_created/__init__.py b/erpnext/stock/report/material_requests_for_which_supplier_quotations_are_not_created/__init__.py similarity index 100% rename from stock/report/material_requests_for_which_supplier_quotations_are_not_created/__init__.py rename to erpnext/stock/report/material_requests_for_which_supplier_quotations_are_not_created/__init__.py diff --git a/stock/report/material_requests_for_which_supplier_quotations_are_not_created/material_requests_for_which_supplier_quotations_are_not_created.txt b/erpnext/stock/report/material_requests_for_which_supplier_quotations_are_not_created/material_requests_for_which_supplier_quotations_are_not_created.txt similarity index 100% rename from stock/report/material_requests_for_which_supplier_quotations_are_not_created/material_requests_for_which_supplier_quotations_are_not_created.txt rename to erpnext/stock/report/material_requests_for_which_supplier_quotations_are_not_created/material_requests_for_which_supplier_quotations_are_not_created.txt diff --git a/stock/report/ordered_items_to_be_delivered/__init__.py b/erpnext/stock/report/ordered_items_to_be_delivered/__init__.py similarity index 100% rename from stock/report/ordered_items_to_be_delivered/__init__.py rename to erpnext/stock/report/ordered_items_to_be_delivered/__init__.py diff --git a/stock/report/ordered_items_to_be_delivered/ordered_items_to_be_delivered.txt b/erpnext/stock/report/ordered_items_to_be_delivered/ordered_items_to_be_delivered.txt similarity index 100% rename from stock/report/ordered_items_to_be_delivered/ordered_items_to_be_delivered.txt rename to erpnext/stock/report/ordered_items_to_be_delivered/ordered_items_to_be_delivered.txt diff --git a/stock/report/purchase_in_transit/__init__.py b/erpnext/stock/report/purchase_in_transit/__init__.py similarity index 100% rename from stock/report/purchase_in_transit/__init__.py rename to erpnext/stock/report/purchase_in_transit/__init__.py diff --git a/stock/report/purchase_in_transit/purchase_in_transit.txt b/erpnext/stock/report/purchase_in_transit/purchase_in_transit.txt similarity index 100% rename from stock/report/purchase_in_transit/purchase_in_transit.txt rename to erpnext/stock/report/purchase_in_transit/purchase_in_transit.txt diff --git a/stock/report/purchase_order_items_to_be_received/__init__.py b/erpnext/stock/report/purchase_order_items_to_be_received/__init__.py similarity index 100% rename from stock/report/purchase_order_items_to_be_received/__init__.py rename to erpnext/stock/report/purchase_order_items_to_be_received/__init__.py diff --git a/stock/report/purchase_order_items_to_be_received/purchase_order_items_to_be_received.txt b/erpnext/stock/report/purchase_order_items_to_be_received/purchase_order_items_to_be_received.txt similarity index 100% rename from stock/report/purchase_order_items_to_be_received/purchase_order_items_to_be_received.txt rename to erpnext/stock/report/purchase_order_items_to_be_received/purchase_order_items_to_be_received.txt diff --git a/stock/report/purchase_receipt_trends/__init__.py b/erpnext/stock/report/purchase_receipt_trends/__init__.py similarity index 100% rename from stock/report/purchase_receipt_trends/__init__.py rename to erpnext/stock/report/purchase_receipt_trends/__init__.py diff --git a/stock/report/purchase_receipt_trends/purchase_receipt_trends.js b/erpnext/stock/report/purchase_receipt_trends/purchase_receipt_trends.js similarity index 100% rename from stock/report/purchase_receipt_trends/purchase_receipt_trends.js rename to erpnext/stock/report/purchase_receipt_trends/purchase_receipt_trends.js diff --git a/stock/report/purchase_receipt_trends/purchase_receipt_trends.py b/erpnext/stock/report/purchase_receipt_trends/purchase_receipt_trends.py similarity index 100% rename from stock/report/purchase_receipt_trends/purchase_receipt_trends.py rename to erpnext/stock/report/purchase_receipt_trends/purchase_receipt_trends.py diff --git a/stock/report/purchase_receipt_trends/purchase_receipt_trends.txt b/erpnext/stock/report/purchase_receipt_trends/purchase_receipt_trends.txt similarity index 100% rename from stock/report/purchase_receipt_trends/purchase_receipt_trends.txt rename to erpnext/stock/report/purchase_receipt_trends/purchase_receipt_trends.txt diff --git a/stock/report/requested_items_to_be_transferred/__init__.py b/erpnext/stock/report/requested_items_to_be_transferred/__init__.py similarity index 100% rename from stock/report/requested_items_to_be_transferred/__init__.py rename to erpnext/stock/report/requested_items_to_be_transferred/__init__.py diff --git a/stock/report/requested_items_to_be_transferred/requested_items_to_be_transferred.txt b/erpnext/stock/report/requested_items_to_be_transferred/requested_items_to_be_transferred.txt similarity index 100% rename from stock/report/requested_items_to_be_transferred/requested_items_to_be_transferred.txt rename to erpnext/stock/report/requested_items_to_be_transferred/requested_items_to_be_transferred.txt diff --git a/stock/report/serial_no_service_contract_expiry/__init__.py b/erpnext/stock/report/serial_no_service_contract_expiry/__init__.py similarity index 100% rename from stock/report/serial_no_service_contract_expiry/__init__.py rename to erpnext/stock/report/serial_no_service_contract_expiry/__init__.py diff --git a/stock/report/serial_no_service_contract_expiry/serial_no_service_contract_expiry.txt b/erpnext/stock/report/serial_no_service_contract_expiry/serial_no_service_contract_expiry.txt similarity index 100% rename from stock/report/serial_no_service_contract_expiry/serial_no_service_contract_expiry.txt rename to erpnext/stock/report/serial_no_service_contract_expiry/serial_no_service_contract_expiry.txt diff --git a/stock/report/serial_no_status/__init__.py b/erpnext/stock/report/serial_no_status/__init__.py similarity index 100% rename from stock/report/serial_no_status/__init__.py rename to erpnext/stock/report/serial_no_status/__init__.py diff --git a/stock/report/serial_no_status/serial_no_status.txt b/erpnext/stock/report/serial_no_status/serial_no_status.txt similarity index 100% rename from stock/report/serial_no_status/serial_no_status.txt rename to erpnext/stock/report/serial_no_status/serial_no_status.txt diff --git a/stock/report/serial_no_warranty_expiry/__init__.py b/erpnext/stock/report/serial_no_warranty_expiry/__init__.py similarity index 100% rename from stock/report/serial_no_warranty_expiry/__init__.py rename to erpnext/stock/report/serial_no_warranty_expiry/__init__.py diff --git a/stock/report/serial_no_warranty_expiry/serial_no_warranty_expiry.txt b/erpnext/stock/report/serial_no_warranty_expiry/serial_no_warranty_expiry.txt similarity index 100% rename from stock/report/serial_no_warranty_expiry/serial_no_warranty_expiry.txt rename to erpnext/stock/report/serial_no_warranty_expiry/serial_no_warranty_expiry.txt diff --git a/stock/report/stock_ledger/__init__.py b/erpnext/stock/report/stock_ledger/__init__.py similarity index 100% rename from stock/report/stock_ledger/__init__.py rename to erpnext/stock/report/stock_ledger/__init__.py diff --git a/stock/report/stock_ledger/stock_ledger.js b/erpnext/stock/report/stock_ledger/stock_ledger.js similarity index 100% rename from stock/report/stock_ledger/stock_ledger.js rename to erpnext/stock/report/stock_ledger/stock_ledger.js diff --git a/stock/report/stock_ledger/stock_ledger.py b/erpnext/stock/report/stock_ledger/stock_ledger.py similarity index 100% rename from stock/report/stock_ledger/stock_ledger.py rename to erpnext/stock/report/stock_ledger/stock_ledger.py diff --git a/stock/report/stock_ledger/stock_ledger.txt b/erpnext/stock/report/stock_ledger/stock_ledger.txt similarity index 100% rename from stock/report/stock_ledger/stock_ledger.txt rename to erpnext/stock/report/stock_ledger/stock_ledger.txt diff --git a/stock/report/supplier_wise_sales_analytics/__init__.py b/erpnext/stock/report/supplier_wise_sales_analytics/__init__.py similarity index 100% rename from stock/report/supplier_wise_sales_analytics/__init__.py rename to erpnext/stock/report/supplier_wise_sales_analytics/__init__.py diff --git a/stock/report/supplier_wise_sales_analytics/supplier_wise_sales_analytics.js b/erpnext/stock/report/supplier_wise_sales_analytics/supplier_wise_sales_analytics.js similarity index 100% rename from stock/report/supplier_wise_sales_analytics/supplier_wise_sales_analytics.js rename to erpnext/stock/report/supplier_wise_sales_analytics/supplier_wise_sales_analytics.js diff --git a/stock/report/supplier_wise_sales_analytics/supplier_wise_sales_analytics.py b/erpnext/stock/report/supplier_wise_sales_analytics/supplier_wise_sales_analytics.py similarity index 100% rename from stock/report/supplier_wise_sales_analytics/supplier_wise_sales_analytics.py rename to erpnext/stock/report/supplier_wise_sales_analytics/supplier_wise_sales_analytics.py diff --git a/stock/report/supplier_wise_sales_analytics/supplier_wise_sales_analytics.txt b/erpnext/stock/report/supplier_wise_sales_analytics/supplier_wise_sales_analytics.txt similarity index 100% rename from stock/report/supplier_wise_sales_analytics/supplier_wise_sales_analytics.txt rename to erpnext/stock/report/supplier_wise_sales_analytics/supplier_wise_sales_analytics.txt diff --git a/stock/report/warehouse_wise_stock_balance/__init__.py b/erpnext/stock/report/warehouse_wise_stock_balance/__init__.py similarity index 100% rename from stock/report/warehouse_wise_stock_balance/__init__.py rename to erpnext/stock/report/warehouse_wise_stock_balance/__init__.py diff --git a/stock/report/warehouse_wise_stock_balance/warehouse_wise_stock_balance.js b/erpnext/stock/report/warehouse_wise_stock_balance/warehouse_wise_stock_balance.js similarity index 100% rename from stock/report/warehouse_wise_stock_balance/warehouse_wise_stock_balance.js rename to erpnext/stock/report/warehouse_wise_stock_balance/warehouse_wise_stock_balance.js diff --git a/stock/report/warehouse_wise_stock_balance/warehouse_wise_stock_balance.py b/erpnext/stock/report/warehouse_wise_stock_balance/warehouse_wise_stock_balance.py similarity index 100% rename from stock/report/warehouse_wise_stock_balance/warehouse_wise_stock_balance.py rename to erpnext/stock/report/warehouse_wise_stock_balance/warehouse_wise_stock_balance.py diff --git a/stock/report/warehouse_wise_stock_balance/warehouse_wise_stock_balance.txt b/erpnext/stock/report/warehouse_wise_stock_balance/warehouse_wise_stock_balance.txt similarity index 100% rename from stock/report/warehouse_wise_stock_balance/warehouse_wise_stock_balance.txt rename to erpnext/stock/report/warehouse_wise_stock_balance/warehouse_wise_stock_balance.txt diff --git a/stock/stock_ledger.py b/erpnext/stock/stock_ledger.py similarity index 100% rename from stock/stock_ledger.py rename to erpnext/stock/stock_ledger.py diff --git a/stock/utils.py b/erpnext/stock/utils.py similarity index 100% rename from stock/utils.py rename to erpnext/stock/utils.py diff --git a/support/README.md b/erpnext/support/README.md similarity index 100% rename from support/README.md rename to erpnext/support/README.md diff --git a/support/__init__.py b/erpnext/support/__init__.py similarity index 100% rename from support/__init__.py rename to erpnext/support/__init__.py diff --git a/support/doctype/__init__.py b/erpnext/support/doctype/__init__.py similarity index 100% rename from support/doctype/__init__.py rename to erpnext/support/doctype/__init__.py diff --git a/support/doctype/customer_issue/README.md b/erpnext/support/doctype/customer_issue/README.md similarity index 100% rename from support/doctype/customer_issue/README.md rename to erpnext/support/doctype/customer_issue/README.md diff --git a/support/doctype/customer_issue/__init__.py b/erpnext/support/doctype/customer_issue/__init__.py similarity index 100% rename from support/doctype/customer_issue/__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/README.md b/erpnext/support/doctype/maintenance_schedule/README.md similarity index 100% rename from support/doctype/maintenance_schedule/README.md rename to erpnext/support/doctype/maintenance_schedule/README.md diff --git a/support/doctype/maintenance_schedule/__init__.py b/erpnext/support/doctype/maintenance_schedule/__init__.py similarity index 100% rename from support/doctype/maintenance_schedule/__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_schedule_detail/README.md b/erpnext/support/doctype/maintenance_schedule_detail/README.md similarity index 100% rename from support/doctype/maintenance_schedule_detail/README.md rename to erpnext/support/doctype/maintenance_schedule_detail/README.md diff --git a/support/doctype/maintenance_schedule_detail/__init__.py b/erpnext/support/doctype/maintenance_schedule_detail/__init__.py similarity index 100% rename from support/doctype/maintenance_schedule_detail/__init__.py rename to erpnext/support/doctype/maintenance_schedule_detail/__init__.py diff --git a/support/doctype/maintenance_schedule_detail/maintenance_schedule_detail.py b/erpnext/support/doctype/maintenance_schedule_detail/maintenance_schedule_detail.py similarity index 100% rename from support/doctype/maintenance_schedule_detail/maintenance_schedule_detail.py rename to erpnext/support/doctype/maintenance_schedule_detail/maintenance_schedule_detail.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/maintenance_schedule_item/README.md b/erpnext/support/doctype/maintenance_schedule_item/README.md similarity index 100% rename from support/doctype/maintenance_schedule_item/README.md rename to erpnext/support/doctype/maintenance_schedule_item/README.md diff --git a/support/doctype/maintenance_schedule_item/__init__.py b/erpnext/support/doctype/maintenance_schedule_item/__init__.py similarity index 100% rename from support/doctype/maintenance_schedule_item/__init__.py rename to erpnext/support/doctype/maintenance_schedule_item/__init__.py diff --git a/support/doctype/maintenance_schedule_item/maintenance_schedule_item.py b/erpnext/support/doctype/maintenance_schedule_item/maintenance_schedule_item.py similarity index 100% rename from support/doctype/maintenance_schedule_item/maintenance_schedule_item.py rename to erpnext/support/doctype/maintenance_schedule_item/maintenance_schedule_item.py diff --git a/support/doctype/maintenance_schedule_item/maintenance_schedule_item.txt b/erpnext/support/doctype/maintenance_schedule_item/maintenance_schedule_item.txt similarity index 100% rename from support/doctype/maintenance_schedule_item/maintenance_schedule_item.txt rename to erpnext/support/doctype/maintenance_schedule_item/maintenance_schedule_item.txt diff --git a/support/doctype/maintenance_visit/README.md b/erpnext/support/doctype/maintenance_visit/README.md similarity index 100% rename from support/doctype/maintenance_visit/README.md rename to erpnext/support/doctype/maintenance_visit/README.md diff --git a/support/doctype/maintenance_visit/__init__.py b/erpnext/support/doctype/maintenance_visit/__init__.py similarity index 100% rename from support/doctype/maintenance_visit/__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/doctype/maintenance_visit_purpose/README.md b/erpnext/support/doctype/maintenance_visit_purpose/README.md similarity index 100% rename from support/doctype/maintenance_visit_purpose/README.md rename to erpnext/support/doctype/maintenance_visit_purpose/README.md diff --git a/support/doctype/maintenance_visit_purpose/__init__.py b/erpnext/support/doctype/maintenance_visit_purpose/__init__.py similarity index 100% rename from support/doctype/maintenance_visit_purpose/__init__.py rename to erpnext/support/doctype/maintenance_visit_purpose/__init__.py diff --git a/support/doctype/maintenance_visit_purpose/maintenance_visit_purpose.py b/erpnext/support/doctype/maintenance_visit_purpose/maintenance_visit_purpose.py similarity index 100% rename from support/doctype/maintenance_visit_purpose/maintenance_visit_purpose.py rename to erpnext/support/doctype/maintenance_visit_purpose/maintenance_visit_purpose.py diff --git a/support/doctype/maintenance_visit_purpose/maintenance_visit_purpose.txt b/erpnext/support/doctype/maintenance_visit_purpose/maintenance_visit_purpose.txt similarity index 100% rename from support/doctype/maintenance_visit_purpose/maintenance_visit_purpose.txt rename to erpnext/support/doctype/maintenance_visit_purpose/maintenance_visit_purpose.txt diff --git a/support/doctype/newsletter/README.md b/erpnext/support/doctype/newsletter/README.md similarity index 100% rename from support/doctype/newsletter/README.md rename to erpnext/support/doctype/newsletter/README.md diff --git a/support/doctype/newsletter/__init__.py b/erpnext/support/doctype/newsletter/__init__.py similarity index 100% rename from support/doctype/newsletter/__init__.py rename to erpnext/support/doctype/newsletter/__init__.py diff --git a/support/doctype/newsletter/newsletter.js b/erpnext/support/doctype/newsletter/newsletter.js similarity index 100% rename from support/doctype/newsletter/newsletter.js rename to erpnext/support/doctype/newsletter/newsletter.js diff --git a/support/doctype/newsletter/newsletter.py b/erpnext/support/doctype/newsletter/newsletter.py similarity index 100% rename from support/doctype/newsletter/newsletter.py rename to erpnext/support/doctype/newsletter/newsletter.py diff --git a/support/doctype/newsletter/newsletter.txt b/erpnext/support/doctype/newsletter/newsletter.txt similarity index 100% rename from support/doctype/newsletter/newsletter.txt rename to erpnext/support/doctype/newsletter/newsletter.txt diff --git a/support/doctype/newsletter/test_newsletter.py b/erpnext/support/doctype/newsletter/test_newsletter.py similarity index 100% rename from support/doctype/newsletter/test_newsletter.py rename to erpnext/support/doctype/newsletter/test_newsletter.py diff --git a/support/doctype/support_ticket/README.md b/erpnext/support/doctype/support_ticket/README.md similarity index 100% rename from support/doctype/support_ticket/README.md rename to erpnext/support/doctype/support_ticket/README.md 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/get_support_mails.py b/erpnext/support/doctype/support_ticket/get_support_mails.py similarity index 100% rename from support/doctype/support_ticket/get_support_mails.py rename to erpnext/support/doctype/support_ticket/get_support_mails.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/doctype/support_ticket/templates/__init__.py b/erpnext/support/doctype/support_ticket/templates/__init__.py similarity index 100% rename from support/doctype/support_ticket/templates/__init__.py rename to erpnext/support/doctype/support_ticket/templates/__init__.py diff --git a/support/doctype/support_ticket/templates/pages/__init__.py b/erpnext/support/doctype/support_ticket/templates/pages/__init__.py similarity index 100% rename from support/doctype/support_ticket/templates/pages/__init__.py rename to erpnext/support/doctype/support_ticket/templates/pages/__init__.py diff --git a/support/doctype/support_ticket/templates/pages/ticket.html b/erpnext/support/doctype/support_ticket/templates/pages/ticket.html similarity index 100% rename from support/doctype/support_ticket/templates/pages/ticket.html rename to erpnext/support/doctype/support_ticket/templates/pages/ticket.html diff --git a/support/doctype/support_ticket/templates/pages/ticket.py b/erpnext/support/doctype/support_ticket/templates/pages/ticket.py similarity index 100% rename from support/doctype/support_ticket/templates/pages/ticket.py rename to erpnext/support/doctype/support_ticket/templates/pages/ticket.py diff --git a/support/doctype/support_ticket/templates/pages/tickets.html b/erpnext/support/doctype/support_ticket/templates/pages/tickets.html similarity index 100% rename from support/doctype/support_ticket/templates/pages/tickets.html rename to erpnext/support/doctype/support_ticket/templates/pages/tickets.html diff --git a/support/doctype/support_ticket/templates/pages/tickets.py b/erpnext/support/doctype/support_ticket/templates/pages/tickets.py similarity index 100% rename from support/doctype/support_ticket/templates/pages/tickets.py rename to erpnext/support/doctype/support_ticket/templates/pages/tickets.py diff --git a/support/page/__init__.py b/erpnext/support/page/__init__.py similarity index 100% rename from support/page/__init__.py rename to erpnext/support/page/__init__.py diff --git a/support/page/support_analytics/README.md b/erpnext/support/page/support_analytics/README.md similarity index 100% rename from support/page/support_analytics/README.md rename to erpnext/support/page/support_analytics/README.md diff --git a/support/page/support_analytics/__init__.py b/erpnext/support/page/support_analytics/__init__.py similarity index 100% rename from support/page/support_analytics/__init__.py rename to erpnext/support/page/support_analytics/__init__.py diff --git a/support/page/support_analytics/support_analytics.js b/erpnext/support/page/support_analytics/support_analytics.js similarity index 100% rename from support/page/support_analytics/support_analytics.js rename to erpnext/support/page/support_analytics/support_analytics.js diff --git a/support/page/support_analytics/support_analytics.txt b/erpnext/support/page/support_analytics/support_analytics.txt similarity index 100% rename from support/page/support_analytics/support_analytics.txt rename to erpnext/support/page/support_analytics/support_analytics.txt diff --git a/support/page/support_home/__init__.py b/erpnext/support/page/support_home/__init__.py similarity index 100% rename from support/page/support_home/__init__.py rename to erpnext/support/page/support_home/__init__.py diff --git a/support/page/support_home/support_home.js b/erpnext/support/page/support_home/support_home.js similarity index 100% rename from support/page/support_home/support_home.js rename to erpnext/support/page/support_home/support_home.js diff --git a/support/page/support_home/support_home.txt b/erpnext/support/page/support_home/support_home.txt similarity index 100% rename from support/page/support_home/support_home.txt rename to erpnext/support/page/support_home/support_home.txt diff --git a/support/report/__init__.py b/erpnext/support/report/__init__.py similarity index 100% rename from support/report/__init__.py rename to erpnext/support/report/__init__.py diff --git a/support/report/maintenance_schedules/__init__.py b/erpnext/support/report/maintenance_schedules/__init__.py similarity index 100% rename from support/report/maintenance_schedules/__init__.py rename to erpnext/support/report/maintenance_schedules/__init__.py diff --git a/support/report/maintenance_schedules/maintenance_schedules.txt b/erpnext/support/report/maintenance_schedules/maintenance_schedules.txt similarity index 100% rename from support/report/maintenance_schedules/maintenance_schedules.txt rename to erpnext/support/report/maintenance_schedules/maintenance_schedules.txt diff --git a/translations/ar.csv b/erpnext/translations/ar.csv similarity index 100% rename from translations/ar.csv rename to erpnext/translations/ar.csv diff --git a/translations/de.csv b/erpnext/translations/de.csv similarity index 100% rename from translations/de.csv rename to erpnext/translations/de.csv diff --git a/translations/el.csv b/erpnext/translations/el.csv similarity index 100% rename from translations/el.csv rename to erpnext/translations/el.csv diff --git a/translations/es.csv b/erpnext/translations/es.csv similarity index 100% rename from translations/es.csv rename to erpnext/translations/es.csv diff --git a/translations/fr.csv b/erpnext/translations/fr.csv similarity index 100% rename from translations/fr.csv rename to erpnext/translations/fr.csv diff --git a/translations/hi.csv b/erpnext/translations/hi.csv similarity index 100% rename from translations/hi.csv rename to erpnext/translations/hi.csv diff --git a/translations/hr.csv b/erpnext/translations/hr.csv similarity index 100% rename from translations/hr.csv rename to erpnext/translations/hr.csv diff --git a/translations/it.csv b/erpnext/translations/it.csv similarity index 100% rename from translations/it.csv rename to erpnext/translations/it.csv diff --git a/translations/languages.json b/erpnext/translations/languages.json similarity index 100% rename from translations/languages.json rename to erpnext/translations/languages.json diff --git a/translations/nl.csv b/erpnext/translations/nl.csv similarity index 100% rename from translations/nl.csv rename to erpnext/translations/nl.csv diff --git a/translations/pt-BR.csv b/erpnext/translations/pt-BR.csv similarity index 100% rename from translations/pt-BR.csv rename to erpnext/translations/pt-BR.csv diff --git a/translations/pt.csv b/erpnext/translations/pt.csv similarity index 100% rename from translations/pt.csv rename to erpnext/translations/pt.csv diff --git a/translations/sr.csv b/erpnext/translations/sr.csv similarity index 100% rename from translations/sr.csv rename to erpnext/translations/sr.csv diff --git a/translations/ta.csv b/erpnext/translations/ta.csv similarity index 100% rename from translations/ta.csv rename to erpnext/translations/ta.csv diff --git a/translations/th.csv b/erpnext/translations/th.csv similarity index 100% rename from translations/th.csv rename to erpnext/translations/th.csv diff --git a/translations/zh-cn.csv b/erpnext/translations/zh-cn.csv similarity index 100% rename from translations/zh-cn.csv rename to erpnext/translations/zh-cn.csv diff --git a/translations/zh-tw.csv b/erpnext/translations/zh-tw.csv similarity index 100% rename from translations/zh-tw.csv rename to erpnext/translations/zh-tw.csv diff --git a/utilities/README.md b/erpnext/utilities/README.md similarity index 100% rename from utilities/README.md rename to erpnext/utilities/README.md diff --git a/utilities/__init__.py b/erpnext/utilities/__init__.py similarity index 100% rename from utilities/__init__.py rename to erpnext/utilities/__init__.py diff --git a/utilities/cleanup_data.py b/erpnext/utilities/cleanup_data.py similarity index 100% rename from utilities/cleanup_data.py rename to erpnext/utilities/cleanup_data.py diff --git a/utilities/demo/__init__.py b/erpnext/utilities/demo/__init__.py similarity index 100% rename from utilities/demo/__init__.py rename to erpnext/utilities/demo/__init__.py diff --git a/utilities/demo/demo-login.css b/erpnext/utilities/demo/demo-login.css similarity index 100% rename from utilities/demo/demo-login.css rename to erpnext/utilities/demo/demo-login.css diff --git a/utilities/demo/demo-login.html b/erpnext/utilities/demo/demo-login.html similarity index 100% rename from utilities/demo/demo-login.html rename to erpnext/utilities/demo/demo-login.html diff --git a/utilities/demo/demo-login.js b/erpnext/utilities/demo/demo-login.js similarity index 100% rename from utilities/demo/demo-login.js rename to erpnext/utilities/demo/demo-login.js diff --git a/utilities/demo/demo_control_panel.py b/erpnext/utilities/demo/demo_control_panel.py similarity index 100% rename from utilities/demo/demo_control_panel.py rename to erpnext/utilities/demo/demo_control_panel.py diff --git a/utilities/demo/demo_docs/Address.csv b/erpnext/utilities/demo/demo_docs/Address.csv similarity index 100% rename from utilities/demo/demo_docs/Address.csv rename to erpnext/utilities/demo/demo_docs/Address.csv diff --git a/utilities/demo/demo_docs/BOM.csv b/erpnext/utilities/demo/demo_docs/BOM.csv similarity index 100% rename from utilities/demo/demo_docs/BOM.csv rename to erpnext/utilities/demo/demo_docs/BOM.csv diff --git a/utilities/demo/demo_docs/Contact.csv b/erpnext/utilities/demo/demo_docs/Contact.csv similarity index 100% rename from utilities/demo/demo_docs/Contact.csv rename to erpnext/utilities/demo/demo_docs/Contact.csv diff --git a/utilities/demo/demo_docs/Customer.csv b/erpnext/utilities/demo/demo_docs/Customer.csv similarity index 100% rename from utilities/demo/demo_docs/Customer.csv rename to erpnext/utilities/demo/demo_docs/Customer.csv diff --git a/utilities/demo/demo_docs/Employee.csv b/erpnext/utilities/demo/demo_docs/Employee.csv similarity index 100% rename from utilities/demo/demo_docs/Employee.csv rename to erpnext/utilities/demo/demo_docs/Employee.csv diff --git a/utilities/demo/demo_docs/Fiscal_Year.csv b/erpnext/utilities/demo/demo_docs/Fiscal_Year.csv similarity index 100% rename from utilities/demo/demo_docs/Fiscal_Year.csv rename to erpnext/utilities/demo/demo_docs/Fiscal_Year.csv diff --git a/utilities/demo/demo_docs/Item.csv b/erpnext/utilities/demo/demo_docs/Item.csv similarity index 100% rename from utilities/demo/demo_docs/Item.csv rename to erpnext/utilities/demo/demo_docs/Item.csv diff --git a/utilities/demo/demo_docs/Item_Price.csv b/erpnext/utilities/demo/demo_docs/Item_Price.csv similarity index 100% rename from utilities/demo/demo_docs/Item_Price.csv rename to erpnext/utilities/demo/demo_docs/Item_Price.csv diff --git a/utilities/demo/demo_docs/Lead.csv b/erpnext/utilities/demo/demo_docs/Lead.csv similarity index 100% rename from utilities/demo/demo_docs/Lead.csv rename to erpnext/utilities/demo/demo_docs/Lead.csv diff --git a/utilities/demo/demo_docs/Profile.csv b/erpnext/utilities/demo/demo_docs/Profile.csv similarity index 100% rename from utilities/demo/demo_docs/Profile.csv rename to erpnext/utilities/demo/demo_docs/Profile.csv diff --git a/utilities/demo/demo_docs/Salary_Structure.csv b/erpnext/utilities/demo/demo_docs/Salary_Structure.csv similarity index 100% rename from utilities/demo/demo_docs/Salary_Structure.csv rename to erpnext/utilities/demo/demo_docs/Salary_Structure.csv diff --git a/utilities/demo/demo_docs/Stock Reconcilation Template.csv b/erpnext/utilities/demo/demo_docs/Stock Reconcilation Template.csv similarity index 100% rename from utilities/demo/demo_docs/Stock Reconcilation Template.csv rename to erpnext/utilities/demo/demo_docs/Stock Reconcilation Template.csv diff --git a/utilities/demo/demo_docs/Supplier.csv b/erpnext/utilities/demo/demo_docs/Supplier.csv similarity index 100% rename from utilities/demo/demo_docs/Supplier.csv rename to erpnext/utilities/demo/demo_docs/Supplier.csv diff --git a/utilities/demo/demo_docs/bearing-block.png b/erpnext/utilities/demo/demo_docs/bearing-block.png similarity index 100% rename from utilities/demo/demo_docs/bearing-block.png rename to erpnext/utilities/demo/demo_docs/bearing-block.png diff --git a/utilities/demo/demo_docs/wind-turbine.png b/erpnext/utilities/demo/demo_docs/wind-turbine.png similarity index 100% rename from utilities/demo/demo_docs/wind-turbine.png rename to erpnext/utilities/demo/demo_docs/wind-turbine.png diff --git a/utilities/demo/make_demo.py b/erpnext/utilities/demo/make_demo.py similarity index 100% rename from utilities/demo/make_demo.py rename to erpnext/utilities/demo/make_demo.py diff --git a/utilities/demo/make_erpnext_demo.py b/erpnext/utilities/demo/make_erpnext_demo.py similarity index 100% rename from utilities/demo/make_erpnext_demo.py rename to erpnext/utilities/demo/make_erpnext_demo.py diff --git a/utilities/doctype/__init__.py b/erpnext/utilities/doctype/__init__.py similarity index 100% rename from utilities/doctype/__init__.py rename to erpnext/utilities/doctype/__init__.py diff --git a/utilities/doctype/address/README.md b/erpnext/utilities/doctype/address/README.md similarity index 100% rename from utilities/doctype/address/README.md rename to erpnext/utilities/doctype/address/README.md diff --git a/utilities/doctype/address/__init__.py b/erpnext/utilities/doctype/address/__init__.py similarity index 100% rename from utilities/doctype/address/__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/address/templates/__init__.py b/erpnext/utilities/doctype/address/templates/__init__.py similarity index 100% rename from utilities/doctype/address/templates/__init__.py rename to erpnext/utilities/doctype/address/templates/__init__.py diff --git a/utilities/doctype/address/templates/pages/__init__.py b/erpnext/utilities/doctype/address/templates/pages/__init__.py similarity index 100% rename from utilities/doctype/address/templates/pages/__init__.py rename to erpnext/utilities/doctype/address/templates/pages/__init__.py diff --git a/utilities/doctype/address/templates/pages/address.html b/erpnext/utilities/doctype/address/templates/pages/address.html similarity index 100% rename from utilities/doctype/address/templates/pages/address.html rename to erpnext/utilities/doctype/address/templates/pages/address.html diff --git a/utilities/doctype/address/templates/pages/address.py b/erpnext/utilities/doctype/address/templates/pages/address.py similarity index 100% rename from utilities/doctype/address/templates/pages/address.py rename to erpnext/utilities/doctype/address/templates/pages/address.py diff --git a/utilities/doctype/address/templates/pages/addresses.html b/erpnext/utilities/doctype/address/templates/pages/addresses.html similarity index 100% rename from utilities/doctype/address/templates/pages/addresses.html rename to erpnext/utilities/doctype/address/templates/pages/addresses.html diff --git a/utilities/doctype/address/templates/pages/addresses.py b/erpnext/utilities/doctype/address/templates/pages/addresses.py similarity index 100% rename from utilities/doctype/address/templates/pages/addresses.py rename to erpnext/utilities/doctype/address/templates/pages/addresses.py diff --git a/utilities/doctype/address/test_address.py b/erpnext/utilities/doctype/address/test_address.py similarity index 100% rename from utilities/doctype/address/test_address.py rename to erpnext/utilities/doctype/address/test_address.py diff --git a/utilities/doctype/contact/README.md b/erpnext/utilities/doctype/contact/README.md similarity index 100% rename from utilities/doctype/contact/README.md rename to erpnext/utilities/doctype/contact/README.md diff --git a/utilities/doctype/contact/__init__.py b/erpnext/utilities/doctype/contact/__init__.py similarity index 100% rename from utilities/doctype/contact/__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/contact/test_contact.py b/erpnext/utilities/doctype/contact/test_contact.py similarity index 100% rename from utilities/doctype/contact/test_contact.py rename to erpnext/utilities/doctype/contact/test_contact.py diff --git a/utilities/doctype/note/README.md b/erpnext/utilities/doctype/note/README.md similarity index 100% rename from utilities/doctype/note/README.md rename to erpnext/utilities/doctype/note/README.md diff --git a/utilities/doctype/note/__init__.py b/erpnext/utilities/doctype/note/__init__.py similarity index 100% rename from utilities/doctype/note/__init__.py rename to erpnext/utilities/doctype/note/__init__.py diff --git a/utilities/doctype/note/note.py b/erpnext/utilities/doctype/note/note.py similarity index 100% rename from utilities/doctype/note/note.py rename to erpnext/utilities/doctype/note/note.py diff --git a/utilities/doctype/note/note.txt b/erpnext/utilities/doctype/note/note.txt similarity index 100% rename from utilities/doctype/note/note.txt rename to erpnext/utilities/doctype/note/note.txt diff --git a/utilities/doctype/note_user/README.md b/erpnext/utilities/doctype/note_user/README.md similarity index 100% rename from utilities/doctype/note_user/README.md rename to erpnext/utilities/doctype/note_user/README.md diff --git a/utilities/doctype/note_user/__init__.py b/erpnext/utilities/doctype/note_user/__init__.py similarity index 100% rename from utilities/doctype/note_user/__init__.py rename to erpnext/utilities/doctype/note_user/__init__.py diff --git a/utilities/doctype/note_user/note_user.py b/erpnext/utilities/doctype/note_user/note_user.py similarity index 100% rename from utilities/doctype/note_user/note_user.py rename to erpnext/utilities/doctype/note_user/note_user.py diff --git a/utilities/doctype/note_user/note_user.txt b/erpnext/utilities/doctype/note_user/note_user.txt similarity index 100% rename from utilities/doctype/note_user/note_user.txt rename to erpnext/utilities/doctype/note_user/note_user.txt diff --git a/utilities/doctype/rename_tool/README.md b/erpnext/utilities/doctype/rename_tool/README.md similarity index 100% rename from utilities/doctype/rename_tool/README.md rename to erpnext/utilities/doctype/rename_tool/README.md diff --git a/utilities/doctype/rename_tool/__init__.py b/erpnext/utilities/doctype/rename_tool/__init__.py similarity index 100% rename from utilities/doctype/rename_tool/__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/sms_control/__init__.py similarity index 100% rename from utilities/doctype/sms_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/sms_log/README.md b/erpnext/utilities/doctype/sms_log/README.md similarity index 100% rename from utilities/doctype/sms_log/README.md rename to erpnext/utilities/doctype/sms_log/README.md diff --git a/utilities/doctype/sms_log/__init__.py b/erpnext/utilities/doctype/sms_log/__init__.py similarity index 100% rename from utilities/doctype/sms_log/__init__.py rename to erpnext/utilities/doctype/sms_log/__init__.py diff --git a/utilities/doctype/sms_log/sms_log.py b/erpnext/utilities/doctype/sms_log/sms_log.py similarity index 100% rename from utilities/doctype/sms_log/sms_log.py rename to erpnext/utilities/doctype/sms_log/sms_log.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/repost_stock.py b/erpnext/utilities/repost_stock.py similarity index 100% rename from utilities/repost_stock.py rename to erpnext/utilities/repost_stock.py 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 From b234a3545a34d27cbd1f043a55963f048239549a Mon Sep 17 00:00:00 2001 From: Rushabh Mehta Date: Wed, 11 Dec 2013 10:55:55 +0530 Subject: [PATCH 02/27] moved config.json inside erpnext --- config.json => erpnext/config.json | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename config.json => erpnext/config.json (100%) diff --git a/config.json b/erpnext/config.json similarity index 100% rename from config.json rename to erpnext/config.json From e460aa277baf096778e8cba4a1c04d0ee6f1f63a Mon Sep 17 00:00:00 2001 From: Rushabh Mehta Date: Wed, 11 Dec 2013 11:32:21 +0530 Subject: [PATCH 03/27] added setup.py --- .gitignore | 2 ++ erpnext/__init__.py | 0 setup.py | 16 ++++++++++++++++ 3 files changed, 18 insertions(+) create mode 100644 erpnext/__init__.py create mode 100644 setup.py diff --git a/.gitignore b/.gitignore index 2b5e3d6b99e..a23a9a7492f 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,5 @@ conf.py locale latest_updates.json .wnf-lang-status +*.egg-info +dist/ diff --git a/erpnext/__init__.py b/erpnext/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/setup.py b/setup.py new file mode 100644 index 00000000000..1e03f1dd931 --- /dev/null +++ b/setup.py @@ -0,0 +1,16 @@ +from setuptools import setup, find_packages +import os + +version = '4.0.0-wip' + +setup( + name='erpnext', + version=version, + description='Open Source ERP', + author='Web Notes Technologies', + author_email='info@erpnext.com', + packages=find_packages(), + zip_safe=False, + include_package_data=True, + install_requires=("webnotes",), +) \ No newline at end of file From 39bb8e2ed4c1af6801e1f7d590882d953260f11e Mon Sep 17 00:00:00 2001 From: Rushabh Mehta Date: Wed, 11 Dec 2013 15:32:14 +0530 Subject: [PATCH 04/27] step 0: install --- .../hr/doctype/job_applicant/get_job_applications.py | 2 +- .../hr/doctype/leave_application/leave_application.py | 2 +- erpnext/modules.txt | 11 +++++++++++ erpnext/patches/1311/p01_cleanup.py | 2 +- .../october_2013/p05_server_custom_script_to_file.py | 2 +- erpnext/patches/october_2013/p10_plugins_refactor.py | 2 ++ erpnext/portal/utils.py | 2 +- erpnext/selling/doctype/lead/get_leads.py | 2 +- erpnext/setup/doctype/email_digest/email_digest.py | 4 ++-- erpnext/setup/doctype/item_group/item_group.py | 2 +- erpnext/setup/doctype/naming_series/naming_series.py | 4 ++-- erpnext/startup/bean_handlers.py | 2 +- erpnext/startup/open_count.py | 2 +- erpnext/startup/schedule_handlers.py | 4 ++-- erpnext/stock/doctype/item/item.py | 2 +- .../doctype/support_ticket/get_support_mails.py | 2 +- .../doctype/support_ticket/templates/pages/ticket.py | 2 +- erpnext/utilities/demo/make_demo.py | 2 +- 18 files changed, 32 insertions(+), 19 deletions(-) create mode 100644 erpnext/modules.txt diff --git a/erpnext/hr/doctype/job_applicant/get_job_applications.py b/erpnext/hr/doctype/job_applicant/get_job_applications.py index 33e1261bc44..05bd46f6106 100644 --- a/erpnext/hr/doctype/job_applicant/get_job_applications.py +++ b/erpnext/hr/doctype/job_applicant/get_job_applications.py @@ -5,7 +5,7 @@ from __future__ import unicode_literals import webnotes from webnotes.utils import cstr, cint from webnotes.utils.email_lib.receive import POP3Mailbox -from core.doctype.communication.communication import make +from webnotes.core.doctype.communication.communication import make class JobsMailbox(POP3Mailbox): def setup(self, args=None): diff --git a/erpnext/hr/doctype/leave_application/leave_application.py b/erpnext/hr/doctype/leave_application/leave_application.py index 38ca3061d49..9b75b101b17 100755 --- a/erpnext/hr/doctype/leave_application/leave_application.py +++ b/erpnext/hr/doctype/leave_application/leave_application.py @@ -205,7 +205,7 @@ class DocType(DocListController): def notify(self, args): args = webnotes._dict(args) - from core.page.messages.messages import post + from webnotes.core.page.messages.messages import post post({"txt": args.message, "contact": args.message_to, "subject": args.subject, "notify": cint(self.doc.follow_via_email)}) diff --git a/erpnext/modules.txt b/erpnext/modules.txt new file mode 100644 index 00000000000..f7857e43341 --- /dev/null +++ b/erpnext/modules.txt @@ -0,0 +1,11 @@ +accounts +buying +home +hr +manufacturing +projects +selling +setup +stock +support +utilities \ No newline at end of file diff --git a/erpnext/patches/1311/p01_cleanup.py b/erpnext/patches/1311/p01_cleanup.py index 04d8f6a1614..23f65769273 100644 --- a/erpnext/patches/1311/p01_cleanup.py +++ b/erpnext/patches/1311/p01_cleanup.py @@ -9,7 +9,7 @@ def execute(): webnotes.reload_doc("buying", "doctype", "purchase_order") webnotes.reload_doc("selling", "doctype", "lead") - from core.doctype.custom_field.custom_field import create_custom_field_if_values_exist + from webnotes.core.doctype.custom_field.custom_field import create_custom_field_if_values_exist create_custom_field_if_values_exist("Material Request", {"fieldtype":"Text", "fieldname":"remark", "label":"Remarks","insert_after":"Fiscal Year"}) diff --git a/erpnext/patches/october_2013/p05_server_custom_script_to_file.py b/erpnext/patches/october_2013/p05_server_custom_script_to_file.py index 76ec56cbfd9..5cffed64fe6 100644 --- a/erpnext/patches/october_2013/p05_server_custom_script_to_file.py +++ b/erpnext/patches/october_2013/p05_server_custom_script_to_file.py @@ -17,7 +17,7 @@ def execute(): """ import os from webnotes.utils import get_site_base_path - from core.doctype.custom_script.custom_script import make_custom_server_script_file + from webnotes.core.doctype.custom_script.custom_script import make_custom_server_script_file for name, dt, script in webnotes.conn.sql("""select name, dt, script from `tabCustom Script` where script_type='Server'"""): if script and script.strip(): diff --git a/erpnext/patches/october_2013/p10_plugins_refactor.py b/erpnext/patches/october_2013/p10_plugins_refactor.py index 47d9d09191f..851c8afccd0 100644 --- a/erpnext/patches/october_2013/p10_plugins_refactor.py +++ b/erpnext/patches/october_2013/p10_plugins_refactor.py @@ -6,6 +6,8 @@ import webnotes, os, shutil def execute(): # changed cache key for plugin code files + return + for doctype in webnotes.conn.sql_list("""select name from `tabDocType`"""): webnotes.cache().delete_value("_server_script:"+doctype) diff --git a/erpnext/portal/utils.py b/erpnext/portal/utils.py index 89800f3e1d2..727edf3affb 100644 --- a/erpnext/portal/utils.py +++ b/erpnext/portal/utils.py @@ -59,7 +59,7 @@ def get_transaction_context(doctype, name): @webnotes.whitelist(allow_guest=True) def send_message(subject="Website Query", message="", sender="", status="Open"): - from website.doctype.contact_us_settings.templates.pages.contact \ + from webnotes.website.doctype.contact_us_settings.templates.pages.contact \ import send_message as website_send_message if not website_send_message(subject, message, sender): diff --git a/erpnext/selling/doctype/lead/get_leads.py b/erpnext/selling/doctype/lead/get_leads.py index 7bc691f4588..898ee0e9dc6 100644 --- a/erpnext/selling/doctype/lead/get_leads.py +++ b/erpnext/selling/doctype/lead/get_leads.py @@ -5,7 +5,7 @@ from __future__ import unicode_literals import webnotes from webnotes.utils import cstr, cint from webnotes.utils.email_lib.receive import POP3Mailbox -from core.doctype.communication.communication import make +from webnotes.core.doctype.communication.communication import make def add_sales_communication(subject, content, sender, real_name, mail=None, status="Open", date=None): diff --git a/erpnext/setup/doctype/email_digest/email_digest.py b/erpnext/setup/doctype/email_digest/email_digest.py index 1078d032682..15bb67aaf3b 100644 --- a/erpnext/setup/doctype/email_digest/email_digest.py +++ b/erpnext/setup/doctype/email_digest/email_digest.py @@ -280,7 +280,7 @@ class DocType(DocListController): return self.get_new_count("Project", self.meta.get_label("new_projects"), False) def get_calendar_events(self, user_id): - from core.doctype.event.event import get_events + from webnotes.core.doctype.event.event import get_events events = get_events(self.future_from_date.strftime("%Y-%m-%d"), self.future_to_date.strftime("%Y-%m-%d")) html = "" @@ -301,7 +301,7 @@ class DocType(DocListController): return 0, "

Calendar Events

" def get_todo_list(self, user_id): - from core.page.todo.todo import get + from webnotes.core.page.todo.todo import get todo_list = get() html = "" diff --git a/erpnext/setup/doctype/item_group/item_group.py b/erpnext/setup/doctype/item_group/item_group.py index e2fc7abe11e..5ad25af6a42 100644 --- a/erpnext/setup/doctype/item_group/item_group.py +++ b/erpnext/setup/doctype/item_group/item_group.py @@ -45,6 +45,6 @@ class DocType(DocTypeNestedSet, WebsiteGenerator): self.doc.title = self.doc.name if self.doc.slideshow: - from website.doctype.website_slideshow.website_slideshow import get_slideshow + from webnotes.website.doctype.website_slideshow.website_slideshow import get_slideshow get_slideshow(self) \ No newline at end of file diff --git a/erpnext/setup/doctype/naming_series/naming_series.py b/erpnext/setup/doctype/naming_series/naming_series.py index 234a689a7bb..f825e2104b4 100644 --- a/erpnext/setup/doctype/naming_series/naming_series.py +++ b/erpnext/setup/doctype/naming_series/naming_series.py @@ -83,7 +83,7 @@ class DocType: webnotes.clear_cache(doctype=doctype) def check_duplicate(self): - from core.doctype.doctype.doctype import DocType + from webnotes.core.doctype.doctype.doctype import DocType dt = DocType() parent = list(set( @@ -136,7 +136,7 @@ class DocType: msgprint("Please select prefix first") def set_by_naming_series(doctype, fieldname, naming_series, hide_name_field=True): - from core.doctype.property_setter.property_setter import make_property_setter + from webnotes.core.doctype.property_setter.property_setter import make_property_setter if naming_series: make_property_setter(doctype, "naming_series", "hidden", 0, "Check") make_property_setter(doctype, "naming_series", "reqd", 1, "Check") diff --git a/erpnext/startup/bean_handlers.py b/erpnext/startup/bean_handlers.py index 06d27343d8f..679c3aa042a 100644 --- a/erpnext/startup/bean_handlers.py +++ b/erpnext/startup/bean_handlers.py @@ -2,7 +2,7 @@ # License: GNU General Public License v3. See license.txt from home import update_feed -from core.doctype.notification_count.notification_count import clear_doctype_notifications +from webnotes.core.doctype.notification_count.notification_count import clear_doctype_notifications from stock.doctype.material_request.material_request import update_completed_qty def on_method(bean, method): diff --git a/erpnext/startup/open_count.py b/erpnext/startup/open_count.py index 38034e2a8b4..e561c03adf0 100644 --- a/erpnext/startup/open_count.py +++ b/erpnext/startup/open_count.py @@ -41,7 +41,7 @@ def get_things_todo(): def get_todays_events(): """Returns a count of todays events in calendar""" - from core.doctype.event.event import get_events + from webnotes.core.doctype.event.event import get_events from webnotes.utils import nowdate today = nowdate() return len(get_events(today, today)) diff --git a/erpnext/startup/schedule_handlers.py b/erpnext/startup/schedule_handlers.py index cdb0e5d5dd7..32987c465da 100644 --- a/erpnext/startup/schedule_handlers.py +++ b/erpnext/startup/schedule_handlers.py @@ -27,11 +27,11 @@ def execute_all(): def execute_daily(): # event reminders - from core.doctype.event.event import send_event_digest + from webnotes.core.doctype.event.event import send_event_digest run_fn(send_event_digest) # clear daily event notifications - from core.doctype.notification_count.notification_count import delete_notification_count_for + from webnotes.core.doctype.notification_count.notification_count import delete_notification_count_for delete_notification_count_for("Event") # email digest diff --git a/erpnext/stock/doctype/item/item.py b/erpnext/stock/doctype/item/item.py index a4985e97942..0459070e360 100644 --- a/erpnext/stock/doctype/item/item.py +++ b/erpnext/stock/doctype/item/item.py @@ -238,7 +238,7 @@ class DocType(DocListController, WebsiteGenerator): self.doc.title = self.doc.item_name if self.doc.slideshow: - from website.doctype.website_slideshow.website_slideshow import get_slideshow + from webnotes.website.doctype.website_slideshow.website_slideshow import get_slideshow get_slideshow(self) def get_file_details(self, arg = ''): diff --git a/erpnext/support/doctype/support_ticket/get_support_mails.py b/erpnext/support/doctype/support_ticket/get_support_mails.py index 33cb0237475..b50e46ea081 100644 --- a/erpnext/support/doctype/support_ticket/get_support_mails.py +++ b/erpnext/support/doctype/support_ticket/get_support_mails.py @@ -6,7 +6,7 @@ import webnotes from webnotes.utils import cstr, cint, decode_dict, today from webnotes.utils.email_lib import sendmail from webnotes.utils.email_lib.receive import POP3Mailbox -from core.doctype.communication.communication import make +from webnotes.core.doctype.communication.communication import make class SupportMailbox(POP3Mailbox): def setup(self, args=None): diff --git a/erpnext/support/doctype/support_ticket/templates/pages/ticket.py b/erpnext/support/doctype/support_ticket/templates/pages/ticket.py index 28d8802cc3f..f9e5c880401 100644 --- a/erpnext/support/doctype/support_ticket/templates/pages/ticket.py +++ b/erpnext/support/doctype/support_ticket/templates/pages/ticket.py @@ -31,7 +31,7 @@ def add_reply(ticket, message): if bean.doc.raised_by != webnotes.session.user: raise webnotes.throw(_("You are not allowed to reply to this ticket."), webnotes.PermissionError) - from core.doctype.communication.communication import make + from webnotes.core.doctype.communication.communication import make make(content=message, sender=bean.doc.raised_by, subject = bean.doc.subject, doctype="Support Ticket", name=bean.doc.name, date=today()) \ No newline at end of file diff --git a/erpnext/utilities/demo/make_demo.py b/erpnext/utilities/demo/make_demo.py index b98fd7ac9c0..18211a12a22 100644 --- a/erpnext/utilities/demo/make_demo.py +++ b/erpnext/utilities/demo/make_demo.py @@ -9,7 +9,7 @@ import random import json webnotes.session = webnotes._dict({"user":"Administrator"}) -from core.page.data_import_tool.data_import_tool import upload +from webnotes.core.page.data_import_tool.data_import_tool import upload # fix price list # fix fiscal year From 1b2320877998462f23547f6f305fa0c1efbc46ac Mon Sep 17 00:00:00 2001 From: Pratik Vyas Date: Thu, 12 Dec 2013 10:44:38 +0530 Subject: [PATCH 05/27] [minor] get bundle working, almost --- erpnext/public/build.json | 29 +++++++++++++---------------- 1 file changed, 13 insertions(+), 16 deletions(-) diff --git a/erpnext/public/build.json b/erpnext/public/build.json index 77ad4dd76d3..3c681fce93b 100644 --- a/erpnext/public/build.json +++ b/erpnext/public/build.json @@ -1,19 +1,16 @@ { - "public/css/all-web.css": [ - "app/public/js/startup.css", + "css/erpnext.css": [ + "public/js/startup.css" ], - "public/css/all-app.css": [ - "app/public/js/startup.css" + "js/erpnext-web.min.js": [ + "public/js/website_utils.js" ], - "public/js/all-web.min.js": [ - "app/public/js/website_utils.js" - ], - "public/js/all-app.min.js": [ - "app/public/js/startup.js", - "app/public/js/conf.js", - "app/public/js/toolbar.js", - "app/public/js/feature_setup.js", - "app/public/js/utils.js", - "app/public/js/queries.js" - ], -} \ No newline at end of file + "js/erpnext.min.js": [ + "public/js/startup.js", + "public/js/conf.js", + "public/js/toolbar.js", + "public/js/feature_setup.js", + "public/js/utils.js", + "public/js/queries.js" + ] +} From d2dd83c3a396ab862ef16ce157b00f0cc3d75a37 Mon Sep 17 00:00:00 2001 From: Rushabh Mehta Date: Thu, 12 Dec 2013 13:57:58 +0530 Subject: [PATCH 06/27] fixed template loader webnotes/wnframework#351 --- .../templates/pages/invoice.html | 2 +- .../templates/pages/invoices.html | 2 +- erpnext/portal/templates/base.html | 4 ++-- erpnext/portal/templates/includes/footer.html | 2 +- erpnext/portal/templates/pages/cart.html | 2 +- .../portal/templates/sales_transactions.html | 2 +- .../sales_order/templates/pages/order.html | 2 +- .../sales_order/templates/pages/orders.html | 2 +- .../templates/generators/item_group.html | 8 ++++---- erpnext/startup/event_handlers.py | 4 ---- .../templates/pages/shipment.html | 2 +- .../templates/pages/shipments.html | 2 +- .../item/templates/generators/item.html | 14 +++++++------- .../templates/includes/product_in_grid.html | 2 +- .../templates/includes/product_in_list.html | 2 +- .../item/templates/pages/product_search.html | 4 ++-- .../templates/pages/tickets.html | 2 +- erpnext/translations/languages.json | 19 ------------------- 18 files changed, 27 insertions(+), 50 deletions(-) delete mode 100644 erpnext/translations/languages.json diff --git a/erpnext/accounts/doctype/sales_invoice/templates/pages/invoice.html b/erpnext/accounts/doctype/sales_invoice/templates/pages/invoice.html index db6e009f891..44c53308493 100644 --- a/erpnext/accounts/doctype/sales_invoice/templates/pages/invoice.html +++ b/erpnext/accounts/doctype/sales_invoice/templates/pages/invoice.html @@ -1,4 +1,4 @@ -{% extends "app/portal/templates/sale.html" %} +{% extends "portal/templates/sale.html" %} {% block status -%} {% if doc.status %}{{ doc.status }}{% endif %} diff --git a/erpnext/accounts/doctype/sales_invoice/templates/pages/invoices.html b/erpnext/accounts/doctype/sales_invoice/templates/pages/invoices.html index f108683cb93..f8ca76980fd 100644 --- a/erpnext/accounts/doctype/sales_invoice/templates/pages/invoices.html +++ b/erpnext/accounts/doctype/sales_invoice/templates/pages/invoices.html @@ -1 +1 @@ -{% extends "app/portal/templates/sales_transactions.html" %} \ No newline at end of file +{% extends "portal/templates/sales_transactions.html" %} \ No newline at end of file diff --git a/erpnext/portal/templates/base.html b/erpnext/portal/templates/base.html index bc6fb9755c6..3eb7adca8e0 100644 --- a/erpnext/portal/templates/base.html +++ b/erpnext/portal/templates/base.html @@ -1,3 +1,3 @@ -{% extends "lib/website/templates/base.html" %} +{% extends "website/templates/base.html" %} -{% block footer %}{% include "app/portal/templates/includes/footer.html" %}{% endblock %} \ No newline at end of file +{% block footer %}{% include "portal/templates/includes/footer.html" %}{% endblock %} \ No newline at end of file diff --git a/erpnext/portal/templates/includes/footer.html b/erpnext/portal/templates/includes/footer.html index cd75fd16f63..9912c9cf0a0 100644 --- a/erpnext/portal/templates/includes/footer.html +++ b/erpnext/portal/templates/includes/footer.html @@ -1,4 +1,4 @@ -{% extends "lib/website/templates/includes/footer.html" %} +{% extends "website/templates/includes/footer.html" %} {% block powered %}ERPNext Powered{% endblock %} diff --git a/erpnext/portal/templates/pages/cart.html b/erpnext/portal/templates/pages/cart.html index 1abe46787c4..db812299f3f 100644 --- a/erpnext/portal/templates/pages/cart.html +++ b/erpnext/portal/templates/pages/cart.html @@ -1,7 +1,7 @@ {% extends base_template %} {% block javascript %} - + {% endblock %} {% set title="Shopping Cart" %} diff --git a/erpnext/portal/templates/sales_transactions.html b/erpnext/portal/templates/sales_transactions.html index f4fd5d18cc0..632793c85a1 100644 --- a/erpnext/portal/templates/sales_transactions.html +++ b/erpnext/portal/templates/sales_transactions.html @@ -1,4 +1,4 @@ -{% extends "app/portal/templates/includes/transactions.html" %} +{% extends "portal/templates/includes/transactions.html" %} {% block javascript -%} + {% endblock %} {% block content %} @@ -17,7 +17,7 @@ $(document).ready(function() { }); -{% include "app/stock/doctype/item/templates/includes/product_search_box.html" %} +{% include "stock/doctype/item/templates/includes/product_search_box.html" %}

Search Results

diff --git a/erpnext/support/doctype/support_ticket/templates/pages/tickets.html b/erpnext/support/doctype/support_ticket/templates/pages/tickets.html index d99e6145d97..549c227981b 100644 --- a/erpnext/support/doctype/support_ticket/templates/pages/tickets.html +++ b/erpnext/support/doctype/support_ticket/templates/pages/tickets.html @@ -1,4 +1,4 @@ -{% extends "app/portal/templates/includes/transactions.html" %} +{% extends "portal/templates/includes/transactions.html" %} {% block javascript -%} {{ super() }} diff --git a/erpnext/translations/languages.json b/erpnext/translations/languages.json deleted file mode 100644 index 9bffb5c9ffd..00000000000 --- a/erpnext/translations/languages.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "中国(简体)": "zh-cn", - "中國(繁體)": "zh-tw", - "deutsch": "de", - "ελληνικά": "el", - "english": "en", - "español": "es", - "français": "fr", - "हिंदी": "hi", - "hrvatski": "hr", - "italiano": "it", - "nederlands": "nl", - "português brasileiro": "pt-BR", - "português": "pt", - "српски":"sr", - "தமிழ்": "ta", - "ไทย": "th", - "العربية":"ar" -} \ No newline at end of file From 1f84799f2ddfaf8f16472656565b5c3f0b3f4bc3 Mon Sep 17 00:00:00 2001 From: Rushabh Mehta Date: Thu, 12 Dec 2013 19:12:19 +0530 Subject: [PATCH 07/27] install, web serving, session booting webnotes/wnframework#351 --- erpnext/accounts/doctype/account/account.py | 2 +- erpnext/accounts/doctype/c_form/c_form.py | 2 +- .../doctype/cost_center/cost_center.py | 2 +- erpnext/accounts/doctype/gl_entry/gl_entry.py | 2 +- .../journal_voucher/journal_voucher.js | 6 +- .../journal_voucher/journal_voucher.py | 16 +-- .../journal_voucher/test_journal_voucher.py | 10 +- .../doctype/mis_control/mis_control.py | 4 +- .../payment_to_invoice_matching_tool.py | 4 +- .../period_closing_voucher.py | 6 +- .../test_period_closing_voucher.py | 2 +- .../purchase_invoice/purchase_invoice.js | 6 +- .../purchase_invoice/purchase_invoice.py | 12 +- .../purchase_invoice/test_purchase_invoice.py | 4 +- erpnext/accounts/doctype/sales_invoice/pos.js | 6 +- .../doctype/sales_invoice/sales_invoice.js | 8 +- .../doctype/sales_invoice/sales_invoice.py | 18 +-- .../sales_invoice/templates/pages/invoice.py | 2 +- .../sales_invoice/templates/pages/invoices.py | 6 +- .../sales_invoice/test_sales_invoice.py | 28 ++-- .../doctype/shipping_rule/shipping_rule.py | 2 +- .../shipping_rule/test_shipping_rule.py | 2 +- erpnext/accounts/general_ledger.py | 4 +- .../page/accounts_browser/accounts_browser.js | 8 +- .../page/accounts_browser/accounts_browser.py | 2 +- .../accounts_payable/accounts_payable.py | 2 +- .../bank_reconciliation_statement.py | 2 +- .../budget_variance_report.py | 4 +- .../report/gross_profit/gross_profit.py | 2 +- .../payment_period_based_on_invoice_date.py | 2 +- .../purchase_invoice_trends.py | 2 +- .../sales_invoice_trends.py | 2 +- erpnext/accounts/utils.py | 4 +- .../buying_settings/buying_settings.py | 2 +- .../purchase_common/purchase_common.js | 6 +- .../purchase_common/purchase_common.py | 6 +- .../doctype/purchase_order/purchase_order.js | 10 +- .../doctype/purchase_order/purchase_order.py | 8 +- .../purchase_order/test_purchase_order.py | 10 +- erpnext/buying/doctype/supplier/supplier.js | 2 +- erpnext/buying/doctype/supplier/supplier.py | 4 +- .../supplier_quotation/supplier_quotation.js | 4 +- .../supplier_quotation/supplier_quotation.py | 6 +- .../test_supplier_quotation.py | 2 +- .../purchase_order_trends.py | 2 +- erpnext/buying/utils.py | 4 +- erpnext/controllers/accounts_controller.py | 8 +- erpnext/controllers/buying_controller.py | 8 +- erpnext/controllers/queries.py | 2 +- erpnext/controllers/selling_controller.py | 6 +- erpnext/controllers/stock_controller.py | 12 +- erpnext/home/page/activity/activity.js | 2 +- .../page/latest_updates/latest_updates.js | 2 +- erpnext/hr/doctype/appraisal/appraisal.js | 2 +- erpnext/hr/doctype/attendance/attendance.py | 6 +- erpnext/hr/doctype/employee/employee.js | 2 +- erpnext/hr/doctype/employee/employee.py | 6 +- .../hr/doctype/expense_claim/expense_claim.js | 4 +- .../hr/doctype/expense_claim/expense_claim.py | 2 +- erpnext/hr/doctype/hr_settings/hr_settings.py | 2 +- .../hr/doctype/job_applicant/job_applicant.py | 2 +- .../leave_application/leave_application.js | 2 +- .../leave_application/leave_application.py | 6 +- .../leave_application_calendar.js | 2 +- .../test_leave_application.py | 4 +- .../leave_block_list/leave_block_list.py | 2 +- .../leave_block_list/test_leave_block_list.py | 2 +- erpnext/hr/doctype/salary_slip/salary_slip.py | 6 +- .../doctype/salary_slip/test_salary_slip.py | 2 +- .../salary_structure/salary_structure.js | 2 +- .../upload_attendance/upload_attendance.js | 4 +- .../upload_attendance/upload_attendance.py | 2 +- erpnext/{startup/install.py => manage.py} | 128 ++++++++++++++---- erpnext/manufacturing/doctype/bom/bom.py | 4 +- erpnext/manufacturing/doctype/bom/test_bom.py | 6 +- .../production_order/production_order.js | 2 +- .../production_order/production_order.py | 10 +- .../production_order/test_production_order.py | 8 +- .../production_planning_tool.py | 6 +- .../p01_update_serial_no_valuation_rate.py | 2 +- .../december_2012/repost_ordered_qty.py | 2 +- .../february_2013/repost_reserved_qty.py | 2 +- .../patches/july_2013/restore_tree_roots.py | 2 +- .../p04_fix_event_for_lead_oppty_project.py | 2 +- .../p07_taxes_price_list_for_territory.py | 2 +- .../june_2013/p08_shopping_cart_settings.py | 2 +- .../p10_set_fiscal_year_for_stock.py | 2 +- .../may_2013/p02_update_valuation_rate.py | 2 +- .../repost_stock_for_no_posting_time.py | 2 +- ...petual_inventory_stock_transfer_utility.py | 2 +- .../october_2013/repost_planned_qty.py | 2 +- .../patches/september_2012/repost_stock.py | 2 +- erpnext/portal/templates/includes/cart.js | 8 +- erpnext/portal/templates/pages/profile.py | 4 +- erpnext/portal/utils.py | 4 +- erpnext/projects/doctype/project/project.py | 2 +- erpnext/projects/doctype/task/task.py | 2 +- .../projects/doctype/task/task_calendar.js | 2 +- .../doctype/time_log/test_time_log.py | 2 +- .../doctype/time_log/time_log_calendar.js | 2 +- .../time_log_batch/test_time_log_batch.py | 2 +- erpnext/public/js/conf.js | 2 +- erpnext/public/js/transaction.js | 2 +- erpnext/public/js/website_utils.js | 4 +- erpnext/selling/doctype/customer/customer.js | 2 +- erpnext/selling/doctype/customer/customer.py | 4 +- .../installation_note/installation_note.js | 2 +- .../installation_note/installation_note.py | 8 +- erpnext/selling/doctype/lead/lead.js | 4 +- erpnext/selling/doctype/lead/lead.py | 2 +- erpnext/selling/doctype/lead/test_lead.py | 2 +- .../doctype/opportunity/opportunity.js | 4 +- .../doctype/opportunity/opportunity.py | 4 +- .../selling/doctype/quotation/quotation.js | 4 +- .../selling/doctype/quotation/quotation.py | 4 +- .../doctype/quotation/test_quotation.py | 2 +- .../selling/doctype/sales_bom/sales_bom.py | 4 +- .../doctype/sales_order/sales_order.js | 14 +- .../doctype/sales_order/sales_order.py | 12 +- .../sales_order/templates/pages/order.py | 2 +- .../sales_order/templates/pages/orders.py | 6 +- .../doctype/sales_order/test_sales_order.py | 18 +-- .../selling_settings/selling_settings.py | 2 +- .../shopping_cart_settings.py | 4 +- .../test_shopping_cart_settings.py | 4 +- .../page/sales_browser/sales_browser.js | 6 +- .../quotation_trends/quotation_trends.py | 2 +- .../sales_order_trends/sales_order_trends.py | 2 +- ..._person_target_variance_item_group_wise.py | 4 +- ...rritory_target_variance_item_group_wise.py | 4 +- erpnext/selling/sales_common.js | 4 +- erpnext/selling/utils/__init__.py | 4 +- erpnext/selling/utils/cart.py | 10 +- erpnext/selling/utils/product.py | 2 +- .../authorization_control.py | 4 +- .../doctype/backup_manager/backup_manager.js | 6 +- .../doctype/backup_manager/backup_manager.py | 4 +- erpnext/setup/doctype/company/company.js | 2 +- .../global_defaults/global_defaults.js | 2 +- .../setup/doctype/item_group/item_group.py | 4 +- erpnext/setup/page/setup/setup.js | 2 +- .../setup/page/setup_wizard/setup_wizard.js | 2 +- .../setup/page/setup_wizard/setup_wizard.py | 2 +- .../page/setup_wizard/test_setup_wizard.py | 4 +- erpnext/startup/bean_handlers.py | 2 +- erpnext/startup/boot.py | 1 - erpnext/startup/event_handlers.py | 2 +- erpnext/startup/schedule_handlers.py | 16 +-- erpnext/stock/doctype/bin/bin.py | 2 +- .../doctype/delivery_note/delivery_note.js | 6 +- .../doctype/delivery_note/delivery_note.py | 10 +- .../delivery_note/templates/pages/shipment.py | 2 +- .../templates/pages/shipments.py | 4 +- .../delivery_note/test_delivery_note.py | 18 +-- erpnext/stock/doctype/item/item.py | 8 +- .../item/templates/includes/product_list.js | 2 +- .../item/templates/includes/product_page.js | 2 +- erpnext/stock/doctype/item/test_item.py | 2 +- .../doctype/item_price/test_item_price.py | 2 +- .../material_request/material_request.js | 10 +- .../material_request/material_request.py | 10 +- .../material_request/test_material_request.py | 16 +-- .../doctype/packing_slip/packing_slip.py | 4 +- .../purchase_receipt/purchase_receipt.js | 4 +- .../purchase_receipt/purchase_receipt.py | 10 +- .../purchase_receipt/test_purchase_receipt.py | 2 +- erpnext/stock/doctype/serial_no/serial_no.py | 2 +- .../stock/doctype/serial_no/test_serial_no.py | 2 +- .../stock/doctype/stock_entry/stock_entry.js | 2 +- .../stock/doctype/stock_entry/stock_entry.py | 24 ++-- .../doctype/stock_entry/test_stock_entry.py | 36 ++--- .../doctype/stock_ledger/stock_ledger.py | 2 +- .../stock_ledger_entry/stock_ledger_entry.py | 6 +- .../stock_reconciliation.js | 4 +- .../stock_reconciliation.py | 12 +- .../test_stock_reconciliation.py | 2 +- .../doctype/stock_settings/stock_settings.py | 2 +- .../stock_uom_replace_utility.py | 2 +- erpnext/stock/doctype/warehouse/warehouse.py | 6 +- .../delivery_note_trends.py | 2 +- .../purchase_receipt_trends.py | 2 +- erpnext/stock/stock_ledger.py | 4 +- erpnext/stock/utils.py | 4 +- .../doctype/customer_issue/customer_issue.js | 2 +- .../doctype/customer_issue/customer_issue.py | 2 +- .../maintenance_schedule.js | 4 +- .../maintenance_schedule.py | 2 +- .../maintenance_visit/maintenance_visit.js | 6 +- .../maintenance_visit/maintenance_visit.py | 2 +- .../support/doctype/newsletter/newsletter.js | 2 +- .../doctype/support_ticket/support_ticket.js | 2 +- .../doctype/support_ticket/support_ticket.py | 2 +- .../support_ticket/templates/pages/tickets.py | 2 +- erpnext/utilities/demo/make_demo.py | 36 ++--- erpnext/utilities/doctype/contact/contact.py | 2 +- .../doctype/rename_tool/rename_tool.js | 2 +- .../doctype/sms_control/sms_control.py | 8 +- erpnext/utilities/repost_stock.py | 4 +- erpnext/utilities/transaction_base.py | 14 +- 199 files changed, 583 insertions(+), 512 deletions(-) rename erpnext/{startup/install.py => manage.py} (79%) diff --git a/erpnext/accounts/doctype/account/account.py b/erpnext/accounts/doctype/account/account.py index cae202847b5..eccbb47205b 100644 --- a/erpnext/accounts/doctype/account/account.py +++ b/erpnext/accounts/doctype/account/account.py @@ -206,7 +206,7 @@ class DocType: def before_rename(self, old, new, merge=False): # Add company abbr if not provided - from setup.doctype.company.company import get_name_with_abbr + from erpnext.setup.doctype.company.company import get_name_with_abbr new_account = get_name_with_abbr(new, self.doc.company) # Validate properties before merging diff --git a/erpnext/accounts/doctype/c_form/c_form.py b/erpnext/accounts/doctype/c_form/c_form.py index 81d5a150a3a..80a9f44b3cd 100644 --- a/erpnext/accounts/doctype/c_form/c_form.py +++ b/erpnext/accounts/doctype/c_form/c_form.py @@ -76,7 +76,7 @@ class DocType: } def get_invoice_nos(doctype, txt, searchfield, start, page_len, filters): - from utilities import build_filter_conditions + from erpnext.utilities import build_filter_conditions conditions, filter_values = build_filter_conditions(filters) return webnotes.conn.sql("""select name from `tabSales Invoice` where docstatus = 1 diff --git a/erpnext/accounts/doctype/cost_center/cost_center.py b/erpnext/accounts/doctype/cost_center/cost_center.py index 692d47e5aed..0d38cc820c8 100644 --- a/erpnext/accounts/doctype/cost_center/cost_center.py +++ b/erpnext/accounts/doctype/cost_center/cost_center.py @@ -75,7 +75,7 @@ class DocType(DocTypeNestedSet): def before_rename(self, olddn, newdn, merge=False): # Add company abbr if not provided - from setup.doctype.company.company import get_name_with_abbr + from erpnext.setup.doctype.company.company import get_name_with_abbr new_cost_center = get_name_with_abbr(newdn, self.doc.company) # Validate properties before merging diff --git a/erpnext/accounts/doctype/gl_entry/gl_entry.py b/erpnext/accounts/doctype/gl_entry/gl_entry.py index 3a0b28c78f4..358261fb9dd 100644 --- a/erpnext/accounts/doctype/gl_entry/gl_entry.py +++ b/erpnext/accounts/doctype/gl_entry/gl_entry.py @@ -51,7 +51,7 @@ class DocType: self.doc.cost_center = None def validate_posting_date(self): - from accounts.utils import validate_fiscal_year + from erpnext.accounts.utils import validate_fiscal_year validate_fiscal_year(self.doc.posting_date, self.doc.fiscal_year, "Posting Date") def check_pl_account(self): diff --git a/erpnext/accounts/doctype/journal_voucher/journal_voucher.js b/erpnext/accounts/doctype/journal_voucher/journal_voucher.js index a5cd06d9711..f1b695956fb 100644 --- a/erpnext/accounts/doctype/journal_voucher/journal_voucher.js +++ b/erpnext/accounts/doctype/journal_voucher/journal_voucher.js @@ -165,7 +165,7 @@ cur_frm.cscript.account = function(doc,dt,dn) { var d = locals[dt][dn]; if(d.account) { return wn.call({ - method: "accounts.utils.get_balance_on", + method: "erpnext.accounts.utils.get_balance_on", args: {account: d.account, date: doc.posting_date}, callback: function(r) { d.balance = r.message; @@ -208,7 +208,7 @@ cur_frm.cscript.voucher_type = function(doc, cdt, cdn) { if(in_list(["Bank Voucher", "Cash Voucher"], doc.voucher_type)) { return wn.call({ type: "GET", - method: "accounts.doctype.journal_voucher.journal_voucher.get_default_bank_cash_account", + method: "erpnext.accounts.doctype.journal_voucher.journal_voucher.get_default_bank_cash_account", args: { "voucher_type": doc.voucher_type, "company": doc.company @@ -222,7 +222,7 @@ cur_frm.cscript.voucher_type = function(doc, cdt, cdn) { } else if(doc.voucher_type=="Opening Entry") { return wn.call({ type:"GET", - method: "accounts.doctype.journal_voucher.journal_voucher.get_opening_accounts", + method: "erpnext.accounts.doctype.journal_voucher.journal_voucher.get_opening_accounts", args: { "company": doc.company }, diff --git a/erpnext/accounts/doctype/journal_voucher/journal_voucher.py b/erpnext/accounts/doctype/journal_voucher/journal_voucher.py index 00cbc036511..32f8139cab2 100644 --- a/erpnext/accounts/doctype/journal_voucher/journal_voucher.py +++ b/erpnext/accounts/doctype/journal_voucher/journal_voucher.py @@ -8,9 +8,9 @@ from webnotes.utils import cint, cstr, flt, fmt_money, formatdate, getdate from webnotes.model.doc import addchild from webnotes.model.bean import getlist from webnotes import msgprint, _ -from setup.utils import get_company_currency +from erpnext.setup.utils import get_company_currency -from controllers.accounts_controller import AccountsController +from erpnext.controllers.accounts_controller import AccountsController class DocType(AccountsController): def __init__(self,d,dl): @@ -47,7 +47,7 @@ class DocType(AccountsController): self.check_credit_limit() def on_cancel(self): - from accounts.utils import remove_against_link_from_jv + from erpnext.accounts.utils import remove_against_link_from_jv remove_against_link_from_jv(self.doc.doctype, self.doc.name, "against_jv") self.make_gl_entries(1) @@ -240,7 +240,7 @@ class DocType(AccountsController): Purchase Invoice")) def make_gl_entries(self, cancel=0, adv_adj=0): - from accounts.general_ledger import make_gl_entries + from erpnext.accounts.general_ledger import make_gl_entries gl_map = [] for d in self.doclist.get({"parentfield": "entries"}): if d.debit or d.credit: @@ -334,7 +334,7 @@ class DocType(AccountsController): @webnotes.whitelist() def get_default_bank_cash_account(company, voucher_type): - from accounts.utils import get_balance_on + from erpnext.accounts.utils import get_balance_on account = webnotes.conn.get_value("Company", company, voucher_type=="Bank Voucher" and "default_bank_account" or "default_cash_account") if account: @@ -345,7 +345,7 @@ def get_default_bank_cash_account(company, voucher_type): @webnotes.whitelist() def get_payment_entry_from_sales_invoice(sales_invoice): - from accounts.utils import get_balance_on + from erpnext.accounts.utils import get_balance_on si = webnotes.bean("Sales Invoice", sales_invoice) jv = get_payment_entry(si.doc) jv.doc.remark = 'Payment received against Sales Invoice %(name)s. %(remarks)s' % si.doc.fields @@ -363,7 +363,7 @@ def get_payment_entry_from_sales_invoice(sales_invoice): @webnotes.whitelist() def get_payment_entry_from_purchase_invoice(purchase_invoice): - from accounts.utils import get_balance_on + from erpnext.accounts.utils import get_balance_on pi = webnotes.bean("Purchase Invoice", purchase_invoice) jv = get_payment_entry(pi.doc) jv.doc.remark = 'Payment against Purchase Invoice %(name)s. %(remarks)s' % pi.doc.fields @@ -407,7 +407,7 @@ def get_payment_entry(doc): @webnotes.whitelist() def get_opening_accounts(company): """get all balance sheet accounts for opening entry""" - from accounts.utils import get_balance_on + from erpnext.accounts.utils import get_balance_on accounts = webnotes.conn.sql_list("""select name from tabAccount where group_or_ledger='Ledger' and is_pl_account='No' and company=%s""", company) diff --git a/erpnext/accounts/doctype/journal_voucher/test_journal_voucher.py b/erpnext/accounts/doctype/journal_voucher/test_journal_voucher.py index 70fb4e220e6..587445f2ef4 100644 --- a/erpnext/accounts/doctype/journal_voucher/test_journal_voucher.py +++ b/erpnext/accounts/doctype/journal_voucher/test_journal_voucher.py @@ -34,14 +34,14 @@ class TestJournalVoucher(unittest.TestCase): where against_jv=%s""", jv_invoice.doc.name)) def test_jv_against_stock_account(self): - from stock.doctype.purchase_receipt.test_purchase_receipt import set_perpetual_inventory + from erpnext.stock.doctype.purchase_receipt.test_purchase_receipt import set_perpetual_inventory set_perpetual_inventory() jv = webnotes.bean(copy=test_records[0]) jv.doclist[1].account = "_Test Warehouse - _TC" jv.insert() - from accounts.general_ledger import StockAccountInvalidTransaction + from erpnext.accounts.general_ledger import StockAccountInvalidTransaction self.assertRaises(StockAccountInvalidTransaction, jv.submit) set_perpetual_inventory(0) @@ -61,7 +61,7 @@ class TestJournalVoucher(unittest.TestCase): {"voucher_type": "Journal Voucher", "voucher_no": jv.doc.name})) def test_monthly_budget_crossed_stop(self): - from accounts.utils import BudgetError + from erpnext.accounts.utils import BudgetError webnotes.conn.set_value("Company", "_Test Company", "monthly_bgt_flag", "Stop") self.clear_account_balance() @@ -77,7 +77,7 @@ class TestJournalVoucher(unittest.TestCase): webnotes.conn.set_value("Company", "_Test Company", "monthly_bgt_flag", "Ignore") def test_yearly_budget_crossed_stop(self): - from accounts.utils import BudgetError + from erpnext.accounts.utils import BudgetError self.clear_account_balance() self.test_monthly_budget_crossed_ignore() @@ -96,7 +96,7 @@ class TestJournalVoucher(unittest.TestCase): webnotes.conn.set_value("Company", "_Test Company", "yearly_bgt_flag", "Ignore") def test_monthly_budget_on_cancellation(self): - from accounts.utils import BudgetError + from erpnext.accounts.utils import BudgetError webnotes.conn.set_value("Company", "_Test Company", "monthly_bgt_flag", "Stop") self.clear_account_balance() diff --git a/erpnext/accounts/doctype/mis_control/mis_control.py b/erpnext/accounts/doctype/mis_control/mis_control.py index 3a0483f0565..d2c09613a9e 100644 --- a/erpnext/accounts/doctype/mis_control/mis_control.py +++ b/erpnext/accounts/doctype/mis_control/mis_control.py @@ -5,7 +5,7 @@ from __future__ import unicode_literals import webnotes from webnotes.utils import flt, get_first_day, get_last_day, has_common import webnotes.defaults -from accounts.utils import get_balance_on +from erpnext.accounts.utils import get_balance_on class DocType: def __init__(self, doc, doclist): @@ -29,7 +29,7 @@ class DocType: ret['period'] = ['Annual','Half Yearly','Quarterly','Monthly'] - from accounts.page.accounts_browser.accounts_browser import get_companies + from erpnext.accounts.page.accounts_browser.accounts_browser import get_companies ret['company'] = get_companies() #--- to get fiscal year and start_date of that fiscal year ----- diff --git a/erpnext/accounts/doctype/payment_to_invoice_matching_tool/payment_to_invoice_matching_tool.py b/erpnext/accounts/doctype/payment_to_invoice_matching_tool/payment_to_invoice_matching_tool.py index 6a311919698..efd2e9110c0 100644 --- a/erpnext/accounts/doctype/payment_to_invoice_matching_tool/payment_to_invoice_matching_tool.py +++ b/erpnext/accounts/doctype/payment_to_invoice_matching_tool/payment_to_invoice_matching_tool.py @@ -121,14 +121,14 @@ class DocType: lst.append(args) if lst: - from accounts.utils import reconcile_against_document + from erpnext.accounts.utils import reconcile_against_document reconcile_against_document(lst) msgprint("Successfully allocated.") else: msgprint("No amount allocated.", raise_exception=1) def gl_entry_details(doctype, txt, searchfield, start, page_len, filters): - from controllers.queries import get_match_cond + from erpnext.controllers.queries import get_match_cond return webnotes.conn.sql("""select gle.voucher_no, gle.posting_date, gle.%(account_type)s from `tabGL Entry` gle diff --git a/erpnext/accounts/doctype/period_closing_voucher/period_closing_voucher.py b/erpnext/accounts/doctype/period_closing_voucher/period_closing_voucher.py index 5d7fc1e8672..db5804042f4 100644 --- a/erpnext/accounts/doctype/period_closing_voucher/period_closing_voucher.py +++ b/erpnext/accounts/doctype/period_closing_voucher/period_closing_voucher.py @@ -5,7 +5,7 @@ from __future__ import unicode_literals import webnotes from webnotes.utils import cstr, flt, getdate from webnotes import msgprint, _ -from controllers.accounts_controller import AccountsController +from erpnext.controllers.accounts_controller import AccountsController class DocType(AccountsController): def __init__(self,d,dl): @@ -33,7 +33,7 @@ class DocType(AccountsController): _("must be a Liability account")) def validate_posting_date(self): - from accounts.utils import get_fiscal_year + from erpnext.accounts.utils import get_fiscal_year self.year_start_date = get_fiscal_year(self.doc.posting_date, self.doc.fiscal_year)[1] pce = webnotes.conn.sql("""select name from `tabPeriod Closing Voucher` @@ -99,5 +99,5 @@ class DocType(AccountsController): "credit": abs(net_pl_balance) if net_pl_balance < 0 else 0 })) - from accounts.general_ledger import make_gl_entries + from erpnext.accounts.general_ledger import make_gl_entries make_gl_entries(gl_entries) diff --git a/erpnext/accounts/doctype/period_closing_voucher/test_period_closing_voucher.py b/erpnext/accounts/doctype/period_closing_voucher/test_period_closing_voucher.py index 97e49ae8602..c779d9be86d 100644 --- a/erpnext/accounts/doctype/period_closing_voucher/test_period_closing_voucher.py +++ b/erpnext/accounts/doctype/period_closing_voucher/test_period_closing_voucher.py @@ -11,7 +11,7 @@ class TestPeriodClosingVoucher(unittest.TestCase): # clear GL Entries webnotes.conn.sql("""delete from `tabGL Entry`""") - from accounts.doctype.journal_voucher.test_journal_voucher import test_records as jv_records + from erpnext.accounts.doctype.journal_voucher.test_journal_voucher import test_records as jv_records jv = webnotes.bean(copy=jv_records[2]) jv.insert() jv.submit() diff --git a/erpnext/accounts/doctype/purchase_invoice/purchase_invoice.js b/erpnext/accounts/doctype/purchase_invoice/purchase_invoice.js index 9d752647ad4..c20b2976780 100644 --- a/erpnext/accounts/doctype/purchase_invoice/purchase_invoice.js +++ b/erpnext/accounts/doctype/purchase_invoice/purchase_invoice.js @@ -44,7 +44,7 @@ erpnext.accounts.PurchaseInvoice = erpnext.buying.BuyingController.extend({ cur_frm.add_custom_button(wn._('From Purchase Order'), function() { wn.model.map_current_doc({ - method: "buying.doctype.purchase_order.purchase_order.make_purchase_invoice", + method: "erpnext.buying.doctype.purchase_order.purchase_order.make_purchase_invoice", source_doctype: "Purchase Order", get_query_filters: { supplier: cur_frm.doc.supplier || undefined, @@ -59,7 +59,7 @@ erpnext.accounts.PurchaseInvoice = erpnext.buying.BuyingController.extend({ cur_frm.add_custom_button(wn._('From Purchase Receipt'), function() { wn.model.map_current_doc({ - method: "stock.doctype.purchase_receipt.purchase_receipt.make_purchase_invoice", + method: "erpnext.stock.doctype.purchase_receipt.purchase_receipt.make_purchase_invoice", source_doctype: "Purchase Receipt", get_query_filters: { supplier: cur_frm.doc.supplier || undefined, @@ -107,7 +107,7 @@ cur_frm.cscript.is_opening = function(doc, dt, dn) { cur_frm.cscript.make_bank_voucher = function() { return wn.call({ - method: "accounts.doctype.journal_voucher.journal_voucher.get_payment_entry_from_purchase_invoice", + method: "erpnext.accounts.doctype.journal_voucher.journal_voucher.get_payment_entry_from_purchase_invoice", args: { "purchase_invoice": cur_frm.doc.name, }, diff --git a/erpnext/accounts/doctype/purchase_invoice/purchase_invoice.py b/erpnext/accounts/doctype/purchase_invoice/purchase_invoice.py index 6c71fff5272..ddc68e75f14 100644 --- a/erpnext/accounts/doctype/purchase_invoice/purchase_invoice.py +++ b/erpnext/accounts/doctype/purchase_invoice/purchase_invoice.py @@ -8,12 +8,12 @@ from webnotes.utils import add_days, cint, cstr, flt, formatdate from webnotes.model.bean import getlist from webnotes.model.code import get_obj from webnotes import msgprint, _ -from setup.utils import get_company_currency +from erpnext.setup.utils import get_company_currency import webnotes.defaults -from controllers.buying_controller import BuyingController +from erpnext.controllers.buying_controller import BuyingController class DocType(BuyingController): def __init__(self,d,dl): self.doc, self.doclist = d, dl @@ -289,7 +289,7 @@ class DocType(BuyingController): lst.append(args) if lst: - from accounts.utils import reconcile_against_document + from erpnext.accounts.utils import reconcile_against_document reconcile_against_document(lst) def on_submit(self): @@ -425,11 +425,11 @@ class DocType(BuyingController): ) if gl_entries: - from accounts.general_ledger import make_gl_entries + from erpnext.accounts.general_ledger import make_gl_entries make_gl_entries(gl_entries, cancel=(self.doc.docstatus == 2)) def on_cancel(self): - from accounts.utils import remove_against_link_from_jv + from erpnext.accounts.utils import remove_against_link_from_jv remove_against_link_from_jv(self.doc.doctype, self.doc.name, "against_voucher") self.update_prevdoc_status() @@ -455,7 +455,7 @@ class DocType(BuyingController): @webnotes.whitelist() def get_expense_account(doctype, txt, searchfield, start, page_len, filters): - from controllers.queries import get_match_cond + from erpnext.controllers.queries import get_match_cond # expense account can be any Debit account, # but can also be a Liability account with account_type='Expense Account' in special circumstances. diff --git a/erpnext/accounts/doctype/purchase_invoice/test_purchase_invoice.py b/erpnext/accounts/doctype/purchase_invoice/test_purchase_invoice.py index 9d82ca78e96..8a8b4a7b6e3 100644 --- a/erpnext/accounts/doctype/purchase_invoice/test_purchase_invoice.py +++ b/erpnext/accounts/doctype/purchase_invoice/test_purchase_invoice.py @@ -9,7 +9,7 @@ import webnotes.model import json from webnotes.utils import cint import webnotes.defaults -from stock.doctype.purchase_receipt.test_purchase_receipt import set_perpetual_inventory +from erpnext.stock.doctype.purchase_receipt.test_purchase_receipt import set_perpetual_inventory test_dependencies = ["Item", "Cost Center"] test_ignore = ["Serial No"] @@ -171,7 +171,7 @@ class TestPurchaseInvoice(unittest.TestCase): self.assertEqual(tax.total, expected_values[i][2]) def test_purchase_invoice_with_advance(self): - from accounts.doctype.journal_voucher.test_journal_voucher \ + from erpnext.accounts.doctype.journal_voucher.test_journal_voucher \ import test_records as jv_test_records jv = webnotes.bean(copy=jv_test_records[1]) diff --git a/erpnext/accounts/doctype/sales_invoice/pos.js b/erpnext/accounts/doctype/sales_invoice/pos.js index adbdca1b633..c432765981a 100644 --- a/erpnext/accounts/doctype/sales_invoice/pos.js +++ b/erpnext/accounts/doctype/sales_invoice/pos.js @@ -199,7 +199,7 @@ erpnext.POS = Class.extend({ var me = this; me.item_timeout = null; wn.call({ - method: 'accounts.doctype.sales_invoice.pos.get_items', + method: 'erpnext.accounts.doctype.sales_invoice.pos.get_items', args: { sales_or_purchase: this.sales_or_purchase, price_list: this.price_list, @@ -450,7 +450,7 @@ erpnext.POS = Class.extend({ var me = this; me.barcode_timeout = null; wn.call({ - method: 'accounts.doctype.sales_invoice.pos.get_item_code', + method: 'erpnext.accounts.doctype.sales_invoice.pos.get_item_code', args: {barcode_serial_no: this.barcode.$input.val()}, callback: function(r) { if (r.message) { @@ -503,7 +503,7 @@ erpnext.POS = Class.extend({ msgprint(wn._("Payment cannot be made for empty cart")); else { wn.call({ - method: 'accounts.doctype.sales_invoice.pos.get_mode_of_payment', + method: 'erpnext.accounts.doctype.sales_invoice.pos.get_mode_of_payment', callback: function(r) { for (x=0; x<=r.message.length - 1; x++) { mode_of_payment.push(r.message[x].name); diff --git a/erpnext/accounts/doctype/sales_invoice/sales_invoice.js b/erpnext/accounts/doctype/sales_invoice/sales_invoice.js index 77840055786..1940c6e1c3a 100644 --- a/erpnext/accounts/doctype/sales_invoice/sales_invoice.js +++ b/erpnext/accounts/doctype/sales_invoice/sales_invoice.js @@ -90,7 +90,7 @@ erpnext.accounts.SalesInvoiceController = erpnext.selling.SellingController.exte this.$sales_order_btn = cur_frm.appframe.add_primary_action(wn._('From Sales Order'), function() { wn.model.map_current_doc({ - method: "selling.doctype.sales_order.sales_order.make_sales_invoice", + method: "erpnext.selling.doctype.sales_order.sales_order.make_sales_invoice", source_doctype: "Sales Order", get_query_filters: { docstatus: 1, @@ -107,7 +107,7 @@ erpnext.accounts.SalesInvoiceController = erpnext.selling.SellingController.exte this.$delivery_note_btn = cur_frm.appframe.add_primary_action(wn._('From Delivery Note'), function() { wn.model.map_current_doc({ - method: "stock.doctype.delivery_note.delivery_note.make_sales_invoice", + method: "erpnext.stock.doctype.delivery_note.delivery_note.make_sales_invoice", source_doctype: "Delivery Note", get_query: function() { var filters = { @@ -258,14 +258,14 @@ cur_frm.cscript.is_opening = function(doc, dt, dn) { cur_frm.cscript['Make Delivery Note'] = function() { wn.model.open_mapped_doc({ - method: "accounts.doctype.sales_invoice.sales_invoice.make_delivery_note", + method: "erpnext.accounts.doctype.sales_invoice.sales_invoice.make_delivery_note", source_name: cur_frm.doc.name }) } cur_frm.cscript.make_bank_voucher = function() { return wn.call({ - method: "accounts.doctype.journal_voucher.journal_voucher.get_payment_entry_from_sales_invoice", + method: "erpnext.accounts.doctype.journal_voucher.journal_voucher.get_payment_entry_from_sales_invoice", args: { "sales_invoice": cur_frm.doc.name }, diff --git a/erpnext/accounts/doctype/sales_invoice/sales_invoice.py b/erpnext/accounts/doctype/sales_invoice/sales_invoice.py index b1834d5a5a0..d5b4c51f448 100644 --- a/erpnext/accounts/doctype/sales_invoice/sales_invoice.py +++ b/erpnext/accounts/doctype/sales_invoice/sales_invoice.py @@ -17,7 +17,7 @@ from webnotes import _, msgprint month_map = {'Monthly': 1, 'Quarterly': 3, 'Half-yearly': 6, 'Yearly': 12} -from controllers.selling_controller import SellingController +from erpnext.controllers.selling_controller import SellingController class DocType(SellingController): def __init__(self,d,dl): @@ -109,7 +109,7 @@ class DocType(SellingController): self.check_stop_sales_order("sales_order") - from accounts.utils import remove_against_link_from_jv + from erpnext.accounts.utils import remove_against_link_from_jv remove_against_link_from_jv(self.doc.doctype, self.doc.name, "against_invoice") self.update_status_updater_args() @@ -184,7 +184,7 @@ class DocType(SellingController): if cint(self.doc.is_pos) != 1: return - from selling.utils import get_pos_settings, apply_pos_settings + from erpnext.selling.utils import get_pos_settings, apply_pos_settings pos = get_pos_settings(self.doc.company) if pos: @@ -285,7 +285,7 @@ class DocType(SellingController): lst.append(args) if lst: - from accounts.utils import reconcile_against_document + from erpnext.accounts.utils import reconcile_against_document reconcile_against_document(lst) def validate_customer_account(self): @@ -464,7 +464,7 @@ class DocType(SellingController): if not d.warehouse: d.warehouse = cstr(w) - from stock.doctype.packed_item.packed_item import make_packing_list + from erpnext.stock.doctype.packed_item.packed_item import make_packing_list make_packing_list(self, 'entries') else: self.doclist = self.doc.clear_table(self.doclist, 'packing_details') @@ -511,7 +511,7 @@ class DocType(SellingController): gl_entries = self.get_gl_entries() if gl_entries: - from accounts.general_ledger import make_gl_entries + from erpnext.accounts.general_ledger import make_gl_entries update_outstanding = cint(self.doc.is_pos) and self.doc.write_off_account \ and 'No' or 'Yes' @@ -523,7 +523,7 @@ class DocType(SellingController): self.update_gl_entries_after() def get_gl_entries(self, warehouse_account=None): - from accounts.general_ledger import merge_similar_entries + from erpnext.accounts.general_ledger import merge_similar_entries gl_entries = [] @@ -749,7 +749,7 @@ def manage_recurring_invoices(next_date=None, commit=True): def make_new_invoice(ref_wrapper, posting_date): from webnotes.model.bean import clone - from accounts.utils import get_fiscal_year + from erpnext.accounts.utils import get_fiscal_year new_invoice = clone(ref_wrapper) mcount = month_map[ref_wrapper.doc.recurring_type] @@ -903,7 +903,7 @@ def get_bank_cash_account(mode_of_payment): @webnotes.whitelist() def get_income_account(doctype, txt, searchfield, start, page_len, filters): - from controllers.queries import get_match_cond + from erpnext.controllers.queries import get_match_cond # income account can be any Credit account, # but can also be a Asset account with account_type='Income Account' in special circumstances. diff --git a/erpnext/accounts/doctype/sales_invoice/templates/pages/invoice.py b/erpnext/accounts/doctype/sales_invoice/templates/pages/invoice.py index 89789d39599..2002d14fe40 100644 --- a/erpnext/accounts/doctype/sales_invoice/templates/pages/invoice.py +++ b/erpnext/accounts/doctype/sales_invoice/templates/pages/invoice.py @@ -9,7 +9,7 @@ from webnotes.utils import flt, fmt_money no_cache = True def get_context(): - from portal.utils import get_transaction_context + from erpnext.portal.utils import get_transaction_context context = get_transaction_context("Sales Invoice", webnotes.form_dict.name) modify_status(context.get("doc")) context.update({ diff --git a/erpnext/accounts/doctype/sales_invoice/templates/pages/invoices.py b/erpnext/accounts/doctype/sales_invoice/templates/pages/invoices.py index 871e37de9ab..7c2e4ed9fc7 100644 --- a/erpnext/accounts/doctype/sales_invoice/templates/pages/invoices.py +++ b/erpnext/accounts/doctype/sales_invoice/templates/pages/invoices.py @@ -7,7 +7,7 @@ import webnotes no_cache = True def get_context(): - from portal.utils import get_currency_context + from erpnext.portal.utils import get_currency_context context = get_currency_context() context.update({ "title": "Invoices", @@ -20,8 +20,8 @@ def get_context(): @webnotes.whitelist() def get_invoices(start=0): - from portal.utils import get_transaction_list - from accounts.doctype.sales_invoice.templates.pages.invoice import modify_status + from erpnext.portal.utils import get_transaction_list + from erpnext.accounts.doctype.sales_invoice.templates.pages.invoice import modify_status invoices = get_transaction_list("Sales Invoice", start, ["outstanding_amount"]) for d in invoices: modify_status(d) diff --git a/erpnext/accounts/doctype/sales_invoice/test_sales_invoice.py b/erpnext/accounts/doctype/sales_invoice/test_sales_invoice.py index 9b740d1061b..478ed3c4faa 100644 --- a/erpnext/accounts/doctype/sales_invoice/test_sales_invoice.py +++ b/erpnext/accounts/doctype/sales_invoice/test_sales_invoice.py @@ -5,8 +5,8 @@ import webnotes import unittest, json from webnotes.utils import flt from webnotes.model.bean import DocstatusTransitionError, TimestampMismatchError -from accounts.utils import get_stock_and_account_difference -from stock.doctype.purchase_receipt.test_purchase_receipt import set_perpetual_inventory +from erpnext.accounts.utils import get_stock_and_account_difference +from erpnext.stock.doctype.purchase_receipt.test_purchase_receipt import set_perpetual_inventory class TestSalesInvoice(unittest.TestCase): def make(self): @@ -262,7 +262,7 @@ class TestSalesInvoice(unittest.TestCase): webnotes.conn.sql("""delete from `tabGL Entry`""") w = self.make() - from accounts.doctype.journal_voucher.test_journal_voucher \ + from erpnext.accounts.doctype.journal_voucher.test_journal_voucher \ import test_records as jv_test_records jv = webnotes.bean(webnotes.copy_doclist(jv_test_records[0])) @@ -399,7 +399,7 @@ class TestSalesInvoice(unittest.TestCase): webnotes.delete_doc("Account", "_Test Warehouse No Account - _TC") # insert purchase receipt - from stock.doctype.purchase_receipt.test_purchase_receipt import test_records \ + from erpnext.stock.doctype.purchase_receipt.test_purchase_receipt import test_records \ as pr_test_records pr = webnotes.bean(copy=pr_test_records[0]) pr.doc.naming_series = "_T-Purchase Receipt-" @@ -505,7 +505,7 @@ class TestSalesInvoice(unittest.TestCase): set_perpetual_inventory(0) def _insert_purchase_receipt(self): - from stock.doctype.purchase_receipt.test_purchase_receipt import test_records \ + from erpnext.stock.doctype.purchase_receipt.test_purchase_receipt import test_records \ as pr_test_records pr = webnotes.bean(copy=pr_test_records[0]) pr.doc.naming_series = "_T-Purchase Receipt-" @@ -514,7 +514,7 @@ class TestSalesInvoice(unittest.TestCase): pr.submit() def _insert_delivery_note(self): - from stock.doctype.delivery_note.test_delivery_note import test_records \ + from erpnext.stock.doctype.delivery_note.test_delivery_note import test_records \ as dn_test_records dn = webnotes.bean(copy=dn_test_records[0]) dn.doc.naming_series = "_T-Delivery Note-" @@ -523,7 +523,7 @@ class TestSalesInvoice(unittest.TestCase): return dn def _insert_pos_settings(self): - from accounts.doctype.pos_setting.test_pos_setting \ + from erpnext.accounts.doctype.pos_setting.test_pos_setting \ import test_records as pos_setting_test_records webnotes.conn.sql("""delete from `tabPOS Setting`""") @@ -531,7 +531,7 @@ class TestSalesInvoice(unittest.TestCase): ps.insert() def test_sales_invoice_with_advance(self): - from accounts.doctype.journal_voucher.test_journal_voucher \ + from erpnext.accounts.doctype.journal_voucher.test_journal_voucher \ import test_records as jv_test_records jv = webnotes.bean(copy=jv_test_records[0]) @@ -654,7 +654,7 @@ class TestSalesInvoice(unittest.TestCase): def _test_recurring_invoice(self, base_si, first_and_last_day): from webnotes.utils import add_months, get_last_day - from accounts.doctype.sales_invoice.sales_invoice import manage_recurring_invoices + from erpnext.accounts.doctype.sales_invoice.sales_invoice import manage_recurring_invoices no_of_months = ({"Monthly": 1, "Quarterly": 3, "Yearly": 12})[base_si.doc.recurring_type] @@ -706,8 +706,8 @@ class TestSalesInvoice(unittest.TestCase): webnotes.conn.sql("delete from `tabGL Entry`") def test_serialized(self): - from stock.doctype.stock_entry.test_stock_entry import make_serialized_item - from stock.doctype.serial_no.serial_no import get_serial_nos + from erpnext.stock.doctype.stock_entry.test_stock_entry import make_serialized_item + from erpnext.stock.doctype.serial_no.serial_no import get_serial_nos se = make_serialized_item() serial_nos = get_serial_nos(se.doclist[1].serial_no) @@ -728,7 +728,7 @@ class TestSalesInvoice(unittest.TestCase): return si def test_serialized_cancel(self): - from stock.doctype.serial_no.serial_no import get_serial_nos + from erpnext.stock.doctype.serial_no.serial_no import get_serial_nos si = self.test_serialized() si.cancel() @@ -740,8 +740,8 @@ class TestSalesInvoice(unittest.TestCase): "delivery_document_no")) def test_serialize_status(self): - from stock.doctype.serial_no.serial_no import SerialNoStatusError, get_serial_nos - from stock.doctype.stock_entry.test_stock_entry import make_serialized_item + from erpnext.stock.doctype.serial_no.serial_no import SerialNoStatusError, get_serial_nos + from erpnext.stock.doctype.stock_entry.test_stock_entry import make_serialized_item se = make_serialized_item() serial_nos = get_serial_nos(se.doclist[1].serial_no) diff --git a/erpnext/accounts/doctype/shipping_rule/shipping_rule.py b/erpnext/accounts/doctype/shipping_rule/shipping_rule.py index dd4db5fb759..5c084f3c60d 100644 --- a/erpnext/accounts/doctype/shipping_rule/shipping_rule.py +++ b/erpnext/accounts/doctype/shipping_rule/shipping_rule.py @@ -8,7 +8,7 @@ import webnotes from webnotes import _, msgprint from webnotes.utils import flt, fmt_money from webnotes.model.controller import DocListController -from setup.utils import get_company_currency +from erpnext.setup.utils import get_company_currency class OverlappingConditionError(webnotes.ValidationError): pass class FromGreaterThanToError(webnotes.ValidationError): pass diff --git a/erpnext/accounts/doctype/shipping_rule/test_shipping_rule.py b/erpnext/accounts/doctype/shipping_rule/test_shipping_rule.py index 8bac02be97e..6bf6bd386e3 100644 --- a/erpnext/accounts/doctype/shipping_rule/test_shipping_rule.py +++ b/erpnext/accounts/doctype/shipping_rule/test_shipping_rule.py @@ -3,7 +3,7 @@ import webnotes import unittest -from accounts.doctype.shipping_rule.shipping_rule import FromGreaterThanToError, ManyBlankToValuesError, OverlappingConditionError +from erpnext.accounts.doctype.shipping_rule.shipping_rule import FromGreaterThanToError, ManyBlankToValuesError, OverlappingConditionError class TestShippingRule(unittest.TestCase): def test_from_greater_than_to(self): diff --git a/erpnext/accounts/general_ledger.py b/erpnext/accounts/general_ledger.py index 87814b128f1..b638e6cc7bf 100644 --- a/erpnext/accounts/general_ledger.py +++ b/erpnext/accounts/general_ledger.py @@ -5,7 +5,7 @@ from __future__ import unicode_literals import webnotes from webnotes.utils import flt, cstr from webnotes import _ -from accounts.utils import validate_expense_against_budget +from erpnext.accounts.utils import validate_expense_against_budget class StockAccountInvalidTransaction(webnotes.ValidationError): pass @@ -107,7 +107,7 @@ def validate_account_for_auto_accounting_for_stock(gl_map): def delete_gl_entries(gl_entries=None, voucher_type=None, voucher_no=None, adv_adj=False, update_outstanding="Yes"): - from accounts.doctype.gl_entry.gl_entry import check_negative_balance, \ + from erpnext.accounts.doctype.gl_entry.gl_entry import check_negative_balance, \ check_freezing_date, update_outstanding_amt, validate_frozen_account if not gl_entries: diff --git a/erpnext/accounts/page/accounts_browser/accounts_browser.js b/erpnext/accounts/page/accounts_browser/accounts_browser.js index d57073a0728..4623fdddb43 100644 --- a/erpnext/accounts/page/accounts_browser/accounts_browser.js +++ b/erpnext/accounts/page/accounts_browser/accounts_browser.js @@ -63,7 +63,7 @@ pscript['onload_Accounts Browser'] = function(wrapper){ // load up companies return wn.call({ - method:'accounts.page.accounts_browser.accounts_browser.get_companies', + method: 'erpnext.accounts.page.accounts_browser.accounts_browser.get_companies', callback: function(r) { wrapper.$company_select.empty(); $.each(r.message, function(i, v) { @@ -108,7 +108,7 @@ erpnext.AccountsChart = Class.extend({ parent: $(wrapper), label: ctype==="Account" ? "Accounts" : "Cost Centers", args: {ctype: ctype, comp: company}, - method: 'accounts.page.accounts_browser.accounts_browser.get_children', + method: 'erpnext.accounts.page.accounts_browser.accounts_browser.get_children', click: function(link) { if(me.cur_toolbar) $(me.cur_toolbar).toggle(false); @@ -261,7 +261,7 @@ erpnext.AccountsChart = Class.extend({ return wn.call({ args: v, - method:'accounts.utils.add_ac', + method: 'erpnext.accounts.utils.add_ac', callback: function(r) { $(btn).done_working(); d.hide(); @@ -308,7 +308,7 @@ erpnext.AccountsChart = Class.extend({ return wn.call({ args: v, - method:'accounts.utils.add_cc', + method: 'erpnext.accounts.utils.add_cc', callback: function(r) { $(btn).done_working(); d.hide(); diff --git a/erpnext/accounts/page/accounts_browser/accounts_browser.py b/erpnext/accounts/page/accounts_browser/accounts_browser.py index 68a53b2923a..6dfbf4afe3c 100644 --- a/erpnext/accounts/page/accounts_browser/accounts_browser.py +++ b/erpnext/accounts/page/accounts_browser/accounts_browser.py @@ -5,7 +5,7 @@ from __future__ import unicode_literals import webnotes import webnotes.defaults from webnotes.utils import flt -from accounts.utils import get_balance_on +from erpnext.accounts.utils import get_balance_on @webnotes.whitelist() def get_companies(): diff --git a/erpnext/accounts/report/accounts_payable/accounts_payable.py b/erpnext/accounts/report/accounts_payable/accounts_payable.py index e5489d100f8..bb02ab250af 100644 --- a/erpnext/accounts/report/accounts_payable/accounts_payable.py +++ b/erpnext/accounts/report/accounts_payable/accounts_payable.py @@ -5,7 +5,7 @@ from __future__ import unicode_literals import webnotes from webnotes.utils import getdate, nowdate, flt, cstr from webnotes import msgprint, _ -from accounts.report.accounts_receivable.accounts_receivable import get_ageing_data +from erpnext.accounts.report.accounts_receivable.accounts_receivable import get_ageing_data def execute(filters=None): if not filters: filters = {} diff --git a/erpnext/accounts/report/bank_reconciliation_statement/bank_reconciliation_statement.py b/erpnext/accounts/report/bank_reconciliation_statement/bank_reconciliation_statement.py index 431a6496d2c..f2a1edda52e 100644 --- a/erpnext/accounts/report/bank_reconciliation_statement/bank_reconciliation_statement.py +++ b/erpnext/accounts/report/bank_reconciliation_statement/bank_reconciliation_statement.py @@ -12,7 +12,7 @@ def execute(filters=None): columns = get_columns() data = get_entries(filters) - from accounts.utils import get_balance_on + from erpnext.accounts.utils import get_balance_on balance_as_per_company = get_balance_on(filters["account"], filters["report_date"]) total_debit, total_credit = 0,0 diff --git a/erpnext/accounts/report/budget_variance_report/budget_variance_report.py b/erpnext/accounts/report/budget_variance_report/budget_variance_report.py index a5860c83bd3..8d164f8c64a 100644 --- a/erpnext/accounts/report/budget_variance_report/budget_variance_report.py +++ b/erpnext/accounts/report/budget_variance_report/budget_variance_report.py @@ -6,8 +6,8 @@ import webnotes from webnotes import _, msgprint from webnotes.utils import flt import time -from accounts.utils import get_fiscal_year -from controllers.trends import get_period_date_ranges, get_period_month_ranges +from erpnext.accounts.utils import get_fiscal_year +from erpnext.controllers.trends import get_period_date_ranges, get_period_month_ranges def execute(filters=None): if not filters: filters = {} diff --git a/erpnext/accounts/report/gross_profit/gross_profit.py b/erpnext/accounts/report/gross_profit/gross_profit.py index 8e730620495..4f7a1e4c6fc 100644 --- a/erpnext/accounts/report/gross_profit/gross_profit.py +++ b/erpnext/accounts/report/gross_profit/gross_profit.py @@ -4,7 +4,7 @@ from __future__ import unicode_literals import webnotes from webnotes.utils import flt -from stock.utils import get_buying_amount, get_sales_bom_buying_amount +from erpnext.stock.utils import get_buying_amount, get_sales_bom_buying_amount def execute(filters=None): if not filters: filters = {} diff --git a/erpnext/accounts/report/payment_period_based_on_invoice_date/payment_period_based_on_invoice_date.py b/erpnext/accounts/report/payment_period_based_on_invoice_date/payment_period_based_on_invoice_date.py index 127336005a9..4662462a4e3 100644 --- a/erpnext/accounts/report/payment_period_based_on_invoice_date/payment_period_based_on_invoice_date.py +++ b/erpnext/accounts/report/payment_period_based_on_invoice_date/payment_period_based_on_invoice_date.py @@ -4,7 +4,7 @@ from __future__ import unicode_literals import webnotes from webnotes import msgprint, _ -from accounts.report.accounts_receivable.accounts_receivable import get_ageing_data +from erpnext.accounts.report.accounts_receivable.accounts_receivable import get_ageing_data def execute(filters=None): if not filters: filters = {} diff --git a/erpnext/accounts/report/purchase_invoice_trends/purchase_invoice_trends.py b/erpnext/accounts/report/purchase_invoice_trends/purchase_invoice_trends.py index 4c38bed863b..458761884e5 100644 --- a/erpnext/accounts/report/purchase_invoice_trends/purchase_invoice_trends.py +++ b/erpnext/accounts/report/purchase_invoice_trends/purchase_invoice_trends.py @@ -3,7 +3,7 @@ from __future__ import unicode_literals import webnotes -from controllers.trends import get_columns,get_data +from erpnext.controllers.trends import get_columns,get_data def execute(filters=None): if not filters: filters ={} diff --git a/erpnext/accounts/report/sales_invoice_trends/sales_invoice_trends.py b/erpnext/accounts/report/sales_invoice_trends/sales_invoice_trends.py index 70c61d7206a..da7062319a9 100644 --- a/erpnext/accounts/report/sales_invoice_trends/sales_invoice_trends.py +++ b/erpnext/accounts/report/sales_invoice_trends/sales_invoice_trends.py @@ -3,7 +3,7 @@ from __future__ import unicode_literals import webnotes -from controllers.trends import get_columns,get_data +from erpnext.controllers.trends import get_columns,get_data def execute(filters=None): if not filters: filters ={} diff --git a/erpnext/accounts/utils.py b/erpnext/accounts/utils.py index caad793ca18..2b7c06fd8f9 100644 --- a/erpnext/accounts/utils.py +++ b/erpnext/accounts/utils.py @@ -8,7 +8,7 @@ from webnotes.utils import nowdate, nowtime, cstr, flt, now, getdate, add_months from webnotes.model.doc import addchild from webnotes import msgprint, _ from webnotes.utils import formatdate -from utilities import build_filter_conditions +from erpnext.utilities import build_filter_conditions class FiscalYearError(webnotes.ValidationError): pass @@ -260,7 +260,7 @@ def fix_total_debit_credit(): (d.diff, d.voucher_type, d.voucher_no)) def get_stock_and_account_difference(account_list=None, posting_date=None): - from stock.utils import get_stock_balance_on + from erpnext.stock.utils import get_stock_balance_on if not posting_date: posting_date = nowdate() diff --git a/erpnext/buying/doctype/buying_settings/buying_settings.py b/erpnext/buying/doctype/buying_settings/buying_settings.py index 53e44795784..25d0f7238da 100644 --- a/erpnext/buying/doctype/buying_settings/buying_settings.py +++ b/erpnext/buying/doctype/buying_settings/buying_settings.py @@ -14,6 +14,6 @@ class DocType: for key in ["supplier_type", "supp_master_name", "maintain_same_rate", "buying_price_list"]: webnotes.conn.set_default(key, self.doc.fields.get(key, "")) - from setup.doctype.naming_series.naming_series import set_by_naming_series + from erpnext.setup.doctype.naming_series.naming_series import set_by_naming_series set_by_naming_series("Supplier", "supplier_name", self.doc.get("supp_master_name")=="Naming Series", hide_name_field=False) diff --git a/erpnext/buying/doctype/purchase_common/purchase_common.js b/erpnext/buying/doctype/purchase_common/purchase_common.js index 9661f6edafe..86b252d8d94 100644 --- a/erpnext/buying/doctype/purchase_common/purchase_common.js +++ b/erpnext/buying/doctype/purchase_common/purchase_common.js @@ -112,7 +112,7 @@ erpnext.buying.BuyingController = erpnext.TransactionController.extend({ cur_frm.fields_dict[me.frm.cscript.fname].grid.grid_rows[item.idx - 1].remove(); } else { return this.frm.call({ - method: "buying.utils.get_item_details", + method: "erpnext.buying.utils.get_item_details", child: item, args: { args: { @@ -178,7 +178,7 @@ erpnext.buying.BuyingController = erpnext.TransactionController.extend({ var item = wn.model.get_doc(cdt, cdn); if(item.item_code && item.uom) { return this.frm.call({ - method: "buying.utils.get_conversion_factor", + method: "erpnext.buying.utils.get_conversion_factor", child: item, args: { item_code: item.item_code, @@ -211,7 +211,7 @@ erpnext.buying.BuyingController = erpnext.TransactionController.extend({ var item = wn.model.get_doc(cdt, cdn); if(item.item_code && item.warehouse) { return this.frm.call({ - method: "buying.utils.get_projected_qty", + method: "erpnext.buying.utils.get_projected_qty", child: item, args: { item_code: item.item_code, diff --git a/erpnext/buying/doctype/purchase_common/purchase_common.py b/erpnext/buying/doctype/purchase_common/purchase_common.py index c265874992c..b2e59b0b081 100644 --- a/erpnext/buying/doctype/purchase_common/purchase_common.py +++ b/erpnext/buying/doctype/purchase_common/purchase_common.py @@ -8,10 +8,10 @@ from webnotes.utils import cstr, flt from webnotes.model.utils import getlist from webnotes import msgprint, _ -from buying.utils import get_last_purchase_details +from erpnext.buying.utils import get_last_purchase_details -from controllers.buying_controller import BuyingController +from erpnext.controllers.buying_controller import BuyingController class DocType(BuyingController): def __init__(self, doc, doclist=None): self.doc = doc @@ -94,7 +94,7 @@ class DocType(BuyingController): if not item: msgprint("Item %s does not exist in Item Master." % cstr(d.item_code), raise_exception=True) - from stock.utils import validate_end_of_life + from erpnext.stock.utils import validate_end_of_life validate_end_of_life(d.item_code, item[0][3]) # validate stock item diff --git a/erpnext/buying/doctype/purchase_order/purchase_order.js b/erpnext/buying/doctype/purchase_order/purchase_order.js index dad2864ab24..7db00359e50 100644 --- a/erpnext/buying/doctype/purchase_order/purchase_order.js +++ b/erpnext/buying/doctype/purchase_order/purchase_order.js @@ -42,14 +42,14 @@ erpnext.buying.PurchaseOrderController = erpnext.buying.BuyingController.extend( make_purchase_receipt: function() { wn.model.open_mapped_doc({ - method: "buying.doctype.purchase_order.purchase_order.make_purchase_receipt", + method: "erpnext.buying.doctype.purchase_order.purchase_order.make_purchase_receipt", source_name: cur_frm.doc.name }) }, make_purchase_invoice: function() { wn.model.open_mapped_doc({ - method: "buying.doctype.purchase_order.purchase_order.make_purchase_invoice", + method: "erpnext.buying.doctype.purchase_order.purchase_order.make_purchase_invoice", source_name: cur_frm.doc.name }) }, @@ -58,7 +58,7 @@ erpnext.buying.PurchaseOrderController = erpnext.buying.BuyingController.extend( cur_frm.add_custom_button(wn._('From Material Request'), function() { wn.model.map_current_doc({ - method: "stock.doctype.material_request.material_request.make_purchase_order", + method: "erpnext.stock.doctype.material_request.material_request.make_purchase_order", source_doctype: "Material Request", get_query_filters: { material_request_type: "Purchase", @@ -74,7 +74,7 @@ erpnext.buying.PurchaseOrderController = erpnext.buying.BuyingController.extend( cur_frm.add_custom_button(wn._('From Supplier Quotation'), function() { wn.model.map_current_doc({ - method: "buying.doctype.supplier_quotation.supplier_quotation.make_purchase_order", + method: "erpnext.buying.doctype.supplier_quotation.supplier_quotation.make_purchase_order", source_doctype: "Supplier Quotation", get_query_filters: { docstatus: 1, @@ -88,7 +88,7 @@ erpnext.buying.PurchaseOrderController = erpnext.buying.BuyingController.extend( cur_frm.add_custom_button(wn._('For Supplier'), function() { wn.model.map_current_doc({ - method: "stock.doctype.material_request.material_request.make_purchase_order_based_on_supplier", + method: "erpnext.stock.doctype.material_request.material_request.make_purchase_order_based_on_supplier", source_doctype: "Supplier", get_query_filters: { docstatus: ["!=", 2], diff --git a/erpnext/buying/doctype/purchase_order/purchase_order.py b/erpnext/buying/doctype/purchase_order/purchase_order.py index 33d8b482348..ebfda853660 100644 --- a/erpnext/buying/doctype/purchase_order/purchase_order.py +++ b/erpnext/buying/doctype/purchase_order/purchase_order.py @@ -10,7 +10,7 @@ from webnotes.model.code import get_obj from webnotes import msgprint -from controllers.buying_controller import BuyingController +from erpnext.controllers.buying_controller import BuyingController class DocType(BuyingController): def __init__(self, doc, doclist=[]): self.doc = doc @@ -35,8 +35,8 @@ class DocType(BuyingController): if not self.doc.status: self.doc.status = "Draft" - import utilities - utilities.validate_status(self.doc.status, ["Draft", "Submitted", "Stopped", + from erpnext.utilities import validate_status + validate_status(self.doc.status, ["Draft", "Submitted", "Stopped", "Cancelled"]) pc_obj = get_obj(dt='Purchase Common') @@ -83,7 +83,7 @@ class DocType(BuyingController): def update_bin(self, is_submit, is_stopped = 0): - from stock.utils import update_bin + from erpnext.stock.utils import update_bin pc_obj = get_obj('Purchase Common') for d in getlist(self.doclist, 'po_details'): #1. Check if is_stock_item == 'Yes' diff --git a/erpnext/buying/doctype/purchase_order/test_purchase_order.py b/erpnext/buying/doctype/purchase_order/test_purchase_order.py index f6c435c6fb0..3659f6ddeee 100644 --- a/erpnext/buying/doctype/purchase_order/test_purchase_order.py +++ b/erpnext/buying/doctype/purchase_order/test_purchase_order.py @@ -10,7 +10,7 @@ from webnotes.utils import flt class TestPurchaseOrder(unittest.TestCase): def test_make_purchase_receipt(self): - from buying.doctype.purchase_order.purchase_order import make_purchase_receipt + from erpnext.buying.doctype.purchase_order.purchase_order import make_purchase_receipt po = webnotes.bean(copy=test_records[0]).insert() @@ -33,7 +33,7 @@ class TestPurchaseOrder(unittest.TestCase): def test_ordered_qty(self): webnotes.conn.sql("delete from tabBin") - from buying.doctype.purchase_order.purchase_order import make_purchase_receipt + from erpnext.buying.doctype.purchase_order.purchase_order import make_purchase_receipt po = webnotes.bean(copy=test_records[0]).insert() @@ -75,7 +75,7 @@ class TestPurchaseOrder(unittest.TestCase): "warehouse": "_Test Warehouse - _TC"}, "ordered_qty")), 0.0) def test_make_purchase_invocie(self): - from buying.doctype.purchase_order.purchase_order import make_purchase_invoice + from erpnext.buying.doctype.purchase_order.purchase_order import make_purchase_invoice po = webnotes.bean(copy=test_records[0]).insert() @@ -98,14 +98,14 @@ class TestPurchaseOrder(unittest.TestCase): self.assertEquals(len(po.doclist.get({"parentfield": "po_raw_material_details"})), 2) def test_warehouse_company_validation(self): - from stock.utils import InvalidWarehouseCompany + from erpnext.stock.utils import InvalidWarehouseCompany po = webnotes.bean(copy=test_records[0]) po.doc.company = "_Test Company 1" po.doc.conversion_rate = 0.0167 self.assertRaises(InvalidWarehouseCompany, po.insert) def test_uom_integer_validation(self): - from utilities.transaction_base import UOMMustBeIntegerError + from erpnext.utilities.transaction_base import UOMMustBeIntegerError po = webnotes.bean(copy=test_records[0]) po.doclist[1].qty = 3.4 self.assertRaises(UOMMustBeIntegerError, po.insert) diff --git a/erpnext/buying/doctype/supplier/supplier.js b/erpnext/buying/doctype/supplier/supplier.js index 061861643d9..aa8ea2a122b 100644 --- a/erpnext/buying/doctype/supplier/supplier.js +++ b/erpnext/buying/doctype/supplier/supplier.js @@ -38,7 +38,7 @@ cur_frm.cscript.make_dashboard = function(doc) { return wn.call({ type: "GET", - method:"buying.doctype.supplier.supplier.get_dashboard_info", + method: "erpnext.buying.doctype.supplier.supplier.get_dashboard_info", args: { supplier: cur_frm.doc.name }, diff --git a/erpnext/buying/doctype/supplier/supplier.py b/erpnext/buying/doctype/supplier/supplier.py index b2873c5661b..ace1d12247d 100644 --- a/erpnext/buying/doctype/supplier/supplier.py +++ b/erpnext/buying/doctype/supplier/supplier.py @@ -10,7 +10,7 @@ from webnotes import msgprint, _ from webnotes.model.doc import make_autoname -from utilities.transaction_base import TransactionBase +from erpnext.utilities.transaction_base import TransactionBase class DocType(TransactionBase): def __init__(self, doc, doclist=[]): @@ -149,7 +149,7 @@ class DocType(TransactionBase): self.delete_supplier_account() def before_rename(self, olddn, newdn, merge=False): - from accounts.utils import rename_account_for + from erpnext.accounts.utils import rename_account_for rename_account_for("Supplier", olddn, newdn, merge) def after_rename(self, olddn, newdn, merge=False): diff --git a/erpnext/buying/doctype/supplier_quotation/supplier_quotation.js b/erpnext/buying/doctype/supplier_quotation/supplier_quotation.js index 92bf7a1b0cb..597ad8655a3 100644 --- a/erpnext/buying/doctype/supplier_quotation/supplier_quotation.js +++ b/erpnext/buying/doctype/supplier_quotation/supplier_quotation.js @@ -22,7 +22,7 @@ erpnext.buying.SupplierQuotationController = erpnext.buying.BuyingController.ext cur_frm.add_custom_button(wn._('From Material Request'), function() { wn.model.map_current_doc({ - method: "stock.doctype.material_request.material_request.make_supplier_quotation", + method: "erpnext.stock.doctype.material_request.material_request.make_supplier_quotation", source_doctype: "Material Request", get_query_filters: { material_request_type: "Purchase", @@ -38,7 +38,7 @@ erpnext.buying.SupplierQuotationController = erpnext.buying.BuyingController.ext make_purchase_order: function() { wn.model.open_mapped_doc({ - method: "buying.doctype.supplier_quotation.supplier_quotation.make_purchase_order", + method: "erpnext.buying.doctype.supplier_quotation.supplier_quotation.make_purchase_order", source_name: cur_frm.doc.name }) } diff --git a/erpnext/buying/doctype/supplier_quotation/supplier_quotation.py b/erpnext/buying/doctype/supplier_quotation/supplier_quotation.py index dc564b93757..b4562e08320 100644 --- a/erpnext/buying/doctype/supplier_quotation/supplier_quotation.py +++ b/erpnext/buying/doctype/supplier_quotation/supplier_quotation.py @@ -5,7 +5,7 @@ from __future__ import unicode_literals import webnotes from webnotes.model.code import get_obj -from controllers.buying_controller import BuyingController +from erpnext.controllers.buying_controller import BuyingController class DocType(BuyingController): def __init__(self, doc, doclist=None): self.doc, self.doclist = doc, doclist or [] @@ -17,8 +17,8 @@ class DocType(BuyingController): if not self.doc.status: self.doc.status = "Draft" - import utilities - utilities.validate_status(self.doc.status, ["Draft", "Submitted", "Stopped", + from erpnext.utilities import validate_status + validate_status(self.doc.status, ["Draft", "Submitted", "Stopped", "Cancelled"]) self.validate_common() diff --git a/erpnext/buying/doctype/supplier_quotation/test_supplier_quotation.py b/erpnext/buying/doctype/supplier_quotation/test_supplier_quotation.py index 82ad42a702e..82444eae7c6 100644 --- a/erpnext/buying/doctype/supplier_quotation/test_supplier_quotation.py +++ b/erpnext/buying/doctype/supplier_quotation/test_supplier_quotation.py @@ -9,7 +9,7 @@ import webnotes.defaults class TestPurchaseOrder(unittest.TestCase): def test_make_purchase_order(self): - from buying.doctype.supplier_quotation.supplier_quotation import make_purchase_order + from erpnext.buying.doctype.supplier_quotation.supplier_quotation import make_purchase_order sq = webnotes.bean(copy=test_records[0]).insert() diff --git a/erpnext/buying/report/purchase_order_trends/purchase_order_trends.py b/erpnext/buying/report/purchase_order_trends/purchase_order_trends.py index df8d7cf0d5a..1ecdab29d81 100644 --- a/erpnext/buying/report/purchase_order_trends/purchase_order_trends.py +++ b/erpnext/buying/report/purchase_order_trends/purchase_order_trends.py @@ -3,7 +3,7 @@ from __future__ import unicode_literals import webnotes -from controllers.trends import get_columns,get_data +from erpnext.controllers.trends import get_columns,get_data def execute(filters=None): if not filters: filters ={} diff --git a/erpnext/buying/utils.py b/erpnext/buying/utils.py index 0d9c8fa8385..8a4ae3f304c 100644 --- a/erpnext/buying/utils.py +++ b/erpnext/buying/utils.py @@ -83,7 +83,7 @@ def _get_basic_details(args, item_bean): return out def _get_price_list_rate(args, item_bean, meta): - from utilities.transaction_base import validate_currency + from erpnext.utilities.transaction_base import validate_currency item = item_bean.doc out = webnotes._dict() @@ -117,7 +117,7 @@ def _get_supplier_part_no(args, item_bean): return item_supplier and item_supplier[0].supplier_part_no or None def _validate_item_details(args, item): - from utilities.transaction_base import validate_item_fetch + from erpnext.utilities.transaction_base import validate_item_fetch validate_item_fetch(args, item) # validate if purchase item or subcontracted item diff --git a/erpnext/controllers/accounts_controller.py b/erpnext/controllers/accounts_controller.py index 5388ee120a6..d48a7a6d171 100644 --- a/erpnext/controllers/accounts_controller.py +++ b/erpnext/controllers/accounts_controller.py @@ -6,9 +6,9 @@ import webnotes from webnotes import _, msgprint from webnotes.utils import flt, cint, today, cstr from webnotes.model.code import get_obj -from setup.utils import get_company_currency -from accounts.utils import get_fiscal_year, validate_fiscal_year -from utilities.transaction_base import TransactionBase, validate_conversion_rate +from erpnext.setup.utils import get_company_currency +from erpnext.accounts.utils import get_fiscal_year, validate_fiscal_year +from erpnext.utilities.transaction_base import TransactionBase, validate_conversion_rate import json class AccountsController(TransactionBase): @@ -403,7 +403,7 @@ class AccountsController(TransactionBase): raise_exception=1) def get_company_default(self, fieldname): - from accounts.utils import get_company_default + from erpnext.accounts.utils import get_company_default return get_company_default(self.doc.company, fieldname) def get_stock_items(self): diff --git a/erpnext/controllers/buying_controller.py b/erpnext/controllers/buying_controller.py index b52d51cf318..8da572a71c1 100644 --- a/erpnext/controllers/buying_controller.py +++ b/erpnext/controllers/buying_controller.py @@ -6,10 +6,10 @@ import webnotes from webnotes import _, msgprint from webnotes.utils import flt, _round -from buying.utils import get_item_details -from setup.utils import get_company_currency +from erpnext.buying.utils import get_item_details +from erpnext.setup.utils import get_company_currency -from controllers.stock_controller import StockController +from erpnext.controllers.stock_controller import StockController class BuyingController(StockController): def onload_post_render(self): @@ -50,7 +50,7 @@ class BuyingController(StockController): break def validate_warehouse(self): - from stock.utils import validate_warehouse_user, validate_warehouse_company + from erpnext.stock.utils import validate_warehouse_user, validate_warehouse_company warehouses = list(set([d.warehouse for d in self.doclist.get({"doctype": self.tname}) if d.warehouse])) diff --git a/erpnext/controllers/queries.py b/erpnext/controllers/queries.py index 9d64d16719f..535ca3b80a3 100644 --- a/erpnext/controllers/queries.py +++ b/erpnext/controllers/queries.py @@ -186,7 +186,7 @@ def get_delivery_notes_to_be_billed(doctype, txt, searchfield, start, page_len, }, { "start": start, "page_len": page_len, "txt": ("%%%s%%" % txt) }) def get_batch_no(doctype, txt, searchfield, start, page_len, filters): - from controllers.queries import get_match_cond + from erpnext.controllers.queries import get_match_cond if filters.has_key('warehouse'): return webnotes.conn.sql("""select batch_no from `tabStock Ledger Entry` sle diff --git a/erpnext/controllers/selling_controller.py b/erpnext/controllers/selling_controller.py index fd4ca409478..61db75641c8 100644 --- a/erpnext/controllers/selling_controller.py +++ b/erpnext/controllers/selling_controller.py @@ -4,11 +4,11 @@ from __future__ import unicode_literals import webnotes from webnotes.utils import cint, flt, comma_or, _round, cstr -from setup.utils import get_company_currency -from selling.utils import get_item_details +from erpnext.setup.utils import get_company_currency +from erpnext.selling.utils import get_item_details from webnotes import msgprint, _ -from controllers.stock_controller import StockController +from erpnext.controllers.stock_controller import StockController class SellingController(StockController): def onload_post_render(self): diff --git a/erpnext/controllers/stock_controller.py b/erpnext/controllers/stock_controller.py index 8a4a4029901..eff6491db39 100644 --- a/erpnext/controllers/stock_controller.py +++ b/erpnext/controllers/stock_controller.py @@ -7,8 +7,8 @@ from webnotes.utils import cint, flt, cstr from webnotes import msgprint, _ import webnotes.defaults -from controllers.accounts_controller import AccountsController -from accounts.general_ledger import make_gl_entries, delete_gl_entries +from erpnext.controllers.accounts_controller import AccountsController +from erpnext.accounts.general_ledger import make_gl_entries, delete_gl_entries class StockController(AccountsController): def make_gl_entries(self, update_gl_entries_after=True): @@ -27,7 +27,7 @@ class StockController(AccountsController): def get_gl_entries(self, warehouse_account=None, default_expense_account=None, default_cost_center=None): - from accounts.general_ledger import process_gl_map + from erpnext.accounts.general_ledger import process_gl_map if not warehouse_account: warehouse_account = self.get_warehouse_account() @@ -160,7 +160,7 @@ class StockController(AccountsController): where voucher_type=%s and voucher_no=%s""", (voucher_type, voucher_no)) def make_adjustment_entry(self, expected_gle, voucher_obj): - from accounts.utils import get_stock_and_account_difference + from erpnext.accounts.utils import get_stock_and_account_difference account_list = [d.account for d in expected_gle] acc_diff = get_stock_and_account_difference(account_list, expected_gle[0].posting_date) @@ -190,7 +190,7 @@ class StockController(AccountsController): ]) if gl_entries: - from accounts.general_ledger import make_gl_entries + from erpnext.accounts.general_ledger import make_gl_entries make_gl_entries(gl_entries) def check_expense_account(self, item): @@ -226,7 +226,7 @@ class StockController(AccountsController): return sl_dict def make_sl_entries(self, sl_entries, is_amended=None): - from stock.stock_ledger import make_sl_entries + from erpnext.stock.stock_ledger import make_sl_entries make_sl_entries(sl_entries, is_amended) def get_stock_ledger_entries(self, item_list=None, warehouse_list=None): diff --git a/erpnext/home/page/activity/activity.js b/erpnext/home/page/activity/activity.js index c4b0cf3073c..91b8184ab0d 100644 --- a/erpnext/home/page/activity/activity.js +++ b/erpnext/home/page/activity/activity.js @@ -12,7 +12,7 @@ wn.pages['activity'].onload = function(wrapper) { var list = new wn.ui.Listing({ hide_refresh: true, appframe: wrapper.appframe, - method: 'home.page.activity.activity.get_feed', + method: 'erpnext.home.page.activity.activity.get_feed', parent: $(wrapper).find(".layout-main"), render_row: function(row, data) { new erpnext.ActivityFeed(row, data); diff --git a/erpnext/home/page/latest_updates/latest_updates.js b/erpnext/home/page/latest_updates/latest_updates.js index 80ba85e6a05..06c34efa082 100644 --- a/erpnext/home/page/latest_updates/latest_updates.js +++ b/erpnext/home/page/latest_updates/latest_updates.js @@ -13,7 +13,7 @@ wn.pages['latest-updates'].onload = function(wrapper) {
') return wn.call({ - method:"home.page.latest_updates.latest_updates.get", + method: "erpnext.home.page.latest_updates.latest_updates.get", callback: function(r) { parent.empty(); $("

"+wn._("Report issues at")+ diff --git a/erpnext/hr/doctype/appraisal/appraisal.js b/erpnext/hr/doctype/appraisal/appraisal.js index fd2856cc22a..e3626b0f48a 100644 --- a/erpnext/hr/doctype/appraisal/appraisal.js +++ b/erpnext/hr/doctype/appraisal/appraisal.js @@ -25,7 +25,7 @@ cur_frm.cscript.refresh = function(doc,cdt,cdn){ cur_frm.cscript.kra_template = function(doc, dt, dn) { wn.model.map_current_doc({ - method: "hr.doctype.appraisal.appraisal.fetch_appraisal_template", + method: "erpnext.hr.doctype.appraisal.appraisal.fetch_appraisal_template", source_name: cur_frm.doc.kra_template, }); } diff --git a/erpnext/hr/doctype/attendance/attendance.py b/erpnext/hr/doctype/attendance/attendance.py index 3abc1ae7e4c..10d42227b95 100644 --- a/erpnext/hr/doctype/attendance/attendance.py +++ b/erpnext/hr/doctype/attendance/attendance.py @@ -33,7 +33,7 @@ class DocType: raise_exception=1) def validate_fiscal_year(self): - from accounts.utils import validate_fiscal_year + from erpnext.accounts.utils import validate_fiscal_year validate_fiscal_year(self.doc.att_date, self.doc.fiscal_year) def validate_att_date(self): @@ -48,8 +48,8 @@ class DocType: _(" not active or does not exists in the system"), raise_exception=1) def validate(self): - import utilities - utilities.validate_status(self.doc.status, ["Present", "Absent", "Half Day"]) + from erpnext.utilities import validate_status + validate_status(self.doc.status, ["Present", "Absent", "Half Day"]) self.validate_fiscal_year() self.validate_att_date() self.validate_duplicate_record() diff --git a/erpnext/hr/doctype/employee/employee.js b/erpnext/hr/doctype/employee/employee.js index 08cadbdc702..55be5260617 100644 --- a/erpnext/hr/doctype/employee/employee.js +++ b/erpnext/hr/doctype/employee/employee.js @@ -29,7 +29,7 @@ erpnext.hr.EmployeeController = wn.ui.form.Controller.extend({ setup_leave_approver_select: function() { var me = this; return this.frm.call({ - method:"hr.utils.get_leave_approver_list", + method: "erpnext.hr.utils.get_leave_approver_list", callback: function(r) { var df = wn.meta.get_docfield("Employee Leave Approver", "leave_approver", me.frm.doc.name); diff --git a/erpnext/hr/doctype/employee/employee.py b/erpnext/hr/doctype/employee/employee.py index 71297393226..c185963b724 100644 --- a/erpnext/hr/doctype/employee/employee.py +++ b/erpnext/hr/doctype/employee/employee.py @@ -27,8 +27,8 @@ class DocType: self.doc.employee = self.doc.name def validate(self): - import utilities - utilities.validate_status(self.doc.status, ["Active", "Left"]) + from erpnext.utilities import validate_status + validate_status(self.doc.status, ["Active", "Left"]) self.doc.employee = self.doc.name self.validate_date() @@ -143,7 +143,7 @@ class DocType: def validate_employee_leave_approver(self): from webnotes.profile import Profile - from hr.doctype.leave_application.leave_application import InvalidLeaveApproverError + from erpnext.hr.doctype.leave_application.leave_application import InvalidLeaveApproverError for l in self.doclist.get({"parentfield": "employee_leave_approvers"}): if "Leave Approver" not in Profile(l.leave_approver).get_roles(): diff --git a/erpnext/hr/doctype/expense_claim/expense_claim.js b/erpnext/hr/doctype/expense_claim/expense_claim.js index c32df80a0cb..c65fe0a39f7 100644 --- a/erpnext/hr/doctype/expense_claim/expense_claim.js +++ b/erpnext/hr/doctype/expense_claim/expense_claim.js @@ -7,7 +7,7 @@ erpnext.hr.ExpenseClaimController = wn.ui.form.Controller.extend({ make_bank_voucher: function() { var me = this; return wn.call({ - method: "accounts.doctype.journal_voucher.journal_voucher.get_default_bank_cash_account", + method: "erpnext.accounts.doctype.journal_voucher.journal_voucher.get_default_bank_cash_account", args: { "company": cur_frm.doc.company, "voucher_type": "Bank Voucher" @@ -60,7 +60,7 @@ cur_frm.cscript.onload = function(doc,cdt,cdn) { } var exp_approver = doc.exp_approver; return cur_frm.call({ - method:"hr.utils.get_expense_approver_list", + method: "erpnext.hr.utils.get_expense_approver_list", callback: function(r) { cur_frm.set_df_property("exp_approver", "options", r.message); if(exp_approver) cur_frm.set_value("exp_approver", exp_approver); diff --git a/erpnext/hr/doctype/expense_claim/expense_claim.py b/erpnext/hr/doctype/expense_claim/expense_claim.py index 6b792c85616..521195feb59 100644 --- a/erpnext/hr/doctype/expense_claim/expense_claim.py +++ b/erpnext/hr/doctype/expense_claim/expense_claim.py @@ -22,7 +22,7 @@ class DocType: 'Rejected' before submitting""", raise_exception=1) def validate_fiscal_year(self): - from accounts.utils import validate_fiscal_year + from erpnext.accounts.utils import validate_fiscal_year validate_fiscal_year(self.doc.posting_date, self.doc.fiscal_year, "Posting Date") def validate_exp_details(self): diff --git a/erpnext/hr/doctype/hr_settings/hr_settings.py b/erpnext/hr/doctype/hr_settings/hr_settings.py index 2abd7c6a931..e7e5d3e8598 100644 --- a/erpnext/hr/doctype/hr_settings/hr_settings.py +++ b/erpnext/hr/doctype/hr_settings/hr_settings.py @@ -15,7 +15,7 @@ class DocType: def validate(self): self.update_birthday_reminders() - from setup.doctype.naming_series.naming_series import set_by_naming_series + from erpnext.setup.doctype.naming_series.naming_series import set_by_naming_series set_by_naming_series("Employee", "employee_number", self.doc.get("emp_created_by")=="Naming Series", hide_name_field=True) diff --git a/erpnext/hr/doctype/job_applicant/job_applicant.py b/erpnext/hr/doctype/job_applicant/job_applicant.py index 887e7896905..0262568ffed 100644 --- a/erpnext/hr/doctype/job_applicant/job_applicant.py +++ b/erpnext/hr/doctype/job_applicant/job_applicant.py @@ -5,7 +5,7 @@ from __future__ import unicode_literals import webnotes -from utilities.transaction_base import TransactionBase +from erpnext.utilities.transaction_base import TransactionBase from webnotes.utils import extract_email_id class DocType(TransactionBase): diff --git a/erpnext/hr/doctype/leave_application/leave_application.js b/erpnext/hr/doctype/leave_application/leave_application.js index a3b62caca85..cd04384c222 100755 --- a/erpnext/hr/doctype/leave_application/leave_application.js +++ b/erpnext/hr/doctype/leave_application/leave_application.js @@ -13,7 +13,7 @@ cur_frm.cscript.onload = function(doc, dt, dn) { var leave_approver = doc.leave_approver; return cur_frm.call({ - method:"hr.utils.get_leave_approver_list", + method: "erpnext.hr.utils.get_leave_approver_list", callback: function(r) { cur_frm.set_df_property("leave_approver", "options", $.map(r.message, function(profile) { diff --git a/erpnext/hr/doctype/leave_application/leave_application.py b/erpnext/hr/doctype/leave_application/leave_application.py index 9b75b101b17..5d73719e31c 100755 --- a/erpnext/hr/doctype/leave_application/leave_application.py +++ b/erpnext/hr/doctype/leave_application/leave_application.py @@ -53,7 +53,7 @@ class DocType(DocListController): self.notify_employee("cancelled") def show_block_day_warning(self): - from hr.doctype.leave_block_list.leave_block_list import get_applicable_block_dates + from erpnext.hr.doctype.leave_block_list.leave_block_list import get_applicable_block_dates block_dates = get_applicable_block_dates(self.doc.from_date, self.doc.to_date, self.doc.employee, self.doc.company, all_lists=True) @@ -64,7 +64,7 @@ class DocType(DocListController): webnotes.msgprint(formatdate(d.block_date) + ": " + d.reason) def validate_block_days(self): - from hr.doctype.leave_block_list.leave_block_list import get_applicable_block_dates + from erpnext.hr.doctype.leave_block_list.leave_block_list import get_applicable_block_dates block_dates = get_applicable_block_dates(self.doc.from_date, self.doc.to_date, self.doc.employee, self.doc.company) @@ -290,7 +290,7 @@ def add_leaves(events, start, end, employee, company, match_conditions=None): def add_block_dates(events, start, end, employee, company): # block days - from hr.doctype.leave_block_list.leave_block_list import get_applicable_block_dates + from erpnext.hr.doctype.leave_block_list.leave_block_list import get_applicable_block_dates cnt = 0 block_dates = get_applicable_block_dates(start, end, employee, company, all_lists=True) diff --git a/erpnext/hr/doctype/leave_application/leave_application_calendar.js b/erpnext/hr/doctype/leave_application/leave_application_calendar.js index a258c8fb621..ba09a39f15a 100644 --- a/erpnext/hr/doctype/leave_application/leave_application_calendar.js +++ b/erpnext/hr/doctype/leave_application/leave_application_calendar.js @@ -16,5 +16,5 @@ wn.views.calendar["Leave Application"] = { right: 'month' } }, - get_events_method: "hr.doctype.leave_application.leave_application.get_events" + get_events_method: "erpnext.hr.doctype.leave_application.leave_application.get_events" } \ No newline at end of file diff --git a/erpnext/hr/doctype/leave_application/test_leave_application.py b/erpnext/hr/doctype/leave_application/test_leave_application.py index 9f8a8e1c2ef..44e818d97ce 100644 --- a/erpnext/hr/doctype/leave_application/test_leave_application.py +++ b/erpnext/hr/doctype/leave_application/test_leave_application.py @@ -4,7 +4,7 @@ import webnotes import unittest -from hr.doctype.leave_application.leave_application import LeaveDayBlockedError, OverlapError +from erpnext.hr.doctype.leave_application.leave_application import LeaveDayBlockedError, OverlapError class TestLeaveApplication(unittest.TestCase): def tearDown(self): @@ -129,7 +129,7 @@ class TestLeaveApplication(unittest.TestCase): "docstatus"), 1) def _test_leave_approval_invalid_leave_approver_insert(self): - from hr.doctype.leave_application.leave_application import InvalidLeaveApproverError + from erpnext.hr.doctype.leave_application.leave_application import InvalidLeaveApproverError self._clear_applications() diff --git a/erpnext/hr/doctype/leave_block_list/leave_block_list.py b/erpnext/hr/doctype/leave_block_list/leave_block_list.py index 973436ed12f..4585e908332 100644 --- a/erpnext/hr/doctype/leave_block_list/leave_block_list.py +++ b/erpnext/hr/doctype/leave_block_list/leave_block_list.py @@ -5,7 +5,7 @@ from __future__ import unicode_literals import webnotes -from accounts.utils import validate_fiscal_year +from erpnext.accounts.utils import validate_fiscal_year from webnotes import _ class DocType: diff --git a/erpnext/hr/doctype/leave_block_list/test_leave_block_list.py b/erpnext/hr/doctype/leave_block_list/test_leave_block_list.py index 0f0da652f3c..13fa42c0694 100644 --- a/erpnext/hr/doctype/leave_block_list/test_leave_block_list.py +++ b/erpnext/hr/doctype/leave_block_list/test_leave_block_list.py @@ -4,7 +4,7 @@ import webnotes import unittest -from hr.doctype.leave_block_list.leave_block_list import get_applicable_block_dates +from erpnext.hr.doctype.leave_block_list.leave_block_list import get_applicable_block_dates class TestLeaveBlockList(unittest.TestCase): def tearDown(self): diff --git a/erpnext/hr/doctype/salary_slip/salary_slip.py b/erpnext/hr/doctype/salary_slip/salary_slip.py index f5eeea164dc..946106daf95 100644 --- a/erpnext/hr/doctype/salary_slip/salary_slip.py +++ b/erpnext/hr/doctype/salary_slip/salary_slip.py @@ -9,10 +9,10 @@ from webnotes.model.doc import make_autoname from webnotes.model.bean import getlist from webnotes.model.code import get_obj from webnotes import msgprint, _ -from setup.utils import get_company_currency +from erpnext.setup.utils import get_company_currency -from utilities.transaction_base import TransactionBase +from erpnext.utilities.transaction_base import TransactionBase class DocType(TransactionBase): def __init__(self,doc,doclist=[]): @@ -39,7 +39,7 @@ class DocType(TransactionBase): def pull_sal_struct(self, struct): - from hr.doctype.salary_structure.salary_structure import make_salary_slip + from erpnext.hr.doctype.salary_structure.salary_structure import make_salary_slip self.doclist = make_salary_slip(struct, self.doclist) def pull_emp_details(self): diff --git a/erpnext/hr/doctype/salary_slip/test_salary_slip.py b/erpnext/hr/doctype/salary_slip/test_salary_slip.py index 29e94077d4b..372a858cc28 100644 --- a/erpnext/hr/doctype/salary_slip/test_salary_slip.py +++ b/erpnext/hr/doctype/salary_slip/test_salary_slip.py @@ -8,7 +8,7 @@ class TestSalarySlip(unittest.TestCase): def setUp(self): webnotes.conn.sql("""delete from `tabLeave Application`""") webnotes.conn.sql("""delete from `tabSalary Slip`""") - from hr.doctype.leave_application.test_leave_application import test_records as leave_applications + from erpnext.hr.doctype.leave_application.test_leave_application import test_records as leave_applications la = webnotes.bean(copy=leave_applications[4]) la.insert() la.doc.status = "Approved" diff --git a/erpnext/hr/doctype/salary_structure/salary_structure.js b/erpnext/hr/doctype/salary_structure/salary_structure.js index 8e36dbd5e74..dd9ab970d5d 100644 --- a/erpnext/hr/doctype/salary_structure/salary_structure.js +++ b/erpnext/hr/doctype/salary_structure/salary_structure.js @@ -20,7 +20,7 @@ cur_frm.cscript.refresh = function(doc, dt, dn){ cur_frm.cscript['Make Salary Slip'] = function() { wn.model.open_mapped_doc({ - method: "hr.doctype.salary_structure.salary_structure.make_salary_slip", + method: "erpnext.hr.doctype.salary_structure.salary_structure.make_salary_slip", source_name: cur_frm.doc.name }); } diff --git a/erpnext/hr/doctype/upload_attendance/upload_attendance.js b/erpnext/hr/doctype/upload_attendance/upload_attendance.js index 9f86dfe4860..aed3d7f76cd 100644 --- a/erpnext/hr/doctype/upload_attendance/upload_attendance.js +++ b/erpnext/hr/doctype/upload_attendance/upload_attendance.js @@ -22,7 +22,7 @@ erpnext.hr.AttendanceControlPanel = wn.ui.form.Controller.extend({ } window.location.href = repl(wn.request.url + '?cmd=%(cmd)s&from_date=%(from_date)s&to_date=%(to_date)s', { - cmd: "hr.doctype.upload_attendance.upload_attendance.get_template", + cmd: "erpnext.hr.doctype.upload_attendance.upload_attendance.get_template", from_date: this.frm.doc.att_fr_date, to_date: this.frm.doc.att_to_date, }); @@ -36,7 +36,7 @@ erpnext.hr.AttendanceControlPanel = wn.ui.form.Controller.extend({ wn.upload.make({ parent: $wrapper, args: { - method: 'hr.doctype.upload_attendance.upload_attendance.upload' + method: 'erpnext.hr.doctype.upload_attendance.upload_attendance.upload' }, sample_url: "e.g. http://example.com/somefile.csv", callback: function(fid, filename, r) { diff --git a/erpnext/hr/doctype/upload_attendance/upload_attendance.py b/erpnext/hr/doctype/upload_attendance/upload_attendance.py index 7bd1fd0aaa7..4f1069a1e12 100644 --- a/erpnext/hr/doctype/upload_attendance/upload_attendance.py +++ b/erpnext/hr/doctype/upload_attendance/upload_attendance.py @@ -51,7 +51,7 @@ def add_header(w): return w def add_data(w, args): - from accounts.utils import get_fiscal_year + from erpnext.accounts.utils import get_fiscal_year dates = get_dates(args) employees = get_active_employees() diff --git a/erpnext/startup/install.py b/erpnext/manage.py similarity index 79% rename from erpnext/startup/install.py rename to erpnext/manage.py index 94a3f55a1a4..6f62673f41f 100644 --- a/erpnext/startup/install.py +++ b/erpnext/manage.py @@ -5,41 +5,23 @@ from __future__ import unicode_literals import webnotes -def post_import(): - webnotes.conn.begin() +def get_hooks(): + return { + "app_include_js": ["assets/js/erpnext.min.js"], + "app_include_css": ["assets/css/erpnext.css"], + "desktop_icons": get_desktop_icons(), + "boot_session": ["erpnext.startup.boot.boot_session"] + } - # feature setup +def after_install(): import_defaults() import_country_and_currency() - - # home page webnotes.conn.set_value('Control Panel', None, 'home_page', 'setup-wizard') - - # features feature_setup() - - # all roles to Administrator - from setup.page.setup_wizard.setup_wizard import add_all_roles_to + from erpnext.setup.page.setup_wizard.setup_wizard import add_all_roles_to add_all_roles_to("Administrator") - webnotes.conn.commit() -def feature_setup(): - """save global defaults and features setup""" - bean = webnotes.bean("Features Setup", "Features Setup") - bean.ignore_permissions = True - - # store value as 1 for all these fields - flds = ['fs_item_serial_nos', 'fs_item_batch_nos', 'fs_brands', 'fs_item_barcode', - 'fs_item_advanced', 'fs_packing_details', 'fs_item_group_in_details', - 'fs_exports', 'fs_imports', 'fs_discounts', 'fs_purchase_discounts', - 'fs_after_sales_installations', 'fs_projects', 'fs_sales_extras', - 'fs_recurring_invoice', 'fs_pos', 'fs_manufacturing', 'fs_quality', - 'fs_page_break', 'fs_more_info', 'fs_pos_view' - ] - bean.doc.fields.update(dict(zip(flds, [1]*len(flds)))) - bean.save() - def import_country_and_currency(): from webnotes.country_info import get_all data = get_all() @@ -138,4 +120,94 @@ def import_defaults(): if parent_link_field in bean.doc.fields and not bean.doc.fields.get(parent_link_field): bean.ignore_mandatory = True - bean.insert() \ No newline at end of file + bean.insert() + +def feature_setup(): + """save global defaults and features setup""" + bean = webnotes.bean("Features Setup", "Features Setup") + bean.ignore_permissions = True + + # store value as 1 for all these fields + flds = ['fs_item_serial_nos', 'fs_item_batch_nos', 'fs_brands', 'fs_item_barcode', + 'fs_item_advanced', 'fs_packing_details', 'fs_item_group_in_details', + 'fs_exports', 'fs_imports', 'fs_discounts', 'fs_purchase_discounts', + 'fs_after_sales_installations', 'fs_projects', 'fs_sales_extras', + 'fs_recurring_invoice', 'fs_pos', 'fs_manufacturing', 'fs_quality', + 'fs_page_break', 'fs_more_info', 'fs_pos_view' + ] + bean.doc.fields.update(dict(zip(flds, [1]*len(flds)))) + bean.save() + +def get_desktop_icons(): + return { + "Accounts": { + "color": "#3498db", + "icon": "icon-money", + "link": "accounts-home", + "type": "module" + }, + "Activity": { + "color": "#e67e22", + "icon": "icon-play", + "label": "Activity", + "link": "activity", + "type": "page" + }, + "Buying": { + "color": "#c0392b", + "icon": "icon-shopping-cart", + "link": "buying-home", + "type": "module" + }, + "HR": { + "color": "#2ecc71", + "icon": "icon-group", + "label": "Human Resources", + "link": "hr-home", + "type": "module" + }, + "Manufacturing": { + "color": "#7f8c8d", + "icon": "icon-cogs", + "link": "manufacturing-home", + "type": "module" + }, + "Notes": { + "color": "#95a5a6", + "doctype": "Note", + "icon": "icon-file-alt", + "label": "Notes", + "link": "List/Note", + "type": "list" + }, + "Projects": { + "color": "#8e44ad", + "icon": "icon-puzzle-piece", + "link": "projects-home", + "type": "module" + }, + "Selling": { + "color": "#1abc9c", + "icon": "icon-tag", + "link": "selling-home", + "type": "module" + }, + "Setup": { + "color": "#bdc3c7", + "icon": "icon-wrench", + "link": "Setup", + "type": "setup" + }, + "Stock": { + "color": "#f39c12", + "icon": "icon-truck", + "link": "stock-home", + "type": "module" + }, + "Support": { + "color": "#2c3e50", + "icon": "icon-phone", + "link": "support-home", + "type": "module" + } + } diff --git a/erpnext/manufacturing/doctype/bom/bom.py b/erpnext/manufacturing/doctype/bom/bom.py index 7b647a7cec3..45e96f771ce 100644 --- a/erpnext/manufacturing/doctype/bom/bom.py +++ b/erpnext/manufacturing/doctype/bom/bom.py @@ -30,7 +30,7 @@ class DocType: self.clear_operations() self.validate_main_item() - from utilities.transaction_base import validate_uom_is_integer + from erpnext.utilities.transaction_base import validate_uom_is_integer validate_uom_is_integer(self.doclist, "stock_uom", "qty") self.validate_operations() @@ -152,7 +152,7 @@ class DocType: as per valuation method (MAR/FIFO) as on costing date """ - from stock.utils import get_incoming_rate + from erpnext.stock.utils import get_incoming_rate dt = self.doc.costing_date or nowdate() time = self.doc.costing_date == nowdate() and now().split()[1] or '23:59' warehouse = webnotes.conn.sql("select warehouse from `tabBin` where item_code = %s", args['item_code']) diff --git a/erpnext/manufacturing/doctype/bom/test_bom.py b/erpnext/manufacturing/doctype/bom/test_bom.py index 7917ab3b275..5f9186a14d7 100644 --- a/erpnext/manufacturing/doctype/bom/test_bom.py +++ b/erpnext/manufacturing/doctype/bom/test_bom.py @@ -98,14 +98,14 @@ test_records = [ class TestBOM(unittest.TestCase): def test_get_items(self): - from manufacturing.doctype.bom.bom import get_bom_items_as_dict + from erpnext.manufacturing.doctype.bom.bom import get_bom_items_as_dict items_dict = get_bom_items_as_dict(bom="BOM/_Test FG Item 2/001", qty=1, fetch_exploded=0) self.assertTrue(test_records[2][1]["item_code"] in items_dict) self.assertTrue(test_records[2][2]["item_code"] in items_dict) self.assertEquals(len(items_dict.values()), 2) def test_get_items_exploded(self): - from manufacturing.doctype.bom.bom import get_bom_items_as_dict + from erpnext.manufacturing.doctype.bom.bom import get_bom_items_as_dict items_dict = get_bom_items_as_dict(bom="BOM/_Test FG Item 2/001", qty=1, fetch_exploded=1) self.assertTrue(test_records[2][1]["item_code"] in items_dict) self.assertFalse(test_records[2][2]["item_code"] in items_dict) @@ -114,6 +114,6 @@ class TestBOM(unittest.TestCase): self.assertEquals(len(items_dict.values()), 3) def test_get_items_list(self): - from manufacturing.doctype.bom.bom import get_bom_items + from erpnext.manufacturing.doctype.bom.bom import get_bom_items self.assertEquals(len(get_bom_items(bom="BOM/_Test FG Item 2/001", qty=1, fetch_exploded=1)), 3) diff --git a/erpnext/manufacturing/doctype/production_order/production_order.js b/erpnext/manufacturing/doctype/production_order/production_order.js index 2277262fd28..075f8bd1a48 100644 --- a/erpnext/manufacturing/doctype/production_order/production_order.js +++ b/erpnext/manufacturing/doctype/production_order/production_order.js @@ -70,7 +70,7 @@ cur_frm.cscript['Update Finished Goods'] = function() { cur_frm.cscript.make_se = function(purpose) { wn.call({ - method:"manufacturing.doctype.production_order.production_order.make_stock_entry", + method: "erpnext.manufacturing.doctype.production_order.production_order.make_stock_entry", args: { "production_order_id": cur_frm.doc.name, "purpose": purpose diff --git a/erpnext/manufacturing/doctype/production_order/production_order.py b/erpnext/manufacturing/doctype/production_order/production_order.py index c5b2b04791e..a6e219a5686 100644 --- a/erpnext/manufacturing/doctype/production_order/production_order.py +++ b/erpnext/manufacturing/doctype/production_order/production_order.py @@ -20,15 +20,15 @@ class DocType: if self.doc.docstatus == 0: self.doc.status = "Draft" - import utilities - utilities.validate_status(self.doc.status, ["Draft", "Submitted", "Stopped", + from erpnext.utilities import validate_status + validate_status(self.doc.status, ["Draft", "Submitted", "Stopped", "In Process", "Completed", "Cancelled"]) self.validate_bom_no() self.validate_sales_order() self.validate_warehouse() - from utilities.transaction_base import validate_uom_is_integer + from erpnext.utilities.transaction_base import validate_uom_is_integer validate_uom_is_integer(self.doclist, "stock_uom", ["qty", "produced_qty"]) def validate_bom_no(self): @@ -50,7 +50,7 @@ class DocType: self.validate_production_order_against_so() def validate_warehouse(self): - from stock.utils import validate_warehouse_user, validate_warehouse_company + from erpnext.stock.utils import validate_warehouse_user, validate_warehouse_company for w in [self.doc.fg_warehouse, self.doc.wip_warehouse]: validate_warehouse_user(w) @@ -128,7 +128,7 @@ class DocType: "posting_date": nowdate(), "planned_qty": flt(qty) } - from stock.utils import update_bin + from erpnext.stock.utils import update_bin update_bin(args) @webnotes.whitelist() diff --git a/erpnext/manufacturing/doctype/production_order/test_production_order.py b/erpnext/manufacturing/doctype/production_order/test_production_order.py index 52697292c8e..62bb26eecf6 100644 --- a/erpnext/manufacturing/doctype/production_order/test_production_order.py +++ b/erpnext/manufacturing/doctype/production_order/test_production_order.py @@ -5,8 +5,8 @@ from __future__ import unicode_literals import unittest import webnotes -from stock.doctype.purchase_receipt.test_purchase_receipt import set_perpetual_inventory -from manufacturing.doctype.production_order.production_order import make_stock_entry +from erpnext.stock.doctype.purchase_receipt.test_purchase_receipt import set_perpetual_inventory +from erpnext.manufacturing.doctype.production_order.production_order import make_stock_entry class TestProductionOrder(unittest.TestCase): @@ -20,7 +20,7 @@ class TestProductionOrder(unittest.TestCase): pro_bean.insert() pro_bean.submit() - from stock.doctype.stock_entry.test_stock_entry import test_records as se_test_records + from erpnext.stock.doctype.stock_entry.test_stock_entry import test_records as se_test_records mr1 = webnotes.bean(copy = se_test_records[0]) mr1.insert() mr1.submit() @@ -45,7 +45,7 @@ class TestProductionOrder(unittest.TestCase): return pro_bean.doc.name def test_over_production(self): - from stock.doctype.stock_entry.stock_entry import StockOverProductionError + from erpnext.stock.doctype.stock_entry.stock_entry import StockOverProductionError pro_order = self.test_planned_qty() stock_entry = make_stock_entry(pro_order, "Manufacture/Repack") diff --git a/erpnext/manufacturing/doctype/production_planning_tool/production_planning_tool.py b/erpnext/manufacturing/doctype/production_planning_tool/production_planning_tool.py index f3626a3da3a..cb611bade60 100644 --- a/erpnext/manufacturing/doctype/production_planning_tool/production_planning_tool.py +++ b/erpnext/manufacturing/doctype/production_planning_tool/production_planning_tool.py @@ -173,7 +173,7 @@ class DocType: """It will raise production order (Draft) for all distinct FG items""" self.validate_data() - from utilities.transaction_base import validate_uom_is_integer + from erpnext.utilities.transaction_base import validate_uom_is_integer validate_uom_is_integer(self.doclist, "stock_uom", "planned_qty") items = self.get_distinct_items_and_boms()[1] @@ -208,7 +208,7 @@ class DocType: def create_production_order(self, items): """Create production order. Called from Production Planning Tool""" - from manufacturing.doctype.production_order.production_order import OverProductionError + from erpnext.manufacturing.doctype.production_order.production_order import OverProductionError pro_list = [] for key in items: @@ -302,7 +302,7 @@ class DocType: item_projected_qty = self.get_projected_qty() - from accounts.utils import get_fiscal_year + from erpnext.accounts.utils import get_fiscal_year fiscal_year = get_fiscal_year(nowdate())[0] items_to_be_requested = webnotes._dict() diff --git a/erpnext/patches/april_2013/p01_update_serial_no_valuation_rate.py b/erpnext/patches/april_2013/p01_update_serial_no_valuation_rate.py index 18fe9b5b0c3..c6f0612f878 100644 --- a/erpnext/patches/april_2013/p01_update_serial_no_valuation_rate.py +++ b/erpnext/patches/april_2013/p01_update_serial_no_valuation_rate.py @@ -3,7 +3,7 @@ import webnotes from webnotes.utils import cstr -from stock.stock_ledger import update_entries_after +from erpnext.stock.stock_ledger import update_entries_after def execute(): webnotes.conn.auto_commit_on_many_writes = 1 diff --git a/erpnext/patches/december_2012/repost_ordered_qty.py b/erpnext/patches/december_2012/repost_ordered_qty.py index 05cbb64e77a..5b24fdf34b6 100644 --- a/erpnext/patches/december_2012/repost_ordered_qty.py +++ b/erpnext/patches/december_2012/repost_ordered_qty.py @@ -3,7 +3,7 @@ def execute(): import webnotes - from utilities.repost_stock import get_ordered_qty, update_bin + from erpnext.utilities.repost_stock import get_ordered_qty, update_bin for d in webnotes.conn.sql("select item_code, warehouse from tabBin"): update_bin(d[0], d[1], { diff --git a/erpnext/patches/february_2013/repost_reserved_qty.py b/erpnext/patches/february_2013/repost_reserved_qty.py index 442a81b109a..fbc6f1a1723 100644 --- a/erpnext/patches/february_2013/repost_reserved_qty.py +++ b/erpnext/patches/february_2013/repost_reserved_qty.py @@ -4,7 +4,7 @@ import webnotes def execute(): webnotes.conn.auto_commit_on_many_writes = 1 - from utilities.repost_stock import get_reserved_qty, update_bin + from erpnext.utilities.repost_stock import get_reserved_qty, update_bin for d in webnotes.conn.sql("select item_code, warehouse from tabBin"): update_bin(d[0], d[1], { diff --git a/erpnext/patches/july_2013/restore_tree_roots.py b/erpnext/patches/july_2013/restore_tree_roots.py index b6a988fa3c9..91b328ce2e8 100644 --- a/erpnext/patches/july_2013/restore_tree_roots.py +++ b/erpnext/patches/july_2013/restore_tree_roots.py @@ -2,5 +2,5 @@ # License: GNU General Public License v3. See license.txt def execute(): - from startup.install import import_defaults + from erpnext.startup.install import import_defaults import_defaults() \ No newline at end of file diff --git a/erpnext/patches/june_2013/p04_fix_event_for_lead_oppty_project.py b/erpnext/patches/june_2013/p04_fix_event_for_lead_oppty_project.py index 735a28a7d57..f80209f5bdd 100644 --- a/erpnext/patches/june_2013/p04_fix_event_for_lead_oppty_project.py +++ b/erpnext/patches/june_2013/p04_fix_event_for_lead_oppty_project.py @@ -4,7 +4,7 @@ import webnotes def execute(): - from utilities.transaction_base import delete_events + from erpnext.utilities.transaction_base import delete_events # delete orphaned Event User webnotes.conn.sql("""delete from `tabEvent User` diff --git a/erpnext/patches/june_2013/p07_taxes_price_list_for_territory.py b/erpnext/patches/june_2013/p07_taxes_price_list_for_territory.py index 1cdb78399cf..4a224e34f00 100644 --- a/erpnext/patches/june_2013/p07_taxes_price_list_for_territory.py +++ b/erpnext/patches/june_2013/p07_taxes_price_list_for_territory.py @@ -9,7 +9,7 @@ def execute(): webnotes.reload_doc("accounts", "doctype", "sales_taxes_and_charges_master") webnotes.reload_doc("accounts", "doctype", "shipping_rule") - from setup.utils import get_root_of + from erpnext.setup.utils import get_root_of root_territory = get_root_of("Territory") for parenttype in ["Sales Taxes and Charges Master", "Price List", "Shipping Rule"]: diff --git a/erpnext/patches/june_2013/p08_shopping_cart_settings.py b/erpnext/patches/june_2013/p08_shopping_cart_settings.py index 6af7eb83fd4..45028c8731a 100644 --- a/erpnext/patches/june_2013/p08_shopping_cart_settings.py +++ b/erpnext/patches/june_2013/p08_shopping_cart_settings.py @@ -7,7 +7,7 @@ def execute(): webnotes.reload_doc("selling", "doctype", "shopping_cart_settings") # create two default territories, one for home country and one named Rest of the World - from setup.page.setup_wizard.setup_wizard import create_territories + from erpnext.setup.page.setup_wizard.setup_wizard import create_territories create_territories() webnotes.conn.set_value("Shopping Cart Settings", None, "default_territory", "Rest of the World") diff --git a/erpnext/patches/march_2013/p10_set_fiscal_year_for_stock.py b/erpnext/patches/march_2013/p10_set_fiscal_year_for_stock.py index 1f5adf67abe..97510c713e0 100644 --- a/erpnext/patches/march_2013/p10_set_fiscal_year_for_stock.py +++ b/erpnext/patches/march_2013/p10_set_fiscal_year_for_stock.py @@ -2,7 +2,7 @@ # License: GNU General Public License v3. See license.txt import webnotes -from accounts.utils import get_fiscal_year, FiscalYearError +from erpnext.accounts.utils import get_fiscal_year, FiscalYearError def execute(): webnotes.reload_doc("stock", "doctype", "stock_entry") diff --git a/erpnext/patches/may_2013/p02_update_valuation_rate.py b/erpnext/patches/may_2013/p02_update_valuation_rate.py index b521734a574..1419ebf5059 100644 --- a/erpnext/patches/may_2013/p02_update_valuation_rate.py +++ b/erpnext/patches/may_2013/p02_update_valuation_rate.py @@ -4,7 +4,7 @@ from __future__ import unicode_literals import webnotes def execute(): - from stock.stock_ledger import update_entries_after + from erpnext.stock.stock_ledger import update_entries_after item_warehouse = [] # update valuation_rate in transaction doctypes = {"Purchase Receipt": "purchase_receipt_details", "Purchase Invoice": "entries"} diff --git a/erpnext/patches/may_2013/repost_stock_for_no_posting_time.py b/erpnext/patches/may_2013/repost_stock_for_no_posting_time.py index db03992e2ed..b36ccf3881a 100644 --- a/erpnext/patches/may_2013/repost_stock_for_no_posting_time.py +++ b/erpnext/patches/may_2013/repost_stock_for_no_posting_time.py @@ -4,7 +4,7 @@ from __future__ import unicode_literals def execute(): import webnotes - from stock.stock_ledger import update_entries_after + from erpnext.stock.stock_ledger import update_entries_after res = webnotes.conn.sql("""select distinct item_code, warehouse from `tabStock Ledger Entry` where posting_time = '00:00'""") diff --git a/erpnext/patches/october_2013/perpetual_inventory_stock_transfer_utility.py b/erpnext/patches/october_2013/perpetual_inventory_stock_transfer_utility.py index 593742250b4..889f5e27f8b 100644 --- a/erpnext/patches/october_2013/perpetual_inventory_stock_transfer_utility.py +++ b/erpnext/patches/october_2013/perpetual_inventory_stock_transfer_utility.py @@ -4,7 +4,7 @@ from __future__ import unicode_literals import webnotes from webnotes.utils import nowdate, nowtime, cstr -from accounts.utils import get_fiscal_year +from erpnext.accounts.utils import get_fiscal_year def execute(): item_map = {} diff --git a/erpnext/patches/october_2013/repost_planned_qty.py b/erpnext/patches/october_2013/repost_planned_qty.py index 6a78d3382b4..1e9da30fe3e 100644 --- a/erpnext/patches/october_2013/repost_planned_qty.py +++ b/erpnext/patches/october_2013/repost_planned_qty.py @@ -3,7 +3,7 @@ def execute(): import webnotes - from utilities.repost_stock import get_planned_qty, update_bin + from erpnext.utilities.repost_stock import get_planned_qty, update_bin for d in webnotes.conn.sql("select item_code, warehouse from tabBin"): update_bin(d[0], d[1], { diff --git a/erpnext/patches/september_2012/repost_stock.py b/erpnext/patches/september_2012/repost_stock.py index 5df65a21c65..11c87475f13 100644 --- a/erpnext/patches/september_2012/repost_stock.py +++ b/erpnext/patches/september_2012/repost_stock.py @@ -4,7 +4,7 @@ from __future__ import unicode_literals def execute(): import webnotes - from stock.stock_ledger import update_entries_after + from erpnext.stock.stock_ledger import update_entries_after res = webnotes.conn.sql("select distinct item_code, warehouse from `tabStock Ledger Entry`") i=0 for d in res: diff --git a/erpnext/portal/templates/includes/cart.js b/erpnext/portal/templates/includes/cart.js index 232501d4a20..0765c60e1f7 100644 --- a/erpnext/portal/templates/includes/cart.js +++ b/erpnext/portal/templates/includes/cart.js @@ -7,7 +7,7 @@ $(document).ready(function() { erpnext.cart.bind_events(); return wn.call({ type: "POST", - method: "selling.utils.cart.get_cart_quotation", + method: "erpnext.selling.utils.cart.get_cart_quotation", callback: function(r) { $("#cart-container").removeClass("hide"); $(".progress").remove(); @@ -193,7 +193,7 @@ $.extend(erpnext.cart, { return wn.call({ btn: btn, type: "POST", - method: "selling.utils.cart.apply_shipping_rule", + method: "erpnext.selling.utils.cart.apply_shipping_rule", args: { shipping_rule: rule }, callback: function(r) { if(!r.exc) { @@ -241,7 +241,7 @@ $.extend(erpnext.cart, { return wn.call({ type: "POST", - method: "selling.utils.cart.update_cart_address", + method: "erpnext.selling.utils.cart.update_cart_address", args: { address_fieldname: $address_wrapper.attr("data-fieldname"), address_name: $(this).attr("data-address-name") @@ -272,7 +272,7 @@ $.extend(erpnext.cart, { place_order: function(btn) { return wn.call({ type: "POST", - method: "selling.utils.cart.place_order", + method: "erpnext.selling.utils.cart.place_order", btn: btn, callback: function(r) { if(r.exc) { diff --git a/erpnext/portal/templates/pages/profile.py b/erpnext/portal/templates/pages/profile.py index 241f9539742..143abef4188 100644 --- a/erpnext/portal/templates/pages/profile.py +++ b/erpnext/portal/templates/pages/profile.py @@ -10,7 +10,7 @@ no_cache = True no_sitemap = True def get_context(): - from selling.utils.cart import get_lead_or_customer + from erpnext.selling.utils.cart import get_lead_or_customer party = get_lead_or_customer() if party.doctype == "Lead": mobile_no = party.mobile_no @@ -27,7 +27,7 @@ def get_context(): @webnotes.whitelist() def update_profile(fullname, password=None, company_name=None, mobile_no=None, phone=None): - from selling.utils.cart import update_party + from erpnext.selling.utils.cart import update_party update_party(fullname, company_name, mobile_no, phone) if not fullname: diff --git a/erpnext/portal/utils.py b/erpnext/portal/utils.py index 727edf3affb..9ec542262af 100644 --- a/erpnext/portal/utils.py +++ b/erpnext/portal/utils.py @@ -67,11 +67,11 @@ def send_message(subject="Website Query", message="", sender="", status="Open"): if subject=="Support": # create support ticket - from support.doctype.support_ticket.get_support_mails import add_support_communication + from erpnext.support.doctype.support_ticket.get_support_mails import add_support_communication add_support_communication(subject, message, sender, mail=None) else: # make lead / communication - from selling.doctype.lead.get_leads import add_sales_communication + from erpnext.selling.doctype.lead.get_leads import add_sales_communication add_sales_communication(subject or "Website Query", message, sender, sender, mail=None, status=status) \ No newline at end of file diff --git a/erpnext/projects/doctype/project/project.py b/erpnext/projects/doctype/project/project.py index 5b20c5ba6a2..f1594523138 100644 --- a/erpnext/projects/doctype/project/project.py +++ b/erpnext/projects/doctype/project/project.py @@ -6,7 +6,7 @@ import webnotes from webnotes.utils import flt, getdate from webnotes import msgprint -from utilities.transaction_base import delete_events +from erpnext.utilities.transaction_base import delete_events class DocType: def __init__(self, doc, doclist=None): diff --git a/erpnext/projects/doctype/task/task.py b/erpnext/projects/doctype/task/task.py index 227119e9015..85d8a4986e6 100644 --- a/erpnext/projects/doctype/task/task.py +++ b/erpnext/projects/doctype/task/task.py @@ -80,7 +80,7 @@ def get_events(start, end, filters=None): return data def get_project(doctype, txt, searchfield, start, page_len, filters): - from controllers.queries import get_match_cond + from erpnext.controllers.queries import get_match_cond return webnotes.conn.sql(""" select name from `tabProject` where %(key)s like "%(txt)s" %(mcond)s diff --git a/erpnext/projects/doctype/task/task_calendar.js b/erpnext/projects/doctype/task/task_calendar.js index 62d9757f486..f6adf58d9ed 100644 --- a/erpnext/projects/doctype/task/task_calendar.js +++ b/erpnext/projects/doctype/task/task_calendar.js @@ -18,5 +18,5 @@ wn.views.calendar["Task"] = { "label": wn._("Project") } ], - get_events_method: "projects.doctype.task.task.get_events" + get_events_method: "erpnext.projects.doctype.task.task.get_events" } \ No newline at end of file diff --git a/erpnext/projects/doctype/time_log/test_time_log.py b/erpnext/projects/doctype/time_log/test_time_log.py index c62bee17c89..23206d69a14 100644 --- a/erpnext/projects/doctype/time_log/test_time_log.py +++ b/erpnext/projects/doctype/time_log/test_time_log.py @@ -4,7 +4,7 @@ import webnotes import unittest -from projects.doctype.time_log.time_log import OverlapError +from erpnext.projects.doctype.time_log.time_log import OverlapError class TestTimeLog(unittest.TestCase): def test_duplication(self): diff --git a/erpnext/projects/doctype/time_log/time_log_calendar.js b/erpnext/projects/doctype/time_log/time_log_calendar.js index 2451de170da..ea14074cc72 100644 --- a/erpnext/projects/doctype/time_log/time_log_calendar.js +++ b/erpnext/projects/doctype/time_log/time_log_calendar.js @@ -9,5 +9,5 @@ wn.views.calendar["Time Log"] = { "title": "title", "allDay": "allDay" }, - get_events_method: "projects.doctype.time_log.time_log.get_events" + get_events_method: "erpnext.projects.doctype.time_log.time_log.get_events" } \ No newline at end of file diff --git a/erpnext/projects/doctype/time_log_batch/test_time_log_batch.py b/erpnext/projects/doctype/time_log_batch/test_time_log_batch.py index 8a7e6f528ff..9fbf709f078 100644 --- a/erpnext/projects/doctype/time_log_batch/test_time_log_batch.py +++ b/erpnext/projects/doctype/time_log_batch/test_time_log_batch.py @@ -5,7 +5,7 @@ import webnotes, unittest class TimeLogBatchTest(unittest.TestCase): def test_time_log_status(self): - from projects.doctype.time_log.test_time_log import test_records as time_log_records + from erpnext.projects.doctype.time_log.test_time_log import test_records as time_log_records time_log = webnotes.bean(copy=time_log_records[0]) time_log.doc.fields.update({ "from_time": "2013-01-02 10:00:00", diff --git a/erpnext/public/js/conf.js b/erpnext/public/js/conf.js index 929bfcaa593..0c53ecdc4b9 100644 --- a/erpnext/public/js/conf.js +++ b/erpnext/public/js/conf.js @@ -9,7 +9,7 @@ $(document).bind('toolbar_setup', function() { var brand = ($("

").append(wn.boot.website_settings.brand_html).text() || 'erpnext'); $('.navbar-brand').html('
\ - \ + \
' + brand) .attr("title", brand) .addClass("navbar-icon-home") diff --git a/erpnext/public/js/transaction.js b/erpnext/public/js/transaction.js index 4c4a810ed25..96f10c7c576 100644 --- a/erpnext/public/js/transaction.js +++ b/erpnext/public/js/transaction.js @@ -214,7 +214,7 @@ erpnext.TransactionController = erpnext.stock.StockController.extend({ var fieldname = buying_or_selling.toLowerCase() + "_price_list"; if(this.frm.doc[fieldname]) { return this.frm.call({ - method: "setup.utils.get_price_list_currency", + method: "erpnext.setup.utils.get_price_list_currency", args: { price_list: this.frm.doc[fieldname], }, diff --git a/erpnext/public/js/website_utils.js b/erpnext/public/js/website_utils.js index e752812fd6c..fda30b8af68 100644 --- a/erpnext/public/js/website_utils.js +++ b/erpnext/public/js/website_utils.js @@ -8,7 +8,7 @@ if(!window.erpnext) erpnext = {}; wn.send_message = function(opts, btn) { return wn.call({ type: "POST", - method: "portal.utils.send_message", + method: "erpnext.portal.utils.send_message", btn: btn, args: opts, callback: opts.callback @@ -46,7 +46,7 @@ $.extend(erpnext.cart, { } else { return wn.call({ type: "POST", - method: "selling.utils.cart.update_cart", + method: "erpnext.selling.utils.cart.update_cart", args: { item_code: opts.item_code, qty: opts.qty, diff --git a/erpnext/selling/doctype/customer/customer.js b/erpnext/selling/doctype/customer/customer.js index 5e0ccc98f24..8ec4a2bd373 100644 --- a/erpnext/selling/doctype/customer/customer.js +++ b/erpnext/selling/doctype/customer/customer.js @@ -52,7 +52,7 @@ cur_frm.cscript.setup_dashboard = function(doc) { return wn.call({ type: "GET", - method:"selling.doctype.customer.customer.get_dashboard_info", + method: "erpnext.selling.doctype.customer.customer.get_dashboard_info", args: { customer: cur_frm.doc.name }, diff --git a/erpnext/selling/doctype/customer/customer.py b/erpnext/selling/doctype/customer/customer.py index d00926f43c0..185c74b3001 100644 --- a/erpnext/selling/doctype/customer/customer.py +++ b/erpnext/selling/doctype/customer/customer.py @@ -9,7 +9,7 @@ from webnotes import msgprint, _ import webnotes.defaults -from utilities.transaction_base import TransactionBase +from erpnext.utilities.transaction_base import TransactionBase class DocType(TransactionBase): def __init__(self, doc, doclist=[]): @@ -144,7 +144,7 @@ class DocType(TransactionBase): webnotes.conn.sql("update `tabLead` set status='Interested' where name=%s",self.doc.lead_name) def before_rename(self, olddn, newdn, merge=False): - from accounts.utils import rename_account_for + from erpnext.accounts.utils import rename_account_for rename_account_for("Customer", olddn, newdn, merge) def after_rename(self, olddn, newdn, merge=False): diff --git a/erpnext/selling/doctype/installation_note/installation_note.js b/erpnext/selling/doctype/installation_note/installation_note.js index ea777e0d77d..d96b993d79b 100644 --- a/erpnext/selling/doctype/installation_note/installation_note.js +++ b/erpnext/selling/doctype/installation_note/installation_note.js @@ -47,7 +47,7 @@ erpnext.selling.InstallationNote = wn.ui.form.Controller.extend({ cur_frm.add_custom_button(wn._('From Delivery Note'), function() { wn.model.map_current_doc({ - method: "stock.doctype.delivery_note.delivery_note.make_installation_note", + method: "erpnext.stock.doctype.delivery_note.delivery_note.make_installation_note", source_doctype: "Delivery Note", get_query_filters: { docstatus: 1, diff --git a/erpnext/selling/doctype/installation_note/installation_note.py b/erpnext/selling/doctype/installation_note/installation_note.py index 026d7e11622..253e43ea7b7 100644 --- a/erpnext/selling/doctype/installation_note/installation_note.py +++ b/erpnext/selling/doctype/installation_note/installation_note.py @@ -7,9 +7,9 @@ import webnotes from webnotes.utils import cstr, getdate from webnotes.model.bean import getlist from webnotes import msgprint -from stock.utils import get_valid_serial_nos +from erpnext.stock.utils import get_valid_serial_nos -from utilities.transaction_base import TransactionBase +from erpnext.utilities.transaction_base import TransactionBase class DocType(TransactionBase): def __init__(self, doc, doclist=[]): @@ -36,11 +36,11 @@ class DocType(TransactionBase): self.validate_installation_date() self.check_item_table() - from controllers.selling_controller import check_active_sales_items + from erpnext.controllers.selling_controller import check_active_sales_items check_active_sales_items(self) def validate_fiscal_year(self): - from accounts.utils import validate_fiscal_year + from erpnext.accounts.utils import validate_fiscal_year validate_fiscal_year(self.doc.inst_date, self.doc.fiscal_year, "Installation Date") def is_serial_no_added(self, item_code, serial_no): diff --git a/erpnext/selling/doctype/lead/lead.js b/erpnext/selling/doctype/lead/lead.js index 54a249fbe16..cf972b602c6 100644 --- a/erpnext/selling/doctype/lead/lead.js +++ b/erpnext/selling/doctype/lead/lead.js @@ -77,14 +77,14 @@ erpnext.LeadController = wn.ui.form.Controller.extend({ create_customer: function() { wn.model.open_mapped_doc({ - method: "selling.doctype.lead.lead.make_customer", + method: "erpnext.selling.doctype.lead.lead.make_customer", source_name: cur_frm.doc.name }) }, create_opportunity: function() { wn.model.open_mapped_doc({ - method: "selling.doctype.lead.lead.make_opportunity", + method: "erpnext.selling.doctype.lead.lead.make_opportunity", source_name: cur_frm.doc.name }) } diff --git a/erpnext/selling/doctype/lead/lead.py b/erpnext/selling/doctype/lead/lead.py index 26c06bb5e6a..e5f2b623334 100644 --- a/erpnext/selling/doctype/lead/lead.py +++ b/erpnext/selling/doctype/lead/lead.py @@ -8,7 +8,7 @@ from webnotes.utils import cstr, validate_email_add, cint, extract_email_id from webnotes import session, msgprint -from controllers.selling_controller import SellingController +from erpnext.controllers.selling_controller import SellingController class DocType(SellingController): def __init__(self, doc, doclist): diff --git a/erpnext/selling/doctype/lead/test_lead.py b/erpnext/selling/doctype/lead/test_lead.py index ec18ff7d6f9..d3f6f03d06e 100644 --- a/erpnext/selling/doctype/lead/test_lead.py +++ b/erpnext/selling/doctype/lead/test_lead.py @@ -19,7 +19,7 @@ import unittest class TestLead(unittest.TestCase): def test_make_customer(self): - from selling.doctype.lead.lead import make_customer + from erpnext.selling.doctype.lead.lead import make_customer customer = make_customer("_T-Lead-00001") self.assertEquals(customer[0]["doctype"], "Customer") diff --git a/erpnext/selling/doctype/opportunity/opportunity.js b/erpnext/selling/doctype/opportunity/opportunity.js index 05970fc350f..5fc84fa9b05 100644 --- a/erpnext/selling/doctype/opportunity/opportunity.js +++ b/erpnext/selling/doctype/opportunity/opportunity.js @@ -91,7 +91,7 @@ erpnext.selling.Opportunity = wn.ui.form.Controller.extend({ create_quotation: function() { wn.model.open_mapped_doc({ - method: "selling.doctype.opportunity.opportunity.make_quotation", + method: "erpnext.selling.doctype.opportunity.opportunity.make_quotation", source_name: cur_frm.doc.name }) } @@ -162,7 +162,7 @@ cur_frm.cscript.lead = function(doc, cdt, cdn) { cur_frm.toggle_display("contact_info", doc.customer || doc.lead); wn.model.map_current_doc({ - method: "selling.doctype.lead.lead.make_opportunity", + method: "erpnext.selling.doctype.lead.lead.make_opportunity", source_name: cur_frm.doc.lead }) diff --git a/erpnext/selling/doctype/opportunity/opportunity.py b/erpnext/selling/doctype/opportunity/opportunity.py index e6c0afeb35e..00a447f9565 100644 --- a/erpnext/selling/doctype/opportunity/opportunity.py +++ b/erpnext/selling/doctype/opportunity/opportunity.py @@ -9,7 +9,7 @@ from webnotes.model.bean import getlist from webnotes import msgprint, _ -from utilities.transaction_base import TransactionBase +from erpnext.utilities.transaction_base import TransactionBase class DocType(TransactionBase): def __init__(self,doc,doclist): @@ -104,7 +104,7 @@ class DocType(TransactionBase): self.validate_uom_is_integer("uom", "qty") self.validate_lead_cust() - from accounts.utils import validate_fiscal_year + from erpnext.accounts.utils import validate_fiscal_year validate_fiscal_year(self.doc.transaction_date, self.doc.fiscal_year, "Opportunity Date") def on_submit(self): diff --git a/erpnext/selling/doctype/quotation/quotation.js b/erpnext/selling/doctype/quotation/quotation.js index c7bf44718fa..9f145ceb46d 100644 --- a/erpnext/selling/doctype/quotation/quotation.js +++ b/erpnext/selling/doctype/quotation/quotation.js @@ -39,7 +39,7 @@ erpnext.selling.QuotationController = erpnext.selling.SellingController.extend({ cur_frm.add_custom_button(wn._('From Opportunity'), function() { wn.model.map_current_doc({ - method: "selling.doctype.opportunity.opportunity.make_quotation", + method: "erpnext.selling.doctype.opportunity.opportunity.make_quotation", source_doctype: "Opportunity", get_query_filters: { docstatus: 1, @@ -112,7 +112,7 @@ cur_frm.cscript.lead = function(doc, cdt, cdn) { // ===================================================================================== cur_frm.cscript['Make Sales Order'] = function() { wn.model.open_mapped_doc({ - method: "selling.doctype.quotation.quotation.make_sales_order", + method: "erpnext.selling.doctype.quotation.quotation.make_sales_order", source_name: cur_frm.doc.name }) } diff --git a/erpnext/selling/doctype/quotation/quotation.py b/erpnext/selling/doctype/quotation/quotation.py index f2546b9cfac..6a030b99f90 100644 --- a/erpnext/selling/doctype/quotation/quotation.py +++ b/erpnext/selling/doctype/quotation/quotation.py @@ -11,7 +11,7 @@ from webnotes import _, msgprint -from controllers.selling_controller import SellingController +from erpnext.controllers.selling_controller import SellingController class DocType(SellingController): def __init__(self, doc, doclist=[]): @@ -150,7 +150,7 @@ def _make_customer(source_name, ignore_permissions=False): lead_name = quotation[0] customer_name = webnotes.conn.get_value("Customer", {"lead_name": lead_name}) if not customer_name: - from selling.doctype.lead.lead import _make_customer + from erpnext.selling.doctype.lead.lead import _make_customer customer_doclist = _make_customer(lead_name, ignore_permissions=ignore_permissions) customer = webnotes.bean(customer_doclist) customer.ignore_permissions = ignore_permissions diff --git a/erpnext/selling/doctype/quotation/test_quotation.py b/erpnext/selling/doctype/quotation/test_quotation.py index 8f0e644cb93..00cbd6cd9eb 100644 --- a/erpnext/selling/doctype/quotation/test_quotation.py +++ b/erpnext/selling/doctype/quotation/test_quotation.py @@ -9,7 +9,7 @@ test_dependencies = ["Sales BOM"] class TestQuotation(unittest.TestCase): def test_make_sales_order(self): - from selling.doctype.quotation.quotation import make_sales_order + from erpnext.selling.doctype.quotation.quotation import make_sales_order quotation = webnotes.bean(copy=test_records[0]) quotation.insert() diff --git a/erpnext/selling/doctype/sales_bom/sales_bom.py b/erpnext/selling/doctype/sales_bom/sales_bom.py index f6cfafa41df..2f47be33347 100644 --- a/erpnext/selling/doctype/sales_bom/sales_bom.py +++ b/erpnext/selling/doctype/sales_bom/sales_bom.py @@ -14,7 +14,7 @@ class DocType: def validate(self): self.validate_main_item() - from utilities.transaction_base import validate_uom_is_integer + from erpnext.utilities.transaction_base import validate_uom_is_integer validate_uom_is_integer(self.doclist, "uom", "qty") def validate_main_item(self): @@ -33,7 +33,7 @@ class DocType: } def get_new_item_code(doctype, txt, searchfield, start, page_len, filters): - from controllers.queries import get_match_cond + from erpnext.controllers.queries import get_match_cond return webnotes.conn.sql("""select name, item_name, description from tabItem where is_stock_item="No" and is_sales_item="Yes" diff --git a/erpnext/selling/doctype/sales_order/sales_order.js b/erpnext/selling/doctype/sales_order/sales_order.js index e4b3caf486d..a8ba5022e9b 100644 --- a/erpnext/selling/doctype/sales_order/sales_order.js +++ b/erpnext/selling/doctype/sales_order/sales_order.js @@ -62,7 +62,7 @@ erpnext.selling.SalesOrderController = erpnext.selling.SellingController.extend( cur_frm.add_custom_button(wn._('From Quotation'), function() { wn.model.map_current_doc({ - method: "selling.doctype.quotation.quotation.make_sales_order", + method: "erpnext.selling.doctype.quotation.quotation.make_sales_order", source_doctype: "Quotation", get_query_filters: { docstatus: 1, @@ -90,7 +90,7 @@ erpnext.selling.SalesOrderController = erpnext.selling.SellingController.extend( var item = wn.model.get_doc(cdt, cdn); if(item.item_code && item.reserved_warehouse) { return this.frm.call({ - method: "selling.utils.get_available_qty", + method: "erpnext.selling.utils.get_available_qty", child: item, args: { item_code: item.item_code, @@ -102,35 +102,35 @@ erpnext.selling.SalesOrderController = erpnext.selling.SellingController.extend( make_material_request: function() { wn.model.open_mapped_doc({ - method: "selling.doctype.sales_order.sales_order.make_material_request", + method: "erpnext.selling.doctype.sales_order.sales_order.make_material_request", source_name: cur_frm.doc.name }) }, make_delivery_note: function() { wn.model.open_mapped_doc({ - method: "selling.doctype.sales_order.sales_order.make_delivery_note", + method: "erpnext.selling.doctype.sales_order.sales_order.make_delivery_note", source_name: cur_frm.doc.name }) }, make_sales_invoice: function() { wn.model.open_mapped_doc({ - method: "selling.doctype.sales_order.sales_order.make_sales_invoice", + method: "erpnext.selling.doctype.sales_order.sales_order.make_sales_invoice", source_name: cur_frm.doc.name }) }, make_maintenance_schedule: function() { wn.model.open_mapped_doc({ - method: "selling.doctype.sales_order.sales_order.make_maintenance_schedule", + method: "erpnext.selling.doctype.sales_order.sales_order.make_maintenance_schedule", source_name: cur_frm.doc.name }) }, make_maintenance_visit: function() { wn.model.open_mapped_doc({ - method: "selling.doctype.sales_order.sales_order.make_maintenance_visit", + method: "erpnext.selling.doctype.sales_order.sales_order.make_maintenance_visit", source_name: cur_frm.doc.name }) }, diff --git a/erpnext/selling/doctype/sales_order/sales_order.py b/erpnext/selling/doctype/sales_order/sales_order.py index 771aafa6c32..aa5f214fba2 100644 --- a/erpnext/selling/doctype/sales_order/sales_order.py +++ b/erpnext/selling/doctype/sales_order/sales_order.py @@ -11,7 +11,7 @@ from webnotes.model.code import get_obj from webnotes import msgprint from webnotes.model.mapper import get_mapped_doclist -from controllers.selling_controller import SellingController +from erpnext.controllers.selling_controller import SellingController class DocType(SellingController): def __init__(self, doc, doclist=None): @@ -111,7 +111,7 @@ class DocType(SellingController): self.validate_for_items() self.validate_warehouse() - from stock.doctype.packed_item.packed_item import make_packing_list + from erpnext.stock.doctype.packed_item.packed_item import make_packing_list self.doclist = make_packing_list(self,'sales_order_details') self.validate_with_previous_doc() @@ -119,8 +119,8 @@ class DocType(SellingController): if not self.doc.status: self.doc.status = "Draft" - import utilities - utilities.validate_status(self.doc.status, ["Draft", "Submitted", "Stopped", + from erpnext.utilities import validate_status + validate_status(self.doc.status, ["Draft", "Submitted", "Stopped", "Cancelled"]) if not self.doc.billing_status: self.doc.billing_status = 'Not Billed' @@ -128,7 +128,7 @@ class DocType(SellingController): def validate_warehouse(self): - from stock.utils import validate_warehouse_user, validate_warehouse_company + from erpnext.stock.utils import validate_warehouse_user, validate_warehouse_company warehouses = list(set([d.reserved_warehouse for d in self.doclist.get({"doctype": self.tname}) if d.reserved_warehouse])) @@ -231,7 +231,7 @@ class DocType(SellingController): def update_stock_ledger(self, update_stock): - from stock.utils import update_bin + from erpnext.stock.utils import update_bin for d in self.get_item_list(): if webnotes.conn.get_value("Item", d['item_code'], "is_stock_item") == "Yes": args = { diff --git a/erpnext/selling/doctype/sales_order/templates/pages/order.py b/erpnext/selling/doctype/sales_order/templates/pages/order.py index d53a8b0f6fa..0f996e41839 100644 --- a/erpnext/selling/doctype/sales_order/templates/pages/order.py +++ b/erpnext/selling/doctype/sales_order/templates/pages/order.py @@ -8,7 +8,7 @@ from webnotes import _ no_cache = True def get_context(): - from portal.utils import get_transaction_context + from erpnext.portal.utils import get_transaction_context context = get_transaction_context("Sales Order", webnotes.form_dict.name) modify_status(context.get("doc")) context.update({ diff --git a/erpnext/selling/doctype/sales_order/templates/pages/orders.py b/erpnext/selling/doctype/sales_order/templates/pages/orders.py index d7f83dc806d..ad523fca70d 100644 --- a/erpnext/selling/doctype/sales_order/templates/pages/orders.py +++ b/erpnext/selling/doctype/sales_order/templates/pages/orders.py @@ -7,7 +7,7 @@ import webnotes no_cache = True def get_context(): - from portal.utils import get_currency_context + from erpnext.portal.utils import get_currency_context context = get_currency_context() context.update({ "title": "My Orders", @@ -20,8 +20,8 @@ def get_context(): @webnotes.whitelist() def get_orders(start=0): - from portal.utils import get_transaction_list - from selling.doctype.sales_order.templates.pages.order import modify_status + from erpnext.portal.utils import get_transaction_list + from erpnext.selling.doctype.sales_order.templates.pages.order import modify_status orders = get_transaction_list("Sales Order", start, ["per_billed", "per_delivered"]) for d in orders: modify_status(d) diff --git a/erpnext/selling/doctype/sales_order/test_sales_order.py b/erpnext/selling/doctype/sales_order/test_sales_order.py index 1549b24c899..31c7cbc151a 100644 --- a/erpnext/selling/doctype/sales_order/test_sales_order.py +++ b/erpnext/selling/doctype/sales_order/test_sales_order.py @@ -7,7 +7,7 @@ import unittest class TestSalesOrder(unittest.TestCase): def test_make_material_request(self): - from selling.doctype.sales_order.sales_order import make_material_request + from erpnext.selling.doctype.sales_order.sales_order import make_material_request so = webnotes.bean(copy=test_records[0]).insert() @@ -22,7 +22,7 @@ class TestSalesOrder(unittest.TestCase): self.assertEquals(len(mr), len(sales_order.doclist)) def test_make_delivery_note(self): - from selling.doctype.sales_order.sales_order import make_delivery_note + from erpnext.selling.doctype.sales_order.sales_order import make_delivery_note so = webnotes.bean(copy=test_records[0]).insert() @@ -37,7 +37,7 @@ class TestSalesOrder(unittest.TestCase): self.assertEquals(len(dn), len(sales_order.doclist)) def test_make_sales_invoice(self): - from selling.doctype.sales_order.sales_order import make_sales_invoice + from erpnext.selling.doctype.sales_order.sales_order import make_sales_invoice so = webnotes.bean(copy=test_records[0]).insert() @@ -71,8 +71,8 @@ class TestSalesOrder(unittest.TestCase): return w def create_dn_against_so(self, so, delivered_qty=0): - from stock.doctype.delivery_note.test_delivery_note import test_records as dn_test_records - from stock.doctype.delivery_note.test_delivery_note import _insert_purchase_receipt + from erpnext.stock.doctype.delivery_note.test_delivery_note import test_records as dn_test_records + from erpnext.stock.doctype.delivery_note.test_delivery_note import _insert_purchase_receipt _insert_purchase_receipt(so.doclist[1].item_code) @@ -164,7 +164,7 @@ class TestSalesOrder(unittest.TestCase): self.check_reserved_qty(so.doclist[1].item_code, so.doclist[1].reserved_warehouse, 10.0) def test_reserved_qty_for_so_with_packing_list(self): - from selling.doctype.sales_bom.test_sales_bom import test_records as sbom_test_records + from erpnext.selling.doctype.sales_bom.test_sales_bom import test_records as sbom_test_records # change item in test so record test_record = test_records[0][:] @@ -191,7 +191,7 @@ class TestSalesOrder(unittest.TestCase): so.doclist[1].reserved_warehouse, 0.0) def test_reserved_qty_for_partial_delivery_with_packing_list(self): - from selling.doctype.sales_bom.test_sales_bom import test_records as sbom_test_records + from erpnext.selling.doctype.sales_bom.test_sales_bom import test_records as sbom_test_records # change item in test so record @@ -241,7 +241,7 @@ class TestSalesOrder(unittest.TestCase): so.doclist[1].reserved_warehouse, 20.0) def test_reserved_qty_for_over_delivery_with_packing_list(self): - from selling.doctype.sales_bom.test_sales_bom import test_records as sbom_test_records + from erpnext.selling.doctype.sales_bom.test_sales_bom import test_records as sbom_test_records # change item in test so record test_record = webnotes.copy_doclist(test_records[0]) @@ -284,7 +284,7 @@ class TestSalesOrder(unittest.TestCase): webnotes.session.user = "test@example.com" - from stock.utils import UserNotAllowedForWarehouse + from erpnext.stock.utils import UserNotAllowedForWarehouse so = webnotes.bean(copy = test_records[0]) so.doc.company = "_Test Company 1" so.doc.conversion_rate = 0.02 diff --git a/erpnext/selling/doctype/selling_settings/selling_settings.py b/erpnext/selling/doctype/selling_settings/selling_settings.py index 0895e3f7b8d..c28061932e0 100644 --- a/erpnext/selling/doctype/selling_settings/selling_settings.py +++ b/erpnext/selling/doctype/selling_settings/selling_settings.py @@ -15,6 +15,6 @@ class DocType: "editable_price_list_rate", "selling_price_list"]: webnotes.conn.set_default(key, self.doc.fields.get(key, "")) - from setup.doctype.naming_series.naming_series import set_by_naming_series + from erpnext.setup.doctype.naming_series.naming_series import set_by_naming_series set_by_naming_series("Customer", "customer_name", self.doc.get("cust_master_name")=="Naming Series", hide_name_field=False) diff --git a/erpnext/selling/doctype/shopping_cart_settings/shopping_cart_settings.py b/erpnext/selling/doctype/shopping_cart_settings/shopping_cart_settings.py index 6912ac5635f..923936e8a52 100644 --- a/erpnext/selling/doctype/shopping_cart_settings/shopping_cart_settings.py +++ b/erpnext/selling/doctype/shopping_cart_settings/shopping_cart_settings.py @@ -47,7 +47,7 @@ class DocType(DocListController): # validate that a Shopping Cart Price List exists for the root territory # as a catch all! - from setup.utils import get_root_of + from erpnext.setup.utils import get_root_of root_territory = get_root_of("Territory") if root_territory not in territory_name_map.keys(): @@ -143,7 +143,7 @@ class DocType(DocListController): return self.get_name_from_territory(shipping_territory, "shipping_rules", "shipping_rule") def get_territory_ancestry(self, territory): - from setup.utils import get_ancestors_of + from erpnext.setup.utils import get_ancestors_of if not hasattr(self, "_territory_ancestry"): self._territory_ancestry = {} diff --git a/erpnext/selling/doctype/shopping_cart_settings/test_shopping_cart_settings.py b/erpnext/selling/doctype/shopping_cart_settings/test_shopping_cart_settings.py index 6055c61f394..be67f6fe83c 100644 --- a/erpnext/selling/doctype/shopping_cart_settings/test_shopping_cart_settings.py +++ b/erpnext/selling/doctype/shopping_cart_settings/test_shopping_cart_settings.py @@ -6,7 +6,7 @@ from __future__ import unicode_literals import webnotes import unittest -from selling.doctype.shopping_cart_settings.shopping_cart_settings import ShoppingCartSetupError +from erpnext.selling.doctype.shopping_cart_settings.shopping_cart_settings import ShoppingCartSetupError class TestShoppingCartSettings(unittest.TestCase): def setUp(self): @@ -74,7 +74,7 @@ class TestShoppingCartSettings(unittest.TestCase): controller = cart_settings.make_controller() self.assertRaises(ShoppingCartSetupError, controller.validate_exchange_rates_exist) - from setup.doctype.currency_exchange.test_currency_exchange import test_records as \ + from erpnext.setup.doctype.currency_exchange.test_currency_exchange import test_records as \ currency_exchange_records webnotes.bean(currency_exchange_records[0]).insert() controller.validate_exchange_rates_exist() diff --git a/erpnext/selling/page/sales_browser/sales_browser.js b/erpnext/selling/page/sales_browser/sales_browser.js index 58a3b1f837d..1b7d9aa52aa 100644 --- a/erpnext/selling/page/sales_browser/sales_browser.js +++ b/erpnext/selling/page/sales_browser/sales_browser.js @@ -22,7 +22,7 @@ pscript['onload_Sales Browser'] = function(wrapper){ wrapper.make_tree = function() { var ctype = wn.get_route()[1] || 'Territory'; return wn.call({ - method: 'selling.page.sales_browser.sales_browser.get_children', + method: 'erpnext.selling.page.sales_browser.sales_browser.get_children', args: {ctype: ctype}, callback: function(r) { var root = r.message[0]["value"]; @@ -60,7 +60,7 @@ erpnext.SalesChart = Class.extend({ parent: $(parent), label: root, args: {ctype: ctype}, - method: 'selling.page.sales_browser.sales_browser.get_children', + method: 'erpnext.selling.page.sales_browser.sales_browser.get_children', click: function(link) { if(me.cur_toolbar) $(me.cur_toolbar).toggle(false); @@ -144,7 +144,7 @@ erpnext.SalesChart = Class.extend({ v.ctype = me.ctype; return wn.call({ - method: 'selling.page.sales_browser.sales_browser.add_node', + method: 'erpnext.selling.page.sales_browser.sales_browser.add_node', args: v, callback: function() { $(btn).done_working(); diff --git a/erpnext/selling/report/quotation_trends/quotation_trends.py b/erpnext/selling/report/quotation_trends/quotation_trends.py index f7c023f10fc..ea0d3db8f6e 100644 --- a/erpnext/selling/report/quotation_trends/quotation_trends.py +++ b/erpnext/selling/report/quotation_trends/quotation_trends.py @@ -3,7 +3,7 @@ from __future__ import unicode_literals import webnotes -from controllers.trends import get_columns, get_data +from erpnext.controllers.trends import get_columns, get_data def execute(filters=None): if not filters: filters ={} diff --git a/erpnext/selling/report/sales_order_trends/sales_order_trends.py b/erpnext/selling/report/sales_order_trends/sales_order_trends.py index d407be09dac..e9354e61848 100644 --- a/erpnext/selling/report/sales_order_trends/sales_order_trends.py +++ b/erpnext/selling/report/sales_order_trends/sales_order_trends.py @@ -3,7 +3,7 @@ from __future__ import unicode_literals import webnotes -from controllers.trends import get_columns,get_data +from erpnext.controllers.trends import get_columns,get_data def execute(filters=None): if not filters: filters ={} diff --git a/erpnext/selling/report/sales_person_target_variance_item_group_wise/sales_person_target_variance_item_group_wise.py b/erpnext/selling/report/sales_person_target_variance_item_group_wise/sales_person_target_variance_item_group_wise.py index ca189366d42..3e500dc0e3b 100644 --- a/erpnext/selling/report/sales_person_target_variance_item_group_wise/sales_person_target_variance_item_group_wise.py +++ b/erpnext/selling/report/sales_person_target_variance_item_group_wise/sales_person_target_variance_item_group_wise.py @@ -6,8 +6,8 @@ import webnotes from webnotes import _, msgprint from webnotes.utils import flt import time -from accounts.utils import get_fiscal_year -from controllers.trends import get_period_date_ranges, get_period_month_ranges +from erpnext.accounts.utils import get_fiscal_year +from erpnext.controllers.trends import get_period_date_ranges, get_period_month_ranges from webnotes.model.meta import get_field_precision def execute(filters=None): diff --git a/erpnext/selling/report/territory_target_variance_item_group_wise/territory_target_variance_item_group_wise.py b/erpnext/selling/report/territory_target_variance_item_group_wise/territory_target_variance_item_group_wise.py index 08240a7806e..d55e21016b3 100644 --- a/erpnext/selling/report/territory_target_variance_item_group_wise/territory_target_variance_item_group_wise.py +++ b/erpnext/selling/report/territory_target_variance_item_group_wise/territory_target_variance_item_group_wise.py @@ -6,8 +6,8 @@ import webnotes from webnotes import _, msgprint from webnotes.utils import flt import time -from accounts.utils import get_fiscal_year -from controllers.trends import get_period_date_ranges, get_period_month_ranges +from erpnext.accounts.utils import get_fiscal_year +from erpnext.controllers.trends import get_period_date_ranges, get_period_month_ranges def execute(filters=None): if not filters: filters = {} diff --git a/erpnext/selling/sales_common.js b/erpnext/selling/sales_common.js index d6c8fdd0e40..c5eb38c3627 100644 --- a/erpnext/selling/sales_common.js +++ b/erpnext/selling/sales_common.js @@ -158,7 +158,7 @@ erpnext.selling.SellingController = erpnext.TransactionController.extend({ cur_frm.fields_dict[me.frm.cscript.fname].grid.grid_rows[item.idx - 1].remove(); } else { return this.frm.call({ - method: "selling.utils.get_item_details", + method: "erpnext.selling.utils.get_item_details", child: item, args: { args: { @@ -268,7 +268,7 @@ erpnext.selling.SellingController = erpnext.TransactionController.extend({ var item = wn.model.get_doc(cdt, cdn); if(item.item_code && item.warehouse) { return this.frm.call({ - method: "selling.utils.get_available_qty", + method: "erpnext.selling.utils.get_available_qty", child: item, args: { item_code: item.item_code, diff --git a/erpnext/selling/utils/__init__.py b/erpnext/selling/utils/__init__.py index 5974da7d8bc..c73d76ea468 100644 --- a/erpnext/selling/utils/__init__.py +++ b/erpnext/selling/utils/__init__.py @@ -105,7 +105,7 @@ def _get_item_code(barcode=None, serial_no=None): return item_code[0] def _validate_item_details(args, item): - from utilities.transaction_base import validate_item_fetch + from erpnext.utilities.transaction_base import validate_item_fetch validate_item_fetch(args, item) # validate if sales item or service item @@ -154,7 +154,7 @@ def _get_price_list_rate(args, item_bean, meta): return {} # found price list rate - now we can validate - from utilities.transaction_base import validate_currency + from erpnext.utilities.transaction_base import validate_currency validate_currency(args, item_bean.doc, meta) return {"ref_rate": flt(ref_rate[0].ref_rate) * flt(args.plc_conversion_rate) / flt(args.conversion_rate)} diff --git a/erpnext/selling/utils/cart.py b/erpnext/selling/utils/cart.py index 3cd7b3c9f17..f23a5716a2c 100644 --- a/erpnext/selling/utils/cart.py +++ b/erpnext/selling/utils/cart.py @@ -2,7 +2,7 @@ # License: GNU General Public License v3. See license.txt from __future__ import unicode_literals -import webnotes +import webnotes, json from webnotes import msgprint, _ import webnotes.defaults from webnotes.utils import flt, get_fullname, fmt_money, cstr @@ -42,7 +42,7 @@ def place_order(): quotation.ignore_permissions = True quotation.submit() - from selling.doctype.quotation.quotation import _make_sales_order + from erpnext.selling.doctype.quotation.quotation import _make_sales_order sales_order = webnotes.bean(_make_sales_order(quotation.doc.name, ignore_permissions=True)) sales_order.ignore_permissions = True sales_order.insert() @@ -92,7 +92,7 @@ def update_cart(item_code, qty, with_doclist=0): @webnotes.whitelist() def update_cart_address(address_fieldname, address_name): - from utilities.transaction_base import get_address_display + from erpnext.utilities.transaction_base import get_address_display quotation = _get_cart_quotation() address_display = get_address_display(webnotes.doc("Address", address_name).fields) @@ -123,7 +123,7 @@ def get_addresses(): @webnotes.whitelist() def save_address(fields, address_fieldname=None): party = get_lead_or_customer() - fields = webnotes.load_json(fields) + fields = json.loads(fields) if fields.get("name"): bean = webnotes.bean("Address", fields.get("name")) @@ -147,7 +147,7 @@ def save_address(fields, address_fieldname=None): def get_address_docs(party=None): from webnotes.model.doclist import objectify - from utilities.transaction_base import get_address_display + from erpnext.utilities.transaction_base import get_address_display if not party: party = get_lead_or_customer() diff --git a/erpnext/selling/utils/product.py b/erpnext/selling/utils/product.py index 32ff85ad120..a976e2a647d 100644 --- a/erpnext/selling/utils/product.py +++ b/erpnext/selling/utils/product.py @@ -6,7 +6,7 @@ from __future__ import unicode_literals import webnotes from webnotes.utils import cstr, cint, fmt_money, get_base_path from webnotes.webutils import delete_page_cache -from selling.utils.cart import _get_cart_quotation +from erpnext.selling.utils.cart import _get_cart_quotation @webnotes.whitelist(allow_guest=True) def get_product_info(item_code): diff --git a/erpnext/setup/doctype/authorization_control/authorization_control.py b/erpnext/setup/doctype/authorization_control/authorization_control.py index 8c8900a52e3..6df09150b8a 100644 --- a/erpnext/setup/doctype/authorization_control/authorization_control.py +++ b/erpnext/setup/doctype/authorization_control/authorization_control.py @@ -7,10 +7,10 @@ import webnotes from webnotes.utils import cstr, flt, has_common, make_esc from webnotes.model.bean import getlist from webnotes import session, msgprint -from setup.utils import get_company_currency +from erpnext.setup.utils import get_company_currency -from utilities.transaction_base import TransactionBase +from erpnext.utilities.transaction_base import TransactionBase class DocType(TransactionBase): def __init__(self, d, dl): diff --git a/erpnext/setup/doctype/backup_manager/backup_manager.js b/erpnext/setup/doctype/backup_manager/backup_manager.js index c0117570b59..e94a3167287 100644 --- a/erpnext/setup/doctype/backup_manager/backup_manager.js +++ b/erpnext/setup/doctype/backup_manager/backup_manager.js @@ -47,7 +47,7 @@ $.extend(cur_frm.cscript, { allow_dropbox_access: function() { if(cur_frm.cscript.validate_send_notifications_to()) { return wn.call({ - method: "setup.doctype.backup_manager.backup_dropbox.get_dropbox_authorize_url", + method: "erpnext.setup.doctype.backup_manager.backup_dropbox.get_dropbox_authorize_url", callback: function(r) { if(!r.exc) { cur_frm.set_value("dropbox_access_secret", r.message.secret); @@ -64,7 +64,7 @@ $.extend(cur_frm.cscript, { allow_gdrive_access: function() { if(cur_frm.cscript.validate_send_notifications_to()) { return wn.call({ - method: "setup.doctype.backup_manager.backup_googledrive.get_gdrive_authorize_url", + method: "erpnext.setup.doctype.backup_manager.backup_googledrive.get_gdrive_authorize_url", callback: function(r) { if(!r.exc) { window.open(r.message.authorize_url); @@ -76,7 +76,7 @@ $.extend(cur_frm.cscript, { validate_gdrive: function() { return wn.call({ - method: "setup.doctype.backup_manager.backup_googledrive.gdrive_callback", + method: "erpnext.setup.doctype.backup_manager.backup_googledrive.gdrive_callback", args: { verification_code: cur_frm.doc.verification_code }, diff --git a/erpnext/setup/doctype/backup_manager/backup_manager.py b/erpnext/setup/doctype/backup_manager/backup_manager.py index 0a83dea38bf..332d983f29d 100644 --- a/erpnext/setup/doctype/backup_manager/backup_manager.py +++ b/erpnext/setup/doctype/backup_manager/backup_manager.py @@ -30,7 +30,7 @@ def take_backups_if(freq): def take_backups_dropbox(): did_not_upload, error_log = [], [] try: - from setup.doctype.backup_manager.backup_dropbox import backup_to_dropbox + from erpnext.setup.doctype.backup_manager.backup_dropbox import backup_to_dropbox did_not_upload, error_log = backup_to_dropbox() if did_not_upload: raise Exception @@ -50,7 +50,7 @@ def take_backups_dropbox(): def take_backups_gdrive(): did_not_upload, error_log = [], [] try: - from setup.doctype.backup_manager.backup_googledrive import backup_to_gdrive + from erpnext.setup.doctype.backup_manager.backup_googledrive import backup_to_gdrive did_not_upload, error_log = backup_to_gdrive() if did_not_upload: raise Exception diff --git a/erpnext/setup/doctype/company/company.js b/erpnext/setup/doctype/company/company.js index 856d5e1f368..e047c97cdeb 100644 --- a/erpnext/setup/doctype/company/company.js +++ b/erpnext/setup/doctype/company/company.js @@ -27,7 +27,7 @@ cur_frm.cscript.replace_abbr = function() { args = dialog.get_values(); if(!args) return; return wn.call({ - method: "setup.doctype.company.company.replace_abbr", + method: "erpnext.setup.doctype.company.company.replace_abbr", args: { "company": cur_frm.doc.name, "old": cur_frm.doc.abbr, diff --git a/erpnext/setup/doctype/global_defaults/global_defaults.js b/erpnext/setup/doctype/global_defaults/global_defaults.js index ba31f3c85e6..6a2f84a659e 100644 --- a/erpnext/setup/doctype/global_defaults/global_defaults.js +++ b/erpnext/setup/doctype/global_defaults/global_defaults.js @@ -7,7 +7,7 @@ $.extend(cur_frm.cscript, { this.timezone = doc.time_zone; wn.call({ - method:"webnotes.country_info.get_country_timezone_info", + method: "webnotes.country_info.get_country_timezone_info", callback: function(data) { erpnext.country_info = data.message.country_info; erpnext.all_timezones = data.message.all_timezones; diff --git a/erpnext/setup/doctype/item_group/item_group.py b/erpnext/setup/doctype/item_group/item_group.py index 5ad25af6a42..6b989d5af61 100644 --- a/erpnext/setup/doctype/item_group/item_group.py +++ b/erpnext/setup/doctype/item_group/item_group.py @@ -19,7 +19,7 @@ class DocType(DocTypeNestedSet, WebsiteGenerator): self.validate_name_with_item() - from selling.utils.product import invalidate_cache_for + from erpnext.selling.utils.product import invalidate_cache_for invalidate_cache_for(self.doc.name) self.validate_one_root() @@ -30,7 +30,7 @@ class DocType(DocTypeNestedSet, WebsiteGenerator): item group name or rename the item" % self.doc.name, raise_exception=1) def get_context(self): - from selling.utils.product import get_product_list_for_group, \ + from erpnext.selling.utils.product import get_product_list_for_group, \ get_parent_item_groups, get_group_item_count self.doc.sub_groups = webnotes.conn.sql("""select name, page_name diff --git a/erpnext/setup/page/setup/setup.js b/erpnext/setup/page/setup/setup.js index fc6afb4e6e3..fdde6934e52 100644 --- a/erpnext/setup/page/setup/setup.js +++ b/erpnext/setup/page/setup/setup.js @@ -175,7 +175,7 @@ wn.pages.Setup.make = function(wrapper) { } return wn.call({ - method: "setup.page.setup.setup.get", + method: "erpnext.setup.page.setup.setup.get", callback: function(r) { if(r.message) { body.empty(); diff --git a/erpnext/setup/page/setup_wizard/setup_wizard.js b/erpnext/setup/page/setup_wizard/setup_wizard.js index 7b4253d510e..89a59a33088 100644 --- a/erpnext/setup/page/setup_wizard/setup_wizard.js +++ b/erpnext/setup/page/setup_wizard/setup_wizard.js @@ -13,7 +13,7 @@ wn.pages['setup-wizard'].onload = function(wrapper) { var values = wiz.get_values(); wiz.show_working(); wn.call({ - method: "setup.page.setup_wizard.setup_wizard.setup_account", + method: "erpnext.setup.page.setup_wizard.setup_wizard.setup_account", args: values, callback: function(r) { if(r.exc) { diff --git a/erpnext/setup/page/setup_wizard/setup_wizard.py b/erpnext/setup/page/setup_wizard/setup_wizard.py index bf149059a1a..adb031cd613 100644 --- a/erpnext/setup/page/setup_wizard/setup_wizard.py +++ b/erpnext/setup/page/setup_wizard/setup_wizard.py @@ -323,7 +323,7 @@ def add_all_roles_to(name): def create_territories(): """create two default territories, one for home country and one named Rest of the World""" - from setup.utils import get_root_of + from erpnext.setup.utils import get_root_of country = webnotes.conn.get_value("Control Panel", None, "country") root_territory = get_root_of("Territory") for name in (country, "Rest Of The World"): diff --git a/erpnext/setup/page/setup_wizard/test_setup_wizard.py b/erpnext/setup/page/setup_wizard/test_setup_wizard.py index fe0904d5ac5..a4e5c29f8d5 100644 --- a/erpnext/setup/page/setup_wizard/test_setup_wizard.py +++ b/erpnext/setup/page/setup_wizard/test_setup_wizard.py @@ -4,8 +4,8 @@ from __future__ import unicode_literals import webnotes -from setup.page.setup_wizard.test_setup_data import args -from setup.page.setup_wizard.setup_wizard import setup_account +from erpnext.setup.page.setup_wizard.test_setup_data import args +from erpnext.setup.page.setup_wizard.setup_wizard import setup_account if __name__=="__main__": webnotes.connect() diff --git a/erpnext/startup/bean_handlers.py b/erpnext/startup/bean_handlers.py index 679c3aa042a..095dc0d7a12 100644 --- a/erpnext/startup/bean_handlers.py +++ b/erpnext/startup/bean_handlers.py @@ -3,7 +3,7 @@ from home import update_feed from webnotes.core.doctype.notification_count.notification_count import clear_doctype_notifications -from stock.doctype.material_request.material_request import update_completed_qty +from erpnext.stock.doctype.material_request.material_request import update_completed_qty def on_method(bean, method): if method in ("on_update", "on_submit"): diff --git a/erpnext/startup/boot.py b/erpnext/startup/boot.py index a8dbf81a908..cd565c749ff 100644 --- a/erpnext/startup/boot.py +++ b/erpnext/startup/boot.py @@ -4,7 +4,6 @@ from __future__ import unicode_literals import webnotes -import home def boot_session(bootinfo): """boot session - send website info if guest""" diff --git a/erpnext/startup/event_handlers.py b/erpnext/startup/event_handlers.py index b59dee57126..48c2aa01618 100644 --- a/erpnext/startup/event_handlers.py +++ b/erpnext/startup/event_handlers.py @@ -31,7 +31,7 @@ def on_login_post_session(login_manager): webnotes.conn.commit() if webnotes.conn.get_value("Profile", webnotes.session.user, "user_type") == "Website User": - from selling.utils.cart import set_cart_count + from erpnext.selling.utils.cart import set_cart_count set_cart_count() def on_logout(login_manager): diff --git a/erpnext/startup/schedule_handlers.py b/erpnext/startup/schedule_handlers.py index 32987c465da..e1b3bb4544f 100644 --- a/erpnext/startup/schedule_handlers.py +++ b/erpnext/startup/schedule_handlers.py @@ -13,13 +13,13 @@ def execute_all(): * recurring invoice """ # pull emails - from support.doctype.support_ticket.get_support_mails import get_support_mails + from erpnext.support.doctype.support_ticket.get_support_mails import get_support_mails run_fn(get_support_mails) - from hr.doctype.job_applicant.get_job_applications import get_job_applications + from erpnext.hr.doctype.job_applicant.get_job_applications import get_job_applications run_fn(get_job_applications) - from selling.doctype.lead.get_leads import get_leads + from erpnext.selling.doctype.lead.get_leads import get_leads run_fn(get_leads) from webnotes.utils.email_lib.bulk import flush @@ -35,11 +35,11 @@ def execute_daily(): delete_notification_count_for("Event") # email digest - from setup.doctype.email_digest.email_digest import send + from erpnext.setup.doctype.email_digest.email_digest import send run_fn(send) # run recurring invoices - from accounts.doctype.sales_invoice.sales_invoice import manage_recurring_invoices + from erpnext.accounts.doctype.sales_invoice.sales_invoice import manage_recurring_invoices run_fn(manage_recurring_invoices) # send bulk emails @@ -47,18 +47,18 @@ def execute_daily(): run_fn(clear_outbox) # daily backup - from setup.doctype.backup_manager.backup_manager import take_backups_daily + from erpnext.setup.doctype.backup_manager.backup_manager import take_backups_daily run_fn(take_backups_daily) # check reorder level - from stock.utils import reorder_item + from erpnext.stock.utils import reorder_item run_fn(reorder_item) # scheduler error scheduler.report_errors() def execute_weekly(): - from setup.doctype.backup_manager.backup_manager import take_backups_weekly + from erpnext.setup.doctype.backup_manager.backup_manager import take_backups_weekly run_fn(take_backups_weekly) def execute_monthly(): diff --git a/erpnext/stock/doctype/bin/bin.py b/erpnext/stock/doctype/bin/bin.py index 73b1cacc355..1acb3aa5565 100644 --- a/erpnext/stock/doctype/bin/bin.py +++ b/erpnext/stock/doctype/bin/bin.py @@ -33,7 +33,7 @@ class DocType: self.update_qty(args) if args.get("actual_qty"): - from stock.stock_ledger import update_entries_after + from erpnext.stock.stock_ledger import update_entries_after if not args.get("posting_date"): args["posting_date"] = nowdate() diff --git a/erpnext/stock/doctype/delivery_note/delivery_note.js b/erpnext/stock/doctype/delivery_note/delivery_note.js index 7376f3c60f4..796bf0f66b1 100644 --- a/erpnext/stock/doctype/delivery_note/delivery_note.js +++ b/erpnext/stock/doctype/delivery_note/delivery_note.js @@ -52,7 +52,7 @@ erpnext.stock.DeliveryNoteController = erpnext.selling.SellingController.extend( cur_frm.add_custom_button(wn._('From Sales Order'), function() { wn.model.map_current_doc({ - method: "selling.doctype.sales_order.sales_order.make_delivery_note", + method: "erpnext.selling.doctype.sales_order.sales_order.make_delivery_note", source_doctype: "Sales Order", get_query_filters: { docstatus: 1, @@ -70,14 +70,14 @@ erpnext.stock.DeliveryNoteController = erpnext.selling.SellingController.extend( make_sales_invoice: function() { wn.model.open_mapped_doc({ - method: "stock.doctype.delivery_note.delivery_note.make_sales_invoice", + method: "erpnext.stock.doctype.delivery_note.delivery_note.make_sales_invoice", source_name: cur_frm.doc.name }) }, make_installation_note: function() { wn.model.open_mapped_doc({ - method: "stock.doctype.delivery_note.delivery_note.make_installation_note", + method: "erpnext.stock.doctype.delivery_note.delivery_note.make_installation_note", source_name: cur_frm.doc.name }); }, diff --git a/erpnext/stock/doctype/delivery_note/delivery_note.py b/erpnext/stock/doctype/delivery_note/delivery_note.py index 1089a5697c7..de76bb96024 100644 --- a/erpnext/stock/doctype/delivery_note/delivery_note.py +++ b/erpnext/stock/doctype/delivery_note/delivery_note.py @@ -10,8 +10,8 @@ from webnotes.model.code import get_obj from webnotes import msgprint, _ import webnotes.defaults from webnotes.model.mapper import get_mapped_doclist -from stock.utils import update_bin -from controllers.selling_controller import SellingController +from erpnext.stock.utils import update_bin +from erpnext.controllers.selling_controller import SellingController class DocType(SellingController): def __init__(self, doc, doclist=[]): @@ -61,8 +61,8 @@ class DocType(SellingController): def validate(self): super(DocType, self).validate() - import utilities - utilities.validate_status(self.doc.status, ["Draft", "Submitted", "Cancelled"]) + from erpnext.utilities import validate_status + validate_status(self.doc.status, ["Draft", "Submitted", "Cancelled"]) self.so_required() self.validate_proj_cust() @@ -144,7 +144,7 @@ class DocType(SellingController): d.projected_qty = bin and flt(bin[0]['projected_qty']) or 0 def on_update(self): - from stock.doctype.packed_item.packed_item import make_packing_list + from erpnext.stock.doctype.packed_item.packed_item import make_packing_list self.doclist = make_packing_list(self, 'delivery_note_details') def on_submit(self): diff --git a/erpnext/stock/doctype/delivery_note/templates/pages/shipment.py b/erpnext/stock/doctype/delivery_note/templates/pages/shipment.py index 760ffe0ad63..dc8ab6af6a7 100644 --- a/erpnext/stock/doctype/delivery_note/templates/pages/shipment.py +++ b/erpnext/stock/doctype/delivery_note/templates/pages/shipment.py @@ -7,7 +7,7 @@ import webnotes no_cache = True def get_context(): - from portal.utils import get_transaction_context + from erpnext.portal.utils import get_transaction_context context = get_transaction_context("Delivery Note", webnotes.form_dict.name) context.update({ "parent_link": "shipments", diff --git a/erpnext/stock/doctype/delivery_note/templates/pages/shipments.py b/erpnext/stock/doctype/delivery_note/templates/pages/shipments.py index b8fe65a7ea3..8c20149f00c 100644 --- a/erpnext/stock/doctype/delivery_note/templates/pages/shipments.py +++ b/erpnext/stock/doctype/delivery_note/templates/pages/shipments.py @@ -7,7 +7,7 @@ import webnotes no_cache = True def get_context(): - from portal.utils import get_currency_context + from erpnext.portal.utils import get_currency_context context = get_currency_context() context.update({ "title": "Shipments", @@ -20,5 +20,5 @@ def get_context(): @webnotes.whitelist() def get_shipments(start=0): - from portal.utils import get_transaction_list + from erpnext.portal.utils import get_transaction_list return get_transaction_list("Delivery Note", start) diff --git a/erpnext/stock/doctype/delivery_note/test_delivery_note.py b/erpnext/stock/doctype/delivery_note/test_delivery_note.py index 64ddff80e67..7b6b0ad0a81 100644 --- a/erpnext/stock/doctype/delivery_note/test_delivery_note.py +++ b/erpnext/stock/doctype/delivery_note/test_delivery_note.py @@ -7,7 +7,7 @@ import unittest import webnotes import webnotes.defaults from webnotes.utils import cint -from stock.doctype.purchase_receipt.test_purchase_receipt import get_gl_entries, set_perpetual_inventory, test_records as pr_test_records +from erpnext.stock.doctype.purchase_receipt.test_purchase_receipt import get_gl_entries, set_perpetual_inventory, test_records as pr_test_records def _insert_purchase_receipt(item_code=None): if not item_code: @@ -23,7 +23,7 @@ class TestDeliveryNote(unittest.TestCase): self.clear_stock_account_balance() _insert_purchase_receipt() - from stock.doctype.delivery_note.delivery_note import make_sales_invoice + from erpnext.stock.doctype.delivery_note.delivery_note import make_sales_invoice _insert_purchase_receipt() dn = webnotes.bean(copy=test_records[0]).insert() @@ -80,7 +80,7 @@ class TestDeliveryNote(unittest.TestCase): stock_in_hand_account = webnotes.conn.get_value("Account", {"master_name": dn.doclist[1].warehouse}) - from accounts.utils import get_balance_on + from erpnext.accounts.utils import get_balance_on prev_bal = get_balance_on(stock_in_hand_account, dn.doc.posting_date) dn.insert() @@ -135,7 +135,7 @@ class TestDeliveryNote(unittest.TestCase): stock_in_hand_account = webnotes.conn.get_value("Account", {"master_name": dn.doclist[1].warehouse}) - from accounts.utils import get_balance_on + from erpnext.accounts.utils import get_balance_on prev_bal = get_balance_on(stock_in_hand_account, dn.doc.posting_date) dn.insert() @@ -161,8 +161,8 @@ class TestDeliveryNote(unittest.TestCase): set_perpetual_inventory(0) def test_serialized(self): - from stock.doctype.stock_entry.test_stock_entry import make_serialized_item - from stock.doctype.serial_no.serial_no import get_serial_nos + from erpnext.stock.doctype.stock_entry.test_stock_entry import make_serialized_item + from erpnext.stock.doctype.serial_no.serial_no import get_serial_nos se = make_serialized_item() serial_nos = get_serial_nos(se.doclist[1].serial_no) @@ -182,7 +182,7 @@ class TestDeliveryNote(unittest.TestCase): return dn def test_serialized_cancel(self): - from stock.doctype.serial_no.serial_no import get_serial_nos + from erpnext.stock.doctype.serial_no.serial_no import get_serial_nos dn = self.test_serialized() dn.cancel() @@ -194,8 +194,8 @@ class TestDeliveryNote(unittest.TestCase): "delivery_document_no")) def test_serialize_status(self): - from stock.doctype.serial_no.serial_no import SerialNoStatusError, get_serial_nos - from stock.doctype.stock_entry.test_stock_entry import make_serialized_item + from erpnext.stock.doctype.serial_no.serial_no import SerialNoStatusError, get_serial_nos + from erpnext.stock.doctype.stock_entry.test_stock_entry import make_serialized_item se = make_serialized_item() serial_nos = get_serial_nos(se.doclist[1].serial_no) diff --git a/erpnext/stock/doctype/item/item.py b/erpnext/stock/doctype/item/item.py index 0459070e360..e7ce2f9b843 100644 --- a/erpnext/stock/doctype/item/item.py +++ b/erpnext/stock/doctype/item/item.py @@ -214,7 +214,7 @@ class DocType(DocListController, WebsiteGenerator): self.doc.name, raise_exception=1) def update_website(self): - from selling.utils.product import invalidate_cache_for + from erpnext.selling.utils.product import invalidate_cache_for invalidate_cache_for(self.doc.item_group) [invalidate_cache_for(d.item_group) for d in \ self.doclist.get({"doctype":"Website Item Group"})] @@ -233,7 +233,7 @@ class DocType(DocListController, WebsiteGenerator): return { "tax_rate": webnotes.conn.get_value("Account", tax_type, "tax_rate") } def get_context(self): - from selling.utils.product import get_parent_item_groups + from erpnext.selling.utils.product import get_parent_item_groups self.parent_groups = get_parent_item_groups(self.doc.item_group) + [{"name":self.doc.name}] self.doc.title = self.doc.item_name @@ -280,12 +280,12 @@ class DocType(DocListController, WebsiteGenerator): clear_cache(self.doc.page_name) def set_last_purchase_rate(self, newdn): - from buying.utils import get_last_purchase_details + from erpnext.buying.utils import get_last_purchase_details last_purchase_rate = get_last_purchase_details(newdn).get("purchase_rate", 0) webnotes.conn.set_value("Item", newdn, "last_purchase_rate", last_purchase_rate) def recalculate_bin_qty(self, newdn): - from utilities.repost_stock import repost_stock + from erpnext.utilities.repost_stock import repost_stock webnotes.conn.auto_commit_on_many_writes = 1 webnotes.conn.set_default("allow_negative_stock", 1) diff --git a/erpnext/stock/doctype/item/templates/includes/product_list.js b/erpnext/stock/doctype/item/templates/includes/product_list.js index 268760d7516..ac84c00a3ea 100644 --- a/erpnext/stock/doctype/item/templates/includes/product_list.js +++ b/erpnext/stock/doctype/item/templates/includes/product_list.js @@ -15,7 +15,7 @@ window.get_product_list = function() { url: "/", dataType: "json", data: { - cmd: "selling.utils.product.get_product_list", + cmd: "erpnext.selling.utils.product.get_product_list", start: window.start, search: window.search, product_group: window.product_group diff --git a/erpnext/stock/doctype/item/templates/includes/product_page.js b/erpnext/stock/doctype/item/templates/includes/product_page.js index df842ccc223..5029b902993 100644 --- a/erpnext/stock/doctype/item/templates/includes/product_page.js +++ b/erpnext/stock/doctype/item/templates/includes/product_page.js @@ -7,7 +7,7 @@ $(document).ready(function() { wn.call({ type: "POST", - method: "selling.utils.product.get_product_info", + method: "erpnext.selling.utils.product.get_product_info", args: { item_code: "{{ name }}" }, diff --git a/erpnext/stock/doctype/item/test_item.py b/erpnext/stock/doctype/item/test_item.py index b8f6f9e2467..3cf1d5ecf69 100644 --- a/erpnext/stock/doctype/item/test_item.py +++ b/erpnext/stock/doctype/item/test_item.py @@ -10,7 +10,7 @@ test_dependencies = ["Warehouse"] class TestItem(unittest.TestCase): def test_default_warehouse(self): - from stock.doctype.item.item import WarehouseNotSet + from erpnext.stock.doctype.item.item import WarehouseNotSet item = webnotes.bean(copy=test_records[0]) item.doc.is_stock_item = "Yes" item.doc.default_warehouse = None diff --git a/erpnext/stock/doctype/item_price/test_item_price.py b/erpnext/stock/doctype/item_price/test_item_price.py index 583b3debad3..bc695ea3a9f 100644 --- a/erpnext/stock/doctype/item_price/test_item_price.py +++ b/erpnext/stock/doctype/item_price/test_item_price.py @@ -7,7 +7,7 @@ import webnotes class TestItem(unittest.TestCase): def test_duplicate_item(self): - from stock.doctype.item_price.item_price import ItemPriceDuplicateItem + from erpnext.stock.doctype.item_price.item_price import ItemPriceDuplicateItem bean = webnotes.bean(copy=test_records[0]) self.assertRaises(ItemPriceDuplicateItem, bean.insert) diff --git a/erpnext/stock/doctype/material_request/material_request.js b/erpnext/stock/doctype/material_request/material_request.js index 3ca95a41c2b..7dca9352920 100644 --- a/erpnext/stock/doctype/material_request/material_request.js +++ b/erpnext/stock/doctype/material_request/material_request.js @@ -49,7 +49,7 @@ erpnext.buying.MaterialRequestController = erpnext.buying.BuyingController.exten cur_frm.add_custom_button(wn._('From Sales Order'), function() { wn.model.map_current_doc({ - method: "selling.doctype.sales_order.sales_order.make_material_request", + method: "erpnext.selling.doctype.sales_order.sales_order.make_material_request", source_doctype: "Sales Order", get_query_filters: { docstatus: 1, @@ -95,7 +95,7 @@ erpnext.buying.MaterialRequestController = erpnext.buying.BuyingController.exten if(!values) return; wn.call({ - method:"manufacturing.doctype.bom.bom.get_bom_items", + method: "erpnext.manufacturing.doctype.bom.bom.get_bom_items", args: values, callback: function(r) { $.each(r.message, function(i, item) { @@ -128,21 +128,21 @@ erpnext.buying.MaterialRequestController = erpnext.buying.BuyingController.exten make_purchase_order: function() { wn.model.open_mapped_doc({ - method: "stock.doctype.material_request.material_request.make_purchase_order", + method: "erpnext.stock.doctype.material_request.material_request.make_purchase_order", source_name: cur_frm.doc.name }) }, make_supplier_quotation: function() { wn.model.open_mapped_doc({ - method: "stock.doctype.material_request.material_request.make_supplier_quotation", + method: "erpnext.stock.doctype.material_request.material_request.make_supplier_quotation", source_name: cur_frm.doc.name }) }, make_stock_entry: function() { wn.model.open_mapped_doc({ - method: "stock.doctype.material_request.material_request.make_stock_entry", + method: "erpnext.stock.doctype.material_request.material_request.make_stock_entry", source_name: cur_frm.doc.name }) } diff --git a/erpnext/stock/doctype/material_request/material_request.py b/erpnext/stock/doctype/material_request/material_request.py index f340ccaedd7..2f0fcb7cc15 100644 --- a/erpnext/stock/doctype/material_request/material_request.py +++ b/erpnext/stock/doctype/material_request/material_request.py @@ -12,7 +12,7 @@ from webnotes.model.utils import getlist from webnotes.model.code import get_obj from webnotes import msgprint, _ -from controllers.buying_controller import BuyingController +from erpnext.controllers.buying_controller import BuyingController class DocType(BuyingController): def __init__(self, doc, doclist=[]): self.doc = doc @@ -63,8 +63,8 @@ class DocType(BuyingController): if not self.doc.status: self.doc.status = "Draft" - import utilities - utilities.validate_status(self.doc.status, ["Draft", "Submitted", "Stopped", "Cancelled"]) + from erpnext.utilities import validate_status + validate_status(self.doc.status, ["Draft", "Submitted", "Stopped", "Cancelled"]) self.validate_value("material_request_type", "in", ["Purchase", "Transfer"]) @@ -76,7 +76,7 @@ class DocType(BuyingController): def update_bin(self, is_submit, is_stopped): """ Update Quantity Requested for Purchase in Bin for Material Request of type 'Purchase'""" - from stock.utils import update_bin + from erpnext.stock.utils import update_bin for d in getlist(self.doclist, 'indent_details'): if webnotes.conn.get_value("Item", d.item_code, "is_stock_item") == "Yes": if not d.warehouse: @@ -188,7 +188,7 @@ def update_completed_qty(controller, caller_method): def _update_requested_qty(controller, mr_obj, mr_items): """update requested qty (before ordered_qty is updated)""" - from stock.utils import update_bin + from erpnext.stock.utils import update_bin for mr_item_name in mr_items: mr_item = mr_obj.doclist.getone({"parentfield": "indent_details", "name": mr_item_name}) se_detail = controller.doclist.getone({"parentfield": "mtn_details", diff --git a/erpnext/stock/doctype/material_request/test_material_request.py b/erpnext/stock/doctype/material_request/test_material_request.py index c19bfd39289..5266f49257d 100644 --- a/erpnext/stock/doctype/material_request/test_material_request.py +++ b/erpnext/stock/doctype/material_request/test_material_request.py @@ -13,7 +13,7 @@ class TestMaterialRequest(unittest.TestCase): webnotes.defaults.set_global_default("auto_accounting_for_stock", 0) def test_make_purchase_order(self): - from stock.doctype.material_request.material_request import make_purchase_order + from erpnext.stock.doctype.material_request.material_request import make_purchase_order mr = webnotes.bean(copy=test_records[0]).insert() @@ -28,7 +28,7 @@ class TestMaterialRequest(unittest.TestCase): self.assertEquals(len(po), len(mr.doclist)) def test_make_supplier_quotation(self): - from stock.doctype.material_request.material_request import make_supplier_quotation + from erpnext.stock.doctype.material_request.material_request import make_supplier_quotation mr = webnotes.bean(copy=test_records[0]).insert() @@ -44,7 +44,7 @@ class TestMaterialRequest(unittest.TestCase): def test_make_stock_entry(self): - from stock.doctype.material_request.material_request import make_stock_entry + from erpnext.stock.doctype.material_request.material_request import make_stock_entry mr = webnotes.bean(copy=test_records[0]).insert() @@ -122,7 +122,7 @@ class TestMaterialRequest(unittest.TestCase): self._test_requested_qty(54.0, 3.0) # map a purchase order - from stock.doctype.material_request.material_request import make_purchase_order + from erpnext.stock.doctype.material_request.material_request import make_purchase_order po_doclist = make_purchase_order(mr.doc.name) po_doclist[0].supplier = "_Test Supplier" po_doclist[1].qty = 27.0 @@ -169,7 +169,7 @@ class TestMaterialRequest(unittest.TestCase): self._test_requested_qty(54.0, 3.0) - from stock.doctype.material_request.material_request import make_stock_entry + from erpnext.stock.doctype.material_request.material_request import make_stock_entry # map a stock entry se_doclist = make_stock_entry(mr.doc.name) @@ -233,7 +233,7 @@ class TestMaterialRequest(unittest.TestCase): self._test_requested_qty(54.0, 3.0) # map a stock entry - from stock.doctype.material_request.material_request import make_stock_entry + from erpnext.stock.doctype.material_request.material_request import make_stock_entry se_doclist = make_stock_entry(mr.doc.name) se_doclist[0].update({ @@ -288,7 +288,7 @@ class TestMaterialRequest(unittest.TestCase): mr.submit() # map a stock entry - from stock.doctype.material_request.material_request import make_stock_entry + from erpnext.stock.doctype.material_request.material_request import make_stock_entry se_doclist = make_stock_entry(mr.doc.name) se_doclist[0].update({ @@ -315,7 +315,7 @@ class TestMaterialRequest(unittest.TestCase): self.assertRaises(webnotes.MappingMismatchError, se.insert) def test_warehouse_company_validation(self): - from stock.utils import InvalidWarehouseCompany + from erpnext.stock.utils import InvalidWarehouseCompany mr = webnotes.bean(copy=test_records[0]) mr.doc.company = "_Test Company 1" self.assertRaises(InvalidWarehouseCompany, mr.insert) diff --git a/erpnext/stock/doctype/packing_slip/packing_slip.py b/erpnext/stock/doctype/packing_slip/packing_slip.py index 8501b2b4f3f..93583471000 100644 --- a/erpnext/stock/doctype/packing_slip/packing_slip.py +++ b/erpnext/stock/doctype/packing_slip/packing_slip.py @@ -24,7 +24,7 @@ class DocType: self.validate_case_nos() self.validate_qty() - from utilities.transaction_base import validate_uom_is_integer + from erpnext.utilities.transaction_base import validate_uom_is_integer validate_uom_is_integer(self.doclist, "stock_uom", "qty") validate_uom_is_integer(self.doclist, "weight_uom", "net_weight") @@ -165,7 +165,7 @@ class DocType: self.update_item_details() def item_details(doctype, txt, searchfield, start, page_len, filters): - from controllers.queries import get_match_cond + from erpnext.controllers.queries import get_match_cond return webnotes.conn.sql("""select name, item_name, description from `tabItem` where name in ( select item_code FROM `tabDelivery Note Item` where parent= %s diff --git a/erpnext/stock/doctype/purchase_receipt/purchase_receipt.js b/erpnext/stock/doctype/purchase_receipt/purchase_receipt.js index c6473055d8a..59a60632325 100644 --- a/erpnext/stock/doctype/purchase_receipt/purchase_receipt.js +++ b/erpnext/stock/doctype/purchase_receipt/purchase_receipt.js @@ -28,7 +28,7 @@ erpnext.stock.PurchaseReceiptController = erpnext.buying.BuyingController.extend cur_frm.add_custom_button(wn._(wn._('From Purchase Order')), function() { wn.model.map_current_doc({ - method: "buying.doctype.purchase_order.purchase_order.make_purchase_receipt", + method: "erpnext.buying.doctype.purchase_order.purchase_order.make_purchase_receipt", source_doctype: "Purchase Order", get_query_filters: { supplier: cur_frm.doc.supplier || undefined, @@ -91,7 +91,7 @@ erpnext.stock.PurchaseReceiptController = erpnext.buying.BuyingController.extend make_purchase_invoice: function() { wn.model.open_mapped_doc({ - method: "stock.doctype.purchase_receipt.purchase_receipt.make_purchase_invoice", + method: "erpnext.stock.doctype.purchase_receipt.purchase_receipt.make_purchase_invoice", source_name: cur_frm.doc.name }) }, diff --git a/erpnext/stock/doctype/purchase_receipt/purchase_receipt.py b/erpnext/stock/doctype/purchase_receipt/purchase_receipt.py index f8173bf6720..7a33971542e 100644 --- a/erpnext/stock/doctype/purchase_receipt/purchase_receipt.py +++ b/erpnext/stock/doctype/purchase_receipt/purchase_receipt.py @@ -9,9 +9,9 @@ from webnotes.model.bean import getlist from webnotes.model.code import get_obj from webnotes import msgprint, _ import webnotes.defaults -from stock.utils import update_bin +from erpnext.stock.utils import update_bin -from controllers.buying_controller import BuyingController +from erpnext.controllers.buying_controller import BuyingController class DocType(BuyingController): def __init__(self, doc, doclist=[]): self.doc = doc @@ -46,8 +46,8 @@ class DocType(BuyingController): if not self.doc.status: self.doc.status = "Draft" - import utilities - utilities.validate_status(self.doc.status, ["Draft", "Submitted", "Cancelled"]) + from erpnext.utilities import validate_status + validate_status(self.doc.status, ["Draft", "Submitted", "Cancelled"]) self.validate_with_previous_doc() self.validate_rejected_warehouse() @@ -240,7 +240,7 @@ class DocType(BuyingController): self.update_stock() - from stock.doctype.serial_no.serial_no import update_serial_nos_after_submit + from erpnext.stock.doctype.serial_no.serial_no import update_serial_nos_after_submit update_serial_nos_after_submit(self, "purchase_receipt_details") purchase_controller.update_last_purchase_rate(self, 1) diff --git a/erpnext/stock/doctype/purchase_receipt/test_purchase_receipt.py b/erpnext/stock/doctype/purchase_receipt/test_purchase_receipt.py index 96d1a13ba12..89e77cee817 100644 --- a/erpnext/stock/doctype/purchase_receipt/test_purchase_receipt.py +++ b/erpnext/stock/doctype/purchase_receipt/test_purchase_receipt.py @@ -12,7 +12,7 @@ class TestPurchaseReceipt(unittest.TestCase): def test_make_purchase_invoice(self): self._clear_stock_account_balance() set_perpetual_inventory(0) - from stock.doctype.purchase_receipt.purchase_receipt import make_purchase_invoice + from erpnext.stock.doctype.purchase_receipt.purchase_receipt import make_purchase_invoice pr = webnotes.bean(copy=test_records[0]).insert() diff --git a/erpnext/stock/doctype/serial_no/serial_no.py b/erpnext/stock/doctype/serial_no/serial_no.py index dc067ec6d10..1690cad21cd 100644 --- a/erpnext/stock/doctype/serial_no/serial_no.py +++ b/erpnext/stock/doctype/serial_no/serial_no.py @@ -8,7 +8,7 @@ from webnotes.utils import cint, getdate, cstr, flt, add_days import datetime from webnotes import _, ValidationError -from controllers.stock_controller import StockController +from erpnext.controllers.stock_controller import StockController class SerialNoCannotCreateDirectError(ValidationError): pass class SerialNoCannotCannotChangeError(ValidationError): pass diff --git a/erpnext/stock/doctype/serial_no/test_serial_no.py b/erpnext/stock/doctype/serial_no/test_serial_no.py index 8ce36cdc4b8..fb2336147a6 100644 --- a/erpnext/stock/doctype/serial_no/test_serial_no.py +++ b/erpnext/stock/doctype/serial_no/test_serial_no.py @@ -10,7 +10,7 @@ import webnotes, unittest test_dependencies = ["Item"] test_records = [] -from stock.doctype.serial_no.serial_no import * +from erpnext.stock.doctype.serial_no.serial_no import * class TestSerialNo(unittest.TestCase): def test_cannot_create_direct(self): diff --git a/erpnext/stock/doctype/stock_entry/stock_entry.js b/erpnext/stock/doctype/stock_entry/stock_entry.js index 76284eabb74..d5c54b59433 100644 --- a/erpnext/stock/doctype/stock_entry/stock_entry.js +++ b/erpnext/stock/doctype/stock_entry/stock_entry.js @@ -99,7 +99,7 @@ erpnext.stock.StockEntry = erpnext.stock.StockController.extend({ account_for = "stock_received_but_not_billed"; return this.frm.call({ - method: "accounts.utils.get_company_default", + method: "erpnext.accounts.utils.get_company_default", args: { "fieldname": account_for, "company": this.frm.doc.company diff --git a/erpnext/stock/doctype/stock_entry/stock_entry.py b/erpnext/stock/doctype/stock_entry/stock_entry.py index ba0e72478ce..a4a04248a5a 100644 --- a/erpnext/stock/doctype/stock_entry/stock_entry.py +++ b/erpnext/stock/doctype/stock_entry/stock_entry.py @@ -10,9 +10,9 @@ from webnotes.model.doc import addchild from webnotes.model.bean import getlist from webnotes.model.code import get_obj from webnotes import msgprint, _ -from stock.utils import get_incoming_rate -from stock.stock_ledger import get_previous_sle -from controllers.queries import get_match_cond +from erpnext.stock.utils import get_incoming_rate +from erpnext.stock.stock_ledger import get_previous_sle +from erpnext.controllers.queries import get_match_cond import json @@ -22,7 +22,7 @@ class IncorrectValuationRateError(webnotes.ValidationError): pass class DuplicateEntryForProductionOrderError(webnotes.ValidationError): pass class StockOverProductionError(webnotes.ValidationError): pass -from controllers.stock_controller import StockController +from erpnext.controllers.stock_controller import StockController class DocType(StockController): def __init__(self, doc, doclist=None): @@ -53,7 +53,7 @@ class DocType(StockController): def on_submit(self): self.update_stock_ledger() - from stock.doctype.serial_no.serial_no import update_serial_nos_after_submit + from erpnext.stock.doctype.serial_no.serial_no import update_serial_nos_after_submit update_serial_nos_after_submit(self, "mtn_details") self.update_production_order() self.make_gl_entries() @@ -64,8 +64,8 @@ class DocType(StockController): self.make_cancel_gl_entries() def validate_fiscal_year(self): - import accounts.utils - accounts.utils.validate_fiscal_year(self.doc.posting_date, self.doc.fiscal_year, + from erpnext.accounts.utils import validate_fiscal_year + validate_fiscal_year(self.doc.posting_date, self.doc.fiscal_year, self.meta.get_label("posting_date")) def validate_purpose(self): @@ -356,7 +356,7 @@ class DocType(StockController): where name=%s""", (status, produced_qty, self.doc.production_order)) def update_planned_qty(self, pro_bean): - from stock.utils import update_bin + from erpnext.stock.utils import update_bin update_bin({ "item_code": pro_bean.doc.production_item, "warehouse": pro_bean.doc.fg_warehouse, @@ -495,7 +495,7 @@ class DocType(StockController): self.get_stock_and_rate() def get_bom_raw_materials(self, qty): - from manufacturing.doctype.bom.bom import get_bom_items_as_dict + from erpnext.manufacturing.doctype.bom.bom import get_bom_items_as_dict # item dict = { item_code: {qty, description, stock_uom} } item_dict = get_bom_items_as_dict(self.doc.bom_no, qty=qty, fetch_exploded = self.doc.use_multi_level_bom) @@ -601,7 +601,7 @@ class DocType(StockController): return result and result[0] or {} def get_cust_addr(self): - from utilities.transaction_base import get_default_address, get_address_display + from erpnext.utilities.transaction_base import get_default_address, get_address_display res = webnotes.conn.sql("select customer_name from `tabCustomer` where name = '%s'"%self.doc.customer) address_display = None customer_address = get_default_address("customer", self.doc.customer) @@ -622,7 +622,7 @@ class DocType(StockController): return result and result[0] or {} def get_supp_addr(self): - from utilities.transaction_base import get_default_address, get_address_display + from erpnext.utilities.transaction_base import get_default_address, get_address_display res = webnotes.conn.sql("""select supplier_name from `tabSupplier` where name=%s""", self.doc.supplier) address_display = None @@ -811,7 +811,7 @@ def make_return_jv(stock_entry): "company": se.doc.company }] - from accounts.utils import get_balance_on + from erpnext.accounts.utils import get_balance_on for r in result: jv_list.append({ "__islocal": 1, diff --git a/erpnext/stock/doctype/stock_entry/test_stock_entry.py b/erpnext/stock/doctype/stock_entry/test_stock_entry.py index d6f34f645a9..8014c99f10b 100644 --- a/erpnext/stock/doctype/stock_entry/test_stock_entry.py +++ b/erpnext/stock/doctype/stock_entry/test_stock_entry.py @@ -4,8 +4,8 @@ from __future__ import unicode_literals import webnotes, unittest from webnotes.utils import flt -from stock.doctype.serial_no.serial_no import * -from stock.doctype.purchase_receipt.test_purchase_receipt import set_perpetual_inventory +from erpnext.stock.doctype.serial_no.serial_no import * +from erpnext.stock.doctype.purchase_receipt.test_purchase_receipt import set_perpetual_inventory class TestStockEntry(unittest.TestCase): @@ -29,7 +29,7 @@ class TestStockEntry(unittest.TestCase): st2.insert() st2.submit() - from stock.utils import reorder_item + from erpnext.stock.utils import reorder_item reorder_item() mr_name = webnotes.conn.sql("""select parent from `tabMaterial Request Item` @@ -46,7 +46,7 @@ class TestStockEntry(unittest.TestCase): .add_roles("Sales User", "Sales Manager", "Material User", "Material Manager") webnotes.session.user = "test2@example.com" - from stock.utils import InvalidWarehouseCompany + from erpnext.stock.utils import InvalidWarehouseCompany st1 = webnotes.bean(copy=test_records[0]) st1.doclist[1].t_warehouse="_Test Warehouse 2 - _TC1" st1.insert() @@ -56,7 +56,7 @@ class TestStockEntry(unittest.TestCase): def test_warehouse_user(self): set_perpetual_inventory(0) - from stock.utils import UserNotAllowedForWarehouse + from erpnext.stock.utils import UserNotAllowedForWarehouse webnotes.bean("Profile", "test@example.com").get_controller()\ .add_roles("Sales User", "Sales Manager", "Material User", "Material Manager") @@ -272,9 +272,9 @@ class TestStockEntry(unittest.TestCase): "warehouse": "_Test Warehouse - _TC"}, "actual_qty")) def _test_sales_invoice_return(self, item_code, delivered_qty, returned_qty): - from stock.doctype.stock_entry.stock_entry import NotUpdateStockError + from erpnext.stock.doctype.stock_entry.stock_entry import NotUpdateStockError - from accounts.doctype.sales_invoice.test_sales_invoice \ + from erpnext.accounts.doctype.sales_invoice.test_sales_invoice \ import test_records as sales_invoice_test_records # invalid sales invoice as update stock not checked @@ -352,10 +352,10 @@ class TestStockEntry(unittest.TestCase): def _test_delivery_note_return(self, item_code, delivered_qty, returned_qty): self._insert_material_receipt() - from stock.doctype.delivery_note.test_delivery_note \ + from erpnext.stock.doctype.delivery_note.test_delivery_note \ import test_records as delivery_note_test_records - from stock.doctype.delivery_note.delivery_note import make_sales_invoice + from erpnext.stock.doctype.delivery_note.delivery_note import make_sales_invoice actual_qty_0 = self._get_actual_qty() # make a delivery note based on this invoice @@ -404,7 +404,7 @@ class TestStockEntry(unittest.TestCase): self._test_delivery_note_return("_Test Sales BOM Item", 25, 20) def _test_sales_return_jv(self, se): - from stock.doctype.stock_entry.stock_entry import make_return_jv + from erpnext.stock.doctype.stock_entry.stock_entry import make_return_jv jv_list = make_return_jv(se.doc.name) self.assertEqual(len(jv_list), 3) @@ -443,8 +443,8 @@ class TestStockEntry(unittest.TestCase): def _test_delivery_note_return_against_sales_order(self, item_code, delivered_qty, returned_qty): self._insert_material_receipt() - from selling.doctype.sales_order.test_sales_order import test_records as sales_order_test_records - from selling.doctype.sales_order.sales_order import make_sales_invoice, make_delivery_note + from erpnext.selling.doctype.sales_order.test_sales_order import test_records as sales_order_test_records + from erpnext.selling.doctype.sales_order.sales_order import make_sales_invoice, make_delivery_note actual_qty_0 = self._get_actual_qty() @@ -498,10 +498,10 @@ class TestStockEntry(unittest.TestCase): actual_qty_0 = self._get_actual_qty() - from stock.doctype.purchase_receipt.test_purchase_receipt \ + from erpnext.stock.doctype.purchase_receipt.test_purchase_receipt \ import test_records as purchase_receipt_test_records - from stock.doctype.purchase_receipt.purchase_receipt import make_purchase_invoice + from erpnext.stock.doctype.purchase_receipt.purchase_receipt import make_purchase_invoice # submit purchase receipt pr = webnotes.bean(copy=purchase_receipt_test_records[0]) @@ -549,7 +549,7 @@ class TestStockEntry(unittest.TestCase): return se, pr.doc.name def test_over_stock_return(self): - from stock.doctype.stock_entry.stock_entry import StockOverReturnError + from erpnext.stock.doctype.stock_entry.stock_entry import StockOverReturnError self._clear_stock_account_balance() # out of 10, 5 gets returned @@ -567,7 +567,7 @@ class TestStockEntry(unittest.TestCase): self.assertRaises(StockOverReturnError, se.insert) def _test_purchase_return_jv(self, se): - from stock.doctype.stock_entry.stock_entry import make_return_jv + from erpnext.stock.doctype.stock_entry.stock_entry import make_return_jv jv_list = make_return_jv(se.doc.name) self.assertEqual(len(jv_list), 3) @@ -590,10 +590,10 @@ class TestStockEntry(unittest.TestCase): actual_qty_0 = self._get_actual_qty() - from buying.doctype.purchase_order.test_purchase_order \ + from erpnext.buying.doctype.purchase_order.test_purchase_order \ import test_records as purchase_order_test_records - from buying.doctype.purchase_order.purchase_order import \ + from erpnext.buying.doctype.purchase_order.purchase_order import \ make_purchase_receipt, make_purchase_invoice # submit purchase receipt diff --git a/erpnext/stock/doctype/stock_ledger/stock_ledger.py b/erpnext/stock/doctype/stock_ledger/stock_ledger.py index 062d70f9277..f44e5e3599a 100644 --- a/erpnext/stock/doctype/stock_ledger/stock_ledger.py +++ b/erpnext/stock/doctype/stock_ledger/stock_ledger.py @@ -9,7 +9,7 @@ from webnotes.model.doc import Document from webnotes.model.bean import getlist from webnotes.model.code import get_obj from webnotes import session, msgprint -from stock.utils import get_valid_serial_nos +from erpnext.stock.utils import get_valid_serial_nos class DocType: diff --git a/erpnext/stock/doctype/stock_ledger_entry/stock_ledger_entry.py b/erpnext/stock/doctype/stock_ledger_entry/stock_ledger_entry.py index f059451099b..c14918f0d44 100644 --- a/erpnext/stock/doctype/stock_ledger_entry/stock_ledger_entry.py +++ b/erpnext/stock/doctype/stock_ledger_entry/stock_ledger_entry.py @@ -13,21 +13,21 @@ class DocType(DocListController): self.doclist = doclist def validate(self): - from stock.utils import validate_warehouse_user, validate_warehouse_company + from erpnext.stock.utils import validate_warehouse_user, validate_warehouse_company self.validate_mandatory() self.validate_item() validate_warehouse_user(self.doc.warehouse) validate_warehouse_company(self.doc.warehouse, self.doc.company) self.scrub_posting_time() - from accounts.utils import validate_fiscal_year + from erpnext.accounts.utils import validate_fiscal_year validate_fiscal_year(self.doc.posting_date, self.doc.fiscal_year, self.meta.get_label("posting_date")) def on_submit(self): self.check_stock_frozen_date() self.actual_amt_check() - from stock.doctype.serial_no.serial_no import process_serial_no + from erpnext.stock.doctype.serial_no.serial_no import process_serial_no process_serial_no(self.doc) #check for item quantity available in stock diff --git a/erpnext/stock/doctype/stock_reconciliation/stock_reconciliation.js b/erpnext/stock/doctype/stock_reconciliation/stock_reconciliation.js index fc502461d1f..bf08738641a 100644 --- a/erpnext/stock/doctype/stock_reconciliation/stock_reconciliation.js +++ b/erpnext/stock/doctype/stock_reconciliation/stock_reconciliation.js @@ -14,7 +14,7 @@ erpnext.stock.StockReconciliation = erpnext.stock.StockController.extend({ if (sys_defaults.auto_accounting_for_stock && !this.frm.doc.expense_account) { return this.frm.call({ - method: "accounts.utils.get_company_default", + method: "erpnext.accounts.utils.get_company_default", args: { "fieldname": "stock_adjustment_account", "company": this.frm.doc.company @@ -94,7 +94,7 @@ erpnext.stock.StockReconciliation = erpnext.stock.StockController.extend({ wn.upload.make({ parent: $wrapper, args: { - method: 'stock.doctype.stock_reconciliation.stock_reconciliation.upload' + method: 'erpnext.stock.doctype.stock_reconciliation.stock_reconciliation.upload' }, sample_url: "e.g. http://example.com/somefile.csv", callback: function(fid, filename, r) { diff --git a/erpnext/stock/doctype/stock_reconciliation/stock_reconciliation.py b/erpnext/stock/doctype/stock_reconciliation/stock_reconciliation.py index 01ded1aa7f3..f2744af3585 100644 --- a/erpnext/stock/doctype/stock_reconciliation/stock_reconciliation.py +++ b/erpnext/stock/doctype/stock_reconciliation/stock_reconciliation.py @@ -7,9 +7,9 @@ import webnotes.defaults import json from webnotes import msgprint, _ from webnotes.utils import cstr, flt, cint -from stock.stock_ledger import update_entries_after -from controllers.stock_controller import StockController -from stock.utils import update_bin +from erpnext.stock.stock_ledger import update_entries_after +from erpnext.controllers.stock_controller import StockController +from erpnext.stock.utils import update_bin class DocType(StockController): def setup(self): @@ -90,7 +90,7 @@ class DocType(StockController): raise webnotes.ValidationError def validate_item(self, item_code, row_num): - from stock.utils import validate_end_of_life, validate_is_stock_item, \ + from erpnext.stock.utils import validate_end_of_life, validate_is_stock_item, \ validate_cancelled_item # using try except to catch all validation msgs and display together @@ -118,8 +118,8 @@ class DocType(StockController): def insert_stock_ledger_entries(self): """ find difference between current and expected entries and create stock ledger entries based on the difference""" - from stock.utils import get_valuation_method - from stock.stock_ledger import get_previous_sle + from erpnext.stock.utils import get_valuation_method + from erpnext.stock.stock_ledger import get_previous_sle row_template = ["item_code", "warehouse", "qty", "valuation_rate"] diff --git a/erpnext/stock/doctype/stock_reconciliation/test_stock_reconciliation.py b/erpnext/stock/doctype/stock_reconciliation/test_stock_reconciliation.py index 984e5089957..287395f515d 100644 --- a/erpnext/stock/doctype/stock_reconciliation/test_stock_reconciliation.py +++ b/erpnext/stock/doctype/stock_reconciliation/test_stock_reconciliation.py @@ -8,7 +8,7 @@ from __future__ import unicode_literals import webnotes, unittest from webnotes.utils import flt import json -from accounts.utils import get_fiscal_year, get_stock_and_account_difference, get_balance_on +from erpnext.accounts.utils import get_fiscal_year, get_stock_and_account_difference, get_balance_on class TestStockReconciliation(unittest.TestCase): diff --git a/erpnext/stock/doctype/stock_settings/stock_settings.py b/erpnext/stock/doctype/stock_settings/stock_settings.py index 48e1ee16198..e3e29b9f188 100644 --- a/erpnext/stock/doctype/stock_settings/stock_settings.py +++ b/erpnext/stock/doctype/stock_settings/stock_settings.py @@ -16,7 +16,7 @@ class DocType: "allow_negative_stock"]: webnotes.conn.set_default(key, self.doc.fields.get(key, "")) - from setup.doctype.naming_series.naming_series import set_by_naming_series + from erpnext.setup.doctype.naming_series.naming_series import set_by_naming_series set_by_naming_series("Item", "item_code", self.doc.get("item_naming_by")=="Naming Series", hide_name_field=True) diff --git a/erpnext/stock/doctype/stock_uom_replace_utility/stock_uom_replace_utility.py b/erpnext/stock/doctype/stock_uom_replace_utility/stock_uom_replace_utility.py index 5441c24c1c3..2644995b944 100644 --- a/erpnext/stock/doctype/stock_uom_replace_utility/stock_uom_replace_utility.py +++ b/erpnext/stock/doctype/stock_uom_replace_utility/stock_uom_replace_utility.py @@ -58,7 +58,7 @@ class DocType: def update_stock_ledger_entry(self): # update stock ledger entry - from stock.stock_ledger import update_entries_after + from erpnext.stock.stock_ledger import update_entries_after if flt(self.doc.conversion_factor) != flt(1): webnotes.conn.sql("update `tabStock Ledger Entry` set stock_uom = '%s', actual_qty = ifnull(actual_qty,0) * '%s' where item_code = '%s' " % (self.doc.new_stock_uom, self.doc.conversion_factor, self.doc.item_code)) diff --git a/erpnext/stock/doctype/warehouse/warehouse.py b/erpnext/stock/doctype/warehouse/warehouse.py index 3559960d226..2b7473c14d2 100644 --- a/erpnext/stock/doctype/warehouse/warehouse.py +++ b/erpnext/stock/doctype/warehouse/warehouse.py @@ -80,7 +80,7 @@ class DocType: def before_rename(self, olddn, newdn, merge=False): # Add company abbr if not provided - from setup.doctype.company.company import get_name_with_abbr + from erpnext.setup.doctype.company.company import get_name_with_abbr new_warehouse = get_name_with_abbr(newdn, self.doc.company) if merge: @@ -89,7 +89,7 @@ class DocType: webnotes.conn.sql("delete from `tabBin` where warehouse=%s", olddn) - from accounts.utils import rename_account_for + from erpnext.accounts.utils import rename_account_for rename_account_for("Warehouse", olddn, new_warehouse, merge) return new_warehouse @@ -99,7 +99,7 @@ class DocType: self.recalculate_bin_qty(newdn) def recalculate_bin_qty(self, newdn): - from utilities.repost_stock import repost_stock + from erpnext.utilities.repost_stock import repost_stock webnotes.conn.auto_commit_on_many_writes = 1 webnotes.conn.set_default("allow_negative_stock", 1) diff --git a/erpnext/stock/report/delivery_note_trends/delivery_note_trends.py b/erpnext/stock/report/delivery_note_trends/delivery_note_trends.py index 6cd6f8e1d07..a3f4218a65f 100644 --- a/erpnext/stock/report/delivery_note_trends/delivery_note_trends.py +++ b/erpnext/stock/report/delivery_note_trends/delivery_note_trends.py @@ -3,7 +3,7 @@ from __future__ import unicode_literals import webnotes -from controllers.trends import get_columns,get_data +from erpnext.controllers.trends import get_columns,get_data def execute(filters=None): if not filters: filters ={} diff --git a/erpnext/stock/report/purchase_receipt_trends/purchase_receipt_trends.py b/erpnext/stock/report/purchase_receipt_trends/purchase_receipt_trends.py index 5fd003b9bcb..6be1179affb 100644 --- a/erpnext/stock/report/purchase_receipt_trends/purchase_receipt_trends.py +++ b/erpnext/stock/report/purchase_receipt_trends/purchase_receipt_trends.py @@ -3,7 +3,7 @@ from __future__ import unicode_literals import webnotes -from controllers.trends import get_columns,get_data +from erpnext.controllers.trends import get_columns,get_data def execute(filters=None): if not filters: filters ={} diff --git a/erpnext/stock/stock_ledger.py b/erpnext/stock/stock_ledger.py index 870274413f5..e6a402cee1f 100644 --- a/erpnext/stock/stock_ledger.py +++ b/erpnext/stock/stock_ledger.py @@ -5,7 +5,7 @@ from __future__ import unicode_literals import webnotes from webnotes import msgprint from webnotes.utils import cint, flt, cstr, now -from stock.utils import get_valuation_method +from erpnext.stock.utils import get_valuation_method import json # future reposting @@ -16,7 +16,7 @@ _exceptions = webnotes.local('stockledger_exceptions') def make_sl_entries(sl_entries, is_amended=None): if sl_entries: - from stock.utils import update_bin + from erpnext.stock.utils import update_bin cancel = True if sl_entries[0].get("is_cancelled") == "Yes" else False if cancel: diff --git a/erpnext/stock/utils.py b/erpnext/stock/utils.py index 4f5e11a6576..1d838c9c405 100644 --- a/erpnext/stock/utils.py +++ b/erpnext/stock/utils.py @@ -110,7 +110,7 @@ def _msgprint(msg, verbose): def get_incoming_rate(args): """Get Incoming Rate based on valuation method""" - from stock.stock_ledger import get_previous_sle + from erpnext.stock.stock_ledger import get_previous_sle in_rate = 0 if args.get("serial_no"): @@ -299,7 +299,7 @@ def create_material_request(material_requests): mr_list = [] defaults = webnotes.defaults.get_defaults() exceptions_list = [] - from accounts.utils import get_fiscal_year + from erpnext.accounts.utils import get_fiscal_year current_fiscal_year = get_fiscal_year(nowdate())[0] or defaults.fiscal_year for request_type in material_requests: for company in material_requests[request_type]: diff --git a/erpnext/support/doctype/customer_issue/customer_issue.js b/erpnext/support/doctype/customer_issue/customer_issue.js index 066a11acbf8..5d0ffb5fdc3 100644 --- a/erpnext/support/doctype/customer_issue/customer_issue.js +++ b/erpnext/support/doctype/customer_issue/customer_issue.js @@ -25,7 +25,7 @@ erpnext.support.CustomerIssue = wn.ui.form.Controller.extend({ make_maintenance_visit: function() { wn.model.open_mapped_doc({ - method: "support.doctype.customer_issue.customer_issue.make_maintenance_visit", + method: "erpnext.support.doctype.customer_issue.customer_issue.make_maintenance_visit", source_name: cur_frm.doc.name }) } diff --git a/erpnext/support/doctype/customer_issue/customer_issue.py b/erpnext/support/doctype/customer_issue/customer_issue.py index 0739a2db8b8..f6e6b6df999 100644 --- a/erpnext/support/doctype/customer_issue/customer_issue.py +++ b/erpnext/support/doctype/customer_issue/customer_issue.py @@ -9,7 +9,7 @@ from webnotes.utils import today -from utilities.transaction_base import TransactionBase +from erpnext.utilities.transaction_base import TransactionBase class DocType(TransactionBase): def __init__(self, doc, doclist=[]): diff --git a/erpnext/support/doctype/maintenance_schedule/maintenance_schedule.js b/erpnext/support/doctype/maintenance_schedule/maintenance_schedule.js index 25fe69ad7f4..f1b2ac8f044 100644 --- a/erpnext/support/doctype/maintenance_schedule/maintenance_schedule.js +++ b/erpnext/support/doctype/maintenance_schedule/maintenance_schedule.js @@ -9,7 +9,7 @@ erpnext.support.MaintenanceSchedule = wn.ui.form.Controller.extend({ cur_frm.add_custom_button(wn._('From Sales Order'), function() { wn.model.map_current_doc({ - method: "selling.doctype.sales_order.sales_order.make_maintenance_schedule", + method: "erpnext.selling.doctype.sales_order.sales_order.make_maintenance_schedule", source_doctype: "Sales Order", get_query_filters: { docstatus: 1, @@ -22,7 +22,7 @@ erpnext.support.MaintenanceSchedule = wn.ui.form.Controller.extend({ } else if (this.frm.doc.docstatus===1) { cur_frm.add_custom_button(wn._("Make Maintenance Visit"), function() { wn.model.open_mapped_doc({ - method: "support.doctype.maintenance_schedule.maintenance_schedule.make_maintenance_visit", + method: "erpnext.support.doctype.maintenance_schedule.maintenance_schedule.make_maintenance_visit", source_name: cur_frm.doc.name }) }) diff --git a/erpnext/support/doctype/maintenance_schedule/maintenance_schedule.py b/erpnext/support/doctype/maintenance_schedule/maintenance_schedule.py index f18408fc193..8263b196676 100644 --- a/erpnext/support/doctype/maintenance_schedule/maintenance_schedule.py +++ b/erpnext/support/doctype/maintenance_schedule/maintenance_schedule.py @@ -11,7 +11,7 @@ from webnotes import msgprint -from utilities.transaction_base import TransactionBase, delete_events +from erpnext.utilities.transaction_base import TransactionBase, delete_events class DocType(TransactionBase): def __init__(self, doc, doclist=[]): diff --git a/erpnext/support/doctype/maintenance_visit/maintenance_visit.js b/erpnext/support/doctype/maintenance_visit/maintenance_visit.js index 1a618cd534b..9b604b92496 100644 --- a/erpnext/support/doctype/maintenance_visit/maintenance_visit.js +++ b/erpnext/support/doctype/maintenance_visit/maintenance_visit.js @@ -9,7 +9,7 @@ erpnext.support.MaintenanceVisit = wn.ui.form.Controller.extend({ cur_frm.add_custom_button(wn._('From Maintenance Schedule'), function() { wn.model.map_current_doc({ - method: "support.doctype.maintenance_schedule.maintenance_schedule.make_maintenance_visit", + method: "erpnext.support.doctype.maintenance_schedule.maintenance_schedule.make_maintenance_visit", source_doctype: "Maintenance Schedule", get_query_filters: { docstatus: 1, @@ -21,7 +21,7 @@ erpnext.support.MaintenanceVisit = wn.ui.form.Controller.extend({ cur_frm.add_custom_button(wn._('From Customer Issue'), function() { wn.model.map_current_doc({ - method: "support.doctype.customer_issue.customer_issue.make_maintenance_visit", + method: "erpnext.support.doctype.customer_issue.customer_issue.make_maintenance_visit", source_doctype: "Customer Issue", get_query_filters: { status: ["in", "Open, Work in Progress"], @@ -33,7 +33,7 @@ erpnext.support.MaintenanceVisit = wn.ui.form.Controller.extend({ cur_frm.add_custom_button(wn._('From Sales Order'), function() { wn.model.map_current_doc({ - method: "selling.doctype.sales_order.sales_order.make_maintenance_visit", + method: "erpnext.selling.doctype.sales_order.sales_order.make_maintenance_visit", source_doctype: "Sales Order", get_query_filters: { docstatus: 1, diff --git a/erpnext/support/doctype/maintenance_visit/maintenance_visit.py b/erpnext/support/doctype/maintenance_visit/maintenance_visit.py index f4696572bf8..e56389eb0cf 100644 --- a/erpnext/support/doctype/maintenance_visit/maintenance_visit.py +++ b/erpnext/support/doctype/maintenance_visit/maintenance_visit.py @@ -10,7 +10,7 @@ from webnotes import msgprint -from utilities.transaction_base import TransactionBase +from erpnext.utilities.transaction_base import TransactionBase class DocType(TransactionBase): def __init__(self, doc, doclist=[]): diff --git a/erpnext/support/doctype/newsletter/newsletter.js b/erpnext/support/doctype/newsletter/newsletter.js index f7a7ad1511f..41967e337ca 100644 --- a/erpnext/support/doctype/newsletter/newsletter.js +++ b/erpnext/support/doctype/newsletter/newsletter.js @@ -3,7 +3,7 @@ cur_frm.cscript.onload = function(doc) { return wn.call({ - method: "support.doctype.newsletter.newsletter.get_lead_options", + method: "erpnext.support.doctype.newsletter.newsletter.get_lead_options", type: "GET", callback: function(r) { set_field_options("lead_source", r.message.sources.join("\n")) diff --git a/erpnext/support/doctype/support_ticket/support_ticket.js b/erpnext/support/doctype/support_ticket/support_ticket.js index 4f8f75685fc..b3728253b7c 100644 --- a/erpnext/support/doctype/support_ticket/support_ticket.js +++ b/erpnext/support/doctype/support_ticket/support_ticket.js @@ -75,7 +75,7 @@ $.extend(cur_frm.cscript, { set_status: function(status) { return wn.call({ - method:"support.doctype.support_ticket.support_ticket.set_status", + method: "erpnext.support.doctype.support_ticket.support_ticket.set_status", args: { name: cur_frm.doc.name, status: status diff --git a/erpnext/support/doctype/support_ticket/support_ticket.py b/erpnext/support/doctype/support_ticket/support_ticket.py index fd795831294..0b95292c6a7 100644 --- a/erpnext/support/doctype/support_ticket/support_ticket.py +++ b/erpnext/support/doctype/support_ticket/support_ticket.py @@ -4,7 +4,7 @@ from __future__ import unicode_literals import webnotes -from utilities.transaction_base import TransactionBase +from erpnext.utilities.transaction_base import TransactionBase from webnotes.utils import now, extract_email_id class DocType(TransactionBase): diff --git a/erpnext/support/doctype/support_ticket/templates/pages/tickets.py b/erpnext/support/doctype/support_ticket/templates/pages/tickets.py index 1816ccc9323..7434af2075a 100644 --- a/erpnext/support/doctype/support_ticket/templates/pages/tickets.py +++ b/erpnext/support/doctype/support_ticket/templates/pages/tickets.py @@ -32,7 +32,7 @@ def make_new_ticket(subject, message): if not (subject and message): raise webnotes.throw(_("Please write something in subject and message!")) - from support.doctype.support_ticket.get_support_mails import add_support_communication + from erpnext.support.doctype.support_ticket.get_support_mails import add_support_communication ticket = add_support_communication(subject, message, webnotes.session.user) return ticket.doc.name \ No newline at end of file diff --git a/erpnext/utilities/demo/make_demo.py b/erpnext/utilities/demo/make_demo.py index 18211a12a22..f4691395137 100644 --- a/erpnext/utilities/demo/make_demo.py +++ b/erpnext/utilities/demo/make_demo.py @@ -100,7 +100,7 @@ def run_sales(current_date): def run_accounts(current_date): if can_make("Sales Invoice"): - from selling.doctype.sales_order.sales_order import make_sales_invoice + from erpnext.selling.doctype.sales_order.sales_order import make_sales_invoice report = "Ordered Items to be Billed" for so in list(set([r[0] for r in query_report.run(report)["result"] if r[0]!="Total"]))[:how_many("Sales Invoice")]: si = webnotes.bean(make_sales_invoice(so)) @@ -110,7 +110,7 @@ def run_accounts(current_date): webnotes.conn.commit() if can_make("Purchase Invoice"): - from stock.doctype.purchase_receipt.purchase_receipt import make_purchase_invoice + from erpnext.stock.doctype.purchase_receipt.purchase_receipt import make_purchase_invoice report = "Received Items to be Billed" for pr in list(set([r[0] for r in query_report.run(report)["result"] if r[0]!="Total"]))[:how_many("Purchase Invoice")]: pi = webnotes.bean(make_purchase_invoice(pr)) @@ -121,7 +121,7 @@ def run_accounts(current_date): webnotes.conn.commit() if can_make("Payment Received"): - from accounts.doctype.journal_voucher.journal_voucher import get_payment_entry_from_sales_invoice + from erpnext.accounts.doctype.journal_voucher.journal_voucher import get_payment_entry_from_sales_invoice report = "Accounts Receivable" for si in list(set([r[4] for r in query_report.run(report, {"report_date": current_date })["result"] if r[3]=="Sales Invoice"]))[:how_many("Payment Received")]: jv = webnotes.bean(get_payment_entry_from_sales_invoice(si)) @@ -133,7 +133,7 @@ def run_accounts(current_date): webnotes.conn.commit() if can_make("Payment Made"): - from accounts.doctype.journal_voucher.journal_voucher import get_payment_entry_from_purchase_invoice + from erpnext.accounts.doctype.journal_voucher.journal_voucher import get_payment_entry_from_purchase_invoice report = "Accounts Payable" for pi in list(set([r[4] for r in query_report.run(report, {"report_date": current_date })["result"] if r[3]=="Purchase Invoice"]))[:how_many("Payment Made")]: jv = webnotes.bean(get_payment_entry_from_purchase_invoice(pi)) @@ -147,8 +147,8 @@ def run_accounts(current_date): def run_stock(current_date): # make purchase requests if can_make("Purchase Receipt"): - from buying.doctype.purchase_order.purchase_order import make_purchase_receipt - from stock.stock_ledger import NegativeStockError + from erpnext.buying.doctype.purchase_order.purchase_order import make_purchase_receipt + from erpnext.stock.stock_ledger import NegativeStockError report = "Purchase Order Items To Be Received" for po in list(set([r[0] for r in query_report.run(report)["result"] if r[0]!="Total"]))[:how_many("Purchase Receipt")]: pr = webnotes.bean(make_purchase_receipt(po)) @@ -162,9 +162,9 @@ def run_stock(current_date): # make delivery notes (if possible) if can_make("Delivery Note"): - from selling.doctype.sales_order.sales_order import make_delivery_note - from stock.stock_ledger import NegativeStockError - from stock.doctype.serial_no.serial_no import SerialNoRequiredError, SerialNoQtyError + from erpnext.selling.doctype.sales_order.sales_order import make_delivery_note + from erpnext.stock.stock_ledger import NegativeStockError + from erpnext.stock.doctype.serial_no.serial_no import SerialNoRequiredError, SerialNoQtyError report = "Ordered Items To Be Delivered" for so in list(set([r[0] for r in query_report.run(report)["result"] if r[0]!="Total"]))[:how_many("Delivery Note")]: dn = webnotes.bean(make_delivery_note(so)) @@ -205,7 +205,7 @@ def run_purchase(current_date): # make supplier quotations if can_make("Supplier Quotation"): - from stock.doctype.material_request.material_request import make_supplier_quotation + from erpnext.stock.doctype.material_request.material_request import make_supplier_quotation report = "Material Requests for which Supplier Quotations are not created" for row in query_report.run(report)["result"][:how_many("Supplier Quotation")]: if row[0] != "Total": @@ -218,7 +218,7 @@ def run_purchase(current_date): # make purchase orders if can_make("Purchase Order"): - from stock.doctype.material_request.material_request import make_purchase_order + from erpnext.stock.doctype.material_request.material_request import make_purchase_order report = "Requested Items To Be Ordered" for row in query_report.run(report)["result"][:how_many("Purchase Order")]: if row[0] != "Total": @@ -230,8 +230,8 @@ def run_purchase(current_date): webnotes.conn.commit() def run_manufacturing(current_date): - from stock.stock_ledger import NegativeStockError - from stock.doctype.stock_entry.stock_entry import IncorrectValuationRateError, DuplicateEntryForProductionOrderError + from erpnext.stock.stock_ledger import NegativeStockError + from erpnext.stock.doctype.stock_entry.stock_entry import IncorrectValuationRateError, DuplicateEntryForProductionOrderError ppt = webnotes.bean("Production Planning Tool", "Production Planning Tool") ppt.doc.company = company @@ -276,9 +276,9 @@ def run_manufacturing(current_date): except DuplicateEntryForProductionOrderError: pass def make_stock_entry_from_pro(pro_id, purpose, current_date): - from manufacturing.doctype.production_order.production_order import make_stock_entry - from stock.stock_ledger import NegativeStockError - from stock.doctype.stock_entry.stock_entry import IncorrectValuationRateError, DuplicateEntryForProductionOrderError + from erpnext.manufacturing.doctype.production_order.production_order import make_stock_entry + from erpnext.stock.stock_ledger import NegativeStockError + from erpnext.stock.doctype.stock_entry.stock_entry import IncorrectValuationRateError, DuplicateEntryForProductionOrderError try: st = webnotes.bean(make_stock_entry(pro_id, purpose)) @@ -322,7 +322,7 @@ def make_quotation(current_date): def make_sales_order(current_date): q = get_random("Quotation", {"status": "Submitted"}) if q: - from selling.doctype.quotation.quotation import make_sales_order + from erpnext.selling.doctype.quotation.quotation import make_sales_order so = webnotes.bean(make_sales_order(q)) so.doc.transaction_date = current_date so.doc.delivery_date = webnotes.utils.add_days(current_date, 10) @@ -376,7 +376,7 @@ def install(): def complete_setup(): print "Complete Setup..." - from setup.page.setup_wizard.setup_wizard import setup_account + from erpnext.setup.page.setup_wizard.setup_wizard import setup_account setup_account({ "first_name": "Test", "last_name": "User", diff --git a/erpnext/utilities/doctype/contact/contact.py b/erpnext/utilities/doctype/contact/contact.py index 16f9d32ec44..301d7fdda02 100644 --- a/erpnext/utilities/doctype/contact/contact.py +++ b/erpnext/utilities/doctype/contact/contact.py @@ -5,7 +5,7 @@ from __future__ import unicode_literals import webnotes from webnotes.utils import cstr, extract_email_id -from utilities.transaction_base import TransactionBase +from erpnext.utilities.transaction_base import TransactionBase class DocType(TransactionBase): def __init__(self, doc, doclist=[]): diff --git a/erpnext/utilities/doctype/rename_tool/rename_tool.js b/erpnext/utilities/doctype/rename_tool/rename_tool.js index c075656870c..90cd1e13379 100644 --- a/erpnext/utilities/doctype/rename_tool/rename_tool.js +++ b/erpnext/utilities/doctype/rename_tool/rename_tool.js @@ -3,7 +3,7 @@ cur_frm.cscript.refresh = function(doc) { return wn.call({ - method:"utilities.doctype.rename_tool.rename_tool.get_doctypes", + method: "erpnext.utilities.doctype.rename_tool.rename_tool.get_doctypes", callback: function(r) { cur_frm.set_df_property("select_doctype", "options", r.message); cur_frm.cscript.setup_upload(); diff --git a/erpnext/utilities/doctype/sms_control/sms_control.py b/erpnext/utilities/doctype/sms_control/sms_control.py index 5a9777a8a8f..8fbb8fe7dce 100644 --- a/erpnext/utilities/doctype/sms_control/sms_control.py +++ b/erpnext/utilities/doctype/sms_control/sms_control.py @@ -2,9 +2,9 @@ # License: GNU General Public License v3. See license.txt from __future__ import unicode_literals -import webnotes +import webnotes, json -from webnotes.utils import load_json, nowdate, cstr +from webnotes.utils import nowdate, cstr from webnotes.model.code import get_obj from webnotes.model.doc import Document from webnotes import msgprint @@ -47,14 +47,14 @@ class DocType: def get_contact_number(self, arg): "returns mobile number of the contact" - args = load_json(arg) + args = json.loads(arg) number = webnotes.conn.sql("""select mobile_no, phone from tabContact where name=%s and %s=%s""" % ('%s', args['key'], '%s'), (args['contact_name'], args['value'])) return number and (number[0][0] or number[0][1]) or '' def send_form_sms(self, arg): "called from client side" - args = load_json(arg) + args = json.loads(arg) self.send_sms([str(args['number'])], str(args['message'])) def send_sms(self, receiver_list, msg, sender_name = ''): diff --git a/erpnext/utilities/repost_stock.py b/erpnext/utilities/repost_stock.py index 48ff25f1231..cb0ce1002b1 100644 --- a/erpnext/utilities/repost_stock.py +++ b/erpnext/utilities/repost_stock.py @@ -39,7 +39,7 @@ def repost_stock(item_code, warehouse): }) def repost_actual_qty(item_code, warehouse): - from stock.stock_ledger import update_entries_after + from erpnext.stock.stock_ledger import update_entries_after try: update_entries_after({ "item_code": item_code, "warehouse": warehouse }) except: @@ -116,7 +116,7 @@ def get_planned_qty(item_code, warehouse): def update_bin(item_code, warehouse, qty_dict=None): - from stock.utils import get_bin + from erpnext.stock.utils import get_bin bin = get_bin(item_code, warehouse) mismatch = False for fld, val in qty_dict.items(): diff --git a/erpnext/utilities/transaction_base.py b/erpnext/utilities/transaction_base.py index 5c28d8d8b6b..cb183b0b722 100644 --- a/erpnext/utilities/transaction_base.py +++ b/erpnext/utilities/transaction_base.py @@ -2,12 +2,12 @@ # License: GNU General Public License v3. See license.txt from __future__ import unicode_literals -import webnotes +import webnotes, json from webnotes import msgprint, _ -from webnotes.utils import load_json, cstr, flt, now_datetime, cint +from webnotes.utils import cstr, flt, now_datetime, cint from webnotes.model.doc import addchild -from controllers.status_updater import StatusUpdater +from erpnext.controllers.status_updater import StatusUpdater class TransactionBase(StatusUpdater): def get_default_address_and_contact(self, party_field, party_name=None): @@ -145,7 +145,7 @@ class TransactionBase(StatusUpdater): self.doc.fields.update(self.get_lead_defaults()) def get_customer_address(self, args): - args = load_json(args) + args = json.loads(args) ret = { 'customer_address' : args["address"], 'address_display' : get_address_display(args["address"]), @@ -170,7 +170,7 @@ class TransactionBase(StatusUpdater): # ----------------------- def get_default_supplier_address(self, args): if isinstance(args, basestring): - args = load_json(args) + args = json.loads(args) address_name = get_default_address("supplier", args["supplier"]) ret = { @@ -184,7 +184,7 @@ class TransactionBase(StatusUpdater): # Get Supplier Address # ----------------------- def get_supplier_address(self, args): - args = load_json(args) + args = json.loads(args) ret = { 'supplier_address' : args['address'], 'address_display' : get_address_display(args["address"]), @@ -439,7 +439,7 @@ def validate_conversion_rate(currency, conversion_rate, conversion_rate_label, c }, raise_exception=True) def validate_item_fetch(args, item): - from stock.utils import validate_end_of_life + from erpnext.stock.utils import validate_end_of_life validate_end_of_life(item.name, item.end_of_life) # validate company From 6de403f2bea476b0c904dfaaeb841ce704a1a218 Mon Sep 17 00:00:00 2001 From: Rushabh Mehta Date: Fri, 13 Dec 2013 14:10:14 +0530 Subject: [PATCH 08/27] added manifest, hooks and fixed requires webnotes/wnframework#351 --- MANIFEST.in | 18 ++++++++++++++++++ .../purchase_invoice/purchase_invoice.js | 8 ++++---- .../purchase_taxes_and_charges_master.js | 4 ++-- .../doctype/sales_invoice/sales_invoice.js | 12 ++++++------ .../sales_taxes_and_charges_master.js | 4 ++-- .../financial_analytics/financial_analytics.js | 2 +- .../page/trial_balance/trial_balance.js | 2 +- .../purchase_invoice_trends.js | 2 +- .../sales_invoice_trends.js | 2 +- .../doctype/purchase_common/purchase_common.js | 10 +++++----- .../doctype/purchase_order/purchase_order.js | 8 ++++---- erpnext/buying/doctype/supplier/supplier.js | 2 +- .../supplier_quotation/supplier_quotation.js | 6 +++--- .../purchase_order_trends.js | 2 +- erpnext/hooks.txt | 10 ++++++++++ erpnext/hr/doctype/appraisal/appraisal.js | 2 +- erpnext/hr/doctype/attendance/attendance.js | 2 +- erpnext/hr/doctype/employee/employee.js | 2 +- .../hr/doctype/expense_claim/expense_claim.js | 2 +- .../leave_allocation/leave_allocation.js | 2 +- erpnext/hr/doctype/salary_slip/salary_slip.js | 2 +- .../salary_structure/salary_structure.js | 2 +- .../upload_attendance/upload_attendance.js | 2 +- erpnext/manage.py | 8 -------- erpnext/manufacturing/doctype/bom/bom.js | 4 ++-- .../bom_replace_tool/bom_replace_tool.js | 4 ++-- .../production_order/production_order.js | 2 +- .../production_planning_tool.js | 4 ++-- erpnext/patches.txt | 0 erpnext/projects/doctype/project/project.js | 2 +- erpnext/public/build.json | 2 +- erpnext/public/js/queries.js | 12 ++++++------ erpnext/public/js/stock_analytics.js | 2 +- erpnext/public/js/transaction.js | 2 +- erpnext/selling/doctype/customer/customer.js | 4 ++-- .../installation_note/installation_note.js | 2 +- erpnext/selling/doctype/lead/lead.js | 6 +++--- .../selling/doctype/opportunity/opportunity.js | 4 ++-- erpnext/selling/doctype/quotation/quotation.js | 10 +++++----- .../selling/doctype/sales_order/sales_order.js | 11 +++++------ .../quotation_trends/quotation_trends.js | 2 +- .../sales_order_trends/sales_order_trends.js | 2 +- erpnext/selling/sales_common.js | 8 ++++---- .../authorization_rule/authorization_rule.js | 4 ++-- .../doctype/sales_partner/sales_partner.js | 2 +- .../setup/doctype/sales_person/sales_person.js | 2 +- .../setup/page/setup_wizard/setup_wizard.py | 4 ++-- erpnext/startup/event_handlers.py | 7 ++++--- erpnext/startup/query_handlers.py | 9 --------- erpnext/stock/doctype/batch/batch.js | 2 +- .../doctype/delivery_note/delivery_note.js | 10 +++++----- erpnext/stock/doctype/item/item.js | 4 ++-- .../landed_cost_wizard/landed_cost_wizard.js | 2 +- .../material_request/material_request.js | 4 ++-- .../purchase_receipt/purchase_receipt.js | 8 ++++---- .../stock/doctype/stock_entry/stock_entry.js | 6 +++--- .../stock_reconciliation.js | 2 +- .../stock/page/stock_ageing/stock_ageing.js | 2 +- .../page/stock_analytics/stock_analytics.js | 2 +- .../stock/page/stock_balance/stock_balance.js | 2 +- .../stock/page/stock_ledger/stock_ledger.js | 2 +- erpnext/stock/page/stock_level/stock_level.js | 2 +- .../delivery_note_trends.js | 2 +- .../purchase_receipt_trends.js | 2 +- .../doctype/customer_issue/customer_issue.js | 2 +- .../maintenance_schedule.js | 2 +- .../maintenance_visit/maintenance_visit.js | 2 +- .../doctype/support_ticket/support_ticket.js | 2 +- erpnext/utilities/doctype/address/address.js | 2 +- erpnext/utilities/doctype/contact/contact.js | 2 +- 70 files changed, 151 insertions(+), 140 deletions(-) create mode 100644 MANIFEST.in create mode 100644 erpnext/hooks.txt create mode 100644 erpnext/patches.txt delete mode 100644 erpnext/startup/query_handlers.py diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 00000000000..7bf6b4dc441 --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1,18 @@ +include MANIFEST.in +include requirements.txt +include *.json +include *.md +include *.py +include *.txt +recursive-include erpnext *.css +recursive-include erpnext *.csv +recursive-include erpnext *.html +recursive-include erpnext *.ico +recursive-include erpnext *.js +recursive-include erpnext *.json +recursive-include erpnext *.md +recursive-include erpnext *.png +recursive-include erpnext *.py +recursive-include erpnext *.svg +recursive-include erpnext *.txt +recursive-exclude * *.pyc \ No newline at end of file diff --git a/erpnext/accounts/doctype/purchase_invoice/purchase_invoice.js b/erpnext/accounts/doctype/purchase_invoice/purchase_invoice.js index c20b2976780..23a55d362c4 100644 --- a/erpnext/accounts/doctype/purchase_invoice/purchase_invoice.js +++ b/erpnext/accounts/doctype/purchase_invoice/purchase_invoice.js @@ -6,9 +6,9 @@ cur_frm.cscript.fname = "entries"; cur_frm.cscript.other_fname = "purchase_tax_details"; wn.provide("erpnext.accounts"); -wn.require('app/accounts/doctype/purchase_taxes_and_charges_master/purchase_taxes_and_charges_master.js'); -wn.require('app/buying/doctype/purchase_common/purchase_common.js'); -wn.require('app/accounts/doctype/sales_invoice/pos.js'); +{% include 'buying/doctype/purchase_common/purchase_common.js' %}; +{% include 'accounts/doctype/purchase_taxes_and_charges_master/purchase_taxes_and_charges_master.js' %} +{% include 'accounts/doctype/sales_invoice/pos.js' %} erpnext.accounts.PurchaseInvoice = erpnext.buying.BuyingController.extend({ onload: function() { @@ -133,7 +133,7 @@ cur_frm.fields_dict['contact_person'].get_query = function(doc, cdt, cdn) { cur_frm.fields_dict['entries'].grid.get_field("item_code").get_query = function(doc, cdt, cdn) { return { - query:"controllers.queries.item_query", + query: "erpnext.controllers.queries.item_query", filters:{ 'is_purchase_item': 'Yes' } diff --git a/erpnext/accounts/doctype/purchase_taxes_and_charges_master/purchase_taxes_and_charges_master.js b/erpnext/accounts/doctype/purchase_taxes_and_charges_master/purchase_taxes_and_charges_master.js index 84521eda09f..b589651f18f 100644 --- a/erpnext/accounts/doctype/purchase_taxes_and_charges_master/purchase_taxes_and_charges_master.js +++ b/erpnext/accounts/doctype/purchase_taxes_and_charges_master/purchase_taxes_and_charges_master.js @@ -4,7 +4,7 @@ // //--------- ONLOAD ------------- -wn.require("app/js/controllers/accounts.js"); +{% include "public/js/controllers/accounts.js" %} cur_frm.cscript.onload = function(doc, cdt, cdn) { @@ -139,7 +139,7 @@ cur_frm.cscript.row_id = function(doc, cdt, cdn) { cur_frm.set_query("account_head", "purchase_tax_details", function(doc) { return { - query: "controllers.queries.tax_account_query", + query: "erpnext.controllers.queries.tax_account_query", filters: { "account_type": ["Tax", "Chargeable", "Expense Account"], "debit_or_credit": "Debit", diff --git a/erpnext/accounts/doctype/sales_invoice/sales_invoice.js b/erpnext/accounts/doctype/sales_invoice/sales_invoice.js index 1940c6e1c3a..630dfe29bb6 100644 --- a/erpnext/accounts/doctype/sales_invoice/sales_invoice.js +++ b/erpnext/accounts/doctype/sales_invoice/sales_invoice.js @@ -9,10 +9,10 @@ cur_frm.cscript.sales_team_fname = "sales_team"; // print heading cur_frm.pformat.print_heading = 'Invoice'; -wn.require('app/accounts/doctype/sales_taxes_and_charges_master/sales_taxes_and_charges_master.js'); -wn.require('app/utilities/doctype/sms_control/sms_control.js'); -wn.require('app/selling/sales_common.js'); -wn.require('app/accounts/doctype/sales_invoice/pos.js'); +{% include 'selling/sales_common.js' %}; +{% include 'accounts/doctype/sales_taxes_and_charges_master/sales_taxes_and_charges_master.js' %} +{% include 'utilities/doctype/sms_control/sms_control.js' %} +{% include 'accounts/doctype/sales_invoice/pos.js' %} wn.provide("erpnext.accounts"); erpnext.accounts.SalesInvoiceController = erpnext.selling.SellingController.extend({ @@ -115,7 +115,7 @@ erpnext.accounts.SalesInvoiceController = erpnext.selling.SellingController.exte }; if(cur_frm.doc.customer) filters["customer"] = cur_frm.doc.customer; return { - query: "controllers.queries.get_delivery_notes_to_be_billed", + query: "erpnext.controllers.queries.get_delivery_notes_to_be_billed", filters: filters }; } @@ -324,7 +324,7 @@ cur_frm.fields_dict.write_off_cost_center.get_query = function(doc) { //-------------------------- cur_frm.fields_dict['project_name'].get_query = function(doc, cdt, cdn) { return{ - query: "controllers.queries.get_project_name", + query: "erpnext.controllers.queries.get_project_name", filters: {'customer': doc.customer} } } diff --git a/erpnext/accounts/doctype/sales_taxes_and_charges_master/sales_taxes_and_charges_master.js b/erpnext/accounts/doctype/sales_taxes_and_charges_master/sales_taxes_and_charges_master.js index e2e50470283..0cdead90302 100644 --- a/erpnext/accounts/doctype/sales_taxes_and_charges_master/sales_taxes_and_charges_master.js +++ b/erpnext/accounts/doctype/sales_taxes_and_charges_master/sales_taxes_and_charges_master.js @@ -3,7 +3,7 @@ //--------- ONLOAD ------------- -wn.require("app/js/controllers/accounts.js"); +{% include "public/js/controllers/accounts.js" %} cur_frm.cscript.onload = function(doc, cdt, cdn) { if(doc.doctype === "Sales Taxes and Charges Master") @@ -129,7 +129,7 @@ cur_frm.cscript.row_id = function(doc, cdt, cdn) { cur_frm.fields_dict['other_charges'].grid.get_field("account_head").get_query = function(doc,cdt,cdn) { return{ - query: "controllers.queries.tax_account_query", + query: "erpnext.controllers.queries.tax_account_query", filters: { "account_type": ["Tax", "Chargeable", "Income Account"], "debit_or_credit": "Credit", diff --git a/erpnext/accounts/page/financial_analytics/financial_analytics.js b/erpnext/accounts/page/financial_analytics/financial_analytics.js index 7fe050762d3..4c7c6444c1d 100644 --- a/erpnext/accounts/page/financial_analytics/financial_analytics.js +++ b/erpnext/accounts/page/financial_analytics/financial_analytics.js @@ -1,7 +1,7 @@ // Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors // License: GNU General Public License v3. See license.txt -wn.require("app/js/account_tree_grid.js"); +wn.require("assets/erpnext/js/account_tree_grid.js"); wn.pages['financial-analytics'].onload = function(wrapper) { wn.ui.make_app_page({ diff --git a/erpnext/accounts/page/trial_balance/trial_balance.js b/erpnext/accounts/page/trial_balance/trial_balance.js index 83f56eb3cb6..34a06957d25 100644 --- a/erpnext/accounts/page/trial_balance/trial_balance.js +++ b/erpnext/accounts/page/trial_balance/trial_balance.js @@ -1,7 +1,7 @@ // Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors // License: GNU General Public License v3. See license.txt -wn.require("app/js/account_tree_grid.js"); +wn.require("assets/erpnext/js/account_tree_grid.js"); wn.pages['trial-balance'].onload = function(wrapper) { wn.ui.make_app_page({ diff --git a/erpnext/accounts/report/purchase_invoice_trends/purchase_invoice_trends.js b/erpnext/accounts/report/purchase_invoice_trends/purchase_invoice_trends.js index 183e16ab321..7ab4ffa8b49 100644 --- a/erpnext/accounts/report/purchase_invoice_trends/purchase_invoice_trends.js +++ b/erpnext/accounts/report/purchase_invoice_trends/purchase_invoice_trends.js @@ -1,7 +1,7 @@ // Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors // License: GNU General Public License v3. See license.txt -wn.require("app/js/purchase_trends_filters.js"); +wn.require("assets/erpnext/js/purchase_trends_filters.js"); wn.query_reports["Purchase Invoice Trends"] = { filters: get_filters() diff --git a/erpnext/accounts/report/sales_invoice_trends/sales_invoice_trends.js b/erpnext/accounts/report/sales_invoice_trends/sales_invoice_trends.js index 3b004abc4f4..0ffb6e0f153 100644 --- a/erpnext/accounts/report/sales_invoice_trends/sales_invoice_trends.js +++ b/erpnext/accounts/report/sales_invoice_trends/sales_invoice_trends.js @@ -1,7 +1,7 @@ // Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors // License: GNU General Public License v3. See license.txt -wn.require("app/js/sales_trends_filters.js"); +wn.require("assets/erpnext/js/sales_trends_filters.js"); wn.query_reports["Sales Invoice Trends"] = { filters: get_filters() diff --git a/erpnext/buying/doctype/purchase_common/purchase_common.js b/erpnext/buying/doctype/purchase_common/purchase_common.js index 86b252d8d94..cc24925905b 100644 --- a/erpnext/buying/doctype/purchase_common/purchase_common.js +++ b/erpnext/buying/doctype/purchase_common/purchase_common.js @@ -7,8 +7,8 @@ // cur_frm.cscript.fname - Details fieldname wn.provide("erpnext.buying"); -wn.require("app/js/transaction.js"); -wn.require("app/js/controllers/accounts.js"); +wn.require("assets/erpnext/js/transaction.js"); +{% include "public/js/controllers/accounts.js" %} erpnext.buying.BuyingController = erpnext.TransactionController.extend({ onload: function() { @@ -37,18 +37,18 @@ erpnext.buying.BuyingController = erpnext.TransactionController.extend({ if(this.frm.fields_dict.supplier) { this.frm.set_query("supplier", function() { - return{ query:"controllers.queries.supplier_query" }}); + return{ query: "erpnext.controllers.queries.supplier_query" }}); } this.frm.set_query("item_code", this.frm.cscript.fname, function() { if(me.frm.doc.is_subcontracted == "Yes") { return{ - query:"controllers.queries.item_query", + query: "erpnext.controllers.queries.item_query", filters:{ 'is_sub_contracted_item': 'Yes' } } } else { return{ - query: "controllers.queries.item_query", + query: "erpnext.controllers.queries.item_query", filters: { 'is_purchase_item': 'Yes' } } } diff --git a/erpnext/buying/doctype/purchase_order/purchase_order.js b/erpnext/buying/doctype/purchase_order/purchase_order.js index 7db00359e50..edf7c82555d 100644 --- a/erpnext/buying/doctype/purchase_order/purchase_order.js +++ b/erpnext/buying/doctype/purchase_order/purchase_order.js @@ -7,10 +7,10 @@ cur_frm.cscript.tname = "Purchase Order Item"; cur_frm.cscript.fname = "po_details"; cur_frm.cscript.other_fname = "purchase_tax_details"; -wn.require('app/accounts/doctype/purchase_taxes_and_charges_master/purchase_taxes_and_charges_master.js'); -wn.require('app/utilities/doctype/sms_control/sms_control.js'); -wn.require('app/buying/doctype/purchase_common/purchase_common.js'); -wn.require('app/accounts/doctype/sales_invoice/pos.js'); +{% include 'buying/doctype/purchase_common/purchase_common.js' %}; +{% include 'accounts/doctype/purchase_taxes_and_charges_master/purchase_taxes_and_charges_master.js' %} +{% include 'utilities/doctype/sms_control/sms_control.js' %} +{% include 'accounts/doctype/sales_invoice/pos.js' %} erpnext.buying.PurchaseOrderController = erpnext.buying.BuyingController.extend({ refresh: function(doc, cdt, cdn) { diff --git a/erpnext/buying/doctype/supplier/supplier.js b/erpnext/buying/doctype/supplier/supplier.js index aa8ea2a122b..e1780abee97 100644 --- a/erpnext/buying/doctype/supplier/supplier.js +++ b/erpnext/buying/doctype/supplier/supplier.js @@ -1,7 +1,7 @@ // Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors // License: GNU General Public License v3. See license.txt -wn.require('app/setup/doctype/contact_control/contact_control.js'); +{% include 'setup/doctype/contact_control/contact_control.js' %}; cur_frm.cscript.refresh = function(doc,dt,dn) { cur_frm.cscript.make_dashboard(doc); diff --git a/erpnext/buying/doctype/supplier_quotation/supplier_quotation.js b/erpnext/buying/doctype/supplier_quotation/supplier_quotation.js index 597ad8655a3..bc56abd9170 100644 --- a/erpnext/buying/doctype/supplier_quotation/supplier_quotation.js +++ b/erpnext/buying/doctype/supplier_quotation/supplier_quotation.js @@ -7,9 +7,9 @@ cur_frm.cscript.fname = "quotation_items"; cur_frm.cscript.other_fname = "purchase_tax_details"; // attach required files -wn.require('app/accounts/doctype/purchase_taxes_and_charges_master/purchase_taxes_and_charges_master.js'); -wn.require('app/buying/doctype/purchase_common/purchase_common.js'); -wn.require('app/accounts/doctype/sales_invoice/pos.js'); +{% include 'buying/doctype/purchase_common/purchase_common.js' %}; +{% include 'accounts/doctype/purchase_taxes_and_charges_master/purchase_taxes_and_charges_master.js' %} +{% include 'accounts/doctype/sales_invoice/pos.js' %} erpnext.buying.SupplierQuotationController = erpnext.buying.BuyingController.extend({ refresh: function() { diff --git a/erpnext/buying/report/purchase_order_trends/purchase_order_trends.js b/erpnext/buying/report/purchase_order_trends/purchase_order_trends.js index 2c7ffc0c769..d5371d36f4c 100644 --- a/erpnext/buying/report/purchase_order_trends/purchase_order_trends.js +++ b/erpnext/buying/report/purchase_order_trends/purchase_order_trends.js @@ -1,7 +1,7 @@ // Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors // License: GNU General Public License v3. See license.txt -wn.require("app/js/purchase_trends_filters.js"); +wn.require("assets/erpnext/js/purchase_trends_filters.js"); wn.query_reports["Purchase Order Trends"] = { filters: get_filters() diff --git a/erpnext/hooks.txt b/erpnext/hooks.txt new file mode 100644 index 00000000000..4e6d4732fc2 --- /dev/null +++ b/erpnext/hooks.txt @@ -0,0 +1,10 @@ +app_name ERPNext + +app_include_js assets/js/erpnext.min.js +app_include_css assets/css/erpnext.css +get_desktop_icons erpnext.manage.get_desktop_icons +boot_session erpnext.startup.boot.boot_session + +standard_queries Warehouse erpnext.stock.utils.get_warehouse_list +standard_queries Customer erpnext.selling.utils.get_customer_list + diff --git a/erpnext/hr/doctype/appraisal/appraisal.js b/erpnext/hr/doctype/appraisal/appraisal.js index e3626b0f48a..29157d090a8 100644 --- a/erpnext/hr/doctype/appraisal/appraisal.js +++ b/erpnext/hr/doctype/appraisal/appraisal.js @@ -71,5 +71,5 @@ cur_frm.cscript.calculate_total = function(doc,cdt,cdn){ } cur_frm.fields_dict.employee.get_query = function(doc,cdt,cdn) { - return{ query:"controllers.queries.employee_query" } + return{ query: "erpnext.controllers.queries.employee_query" } } \ No newline at end of file diff --git a/erpnext/hr/doctype/attendance/attendance.js b/erpnext/hr/doctype/attendance/attendance.js index be2b39dc829..ff7d7dd9840 100644 --- a/erpnext/hr/doctype/attendance/attendance.js +++ b/erpnext/hr/doctype/attendance/attendance.js @@ -10,6 +10,6 @@ cur_frm.cscript.onload = function(doc, cdt, cdn) { cur_frm.fields_dict.employee.get_query = function(doc,cdt,cdn) { return{ - query:"controllers.queries.employee_query" + query: "erpnext.controllers.queries.employee_query" } } diff --git a/erpnext/hr/doctype/employee/employee.js b/erpnext/hr/doctype/employee/employee.js index 55be5260617..1df6175fae8 100644 --- a/erpnext/hr/doctype/employee/employee.js +++ b/erpnext/hr/doctype/employee/employee.js @@ -7,7 +7,7 @@ erpnext.hr.EmployeeController = wn.ui.form.Controller.extend({ this.frm.fields_dict.user_id.get_query = function(doc,cdt,cdn) { return { query:"core.doctype.profile.profile.profile_query"} } this.frm.fields_dict.reports_to.get_query = function(doc,cdt,cdn) { - return{ query:"controllers.queries.employee_query"} } + return{ query: "erpnext.controllers.queries.employee_query"} } }, onload: function() { diff --git a/erpnext/hr/doctype/expense_claim/expense_claim.js b/erpnext/hr/doctype/expense_claim/expense_claim.js index c65fe0a39f7..1a16ddeda4d 100644 --- a/erpnext/hr/doctype/expense_claim/expense_claim.js +++ b/erpnext/hr/doctype/expense_claim/expense_claim.js @@ -55,7 +55,7 @@ cur_frm.cscript.onload = function(doc,cdt,cdn) { cur_frm.fields_dict.employee.get_query = function(doc,cdt,cdn) { return{ - query:"controllers.queries.employee_query" + query: "erpnext.controllers.queries.employee_query" } } var exp_approver = doc.exp_approver; diff --git a/erpnext/hr/doctype/leave_allocation/leave_allocation.js b/erpnext/hr/doctype/leave_allocation/leave_allocation.js index 4bc3c49bd1b..1e376dacf59 100755 --- a/erpnext/hr/doctype/leave_allocation/leave_allocation.js +++ b/erpnext/hr/doctype/leave_allocation/leave_allocation.js @@ -68,6 +68,6 @@ calculate_total_leaves_allocated = function(doc, dt, dn) { cur_frm.fields_dict.employee.get_query = function(doc,cdt,cdn) { return{ - query:"controllers.queries.employee_query" + query: "erpnext.controllers.queries.employee_query" } } \ No newline at end of file diff --git a/erpnext/hr/doctype/salary_slip/salary_slip.js b/erpnext/hr/doctype/salary_slip/salary_slip.js index 3716953cd26..ceab14843ec 100644 --- a/erpnext/hr/doctype/salary_slip/salary_slip.js +++ b/erpnext/hr/doctype/salary_slip/salary_slip.js @@ -123,6 +123,6 @@ cur_frm.cscript.validate = function(doc, dt, dn) { cur_frm.fields_dict.employee.get_query = function(doc,cdt,cdn) { return{ - query:"controllers.queries.employee_query" + query: "erpnext.controllers.queries.employee_query" } } diff --git a/erpnext/hr/doctype/salary_structure/salary_structure.js b/erpnext/hr/doctype/salary_structure/salary_structure.js index dd9ab970d5d..24da8a0503b 100644 --- a/erpnext/hr/doctype/salary_structure/salary_structure.js +++ b/erpnext/hr/doctype/salary_structure/salary_structure.js @@ -60,5 +60,5 @@ cur_frm.cscript.validate = function(doc, cdt, cdn) { } cur_frm.fields_dict.employee.get_query = function(doc,cdt,cdn) { - return{ query:"controllers.queries.employee_query" } + return{ query: "erpnext.controllers.queries.employee_query" } } \ No newline at end of file diff --git a/erpnext/hr/doctype/upload_attendance/upload_attendance.js b/erpnext/hr/doctype/upload_attendance/upload_attendance.js index aed3d7f76cd..ee58945dc27 100644 --- a/erpnext/hr/doctype/upload_attendance/upload_attendance.js +++ b/erpnext/hr/doctype/upload_attendance/upload_attendance.js @@ -2,7 +2,7 @@ // License: GNU General Public License v3. See license.txt -wn.require("public/app/js/utils.js"); +wn.require("assets/erpnext/js/utils.js"); wn.provide("erpnext.hr"); erpnext.hr.AttendanceControlPanel = wn.ui.form.Controller.extend({ diff --git a/erpnext/manage.py b/erpnext/manage.py index 6f62673f41f..fe18d20e2e8 100644 --- a/erpnext/manage.py +++ b/erpnext/manage.py @@ -5,14 +5,6 @@ from __future__ import unicode_literals import webnotes -def get_hooks(): - return { - "app_include_js": ["assets/js/erpnext.min.js"], - "app_include_css": ["assets/css/erpnext.css"], - "desktop_icons": get_desktop_icons(), - "boot_session": ["erpnext.startup.boot.boot_session"] - } - def after_install(): import_defaults() import_country_and_currency() diff --git a/erpnext/manufacturing/doctype/bom/bom.js b/erpnext/manufacturing/doctype/bom/bom.js index a43e5dac6b6..c0dcdfc8f1a 100644 --- a/erpnext/manufacturing/doctype/bom/bom.js +++ b/erpnext/manufacturing/doctype/bom/bom.js @@ -167,7 +167,7 @@ var calculate_total = function(doc) { cur_frm.fields_dict['item'].get_query = function(doc) { return{ - query:"controllers.queries.item_query", + query: "erpnext.controllers.queries.item_query", filters:{ 'is_manufactured_item': 'Yes' } @@ -184,7 +184,7 @@ cur_frm.fields_dict['project_name'].get_query = function(doc, dt, dn) { cur_frm.fields_dict['bom_materials'].grid.get_field('item_code').get_query = function(doc) { return{ - query:"controllers.queries.item_query" + query: "erpnext.controllers.queries.item_query" } } diff --git a/erpnext/manufacturing/doctype/bom_replace_tool/bom_replace_tool.js b/erpnext/manufacturing/doctype/bom_replace_tool/bom_replace_tool.js index 3bf31f93b64..e5415ade86f 100644 --- a/erpnext/manufacturing/doctype/bom_replace_tool/bom_replace_tool.js +++ b/erpnext/manufacturing/doctype/bom_replace_tool/bom_replace_tool.js @@ -8,7 +8,7 @@ cur_frm.cscript.refresh = function(doc) { cur_frm.set_query("current_bom", function(doc) { return{ - query:"controllers.queries.bom", + query: "erpnext.controllers.queries.bom", filters: {name: "!" + doc.new_bom} } }); @@ -16,7 +16,7 @@ cur_frm.set_query("current_bom", function(doc) { cur_frm.set_query("new_bom", function(doc) { return{ - query:"controllers.queries.bom", + query: "erpnext.controllers.queries.bom", filters: {name: "!" + doc.current_bom} } }); \ No newline at end of file diff --git a/erpnext/manufacturing/doctype/production_order/production_order.js b/erpnext/manufacturing/doctype/production_order/production_order.js index 075f8bd1a48..1ace97b66b9 100644 --- a/erpnext/manufacturing/doctype/production_order/production_order.js +++ b/erpnext/manufacturing/doctype/production_order/production_order.js @@ -102,7 +102,7 @@ cur_frm.fields_dict['project_name'].get_query = function(doc, dt, dn) { cur_frm.set_query("bom_no", function(doc) { if (doc.production_item) { return{ - query:"controllers.queries.bom", + query: "erpnext.controllers.queries.bom", filters: {item: cstr(doc.production_item)} } } else msgprint(wn._("Please enter Production Item first")); diff --git a/erpnext/manufacturing/doctype/production_planning_tool/production_planning_tool.js b/erpnext/manufacturing/doctype/production_planning_tool/production_planning_tool.js index 870f01fd38f..f52fb8d6940 100644 --- a/erpnext/manufacturing/doctype/production_planning_tool/production_planning_tool.js +++ b/erpnext/manufacturing/doctype/production_planning_tool/production_planning_tool.js @@ -41,7 +41,7 @@ cur_frm.fields_dict['pp_details'].grid.get_field('bom_no').get_query = function( var d = locals[this.doctype][this.docname]; if (d.item_code) { return { - query:"controllers.queries.bom", + query: "erpnext.controllers.queries.bom", filters:{'item': cstr(d.item_code)} } } else msgprint(wn._("Please enter Item first")); @@ -49,7 +49,7 @@ cur_frm.fields_dict['pp_details'].grid.get_field('bom_no').get_query = function( cur_frm.fields_dict.customer.get_query = function(doc,cdt,cdn) { return{ - query:"controllers.queries.customer_query" + query: "erpnext.controllers.queries.customer_query" } } diff --git a/erpnext/patches.txt b/erpnext/patches.txt new file mode 100644 index 00000000000..e69de29bb2d diff --git a/erpnext/projects/doctype/project/project.js b/erpnext/projects/doctype/project/project.js index 30873b5abe0..a77866ea0e0 100644 --- a/erpnext/projects/doctype/project/project.js +++ b/erpnext/projects/doctype/project/project.js @@ -17,6 +17,6 @@ cur_frm.cscript.refresh = function(doc) { cur_frm.fields_dict.customer.get_query = function(doc,cdt,cdn) { return{ - query:"controllers.queries.customer_query" + query: "erpnext.controllers.queries.customer_query" } } \ No newline at end of file diff --git a/erpnext/public/build.json b/erpnext/public/build.json index 3c681fce93b..dcad80c8f9a 100644 --- a/erpnext/public/build.json +++ b/erpnext/public/build.json @@ -12,5 +12,5 @@ "public/js/feature_setup.js", "public/js/utils.js", "public/js/queries.js" - ] + ], } diff --git a/erpnext/public/js/queries.js b/erpnext/public/js/queries.js index 3c60a9149af..621e340ff7c 100644 --- a/erpnext/public/js/queries.js +++ b/erpnext/public/js/queries.js @@ -9,27 +9,27 @@ $.extend(erpnext.queries, { }, lead: function() { - return { query: "controllers.queries.lead_query" }; + return { query: "erpnext.controllers.queries.lead_query" }; }, customer: function() { - return { query: "controllers.queries.customer_query" }; + return { query: "erpnext.controllers.queries.customer_query" }; }, supplier: function() { - return { query: "controllers.queries.supplier_query" }; + return { query: "erpnext.controllers.queries.supplier_query" }; }, account: function() { - return { query: "controllers.queries.account_query" }; + return { query: "erpnext.controllers.queries.account_query" }; }, item: function() { - return { query: "controllers.queries.item_query" }; + return { query: "erpnext.controllers.queries.item_query" }; }, bom: function() { - return { query: "controllers.queries.bom" }; + return { query: "erpnext.controllers.queries.bom" }; }, task: function() { diff --git a/erpnext/public/js/stock_analytics.js b/erpnext/public/js/stock_analytics.js index 832cac5d6e9..ba41318ec1f 100644 --- a/erpnext/public/js/stock_analytics.js +++ b/erpnext/public/js/stock_analytics.js @@ -1,7 +1,7 @@ // Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors // License: GNU General Public License v3. See license.txt -wn.require("app/js/stock_grid_report.js"); +wn.require("assets/erpnext/js/stock_grid_report.js"); erpnext.StockAnalytics = erpnext.StockGridReport.extend({ init: function(wrapper, opts) { diff --git a/erpnext/public/js/transaction.js b/erpnext/public/js/transaction.js index 96f10c7c576..5b48820c9c6 100644 --- a/erpnext/public/js/transaction.js +++ b/erpnext/public/js/transaction.js @@ -2,7 +2,7 @@ // License: GNU General Public License v3. See license.txt wn.provide("erpnext"); -wn.require("app/js/controllers/stock_controller.js"); +wn.require("assets/erpnext/js/controllers/stock_controller.js"); erpnext.TransactionController = erpnext.stock.StockController.extend({ onload: function() { diff --git a/erpnext/selling/doctype/customer/customer.js b/erpnext/selling/doctype/customer/customer.js index 8ec4a2bd373..e8130aec5ee 100644 --- a/erpnext/selling/doctype/customer/customer.js +++ b/erpnext/selling/doctype/customer/customer.js @@ -1,7 +1,7 @@ // Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors // License: GNU General Public License v3. See license.txt -wn.require('app/setup/doctype/contact_control/contact_control.js'); +{% include 'setup/doctype/contact_control/contact_control.js' %}; cur_frm.cscript.onload = function(doc,dt,dn){ cur_frm.cscript.load_defaults(doc, dt, dn); @@ -116,7 +116,7 @@ cur_frm.fields_dict['customer_group'].get_query = function(doc,dt,dn) { cur_frm.fields_dict.lead_name.get_query = function(doc,cdt,cdn) { return{ - query:"controllers.queries.lead_query" + query: "erpnext.controllers.queries.lead_query" } } diff --git a/erpnext/selling/doctype/installation_note/installation_note.js b/erpnext/selling/doctype/installation_note/installation_note.js index d96b993d79b..223bd8d279d 100644 --- a/erpnext/selling/doctype/installation_note/installation_note.js +++ b/erpnext/selling/doctype/installation_note/installation_note.js @@ -37,7 +37,7 @@ erpnext.selling.InstallationNote = wn.ui.form.Controller.extend({ this.frm.set_query("customer", function() { return { - query: "controllers.queries.customer_query" + query: "erpnext.controllers.queries.customer_query" } }); }, diff --git a/erpnext/selling/doctype/lead/lead.js b/erpnext/selling/doctype/lead/lead.js index cf972b602c6..4ab1067089e 100644 --- a/erpnext/selling/doctype/lead/lead.js +++ b/erpnext/selling/doctype/lead/lead.js @@ -1,14 +1,14 @@ // Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors // License: GNU General Public License v3. See license.txt -wn.require('app/utilities/doctype/sms_control/sms_control.js'); -wn.require('app/setup/doctype/contact_control/contact_control.js'); +{% include 'setup/doctype/contact_control/contact_control.js' %}; +{% include 'utilities/doctype/sms_control/sms_control.js' %} wn.provide("erpnext"); erpnext.LeadController = wn.ui.form.Controller.extend({ setup: function() { this.frm.fields_dict.customer.get_query = function(doc,cdt,cdn) { - return { query:"controllers.queries.customer_query" } } + return { query: "erpnext.controllers.queries.customer_query" } } }, onload: function() { diff --git a/erpnext/selling/doctype/opportunity/opportunity.js b/erpnext/selling/doctype/opportunity/opportunity.js index 5fc84fa9b05..396def8b0ef 100644 --- a/erpnext/selling/doctype/opportunity/opportunity.js +++ b/erpnext/selling/doctype/opportunity/opportunity.js @@ -1,7 +1,7 @@ // Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors // License: GNU General Public License v3. See license.txt -wn.require('app/utilities/doctype/sms_control/sms_control.js'); +{% include 'utilities/doctype/sms_control/sms_control.js' %}; wn.provide("erpnext.selling"); // TODO commonify this code @@ -60,7 +60,7 @@ erpnext.selling.Opportunity = wn.ui.form.Controller.extend({ this.frm.set_query("item_code", "enquiry_details", function() { return { - query: "controllers.queries.item_query", + query: "erpnext.controllers.queries.item_query", filters: me.frm.doc.enquiry_type === "Maintenance" ? {"is_service_item": "Yes"} : {"is_sales_item": "Yes"} }; diff --git a/erpnext/selling/doctype/quotation/quotation.js b/erpnext/selling/doctype/quotation/quotation.js index 9f145ceb46d..bb2ce8ca6ae 100644 --- a/erpnext/selling/doctype/quotation/quotation.js +++ b/erpnext/selling/doctype/quotation/quotation.js @@ -8,10 +8,10 @@ cur_frm.cscript.fname = "quotation_details"; cur_frm.cscript.other_fname = "other_charges"; cur_frm.cscript.sales_team_fname = "sales_team"; -wn.require('app/accounts/doctype/sales_taxes_and_charges_master/sales_taxes_and_charges_master.js'); -wn.require('app/utilities/doctype/sms_control/sms_control.js'); -wn.require('app/selling/sales_common.js'); -wn.require('app/accounts/doctype/sales_invoice/pos.js'); +{% include 'selling/sales_common.js' %} +{% include 'accounts/doctype/sales_taxes_and_charges_master/sales_taxes_and_charges_master.js' %} +{% include 'utilities/doctype/sms_control/sms_control.js' %} +{% include 'accounts/doctype/sales_invoice/pos.js' %} erpnext.selling.QuotationController = erpnext.selling.SellingController.extend({ onload: function(doc, dt, dn) { @@ -90,7 +90,7 @@ erpnext.selling.QuotationController = erpnext.selling.SellingController.extend({ cur_frm.script_manager.make(erpnext.selling.QuotationController); cur_frm.fields_dict.lead.get_query = function(doc,cdt,cdn) { - return{ query:"controllers.queries.lead_query" } } + return{ query: "erpnext.controllers.queries.lead_query" } } cur_frm.cscript.lead = function(doc, cdt, cdn) { if(doc.lead) { diff --git a/erpnext/selling/doctype/sales_order/sales_order.js b/erpnext/selling/doctype/sales_order/sales_order.js index a8ba5022e9b..f39394527e9 100644 --- a/erpnext/selling/doctype/sales_order/sales_order.js +++ b/erpnext/selling/doctype/sales_order/sales_order.js @@ -8,11 +8,10 @@ cur_frm.cscript.fname = "sales_order_details"; cur_frm.cscript.other_fname = "other_charges"; cur_frm.cscript.sales_team_fname = "sales_team"; - -wn.require('app/selling/sales_common.js'); -wn.require('app/accounts/doctype/sales_taxes_and_charges_master/sales_taxes_and_charges_master.js'); -wn.require('app/utilities/doctype/sms_control/sms_control.js'); -wn.require('app/accounts/doctype/sales_invoice/pos.js'); +{% include 'selling/sales_common.js' %} +{% include 'accounts/doctype/sales_taxes_and_charges_master/sales_taxes_and_charges_master.js' %} +{% include 'utilities/doctype/sms_control/sms_control.js' %} +{% include 'accounts/doctype/sales_invoice/pos.js' %} erpnext.selling.SalesOrderController = erpnext.selling.SellingController.extend({ refresh: function(doc, dt, dn) { @@ -148,7 +147,7 @@ cur_frm.cscript.new_contact = function(){ cur_frm.fields_dict['project_name'].get_query = function(doc, cdt, cdn) { return { - query: "controllers.queries.get_project_name", + query: "erpnext.controllers.queries.get_project_name", filters: { 'customer': doc.customer } diff --git a/erpnext/selling/report/quotation_trends/quotation_trends.js b/erpnext/selling/report/quotation_trends/quotation_trends.js index f26e873497f..59f8b469a29 100644 --- a/erpnext/selling/report/quotation_trends/quotation_trends.js +++ b/erpnext/selling/report/quotation_trends/quotation_trends.js @@ -1,7 +1,7 @@ // Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors // License: GNU General Public License v3. See license.txt -wn.require("app/js/sales_trends_filters.js"); +wn.require("assets/erpnext/js/sales_trends_filters.js"); wn.query_reports["Quotation Trends"] = { filters: get_filters() diff --git a/erpnext/selling/report/sales_order_trends/sales_order_trends.js b/erpnext/selling/report/sales_order_trends/sales_order_trends.js index 62684009ecd..6ff31a21d66 100644 --- a/erpnext/selling/report/sales_order_trends/sales_order_trends.js +++ b/erpnext/selling/report/sales_order_trends/sales_order_trends.js @@ -1,7 +1,7 @@ // Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors // License: GNU General Public License v3. See license.txt -wn.require("app/js/sales_trends_filters.js"); +wn.require("assets/erpnext/js/sales_trends_filters.js"); wn.query_reports["Sales Order Trends"] = { filters: get_filters() diff --git a/erpnext/selling/sales_common.js b/erpnext/selling/sales_common.js index c5eb38c3627..ae16413a196 100644 --- a/erpnext/selling/sales_common.js +++ b/erpnext/selling/sales_common.js @@ -5,12 +5,12 @@ // ------ // cur_frm.cscript.tname - Details table name // cur_frm.cscript.fname - Details fieldname -// cur_frm.cscript.other_fname - wn.require('app/accounts/doctype/sales_taxes_and_charges_master/sales_taxes_and_charges_master.js'); fieldname +// cur_frm.cscript.other_fname - fieldname // cur_frm.cscript.sales_team_fname - Sales Team fieldname wn.provide("erpnext.selling"); -wn.require("app/js/transaction.js"); -wn.require("app/js/controllers/accounts.js"); +wn.require("assets/erpnext/js/transaction.js"); +{% include "public/js/controllers/accounts.js" %} erpnext.selling.SellingController = erpnext.TransactionController.extend({ onload: function() { @@ -59,7 +59,7 @@ erpnext.selling.SellingController = erpnext.TransactionController.extend({ if(this.frm.fields_dict[this.fname].grid.get_field('item_code')) { this.frm.set_query("item_code", this.fname, function() { return { - query: "controllers.queries.item_query", + query: "erpnext.controllers.queries.item_query", filters: (me.frm.doc.order_type === "Maintenance" ? {'is_service_item': 'Yes'}: {'is_sales_item': 'Yes' }) diff --git a/erpnext/setup/doctype/authorization_rule/authorization_rule.js b/erpnext/setup/doctype/authorization_rule/authorization_rule.js index cdf8ef0ec98..bd42618c536 100644 --- a/erpnext/setup/doctype/authorization_rule/authorization_rule.js +++ b/erpnext/setup/doctype/authorization_rule/authorization_rule.js @@ -100,7 +100,7 @@ cur_frm.fields_dict['master_name'].get_query = function(doc){ else if(doc.based_on == 'Itemwise Discount') return { doctype: "Item", - query: "controllers.queries.item_query" + query: "erpnext.controllers.queries.item_query" } else return { @@ -111,4 +111,4 @@ cur_frm.fields_dict['master_name'].get_query = function(doc){ } cur_frm.fields_dict.to_emp.get_query = function(doc,cdt,cdn) { - return{ query:"controllers.queries.employee_query" } } \ No newline at end of file + return{ query: "erpnext.controllers.queries.employee_query" } } \ No newline at end of file diff --git a/erpnext/setup/doctype/sales_partner/sales_partner.js b/erpnext/setup/doctype/sales_partner/sales_partner.js index 05768575bc9..57eca345a11 100644 --- a/erpnext/setup/doctype/sales_partner/sales_partner.js +++ b/erpnext/setup/doctype/sales_partner/sales_partner.js @@ -1,7 +1,7 @@ // Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors // License: GNU General Public License v3. See license.txt -wn.require('app/setup/doctype/contact_control/contact_control.js'); +{% include 'setup/doctype/contact_control/contact_control.js' %}; cur_frm.cscript.onload = function(doc,dt,dn){ diff --git a/erpnext/setup/doctype/sales_person/sales_person.js b/erpnext/setup/doctype/sales_person/sales_person.js index 55d86846531..a25a3d186e7 100644 --- a/erpnext/setup/doctype/sales_person/sales_person.js +++ b/erpnext/setup/doctype/sales_person/sales_person.js @@ -37,4 +37,4 @@ cur_frm.fields_dict['target_details'].grid.get_field("item_group").get_query = f } cur_frm.fields_dict.employee.get_query = function(doc,cdt,cdn) { - return{ query:"controllers.queries.employee_query" } } \ No newline at end of file + return{ query: "erpnext.controllers.queries.employee_query" } } \ No newline at end of file diff --git a/erpnext/setup/page/setup_wizard/setup_wizard.py b/erpnext/setup/page/setup_wizard/setup_wizard.py index adb031cd613..3258db32bf2 100644 --- a/erpnext/setup/page/setup_wizard/setup_wizard.py +++ b/erpnext/setup/page/setup_wizard/setup_wizard.py @@ -165,8 +165,8 @@ def set_defaults(args): def create_feed_and_todo(): """update activty feed and create todo for creation of item, customer, vendor""" - import home - home.make_feed('Comment', 'ToDo', '', webnotes.session['user'], + from erpnext.home import make_feed + make_feed('Comment', 'ToDo', '', webnotes.session['user'], 'ERNext Setup Complete!', '#6B24B3') def create_email_digest(): diff --git a/erpnext/startup/event_handlers.py b/erpnext/startup/event_handlers.py index 48c2aa01618..7d518728b03 100644 --- a/erpnext/startup/event_handlers.py +++ b/erpnext/startup/event_handlers.py @@ -4,7 +4,8 @@ from __future__ import unicode_literals import webnotes -import home + +from erpnext.home import make_feed def on_login_post_session(login_manager): """ @@ -25,7 +26,7 @@ def on_login_post_session(login_manager): from webnotes.utils import nowtime from webnotes.profile import get_user_fullname webnotes.conn.begin() - home.make_feed('Login', 'Profile', login_manager.user, login_manager.user, + make_feed('Login', 'Profile', login_manager.user, login_manager.user, '%s logged in at %s' % (get_user_fullname(login_manager.user), nowtime()), login_manager.user=='Administrator' and '#8CA2B3' or '#1B750D') webnotes.conn.commit() @@ -66,6 +67,6 @@ def check_if_expired(): def comment_added(doc): """add comment to feed""" - home.make_feed('Comment', doc.comment_doctype, doc.comment_docname, doc.comment_by, + make_feed('Comment', doc.comment_doctype, doc.comment_docname, doc.comment_by, '"' + doc.comment + '"', '#6B24B3') diff --git a/erpnext/startup/query_handlers.py b/erpnext/startup/query_handlers.py deleted file mode 100644 index 753d088de58..00000000000 --- a/erpnext/startup/query_handlers.py +++ /dev/null @@ -1,9 +0,0 @@ -# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors -# License: GNU General Public License v3. See license.txt - -from __future__ import unicode_literals - -standard_queries = { - "Warehouse": "stock.utils.get_warehouse_list", - "Customer": "selling.utils.get_customer_list", -} \ No newline at end of file diff --git a/erpnext/stock/doctype/batch/batch.js b/erpnext/stock/doctype/batch/batch.js index 51e747029c6..cc142ed5663 100644 --- a/erpnext/stock/doctype/batch/batch.js +++ b/erpnext/stock/doctype/batch/batch.js @@ -3,7 +3,7 @@ cur_frm.fields_dict['item'].get_query = function(doc, cdt, cdn) { return { - query:"controllers.queries.item_query", + query: "erpnext.controllers.queries.item_query", filters:{ 'is_stock_item': 'Yes' } diff --git a/erpnext/stock/doctype/delivery_note/delivery_note.js b/erpnext/stock/doctype/delivery_note/delivery_note.js index 796bf0f66b1..56329a11a04 100644 --- a/erpnext/stock/doctype/delivery_note/delivery_note.js +++ b/erpnext/stock/doctype/delivery_note/delivery_note.js @@ -7,10 +7,10 @@ cur_frm.cscript.fname = "delivery_note_details"; cur_frm.cscript.other_fname = "other_charges"; cur_frm.cscript.sales_team_fname = "sales_team"; -wn.require('app/accounts/doctype/sales_taxes_and_charges_master/sales_taxes_and_charges_master.js'); -wn.require('app/utilities/doctype/sms_control/sms_control.js'); -wn.require('app/selling/sales_common.js'); -wn.require('app/accounts/doctype/sales_invoice/pos.js'); +{% include 'selling/sales_common.js' %}; +{% include 'accounts/doctype/sales_taxes_and_charges_master/sales_taxes_and_charges_master.js' %} +{% include 'utilities/doctype/sms_control/sms_control.js' %} +{% include 'accounts/doctype/sales_invoice/pos.js' %} wn.provide("erpnext.stock"); erpnext.stock.DeliveryNoteController = erpnext.selling.SellingController.extend({ @@ -106,7 +106,7 @@ cur_frm.cscript.new_contact = function(){ // ***************** Get project name ***************** cur_frm.fields_dict['project_name'].get_query = function(doc, cdt, cdn) { return { - query: "controllers.queries.get_project_name", + query: "erpnext.controllers.queries.get_project_name", filters: { 'customer': doc.customer } diff --git a/erpnext/stock/doctype/item/item.js b/erpnext/stock/doctype/item/item.js index c9aa75e7b71..1ee5e049e44 100644 --- a/erpnext/stock/doctype/item/item.js +++ b/erpnext/stock/doctype/item/item.js @@ -151,11 +151,11 @@ cur_frm.cscript.validate = function(doc,cdt,cdn){ cur_frm.fields_dict.item_customer_details.grid.get_field("customer_name").get_query = function(doc,cdt,cdn) { - return{ query:"controllers.queries.customer_query" } } + return{ query: "erpnext.controllers.queries.customer_query" } } cur_frm.fields_dict.item_supplier_details.grid.get_field("supplier").get_query = function(doc,cdt,cdn) { - return{ query:"controllers.queries.supplier_query" } } + return{ query: "erpnext.controllers.queries.supplier_query" } } cur_frm.cscript.copy_from_item_group = function(doc) { wn.model.with_doc("Item Group", doc.item_group, function() { diff --git a/erpnext/stock/doctype/landed_cost_wizard/landed_cost_wizard.js b/erpnext/stock/doctype/landed_cost_wizard/landed_cost_wizard.js index 68f1bd07a71..86b34c03fea 100644 --- a/erpnext/stock/doctype/landed_cost_wizard/landed_cost_wizard.js +++ b/erpnext/stock/doctype/landed_cost_wizard/landed_cost_wizard.js @@ -3,7 +3,7 @@ wn.provide("erpnext.stock"); -wn.require("public/app/js/controllers/stock_controller.js"); +wn.require("assets/erpnext/js/controllers/stock_controller.js"); erpnext.stock.LandedCostWizard = erpnext.stock.StockController.extend({ setup: function() { diff --git a/erpnext/stock/doctype/material_request/material_request.js b/erpnext/stock/doctype/material_request/material_request.js index 7dca9352920..31a57530357 100644 --- a/erpnext/stock/doctype/material_request/material_request.js +++ b/erpnext/stock/doctype/material_request/material_request.js @@ -4,8 +4,8 @@ cur_frm.cscript.tname = "Material Request Item"; cur_frm.cscript.fname = "indent_details"; -wn.require('app/utilities/doctype/sms_control/sms_control.js'); -wn.require('app/buying/doctype/purchase_common/purchase_common.js'); +{% include 'buying/doctype/purchase_common/purchase_common.js' %}; +{% include 'utilities/doctype/sms_control/sms_control.js' %} erpnext.buying.MaterialRequestController = erpnext.buying.BuyingController.extend({ refresh: function(doc) { diff --git a/erpnext/stock/doctype/purchase_receipt/purchase_receipt.js b/erpnext/stock/doctype/purchase_receipt/purchase_receipt.js index 59a60632325..5151c0090b6 100644 --- a/erpnext/stock/doctype/purchase_receipt/purchase_receipt.js +++ b/erpnext/stock/doctype/purchase_receipt/purchase_receipt.js @@ -5,10 +5,10 @@ cur_frm.cscript.tname = "Purchase Receipt Item"; cur_frm.cscript.fname = "purchase_receipt_details"; cur_frm.cscript.other_fname = "purchase_tax_details"; -wn.require('app/accounts/doctype/purchase_taxes_and_charges_master/purchase_taxes_and_charges_master.js'); -wn.require('app/utilities/doctype/sms_control/sms_control.js'); -wn.require('app/buying/doctype/purchase_common/purchase_common.js'); -wn.require('app/accounts/doctype/sales_invoice/pos.js'); +{% include 'buying/doctype/purchase_common/purchase_common.js' %}; +{% include 'accounts/doctype/purchase_taxes_and_charges_master/purchase_taxes_and_charges_master.js' %} +{% include 'utilities/doctype/sms_control/sms_control.js' %} +{% include 'accounts/doctype/sales_invoice/pos.js' %} wn.provide("erpnext.stock"); erpnext.stock.PurchaseReceiptController = erpnext.buying.BuyingController.extend({ diff --git a/erpnext/stock/doctype/stock_entry/stock_entry.js b/erpnext/stock/doctype/stock_entry/stock_entry.js index d5c54b59433..abfd0e2f963 100644 --- a/erpnext/stock/doctype/stock_entry/stock_entry.js +++ b/erpnext/stock/doctype/stock_entry/stock_entry.js @@ -4,7 +4,7 @@ cur_frm.cscript.tname = "Stock Entry Detail"; cur_frm.cscript.fname = "mtn_details"; -wn.require("public/app/js/controllers/stock_controller.js"); +wn.require("assets/erpnext/js/controllers/stock_controller.js"); wn.provide("erpnext.stock"); erpnext.stock.StockEntry = erpnext.stock.StockController.extend({ @@ -386,9 +386,9 @@ cur_frm.cscript.cost_center = function(doc, cdt, cdn) { } cur_frm.fields_dict.customer.get_query = function(doc, cdt, cdn) { - return{ query:"controllers.queries.customer_query" } + return{ query: "erpnext.controllers.queries.customer_query" } } cur_frm.fields_dict.supplier.get_query = function(doc, cdt, cdn) { - return{ query:"controllers.queries.supplier_query" } + return{ query: "erpnext.controllers.queries.supplier_query" } } diff --git a/erpnext/stock/doctype/stock_reconciliation/stock_reconciliation.js b/erpnext/stock/doctype/stock_reconciliation/stock_reconciliation.js index bf08738641a..63f2032e868 100644 --- a/erpnext/stock/doctype/stock_reconciliation/stock_reconciliation.js +++ b/erpnext/stock/doctype/stock_reconciliation/stock_reconciliation.js @@ -1,7 +1,7 @@ // Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors // License: GNU General Public License v3. See license.txt -wn.require("public/app/js/controllers/stock_controller.js"); +wn.require("assets/erpnext/js/controllers/stock_controller.js"); wn.provide("erpnext.stock"); erpnext.stock.StockReconciliation = erpnext.stock.StockController.extend({ diff --git a/erpnext/stock/page/stock_ageing/stock_ageing.js b/erpnext/stock/page/stock_ageing/stock_ageing.js index 6c626e22edd..33dbf542c79 100644 --- a/erpnext/stock/page/stock_ageing/stock_ageing.js +++ b/erpnext/stock/page/stock_ageing/stock_ageing.js @@ -16,7 +16,7 @@ wn.pages['stock-ageing'].onload = function(wrapper) { } -wn.require("app/js/stock_grid_report.js"); +wn.require("assets/erpnext/js/stock_grid_report.js"); erpnext.StockAgeing = erpnext.StockGridReport.extend({ init: function(wrapper) { diff --git a/erpnext/stock/page/stock_analytics/stock_analytics.js b/erpnext/stock/page/stock_analytics/stock_analytics.js index 3fb4a85e6e4..ba2c55a2d1e 100644 --- a/erpnext/stock/page/stock_analytics/stock_analytics.js +++ b/erpnext/stock/page/stock_analytics/stock_analytics.js @@ -16,4 +16,4 @@ wn.pages['stock-analytics'].onload = function(wrapper) { } -wn.require("app/js/stock_analytics.js"); \ No newline at end of file +wn.require("assets/erpnext/js/stock_analytics.js"); \ No newline at end of file diff --git a/erpnext/stock/page/stock_balance/stock_balance.js b/erpnext/stock/page/stock_balance/stock_balance.js index 604312fce9c..cc293a4c018 100644 --- a/erpnext/stock/page/stock_balance/stock_balance.js +++ b/erpnext/stock/page/stock_balance/stock_balance.js @@ -1,7 +1,7 @@ // Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors // License: GNU General Public License v3. See license.txt -wn.require("app/js/stock_analytics.js"); +wn.require("assets/erpnext/js/stock_analytics.js"); wn.pages['stock-balance'].onload = function(wrapper) { wn.ui.make_app_page({ diff --git a/erpnext/stock/page/stock_ledger/stock_ledger.js b/erpnext/stock/page/stock_ledger/stock_ledger.js index 08a455e1d34..a8a966fbc4e 100644 --- a/erpnext/stock/page/stock_ledger/stock_ledger.js +++ b/erpnext/stock/page/stock_ledger/stock_ledger.js @@ -12,7 +12,7 @@ wn.pages['stock-ledger'].onload = function(wrapper) { wrapper.appframe.add_module_icon("Stock") } -wn.require("app/js/stock_grid_report.js"); +wn.require("assets/erpnext/js/stock_grid_report.js"); erpnext.StockLedger = erpnext.StockGridReport.extend({ init: function(wrapper) { diff --git a/erpnext/stock/page/stock_level/stock_level.js b/erpnext/stock/page/stock_level/stock_level.js index c50879160ea..8cef636f9b0 100644 --- a/erpnext/stock/page/stock_level/stock_level.js +++ b/erpnext/stock/page/stock_level/stock_level.js @@ -15,7 +15,7 @@ wn.pages['stock-level'].onload = function(wrapper) { ; } -wn.require("app/js/stock_grid_report.js"); +wn.require("assets/erpnext/js/stock_grid_report.js"); erpnext.StockLevel = erpnext.StockGridReport.extend({ init: function(wrapper) { diff --git a/erpnext/stock/report/delivery_note_trends/delivery_note_trends.js b/erpnext/stock/report/delivery_note_trends/delivery_note_trends.js index ab0147b4966..568d982548c 100644 --- a/erpnext/stock/report/delivery_note_trends/delivery_note_trends.js +++ b/erpnext/stock/report/delivery_note_trends/delivery_note_trends.js @@ -1,7 +1,7 @@ // Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors // License: GNU General Public License v3. See license.txt -wn.require("app/js/sales_trends_filters.js"); +wn.require("assets/erpnext/js/sales_trends_filters.js"); wn.query_reports["Delivery Note Trends"] = { filters: get_filters() diff --git a/erpnext/stock/report/purchase_receipt_trends/purchase_receipt_trends.js b/erpnext/stock/report/purchase_receipt_trends/purchase_receipt_trends.js index c3397f76f3f..f66fcfc9527 100644 --- a/erpnext/stock/report/purchase_receipt_trends/purchase_receipt_trends.js +++ b/erpnext/stock/report/purchase_receipt_trends/purchase_receipt_trends.js @@ -1,7 +1,7 @@ // Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors // License: GNU General Public License v3. See license.txt -wn.require("app/js/purchase_trends_filters.js"); +wn.require("assets/erpnext/js/purchase_trends_filters.js"); wn.query_reports["Purchase Receipt Trends"] = { filters: get_filters() diff --git a/erpnext/support/doctype/customer_issue/customer_issue.js b/erpnext/support/doctype/customer_issue/customer_issue.js index 5d0ffb5fdc3..0ff3f17585a 100644 --- a/erpnext/support/doctype/customer_issue/customer_issue.js +++ b/erpnext/support/doctype/customer_issue/customer_issue.js @@ -103,4 +103,4 @@ cur_frm.add_fetch('item_code', 'description', 'description'); cur_frm.fields_dict.customer.get_query = function(doc,cdt,cdn) { - return{ query:"controllers.queries.customer_query" } } + return{ query: "erpnext.controllers.queries.customer_query" } } diff --git a/erpnext/support/doctype/maintenance_schedule/maintenance_schedule.js b/erpnext/support/doctype/maintenance_schedule/maintenance_schedule.js index f1b2ac8f044..75773e07ac4 100644 --- a/erpnext/support/doctype/maintenance_schedule/maintenance_schedule.js +++ b/erpnext/support/doctype/maintenance_schedule/maintenance_schedule.js @@ -108,4 +108,4 @@ cur_frm.cscript.generate_schedule = function(doc, cdt, cdn) { } cur_frm.fields_dict.customer.get_query = function(doc,cdt,cdn) { - return{ query:"controllers.queries.customer_query" } } + return{ query: "erpnext.controllers.queries.customer_query" } } diff --git a/erpnext/support/doctype/maintenance_visit/maintenance_visit.js b/erpnext/support/doctype/maintenance_visit/maintenance_visit.js index 9b604b92496..f571b9aa9c2 100644 --- a/erpnext/support/doctype/maintenance_visit/maintenance_visit.js +++ b/erpnext/support/doctype/maintenance_visit/maintenance_visit.js @@ -104,5 +104,5 @@ cur_frm.cscript.item_code = function(doc, cdt, cdn) { cur_frm.fields_dict.customer.get_query = function(doc,cdt,cdn) { - return {query: "controllers.queries.customer_query" } + return {query: "erpnext.controllers.queries.customer_query" } } \ No newline at end of file diff --git a/erpnext/support/doctype/support_ticket/support_ticket.js b/erpnext/support/doctype/support_ticket/support_ticket.js index b3728253b7c..b5224e7b66a 100644 --- a/erpnext/support/doctype/support_ticket/support_ticket.js +++ b/erpnext/support/doctype/support_ticket/support_ticket.js @@ -2,7 +2,7 @@ // License: GNU General Public License v3. See license.txt cur_frm.fields_dict.customer.get_query = function(doc,cdt,cdn) { - return{ query:"controllers.queries.customer_query" } } + return{ query: "erpnext.controllers.queries.customer_query" } } wn.provide("erpnext.support"); // TODO commonify this code diff --git a/erpnext/utilities/doctype/address/address.js b/erpnext/utilities/doctype/address/address.js index aa608ba7bac..f56a709e703 100644 --- a/erpnext/utilities/doctype/address/address.js +++ b/erpnext/utilities/doctype/address/address.js @@ -1,4 +1,4 @@ // Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors // License: GNU General Public License v3. See license.txt -wn.require('app/controllers/js/contact_address_common.js'); \ No newline at end of file +{% include 'controllers/js/contact_address_common.js' %}; \ No newline at end of file diff --git a/erpnext/utilities/doctype/contact/contact.js b/erpnext/utilities/doctype/contact/contact.js index 81d35ddae02..3d3e55612c5 100644 --- a/erpnext/utilities/doctype/contact/contact.js +++ b/erpnext/utilities/doctype/contact/contact.js @@ -1,7 +1,7 @@ // Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors // License: GNU General Public License v3. See license.txt -wn.require('app/controllers/js/contact_address_common.js'); +{% include 'controllers/js/contact_address_common.js' %}; cur_frm.cscript.refresh = function(doc) { cur_frm.communication_view = new wn.views.CommunicationList({ From 30430796c7157c391eb1b3c4904faf2d0ae77e32 Mon Sep 17 00:00:00 2001 From: Rushabh Mehta Date: Fri, 13 Dec 2013 15:33:40 +0530 Subject: [PATCH 09/27] notifications via hooks webnotes/wnframework#351 --- erpnext/hooks.txt | 18 +++++---- erpnext/startup/bean_handlers.py | 2 +- erpnext/startup/notifications.py | 35 ++++++++++++++++ erpnext/startup/open_count.py | 69 -------------------------------- 4 files changed, 47 insertions(+), 77 deletions(-) create mode 100644 erpnext/startup/notifications.py delete mode 100644 erpnext/startup/open_count.py diff --git a/erpnext/hooks.txt b/erpnext/hooks.txt index 4e6d4732fc2..32cdcd29df0 100644 --- a/erpnext/hooks.txt +++ b/erpnext/hooks.txt @@ -1,10 +1,14 @@ -app_name ERPNext +app_name ERPNext -app_include_js assets/js/erpnext.min.js -app_include_css assets/css/erpnext.css -get_desktop_icons erpnext.manage.get_desktop_icons -boot_session erpnext.startup.boot.boot_session +app_include_js assets/js/erpnext.min.js +app_include_css assets/css/erpnext.css +get_desktop_icons erpnext.manage.get_desktop_icons +boot_session erpnext.startup.boot.boot_session +notification_config erpnext.startup.notifications.get_notification_config -standard_queries Warehouse erpnext.stock.utils.get_warehouse_list -standard_queries Customer erpnext.selling.utils.get_customer_list +dump_report_map erpnext.startup.report_data_map.data_map +standard_queries Warehouse:erpnext.stock.utils.get_warehouse_list +standard_queries Customer:erpnext.selling.utils.get_customer_list + +mail_footer erpnext.startup.mail_footer diff --git a/erpnext/startup/bean_handlers.py b/erpnext/startup/bean_handlers.py index 095dc0d7a12..a427ffc1493 100644 --- a/erpnext/startup/bean_handlers.py +++ b/erpnext/startup/bean_handlers.py @@ -1,7 +1,7 @@ # Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors # License: GNU General Public License v3. See license.txt -from home import update_feed +from erpnext.home import update_feed from webnotes.core.doctype.notification_count.notification_count import clear_doctype_notifications from erpnext.stock.doctype.material_request.material_request import update_completed_qty diff --git a/erpnext/startup/notifications.py b/erpnext/startup/notifications.py new file mode 100644 index 00000000000..d4cb4fad195 --- /dev/null +++ b/erpnext/startup/notifications.py @@ -0,0 +1,35 @@ +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors +# License: GNU General Public License v3. See license.txt + +from __future__ import unicode_literals +import webnotes + +def get_notification_config(): + return { "for_doctype": + { + "Support Ticket": {"status":"Open"}, + "Customer Issue": {"status":"Open"}, + "Task": {"status":"Open"}, + "Lead": {"status":"Open"}, + "Contact": {"status":"Open"}, + "Opportunity": {"docstatus":0}, + "Quotation": {"docstatus":0}, + "Sales Order": {"docstatus":0}, + "Journal Voucher": {"docstatus":0}, + "Sales Invoice": {"docstatus":0}, + "Purchase Invoice": {"docstatus":0}, + "Leave Application": {"status":"Open"}, + "Expense Claim": {"approval_status":"Draft"}, + "Job Applicant": {"status":"Open"}, + "Purchase Receipt": {"docstatus":0}, + "Delivery Note": {"docstatus":0}, + "Stock Entry": {"docstatus":0}, + "Material Request": {"docstatus":0}, + "Purchase Order": {"docstatus":0}, + "Production Order": {"docstatus":0}, + "BOM": {"docstatus":0}, + "Timesheet": {"docstatus":0}, + "Time Log": {"status":"Draft"}, + "Time Log Batch": {"status":"Draft"}, + } + } \ No newline at end of file diff --git a/erpnext/startup/open_count.py b/erpnext/startup/open_count.py deleted file mode 100644 index e561c03adf0..00000000000 --- a/erpnext/startup/open_count.py +++ /dev/null @@ -1,69 +0,0 @@ -# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors -# License: GNU General Public License v3. See license.txt - -from __future__ import unicode_literals -import webnotes - -for_doctype = { - "Support Ticket": {"status":"Open"}, - "Customer Issue": {"status":"Open"}, - "Task": {"status":"Open"}, - "Lead": {"status":"Open"}, - "Contact": {"status":"Open"}, - "Opportunity": {"docstatus":0}, - "Quotation": {"docstatus":0}, - "Sales Order": {"docstatus":0}, - "Journal Voucher": {"docstatus":0}, - "Sales Invoice": {"docstatus":0}, - "Purchase Invoice": {"docstatus":0}, - "Leave Application": {"status":"Open"}, - "Expense Claim": {"approval_status":"Draft"}, - "Job Applicant": {"status":"Open"}, - "Purchase Receipt": {"docstatus":0}, - "Delivery Note": {"docstatus":0}, - "Stock Entry": {"docstatus":0}, - "Material Request": {"docstatus":0}, - "Purchase Order": {"docstatus":0}, - "Production Order": {"docstatus":0}, - "BOM": {"docstatus":0}, - "Timesheet": {"docstatus":0}, - "Time Log": {"status":"Draft"}, - "Time Log Batch": {"status":"Draft"}, -} - -def get_things_todo(): - """Returns a count of incomplete todos""" - incomplete_todos = webnotes.conn.sql("""\ - SELECT COUNT(*) FROM `tabToDo` - WHERE IFNULL(checked, 0) = 0 - AND (owner = %s or assigned_by=%s)""", (webnotes.session.user, webnotes.session.user)) - return incomplete_todos[0][0] - -def get_todays_events(): - """Returns a count of todays events in calendar""" - from webnotes.core.doctype.event.event import get_events - from webnotes.utils import nowdate - today = nowdate() - return len(get_events(today, today)) - -def get_unread_messages(): - "returns unread (docstatus-0 messages for a user)" - return webnotes.conn.sql("""\ - SELECT count(*) - FROM `tabComment` - WHERE comment_doctype IN ('My Company', 'Message') - AND comment_docname = %s - AND ifnull(docstatus,0)=0 - """, webnotes.user.name)[0][0] - -for_module_doctypes = { - "ToDo": "To Do", - "Event": "Calendar", - "Comment": "Messages" -} - -for_module = { - "To Do": get_things_todo, - "Calendar": get_todays_events, - "Messages": get_unread_messages -} From c652a6254ff516717a9ca2f500dcbb362db2c15f Mon Sep 17 00:00:00 2001 From: Rushabh Mehta Date: Mon, 16 Dec 2013 12:48:22 +0530 Subject: [PATCH 10/27] Rewrote hooks for scheduler, notifications, boot, session, login, webpage webnotes/wnframework#351 --- .../doctype/sales_invoice/sales_invoice.py | 2 +- erpnext/home/__init__.py | 11 ++- erpnext/hooks.txt | 46 +++++++++++- .../upload_attendance/upload_attendance.py | 2 +- .../april_2013/p05_update_file_data.py | 2 +- erpnext/portal/templates/includes/cart.js | 2 +- .../doctype/backup_manager/backup_dropbox.py | 2 +- .../doctype/backup_manager/backup_manager.py | 4 +- erpnext/startup/bean_handlers.py | 16 ---- erpnext/startup/boot.py | 1 - erpnext/startup/event_handlers.py | 12 +-- erpnext/startup/schedule_handlers.py | 74 ------------------- erpnext/startup/webutils.py | 2 +- erpnext/stock/utils.py | 2 +- 14 files changed, 65 insertions(+), 113 deletions(-) delete mode 100644 erpnext/startup/bean_handlers.py delete mode 100644 erpnext/startup/schedule_handlers.py diff --git a/erpnext/accounts/doctype/sales_invoice/sales_invoice.py b/erpnext/accounts/doctype/sales_invoice/sales_invoice.py index d5b4c51f448..f49541b3604 100644 --- a/erpnext/accounts/doctype/sales_invoice/sales_invoice.py +++ b/erpnext/accounts/doctype/sales_invoice/sales_invoice.py @@ -738,7 +738,7 @@ def manage_recurring_invoices(next_date=None, commit=True): notify_errors(ref_invoice, ref_wrapper.doc.owner) webnotes.conn.commit() - exception_list.append(webnotes.getTraceback()) + exception_list.append(webnotes.get_traceback()) finally: if commit: webnotes.conn.begin() diff --git a/erpnext/home/__init__.py b/erpnext/home/__init__.py index 9667efd2128..36d7db57ca8 100644 --- a/erpnext/home/__init__.py +++ b/erpnext/home/__init__.py @@ -29,8 +29,9 @@ feed_dict = { 'Sales Order': ['[%(status)s] To %(customer_name)s worth %(currency)s %(grand_total_export)s', '#4169E1'], # Purchase - 'Supplier': ['%(supplier_name)s, %(supplier_type)s', '#6495ED'], - 'Purchase Order': ['[%(status)s] %(name)s To %(supplier_name)s for %(currency)s %(grand_total_import)s', '#4169E1'], + 'Material Request': ['%(supplier_name)s, %(supplier_type)s', '#6495ED'], + 'Supplier': ['%(supplier_name)s, %(supplier_type)s', '#6495ED'], + 'Purchase Order': ['[%(status)s] %(name)s To %(supplier_name)s for %(currency)s %(grand_total_import)s', '#4169E1'], # Stock 'Delivery Note': ['[%(status)s] To %(customer_name)s', '#4169E1'], @@ -89,3 +90,9 @@ def update_feed(controller, method=None): subject, color = feed_dict.get(doc.doctype, [None, None]) if subject: make_feed('', doc.doctype, doc.name, doc.owner, subject % doc.fields, color) + +def make_comment_feed(bean, method): + """add comment to feed""" + doc = bean.doc + make_feed('Comment', doc.comment_doctype, doc.comment_docname, doc.comment_by, + '"' + doc.comment + '"', '#6B24B3') \ No newline at end of file diff --git a/erpnext/hooks.txt b/erpnext/hooks.txt index 32cdcd29df0..69d2d8e43fe 100644 --- a/erpnext/hooks.txt +++ b/erpnext/hooks.txt @@ -2,13 +2,57 @@ app_name ERPNext app_include_js assets/js/erpnext.min.js app_include_css assets/css/erpnext.css +web_include_js assets/js/erpnext-web.min.js + get_desktop_icons erpnext.manage.get_desktop_icons boot_session erpnext.startup.boot.boot_session notification_config erpnext.startup.notifications.get_notification_config dump_report_map erpnext.startup.report_data_map.data_map +update_website_context erpnext.startup.webutils.update_website_context + +mail_footer erpnext.startup.mail_footer + +on_session_creation erpnext.startup.event_handlers.on_session_creation +on_logout erpnext.startup.event_handlers.on_logut + +# Bean Events +# ----------- + +bean_event *:on_update:erpnext.home.update_feed +bean_event *:on_submit:erpnext.home.update_feed +bean_event Comment:on_update:erpnext.home.make_comment_feed + +bean_event *:on_update:webnotes.core.doctype.notification_count.notification_count.clear_doctype_notifications +bean_event *:on_cancel:webnotes.core.doctype.notification_count.notification_count.clear_doctype_notifications +bean_event *:on_trash:webnotes.core.doctype.notification_count.notification_count.clear_doctype_notifications + +bean_event Stock Entry:on_update:erpnext.stock.doctype.material_request.material_request.update_completed_qty standard_queries Warehouse:erpnext.stock.utils.get_warehouse_list standard_queries Customer:erpnext.selling.utils.get_customer_list -mail_footer erpnext.startup.mail_footer +# Schedulers +# ---------- + +#### Frequently + +scheduler_event all:erpnext.support.doctype.support_ticket.get_support_mails.get_support_mails +scheduler_event all:erpnext.hr.doctype.job_applicant.get_job_applications.get_job_applications +scheduler_event all:erpnext.selling.doctype.lead.get_leads.get_leads +scheduler_event all:webnotes.utils.email_lib.bulk.flush + +#### Daily + +scheduler_event daily:webnotes.core.doctype.event.event.send_event_digest +scheduler_event daily:erpnext.setup.doctype.email_digest.email_digest.send +scheduler_event daily:webnotes.core.doctype.notification_count.notification_count.delete_event_notification_count +scheduler_event daily:webnotes.utils.email_lib.bulk.clear_outbox +scheduler_event daily:erpnext.accounts.doctype.sales_invoice.sales_invoice.manage_recurring_invoices +scheduler_event daily:erpnext.setup.doctype.backup_manager.backup_manager.take_backups_daily +scheduler_event daily:erpnext.stock.utils.reorder_item +scheduler_event daily:webnotes.scheduler.report_errors + +#### Weekly + +scheduler_event weekly:erpnext.setup.doctype.backup_manager.backup_manager.take_backups_weekly diff --git a/erpnext/hr/doctype/upload_attendance/upload_attendance.py b/erpnext/hr/doctype/upload_attendance/upload_attendance.py index 4f1069a1e12..53b88f78c19 100644 --- a/erpnext/hr/doctype/upload_attendance/upload_attendance.py +++ b/erpnext/hr/doctype/upload_attendance/upload_attendance.py @@ -138,7 +138,7 @@ def upload(): error = True ret.append('Error for row (#%d) %s : %s' % (row_idx, len(row)>1 and row[1] or "", cstr(e))) - webnotes.errprint(webnotes.getTraceback()) + webnotes.errprint(webnotes.get_traceback()) if error: webnotes.conn.rollback() diff --git a/erpnext/patches/april_2013/p05_update_file_data.py b/erpnext/patches/april_2013/p05_update_file_data.py index b41019d3521..1403dff3379 100644 --- a/erpnext/patches/april_2013/p05_update_file_data.py +++ b/erpnext/patches/april_2013/p05_update_file_data.py @@ -35,7 +35,7 @@ def update_file_list(doctype, singles): webnotes.conn.commit() webnotes.conn.sql("""alter table `tab%s` drop column `file_list`""" % doctype) except Exception, e: - print webnotes.getTraceback() + print webnotes.get_traceback() if (e.args and e.args[0]!=1054) or not e.args: raise diff --git a/erpnext/portal/templates/includes/cart.js b/erpnext/portal/templates/includes/cart.js index 0765c60e1f7..c521b6cb970 100644 --- a/erpnext/portal/templates/includes/cart.js +++ b/erpnext/portal/templates/includes/cart.js @@ -127,7 +127,7 @@ $.extend(erpnext.cart, { render_item_row: function($cart_items, doc) { doc.image_html = doc.website_image ? '
' : - '{% include "app/stock/doctype/item/templates/includes/product_missing_image.html" %}'; + '{% include "stock/doctype/item/templates/includes/product_missing_image.html" %}'; if(doc.description === doc.item_name) doc.description = ""; diff --git a/erpnext/setup/doctype/backup_manager/backup_dropbox.py b/erpnext/setup/doctype/backup_manager/backup_dropbox.py index bbd33b5e4b2..8659b5a5dbb 100644 --- a/erpnext/setup/doctype/backup_manager/backup_dropbox.py +++ b/erpnext/setup/doctype/backup_manager/backup_dropbox.py @@ -114,7 +114,7 @@ def backup_to_dropbox(): upload_file_to_dropbox(filepath, "/files", dropbox_client) except Exception: did_not_upload.append(filename) - error_log.append(webnotes.getTraceback()) + error_log.append(webnotes.get_traceback()) webnotes.connect() return did_not_upload, list(set(error_log)) diff --git a/erpnext/setup/doctype/backup_manager/backup_manager.py b/erpnext/setup/doctype/backup_manager/backup_manager.py index 332d983f29d..339038f6491 100644 --- a/erpnext/setup/doctype/backup_manager/backup_manager.py +++ b/erpnext/setup/doctype/backup_manager/backup_manager.py @@ -37,7 +37,7 @@ def take_backups_dropbox(): send_email(True, "Dropbox") except Exception: file_and_error = [" - ".join(f) for f in zip(did_not_upload, error_log)] - error_message = ("\n".join(file_and_error) + "\n" + webnotes.getTraceback()) + error_message = ("\n".join(file_and_error) + "\n" + webnotes.get_traceback()) webnotes.errprint(error_message) if not webnotes.conn: @@ -57,7 +57,7 @@ def take_backups_gdrive(): send_email(True, "Google Drive") except Exception: file_and_error = [" - ".join(f) for f in zip(did_not_upload, error_log)] - error_message = ("\n".join(file_and_error) + "\n" + webnotes.getTraceback()) + error_message = ("\n".join(file_and_error) + "\n" + webnotes.get_traceback()) webnotes.errprint(error_message) send_email(False, "Google Drive", error_message) diff --git a/erpnext/startup/bean_handlers.py b/erpnext/startup/bean_handlers.py deleted file mode 100644 index a427ffc1493..00000000000 --- a/erpnext/startup/bean_handlers.py +++ /dev/null @@ -1,16 +0,0 @@ -# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors -# License: GNU General Public License v3. See license.txt - -from erpnext.home import update_feed -from webnotes.core.doctype.notification_count.notification_count import clear_doctype_notifications -from erpnext.stock.doctype.material_request.material_request import update_completed_qty - -def on_method(bean, method): - if method in ("on_update", "on_submit"): - update_feed(bean.controller, method) - - if method in ("on_update", "on_cancel", "on_trash"): - clear_doctype_notifications(bean.controller, method) - - if bean.doc.doctype=="Stock Entry" and method in ("on_submit", "on_cancel"): - update_completed_qty(bean.controller, method) \ No newline at end of file diff --git a/erpnext/startup/boot.py b/erpnext/startup/boot.py index cd565c749ff..e28e5baa410 100644 --- a/erpnext/startup/boot.py +++ b/erpnext/startup/boot.py @@ -47,7 +47,6 @@ def load_country_and_currency(bootinfo): where ifnull(enabled,0)=1""", as_dict=1, update={"doctype":":Currency"}) def get_letter_heads(): - """load letter heads with startup""" import webnotes ret = webnotes.conn.sql("""select name, content from `tabLetter Head` where ifnull(disabled,0)=0""") diff --git a/erpnext/startup/event_handlers.py b/erpnext/startup/event_handlers.py index 7d518728b03..262771dd4af 100644 --- a/erpnext/startup/event_handlers.py +++ b/erpnext/startup/event_handlers.py @@ -5,9 +5,7 @@ from __future__ import unicode_literals import webnotes -from erpnext.home import make_feed - -def on_login_post_session(login_manager): +def on_session_creation(login_manager): """ called after login update login_from and delete parallel sessions @@ -63,10 +61,4 @@ def check_if_expired(): webnotes.msgprint(msg) webnotes.response['message'] = 'Account Expired' - raise webnotes.AuthenticationError - -def comment_added(doc): - """add comment to feed""" - make_feed('Comment', doc.comment_doctype, doc.comment_docname, doc.comment_by, - '"' + doc.comment + '"', '#6B24B3') - + raise webnotes.AuthenticationError diff --git a/erpnext/startup/schedule_handlers.py b/erpnext/startup/schedule_handlers.py deleted file mode 100644 index e1b3bb4544f..00000000000 --- a/erpnext/startup/schedule_handlers.py +++ /dev/null @@ -1,74 +0,0 @@ -# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors -# License: GNU General Public License v3. See license.txt - -from __future__ import unicode_literals -"""will be called by scheduler""" - -import webnotes -from webnotes.utils import scheduler - -def execute_all(): - """ - * get support email - * recurring invoice - """ - # pull emails - from erpnext.support.doctype.support_ticket.get_support_mails import get_support_mails - run_fn(get_support_mails) - - from erpnext.hr.doctype.job_applicant.get_job_applications import get_job_applications - run_fn(get_job_applications) - - from erpnext.selling.doctype.lead.get_leads import get_leads - run_fn(get_leads) - - from webnotes.utils.email_lib.bulk import flush - run_fn(flush) - -def execute_daily(): - # event reminders - from webnotes.core.doctype.event.event import send_event_digest - run_fn(send_event_digest) - - # clear daily event notifications - from webnotes.core.doctype.notification_count.notification_count import delete_notification_count_for - delete_notification_count_for("Event") - - # email digest - from erpnext.setup.doctype.email_digest.email_digest import send - run_fn(send) - - # run recurring invoices - from erpnext.accounts.doctype.sales_invoice.sales_invoice import manage_recurring_invoices - run_fn(manage_recurring_invoices) - - # send bulk emails - from webnotes.utils.email_lib.bulk import clear_outbox - run_fn(clear_outbox) - - # daily backup - from erpnext.setup.doctype.backup_manager.backup_manager import take_backups_daily - run_fn(take_backups_daily) - - # check reorder level - from erpnext.stock.utils import reorder_item - run_fn(reorder_item) - - # scheduler error - scheduler.report_errors() - -def execute_weekly(): - from erpnext.setup.doctype.backup_manager.backup_manager import take_backups_weekly - run_fn(take_backups_weekly) - -def execute_monthly(): - pass - -def execute_hourly(): - pass - -def run_fn(fn): - try: - fn() - except Exception, e: - scheduler.log(fn.func_name) diff --git a/erpnext/startup/webutils.py b/erpnext/startup/webutils.py index 9e18d4eaadf..ef8c88b397f 100644 --- a/erpnext/startup/webutils.py +++ b/erpnext/startup/webutils.py @@ -4,7 +4,7 @@ import webnotes from webnotes.utils import cint -def get_website_settings(context): +def update_website_context(context): post_login = [] cart_enabled = cint(webnotes.conn.get_default("shopping_cart_enabled")) if cart_enabled: diff --git a/erpnext/stock/utils.py b/erpnext/stock/utils.py index 1d838c9c405..b748029187b 100644 --- a/erpnext/stock/utils.py +++ b/erpnext/stock/utils.py @@ -343,7 +343,7 @@ def create_material_request(material_requests): exceptions_list.append([] + webnotes.local.message_log) webnotes.local.message_log = [] else: - exceptions_list.append(webnotes.getTraceback()) + exceptions_list.append(webnotes.get_traceback()) if mr_list: if getattr(webnotes.local, "reorder_email_notify", None) is None: From 91e9822f65854469766bb78029e44239cf087fa3 Mon Sep 17 00:00:00 2001 From: Rushabh Mehta Date: Mon, 16 Dec 2013 18:43:42 +0530 Subject: [PATCH 11/27] fixed test cases webnotes/wnframework#351 --- erpnext/home/__init__.py | 1 - erpnext/hooks.txt | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/erpnext/home/__init__.py b/erpnext/home/__init__.py index 36d7db57ca8..e092a71ff4e 100644 --- a/erpnext/home/__init__.py +++ b/erpnext/home/__init__.py @@ -29,7 +29,6 @@ feed_dict = { 'Sales Order': ['[%(status)s] To %(customer_name)s worth %(currency)s %(grand_total_export)s', '#4169E1'], # Purchase - 'Material Request': ['%(supplier_name)s, %(supplier_type)s', '#6495ED'], 'Supplier': ['%(supplier_name)s, %(supplier_type)s', '#6495ED'], 'Purchase Order': ['[%(status)s] %(name)s To %(supplier_name)s for %(currency)s %(grand_total_import)s', '#4169E1'], diff --git a/erpnext/hooks.txt b/erpnext/hooks.txt index 69d2d8e43fe..036e80f7d69 100644 --- a/erpnext/hooks.txt +++ b/erpnext/hooks.txt @@ -27,7 +27,8 @@ bean_event *:on_update:webnotes.core.doctype.notification_count.notification_ bean_event *:on_cancel:webnotes.core.doctype.notification_count.notification_count.clear_doctype_notifications bean_event *:on_trash:webnotes.core.doctype.notification_count.notification_count.clear_doctype_notifications -bean_event Stock Entry:on_update:erpnext.stock.doctype.material_request.material_request.update_completed_qty +bean_event Stock Entry:on_submit:erpnext.stock.doctype.material_request.material_request.update_completed_qty +bean_event Stock Entry:on_cancel:erpnext.stock.doctype.material_request.material_request.update_completed_qty standard_queries Warehouse:erpnext.stock.utils.get_warehouse_list standard_queries Customer:erpnext.selling.utils.get_customer_list From 2b08985e16e5d637edc72f1b15b67bb618bed9f1 Mon Sep 17 00:00:00 2001 From: Rushabh Mehta Date: Thu, 19 Dec 2013 18:27:48 +0530 Subject: [PATCH 12/27] Translations redesigned webnotes/wnframework#351 --- .../doctype/fiscal_year/fiscal_year.py | 6 +- erpnext/accounts/doctype/gl_entry/gl_entry.py | 9 +- .../journal_voucher/journal_voucher.py | 3 +- .../period_closing_voucher.py | 3 +- .../accounts_payable/accounts_payable.py | 3 +- erpnext/controllers/buying_controller.py | 3 +- .../hr/doctype/expense_claim/expense_claim.js | 6 +- .../leave_application/leave_application.py | 3 +- .../salary_structure/salary_structure.py | 3 +- erpnext/public/build.json | 4 +- erpnext/public/js/conf.js | 4 +- erpnext/stock/doctype/item/item.py | 14 +- .../doctype/packing_slip/packing_slip.py | 3 +- .../stock/doctype/stock_entry/stock_entry.js | 3 +- .../stock/doctype/stock_entry/stock_entry.py | 4 +- .../stock_reconciliation.js | 3 +- .../stock_reconciliation.py | 5 +- erpnext/translations/de.csv | 1720 +++++++---------- erpnext/utilities/transaction_base.py | 3 +- 19 files changed, 715 insertions(+), 1087 deletions(-) diff --git a/erpnext/accounts/doctype/fiscal_year/fiscal_year.py b/erpnext/accounts/doctype/fiscal_year/fiscal_year.py index 55e414cb27d..a09e9731bc2 100644 --- a/erpnext/accounts/doctype/fiscal_year/fiscal_year.py +++ b/erpnext/accounts/doctype/fiscal_year/fiscal_year.py @@ -26,8 +26,7 @@ class DocType: if year_start_end_dates: if getdate(self.doc.year_start_date) != year_start_end_dates[0][0] or getdate(self.doc.year_end_date) != year_start_end_dates[0][1]: - webnotes.throw(_("Cannot change Year Start Date and Year End Date \ - once the Fiscal Year is saved.")) + webnotes.throw(_("Cannot change Year Start Date and Year End Date once the Fiscal Year is saved.")) def on_update(self): # validate year start date and year end date @@ -43,5 +42,4 @@ class DocType: for fiscal_year, ysd, yed in year_start_end_dates: if (getdate(self.doc.year_start_date) == ysd and getdate(self.doc.year_end_date) == yed) \ and (not webnotes.flags.in_test): - webnotes.throw(_("Year Start Date and Year End Date are already \ - set in Fiscal Year: ") + fiscal_year) \ No newline at end of file + webnotes.throw(_("Year Start Date and Year End Date are already set in Fiscal Year: ") + fiscal_year) \ No newline at end of file diff --git a/erpnext/accounts/doctype/gl_entry/gl_entry.py b/erpnext/accounts/doctype/gl_entry/gl_entry.py index 358261fb9dd..8286c8fe182 100644 --- a/erpnext/accounts/doctype/gl_entry/gl_entry.py +++ b/erpnext/accounts/doctype/gl_entry/gl_entry.py @@ -152,10 +152,7 @@ def validate_frozen_account(account, adv_adj): frozen_accounts_modifier = webnotes.conn.get_value( 'Accounts Settings', None, 'frozen_accounts_modifier') if not frozen_accounts_modifier: - webnotes.throw(account + _(" is a frozen account. \ - Either make the account active or assign role in Accounts Settings \ - who can create / modify entries against this account")) + webnotes.throw(account + _(" is a frozen account. Either make the account active or assign role in Accounts Settings who can create / modify entries against this account")) elif frozen_accounts_modifier not in webnotes.user.get_roles(): - webnotes.throw(account + _(" is a frozen account. ") + - _("To create / edit transactions against this account, you need role") + ": " + - frozen_accounts_modifier) + webnotes.throw(account + _(" is a frozen account. To create / edit transactions against this account, you need role") \ + + ": " + frozen_accounts_modifier) diff --git a/erpnext/accounts/doctype/journal_voucher/journal_voucher.py b/erpnext/accounts/doctype/journal_voucher/journal_voucher.py index 32f8139cab2..4d00dfd4726 100644 --- a/erpnext/accounts/doctype/journal_voucher/journal_voucher.py +++ b/erpnext/accounts/doctype/journal_voucher/journal_voucher.py @@ -236,8 +236,7 @@ class DocType(AccountsController): if d.against_voucher and webnotes.conn.get_value("Purchase Invoice", d.against_voucher, "credit_to") != d.account: - webnotes.throw(_("Debited account (Supplier) is not matching with \ - Purchase Invoice")) + webnotes.throw(_("Debited account (Supplier) is not matching with Purchase Invoice")) def make_gl_entries(self, cancel=0, adv_adj=0): from erpnext.accounts.general_ledger import make_gl_entries diff --git a/erpnext/accounts/doctype/period_closing_voucher/period_closing_voucher.py b/erpnext/accounts/doctype/period_closing_voucher/period_closing_voucher.py index db5804042f4..5a37d84cdce 100644 --- a/erpnext/accounts/doctype/period_closing_voucher/period_closing_voucher.py +++ b/erpnext/accounts/doctype/period_closing_voucher/period_closing_voucher.py @@ -64,8 +64,7 @@ class DocType(AccountsController): expense_bal = expense_bal and expense_bal[0][0] or 0 if not income_bal and not expense_bal: - webnotes.throw(_("Both Income and Expense balances are zero. \ - No Need to make Period Closing Entry.")) + webnotes.throw(_("Both Income and Expense balances are zero. No Need to make Period Closing Entry.")) def get_pl_balances(self): """Get balance for pl accounts""" diff --git a/erpnext/accounts/report/accounts_payable/accounts_payable.py b/erpnext/accounts/report/accounts_payable/accounts_payable.py index bb02ab250af..070148bc16a 100644 --- a/erpnext/accounts/report/accounts_payable/accounts_payable.py +++ b/erpnext/accounts/report/accounts_payable/accounts_payable.py @@ -93,8 +93,7 @@ def get_conditions(filters, before_report_date=True): if supplier_accounts: conditions += " and account in (%s)" % (", ".join(['%s']*len(supplier_accounts))) else: - msgprint(_("No Supplier Accounts found. Supplier Accounts are identified based on \ - 'Master Type' value in account record."), raise_exception=1) + msgprint(_("No Supplier Accounts found. Supplier Accounts are identified based on 'Master Type' value in account record."), raise_exception=1) if filters.get("report_date"): if before_report_date: diff --git a/erpnext/controllers/buying_controller.py b/erpnext/controllers/buying_controller.py index 8da572a71c1..b1d32bd2c1b 100644 --- a/erpnext/controllers/buying_controller.py +++ b/erpnext/controllers/buying_controller.py @@ -69,8 +69,7 @@ class BuyingController(StockController): self.doclist.get({"parentfield": "purchase_tax_details"}) if d.category in ["Valuation", "Valuation and Total"]] if tax_for_valuation: - webnotes.msgprint(_("""Tax Category can not be 'Valuation' or 'Valuation and Total' - as all items are non-stock items"""), raise_exception=1) + webnotes.msgprint(_("""Tax Category can not be 'Valuation' or 'Valuation and Total' as all items are non-stock items"""), raise_exception=1) def set_total_in_words(self): from webnotes.utils import money_in_words diff --git a/erpnext/hr/doctype/expense_claim/expense_claim.js b/erpnext/hr/doctype/expense_claim/expense_claim.js index 1a16ddeda4d..716afd3dcd1 100644 --- a/erpnext/hr/doctype/expense_claim/expense_claim.js +++ b/erpnext/hr/doctype/expense_claim/expense_claim.js @@ -104,11 +104,9 @@ cur_frm.cscript.set_help = function(doc) { } else { if(doc.docstatus==0 && doc.approval_status=="Draft") { if(user==doc.exp_approver) { - cur_frm.set_intro(wn._("You are the Expense Approver for this record. \ - Please Update the 'Status' and Save")); + cur_frm.set_intro(wn._("You are the Expense Approver for this record. Please Update the 'Status' and Save")); } else { - cur_frm.set_intro(wn._("Expense Claim is pending approval. \ - Only the Expense Approver can update status.")); + cur_frm.set_intro(wn._("Expense Claim is pending approval. Only the Expense Approver can update status.")); } } else { if(doc.approval_status=="Approved") { diff --git a/erpnext/hr/doctype/leave_application/leave_application.py b/erpnext/hr/doctype/leave_application/leave_application.py index 5d73719e31c..c87c36ad536 100755 --- a/erpnext/hr/doctype/leave_application/leave_application.py +++ b/erpnext/hr/doctype/leave_application/leave_application.py @@ -107,8 +107,7 @@ class DocType(DocListController): self.doc.total_leave_days = self.get_total_leave_days()["total_leave_days"] if self.doc.total_leave_days == 0: - msgprint(_("Hurray! The day(s) on which you are applying for leave \ - coincide with holiday(s). You need not apply for leave."), + msgprint(_("The day(s) on which you are applying for leave coincide with holiday(s). You need not apply for leave."), raise_exception=1) if not is_lwp(self.doc.leave_type): diff --git a/erpnext/hr/doctype/salary_structure/salary_structure.py b/erpnext/hr/doctype/salary_structure/salary_structure.py index 2dc056dd164..de088e75f91 100644 --- a/erpnext/hr/doctype/salary_structure/salary_structure.py +++ b/erpnext/hr/doctype/salary_structure/salary_structure.py @@ -60,8 +60,7 @@ class DocType: ret = webnotes.conn.sql("""select name from `tabSalary Structure` where is_active = 'Yes' and employee = %s and name!=%s""", (self.doc.employee,self.doc.name)) if ret and self.doc.is_active=='Yes': - msgprint(_("""Another Salary Structure '%s' is active for employee '%s'. - Please make its status 'Inactive' to proceed.""") % + msgprint(_("""Another Salary Structure '%s' is active for employee '%s'. Please make its status 'Inactive' to proceed.""") % (cstr(ret), self.doc.employee), raise_exception=1) def validate_amount(self): diff --git a/erpnext/public/build.json b/erpnext/public/build.json index dcad80c8f9a..ea9808abcd0 100644 --- a/erpnext/public/build.json +++ b/erpnext/public/build.json @@ -12,5 +12,5 @@ "public/js/feature_setup.js", "public/js/utils.js", "public/js/queries.js" - ], -} + ] +} \ No newline at end of file diff --git a/erpnext/public/js/conf.js b/erpnext/public/js/conf.js index 0c53ecdc4b9..d902fe1fdcf 100644 --- a/erpnext/public/js/conf.js +++ b/erpnext/public/js/conf.js @@ -27,9 +27,7 @@ wn.ui.misc.about = function() { var d = new wn.ui.Dialog({title: wn._('About ERPNext')}) $(d.body).html(repl("
\ -

"+wn._("ERPNext is an open-source web based ERP made by Web Notes Technologies Pvt Ltd.\ - to provide an integrated tool to manage most processes in a small organization.\ - For more information about Web Notes, or to buy hosting servies, go to ")+ +

"+wn._("ERPNext is an open-source web based ERP made by Web Notes Technologies Pvt Ltd. to provide an integrated tool to manage most processes in a small organization. For more information about Web Notes, or to buy hosting servies, go to ")+ "https://erpnext.com.

\

"+wn._("To report an issue, go to ")+"GitHub Issues

\
\ diff --git a/erpnext/stock/doctype/item/item.py b/erpnext/stock/doctype/item/item.py index e7ce2f9b843..637d1cda654 100644 --- a/erpnext/stock/doctype/item/item.py +++ b/erpnext/stock/doctype/item/item.py @@ -89,9 +89,7 @@ class DocType(DocListController, WebsiteGenerator): (self.doc.stock_uom, self.doc.name)) if not matched: - webnotes.throw(_("Default Unit of Measure can not be changed directly \ - because you have already made some transaction(s) with another UOM.\n \ - To change default UOM, use 'UOM Replace Utility' tool under Stock module.")) + webnotes.throw(_("Default Unit of Measure can not be changed directly because you have already made some transaction(s) with another UOM. To change default UOM, use 'UOM Replace Utility' tool under Stock module.")) def validate_conversion_factor(self): check_list = [] @@ -103,12 +101,10 @@ class DocType(DocListController, WebsiteGenerator): check_list.append(cstr(d.uom)) if d.uom and cstr(d.uom) == cstr(self.doc.stock_uom) and flt(d.conversion_factor) != 1: - msgprint(_("""Conversion Factor of UOM: %s should be equal to 1. - As UOM: %s is Stock UOM of Item: %s.""" % + msgprint(_("""Conversion Factor of UOM: %s should be equal to 1. As UOM: %s is Stock UOM of Item: %s.""" % (d.uom, d.uom, self.doc.name)), raise_exception=1) elif d.uom and cstr(d.uom)!= self.doc.stock_uom and flt(d.conversion_factor) == 1: - msgprint(_("""Conversion Factor of UOM: %s should not be equal to 1. - As UOM: %s is not Stock UOM of Item: %s""" % + msgprint(_("""Conversion Factor of UOM: %s should not be equal to 1. As UOM: %s is not Stock UOM of Item: %s""" % (d.uom, d.uom, self.doc.name)), raise_exception=1) def validate_item_type(self): @@ -190,9 +186,7 @@ class DocType(DocListController, WebsiteGenerator): vals.has_serial_no != self.doc.has_serial_no or cstr(vals.valuation_method) != cstr(self.doc.valuation_method)): if self.check_if_sle_exists() == "exists": - webnotes.msgprint(_("As there are existing stock transactions for this \ - item, you can not change the values of 'Has Serial No', \ - 'Is Stock Item' and 'Valuation Method'"), raise_exception=1) + webnotes.throw(_("As there are existing stock transactions for this item, you can not change the values of 'Has Serial No', 'Is Stock Item' and 'Valuation Method'")) def validate_item_type_for_reorder(self): if self.doc.re_order_level or len(self.doclist.get({"parentfield": "item_reorder", diff --git a/erpnext/stock/doctype/packing_slip/packing_slip.py b/erpnext/stock/doctype/packing_slip/packing_slip.py index 93583471000..de97a7e9f86 100644 --- a/erpnext/stock/doctype/packing_slip/packing_slip.py +++ b/erpnext/stock/doctype/packing_slip/packing_slip.py @@ -33,8 +33,7 @@ class DocType: Validates if delivery note has status as draft """ if cint(webnotes.conn.get_value("Delivery Note", self.doc.delivery_note, "docstatus")) != 0: - msgprint(_("""Invalid Delivery Note. Delivery Note should exist and should be in - draft state. Please rectify and try again."""), raise_exception=1) + msgprint(_("""Invalid Delivery Note. Delivery Note should exist and should be in draft state. Please rectify and try again."""), raise_exception=1) def validate_items_mandatory(self): rows = [d.item_code for d in self.doclist.get({"parentfield": "item_details"})] diff --git a/erpnext/stock/doctype/stock_entry/stock_entry.js b/erpnext/stock/doctype/stock_entry/stock_entry.js index abfd0e2f963..159603986ea 100644 --- a/erpnext/stock/doctype/stock_entry/stock_entry.js +++ b/erpnext/stock/doctype/stock_entry/stock_entry.js @@ -167,8 +167,7 @@ erpnext.stock.StockEntry = erpnext.stock.StockController.extend({ if(this.frm.doc.purpose === "Sales Return") { if(this.frm.doc.delivery_note_no && this.frm.doc.sales_invoice_no) { // both specified - msgprint(wn._("You can not enter both Delivery Note No and Sales Invoice No. \ - Please enter any one.")); + msgprint(wn._("You can not enter both Delivery Note No and Sales Invoice No. Please enter any one.")); } else if(!(this.frm.doc.delivery_note_no || this.frm.doc.sales_invoice_no)) { // none specified diff --git a/erpnext/stock/doctype/stock_entry/stock_entry.py b/erpnext/stock/doctype/stock_entry/stock_entry.py index a4a04248a5a..60012206417 100644 --- a/erpnext/stock/doctype/stock_entry/stock_entry.py +++ b/erpnext/stock/doctype/stock_entry/stock_entry.py @@ -243,9 +243,7 @@ class DocType(StockController): for d in getlist(self.doclist, 'mtn_details'): if d.bom_no and flt(d.transfer_qty) != flt(self.doc.fg_completed_qty): msgprint(_("Row #") + " %s: " % d.idx - + _("Quantity should be equal to Manufacturing Quantity. ") - + _("To fetch items again, click on 'Get Items' button \ - or update the Quantity manually."), raise_exception=1) + + _("Quantity should be equal to Manufacturing Quantity. To fetch items again, click on 'Get Items' button or update the Quantity manually."), raise_exception=1) def validate_return_reference_doc(self): """validate item with reference doc""" diff --git a/erpnext/stock/doctype/stock_reconciliation/stock_reconciliation.js b/erpnext/stock/doctype/stock_reconciliation/stock_reconciliation.js index 63f2032e868..48f3e458633 100644 --- a/erpnext/stock/doctype/stock_reconciliation/stock_reconciliation.js +++ b/erpnext/stock/doctype/stock_reconciliation/stock_reconciliation.js @@ -50,8 +50,7 @@ erpnext.stock.StockReconciliation = erpnext.stock.StockController.extend({ if(this.frm.doc.reconciliation_json) { this.frm.set_intro(wn._("You can submit this Stock Reconciliation.")); } else { - this.frm.set_intro(wn._("Download the Template, fill appropriate data and \ - attach the modified file.")); + this.frm.set_intro(wn._("Download the Template, fill appropriate data and attach the modified file.")); } } else if(this.frm.doc.docstatus == 1) { this.frm.set_intro(wn._("Cancelling this Stock Reconciliation will nullify its effect.")); diff --git a/erpnext/stock/doctype/stock_reconciliation/stock_reconciliation.py b/erpnext/stock/doctype/stock_reconciliation/stock_reconciliation.py index f2744af3585..f219aa06a56 100644 --- a/erpnext/stock/doctype/stock_reconciliation/stock_reconciliation.py +++ b/erpnext/stock/doctype/stock_reconciliation/stock_reconciliation.py @@ -140,10 +140,9 @@ class DocType(StockController): # check valuation rate mandatory if row.qty != "" and not row.valuation_rate and \ flt(previous_sle.get("qty_after_transaction")) <= 0: - webnotes.msgprint(_("As existing qty for item: ") + row.item_code + + webnotes.throw(_("As existing qty for item: ") + row.item_code + _(" at warehouse: ") + row.warehouse + - _(" is less than equals to zero in the system, \ - valuation rate is mandatory for this item"), raise_exception=1) + _(" is less than equals to zero in the system, valuation rate is mandatory for this item")) change_in_qty = row.qty != "" and \ (flt(row.qty) - flt(previous_sle.get("qty_after_transaction"))) diff --git a/erpnext/translations/de.csv b/erpnext/translations/de.csv index f68cabf3e19..0a0569e3595 100644 --- a/erpnext/translations/de.csv +++ b/erpnext/translations/de.csv @@ -1,42 +1,52 @@ (Half Day),(Halber Tag) + .You can not assign / modify / remove Master Name, + Quantity should be greater than 0., + after this transaction., against sales order,gegen Kundenauftrag against same operation,gegen dieselbe Operation already marked,bereits markierten and year: ,und Jahr: as it is stock Item or packing item,wie es ist lagernd Artikel oder Packstück at warehouse: ,im Warenlager: + budget , by Role ,von Rolle + can not be created/modified against stopped Sales Order , can not be made.,nicht vorgenommen werden. - can not be marked as a ledger as it has existing child,"nicht als Ledger gekennzeichnet, da es bestehenden Kind" - cannot be 0,nicht 0 sein kann - cannot be deleted.,kann nicht gelöscht werden. + can not be received twice, + can only be debited/credited through Stock transactions, + does not belong to , + does not belong to Warehouse, does not belong to the company,nicht dem Unternehmen gehören + for account , has already been submitted.,wurde bereits eingereicht. - has been freezed. ,wurde eingefroren. - has been freezed. \ Only Accounts Manager can do transaction against this account,Wurde eingefroren. \ Nur Accounts Manager kann Transaktion gegen dieses Konto zu tun -" is less than equals to zero in the system, \ valuation rate is mandatory for this item",weniger als gleich im System Null ist \ Wertansatz für diesen Artikel zwingend + is a frozen account. Either make the account active or assign role in Accounts Settings who can create / modify entries against this account, +" is a frozen account. To create / edit transactions against this account, you need role", +" is less than equals to zero in the system, valuation rate is mandatory for this item", is mandatory,zwingend is mandatory for GL Entry,ist für GL Eintrag zwingend - is not a ledger,ist nicht ein Ledger - is not active,nicht aktiv is not set,nicht gesetzt - is now the default Fiscal Year. \ Please refresh your browser for the change to take effect.,"Ist nun der Standard Geschäftsjahr. \ Bitte Ihren Browser aktualisieren, damit die Änderungen wirksam werden." +" is now the default Fiscal Year. \ + Please refresh your browser for the change to take effect.", is present in one or many Active BOMs,ist in einer oder mehreren Active BOMs not active or does not exists in the system,nicht aktiv oder existiert nicht im System not submitted,nicht vorgelegt or the BOM is cancelled or inactive,oder das BOM wird abgebrochen oder inaktiv should be 'Yes'. As Item: ,sollte "Ja". Als Item: - should be same as that in ,sollte dieselbe wie die in - was on leave on ,war im Urlaub aus will be ,wird will be over-billed against mentioned ,wird gegen erwähnt überrepräsentiert in Rechnung gestellt werden - will become ,werden -"""Company History""",Firmengeschichte -"""Team Members"" or ""Management""","Teammitglieder oder ""Management""" + will exceed by , +# ###.##, +"#,###", +"#,###.##", +"#,###.###", +"#,##,###.##", +#.###, +"#.###,##", % Delivered,% Lieferung % Amount Billed,% Rechnungsbetrag % Billed,% Billed % Completed,% Abgeschlossen +% Delivered,Geliefert % % Installed,% Installierte % Received,% Erhaltene % of materials billed against this Purchase Order.,% Der Materialien gegen diese Bestellung in Rechnung gestellt. @@ -45,59 +55,66 @@ % of materials delivered against this Sales Order,% Der Materialien gegen diesen Kundenauftrag geliefert % of materials ordered against this Material Request,% Der bestellten Materialien gegen diesen Werkstoff anfordern % of materials received against this Purchase Order,% Der Materialien erhalten gegen diese Bestellung -"' can not be managed using Stock Reconciliation.\ You can add/delete Serial No directly, \ to modify stock of this item.",'Kann nicht verwaltet mit Lager Versöhnung werden. \ Sie können hinzufügen / löschen Seriennummer direkt \ to stock dieses Artikels ändern. +%(conversion_rate_label)s is mandatory. Maybe Currency Exchange record is not created for %(from_currency)s to %(to_currency)s,% ( conversion_rate_label ) s ist obligatorisch. Vielleicht Devisenwechsel Datensatz nicht für% erstellt ( from_currency ) s in% ( to_currency ) s ' in Company: ,'In Unternehmen: 'To Case No.' cannot be less than 'From Case No.','To Fall Nr.' kann nicht kleiner sein als "Von Fall Nr. ' +(Total) Net Weight value. Make sure that Net Weight of each item is,"(Total ) Nettogewichtswert. Stellen Sie sicher, dass die Netto-Gewicht der einzelnen Elemente ist" * Will be calculated in the transaction.,* Wird in der Transaktion berechnet werden. -"**Budget Distribution** helps you distribute your budget across months if you have seasonality in your business.To distribute a budget using this distribution, set this **Budget Distribution** in the **Cost Center**","** Budget Verteilung ** hilft Ihnen verteilen Sie Ihr Budget über Monate, wenn Sie Saisonalität in Ihrem business.To vertreiben ein Budget Verwendung dieser Verteilung, setzen Sie diesen ** Budget Verteilung ** in der ** Cost Center ** haben" +"**Budget Distribution** helps you distribute your budget across months if you have seasonality in your business. + +To distribute a budget using this distribution, set this **Budget Distribution** in the **Cost Center**", **Currency** Master,** Währung ** Meister **Fiscal Year** represents a Financial Year. All accounting entries and other major transactions are tracked against **Fiscal Year**.,** Geschäftsjahr ** ein Geschäftsjahr. Alle Buchungen und anderen wichtigen Transaktionen gegen ** Geschäftsjahr ** verfolgt. -. Outstanding cannot be less than zero. \ Please match exact outstanding.,. Herausragende kann nicht kleiner als Null ist. \ Bitte Exakte hervorragend. +. Max allowed , +". Outstanding cannot be less than zero. \ + Please match exact outstanding.", . Please set status of the employee as 'Left',. Bitte setzen Sie den Status des Mitarbeiters als "links" . You can not mark his attendance as 'Present',. Sie können nicht markieren seine Teilnahme als "Gegenwart" -"000 is black, fff is white","000 ist schwarz, weiß fff" -1 Currency = [?] FractionFor e.g. 1 USD = 100 Cent,1 Währung = [?] FractionFor beispielsweise 1 USD = 100 Cent +01,01 +02,02 +03,03 +04,04 +05,05 +06,06 +07,07 +08,08 +09,09 +"1 Currency = [?] Fraction +For e.g. 1 USD = 100 Cent", 1. To maintain the customer wise item code and to make them searchable based on their code use this option,Ein. Um den Kunden kluge Artikel Code zu pflegen und um sie durchsuchbar basierend auf ihren Code um diese Option -12px,12px -13px,13px -14px,14px -15px,15px -16px,16px +10,10 +11,11 +12,12 +2,2 2 days ago,Vor 2 Tagen +3,3 +4,4 +5,5 +6,6 : Duplicate row from same ,: Doppelte Reihe von gleichen -: It is linked to other active BOM(s),: Es wird mit anderen aktiven BOM (s) verbunden : Mandatory for a Recurring Invoice.,: Obligatorisch für ein Recurring Invoice. -"To manage Customer Groups, click here"," Kundengruppen zu verwalten, klicken Sie hier " -"Manage Item Groups"," Artikel Gruppen verwalten " -"To manage Territory, click here"," Um Territory zu verwalten, klicken Sie hier " -"Manage Customer Groups","Verwalten von Kunden-Gruppen" -"To manage Territory, click here"," Um Territory zu verwalten, klicken Sie hier " -"Manage Item Groups","Artikel verwalten Gruppen" -"Territory","Bereich" -"To manage Territory, click here"," Um Territory zu verwalten, klicken Sie hier " -"\
  • field:[fieldname] - By Field\
  • naming_series: - By Naming Series (field called naming_series must be present\
  • eval:[expression] - Evaluate an expression in python (self is doc)\
  • Prompt - Prompt user for a name\
  • [series] - Series by prefix (separated by a dot); for example PRE.#####\')"">Naming Options"," \
  • Feld: [Feldname] - Durch Feld \
  • naming_series: - durch die Benennung Series (Feld namens naming_series muss vorhanden sein \
  • eval: [Ausdruck] - Bewerten Sie einen Ausdruck in python (Selbst ist doc) \
  • Prompt - Benutzer nach einem Namen \
  • [Serie] - Series by Prefix (getrennt durch einen Punkt);. zum Beispiel PRE # # # # # \ ') ""> Naming Optionen " -Cancel allows you change Submitted documents by cancelling them and amending them., Abbrechen können Sie ändern eingereichten Unterlagen durch Vernichtung von ihnen und zur Änderung ihnen. -"To setup, please go to Setup > Naming Series"," Um einzurichten, gehen Sie bitte auf Setup> Naming Series " +"Add / Edit"," Hinzufügen / Bearbeiten " +"Add / Edit"," Hinzufügen / Bearbeiten " +"Add / Edit"," Hinzufügen / Bearbeiten " +"[?]"," [?] " A Customer exists with same name,Ein Kunde gibt mit dem gleichen Namen A Lead with this email id should exist,Ein Lead mit dieser E-Mail-ID sollte vorhanden sein "A Product or a Service that is bought, sold or kept in stock.","Ein Produkt oder eine Dienstleistung, die gekauft, verkauft oder gehalten auf Lager." A Supplier exists with same name,Ein Lieferant existiert mit dem gleichen Namen A condition for a Shipping Rule,Eine Bedingung für einen Versand Rule A logical Warehouse against which stock entries are made.,Eine logische Warehouse gegen die Lager-Einträge vorgenommen werden. -A new popup will open that will ask you to select further conditions.,"Ein neues Pop-up öffnet das wird Sie bitten, weitere Bedingungen zu wählen." A symbol for this currency. For e.g. $,Ein Symbol für diese Währung. Für z.B. $ A third party distributor / dealer / commission agent / affiliate / reseller who sells the companies products for a commission.,Ein Dritter Vertrieb / Händler / Kommissionär / affiliate / Vertragshändler verkauft die Unternehmen Produkte für eine Provision. -A user can have multiple values for a property.,Ein Benutzer kann mehrere Werte für eine Eigenschaft. A+,A + A-,A- AB+,AB + AB-,AB- AMC Expiry Date,AMC Ablaufdatum +AMC expiry date and maintenance status mismatched,AMC Verfallsdatum und Wartungsstatus nicht übereinstimm ATT,ATT Abbr,Abk. About,Über -About Us Settings,Über uns Settings -About Us Team Member,Über uns Team Member +About ERPNext,Über ERPNext Above Value,Vor Wert Absent,Abwesend Acceptance Criteria,Akzeptanzkriterien @@ -108,11 +125,14 @@ Account,Konto Account Balance,Kontostand Account Details,Kontodetails Account Head,Konto Leiter -Account Id,Konto-ID Account Name,Account Name Account Type,Kontotyp +Account expires on,Konto läuft auf +Account for the warehouse (Perpetual Inventory) will be created under this Account.,Konto für das Lager ( Perpetual Inventory) wird unter diesem Konto erstellt werden. Account for this ,Konto für diese Accounting,Buchhaltung +Accounting Entries are not allowed against groups.,Accounting -Einträge sind nicht gegen Gruppen erlaubt . +"Accounting Entries can be made against leaf nodes, called","Accounting Einträge können gegen Blattknoten gemacht werden , die so genannte" Accounting Year.,Rechnungsjahres. "Accounting entry frozen up to this date, nobody can do / modify entry except role specified below.","Buchhaltungseingaben bis zu diesem Zeitpunkt eingefroren, kann niemand / nicht ändern Eintrag außer Rolle unten angegebenen." Accounting journal entries.,Accounting Journaleinträge. @@ -122,10 +142,12 @@ Accounts Payable,Kreditorenbuchhaltung Accounts Receivable,Debitorenbuchhaltung Accounts Settings,Konten-Einstellungen Action,Aktion +Actions,Aktionen Active,Aktiv Active: Will extract emails from ,Aktiv: Werden E-Mails extrahieren Activity,Aktivität Activity Log,Activity Log +Activity Log:,Activity Log: Activity Type,Art der Tätigkeit Actual,Tatsächlich Actual Budget,Tatsächliche Budget @@ -137,34 +159,26 @@ Actual Posting Date,Tatsächliche Buchungsdatum Actual Qty,Tatsächliche Menge Actual Qty (at source/target),Tatsächliche Menge (an der Quelle / Ziel) Actual Qty After Transaction,Tatsächliche Menge Nach Transaction +Actual Qty: Quantity available in the warehouse.,Tatsächliche Menge: Menge verfügbar im Lager. Actual Quantity,Tatsächliche Menge Actual Start Date,Tatsächliche Startdatum Add,Hinzufügen Add / Edit Taxes and Charges,Hinzufügen / Bearbeiten Steuern und Abgaben -Add A New Rule,Fügen Sie eine neue Regel -Add A Property,Fügen Sie eine Eigenschaft Add Attachments,Anhänge hinzufügen Add Bookmark,Lesezeichen hinzufügen -Add CSS,Fügen Sie CSS +Add Child,Kinder hinzufügen Add Column,Spalte hinzufügen -Add Comment,Kommentar hinzufügen -Add Google Analytics ID: eg. UA-89XXX57-1. Please search help on Google Analytics for more information.,In Google Analytics ID: zB. UA-89XXX57-1. Bitte suchen Sie Hilfe zu Google Analytics für weitere Informationen. Add Message,Nachricht hinzufügen -Add New Permission Rule,Add New Permission Rule Add Reply,Fügen Sie Antworten -Add Terms and Conditions for the Material Request. You can also prepare a Terms and Conditions Master and use the Template,In Allgemeinen Geschäftsbedingungen für das Material-Request. Sie können auch ein Master-AGB und verwenden Sie die Vorlage -Add Terms and Conditions for the Purchase Receipt. You can also prepare a Terms and Conditions Master and use the Template.,Hinzufügen Geschäftsbedingungen für den Kaufbeleg. Sie können auch eine AGB-Master und verwenden Sie die Vorlage. -"Add Terms and Conditions for the Quotation like Payment Terms, Validity of Offer etc. You can also prepare a Terms and Conditions Master and use the Template","Fügen AGB für das Angebot wie Zahlungsbedingungen, Gültigkeit des Angebots etc. Sie können auch ein AGB-Master und verwenden Sie die Vorlage" -Add Total Row,In insgesamt Row -Add a banner to the site. (small banners are usually good),Hinzufügen einen Banner auf der Website. (Kleine Banner sind in der Regel gut) +Add Serial No,In Seriennummer +Add Taxes,Steuern hinzufügen +Add Taxes and Charges,In Steuern und Abgaben Add attachment,Anhang hinzufügen -Add code as <script>,Fügen Sie Code wie -{% endblock %} diff --git a/erpnext/templates/includes/footer_powered.html b/erpnext/templates/includes/footer_powered.html new file mode 100644 index 00000000000..0abf2e4e778 --- /dev/null +++ b/erpnext/templates/includes/footer_powered.html @@ -0,0 +1 @@ +ERPNext Powered \ No newline at end of file diff --git a/erpnext/stock/doctype/item/templates/includes/product_breadcrumbs.html b/erpnext/templates/includes/product_breadcrumbs.html similarity index 100% rename from erpnext/stock/doctype/item/templates/includes/product_breadcrumbs.html rename to erpnext/templates/includes/product_breadcrumbs.html diff --git a/erpnext/stock/doctype/item/templates/includes/product_in_grid.html b/erpnext/templates/includes/product_in_grid.html similarity index 100% rename from erpnext/stock/doctype/item/templates/includes/product_in_grid.html rename to erpnext/templates/includes/product_in_grid.html diff --git a/erpnext/stock/doctype/item/templates/includes/product_in_list.html b/erpnext/templates/includes/product_in_list.html similarity index 100% rename from erpnext/stock/doctype/item/templates/includes/product_in_list.html rename to erpnext/templates/includes/product_in_list.html diff --git a/erpnext/stock/doctype/item/templates/includes/product_list.js b/erpnext/templates/includes/product_list.js similarity index 100% rename from erpnext/stock/doctype/item/templates/includes/product_list.js rename to erpnext/templates/includes/product_list.js diff --git a/erpnext/stock/doctype/item/templates/includes/product_missing_image.html b/erpnext/templates/includes/product_missing_image.html similarity index 100% rename from erpnext/stock/doctype/item/templates/includes/product_missing_image.html rename to erpnext/templates/includes/product_missing_image.html diff --git a/erpnext/stock/doctype/item/templates/includes/product_page.css b/erpnext/templates/includes/product_page.css similarity index 100% rename from erpnext/stock/doctype/item/templates/includes/product_page.css rename to erpnext/templates/includes/product_page.css diff --git a/erpnext/stock/doctype/item/templates/includes/product_page.js b/erpnext/templates/includes/product_page.js similarity index 100% rename from erpnext/stock/doctype/item/templates/includes/product_page.js rename to erpnext/templates/includes/product_page.js diff --git a/erpnext/stock/doctype/item/templates/includes/product_search_box.html b/erpnext/templates/includes/product_search_box.html similarity index 100% rename from erpnext/stock/doctype/item/templates/includes/product_search_box.html rename to erpnext/templates/includes/product_search_box.html diff --git a/erpnext/portal/templates/includes/transactions.html b/erpnext/templates/includes/transactions.html similarity index 100% rename from erpnext/portal/templates/includes/transactions.html rename to erpnext/templates/includes/transactions.html diff --git a/erpnext/portal/__init__.py b/erpnext/templates/pages/__init__.py similarity index 100% rename from erpnext/portal/__init__.py rename to erpnext/templates/pages/__init__.py diff --git a/erpnext/utilities/doctype/address/templates/pages/address.html b/erpnext/templates/pages/address.html similarity index 100% rename from erpnext/utilities/doctype/address/templates/pages/address.html rename to erpnext/templates/pages/address.html diff --git a/erpnext/utilities/doctype/address/templates/pages/address.py b/erpnext/templates/pages/address.py similarity index 100% rename from erpnext/utilities/doctype/address/templates/pages/address.py rename to erpnext/templates/pages/address.py diff --git a/erpnext/utilities/doctype/address/templates/pages/addresses.html b/erpnext/templates/pages/addresses.html similarity index 100% rename from erpnext/utilities/doctype/address/templates/pages/addresses.html rename to erpnext/templates/pages/addresses.html diff --git a/erpnext/utilities/doctype/address/templates/pages/addresses.py b/erpnext/templates/pages/addresses.py similarity index 100% rename from erpnext/utilities/doctype/address/templates/pages/addresses.py rename to erpnext/templates/pages/addresses.py diff --git a/erpnext/portal/templates/pages/cart.html b/erpnext/templates/pages/cart.html similarity index 96% rename from erpnext/portal/templates/pages/cart.html rename to erpnext/templates/pages/cart.html index db812299f3f..8aae9d92b94 100644 --- a/erpnext/portal/templates/pages/cart.html +++ b/erpnext/templates/pages/cart.html @@ -1,7 +1,7 @@ {% extends base_template %} {% block javascript %} - + {% endblock %} {% set title="Shopping Cart" %} diff --git a/erpnext/portal/templates/pages/cart.py b/erpnext/templates/pages/cart.py similarity index 100% rename from erpnext/portal/templates/pages/cart.py rename to erpnext/templates/pages/cart.py diff --git a/erpnext/accounts/doctype/sales_invoice/templates/pages/invoice.html b/erpnext/templates/pages/invoice.html similarity index 66% rename from erpnext/accounts/doctype/sales_invoice/templates/pages/invoice.html rename to erpnext/templates/pages/invoice.html index 44c53308493..45867eabdf5 100644 --- a/erpnext/accounts/doctype/sales_invoice/templates/pages/invoice.html +++ b/erpnext/templates/pages/invoice.html @@ -1,4 +1,4 @@ -{% extends "portal/templates/sale.html" %} +{% extends "templates/sale.html" %} {% block status -%} {% if doc.status %}{{ doc.status }}{% endif %} diff --git a/erpnext/accounts/doctype/sales_invoice/templates/pages/invoice.py b/erpnext/templates/pages/invoice.py similarity index 93% rename from erpnext/accounts/doctype/sales_invoice/templates/pages/invoice.py rename to erpnext/templates/pages/invoice.py index 2002d14fe40..9d6a558b7c1 100644 --- a/erpnext/accounts/doctype/sales_invoice/templates/pages/invoice.py +++ b/erpnext/templates/pages/invoice.py @@ -9,7 +9,7 @@ from webnotes.utils import flt, fmt_money no_cache = True def get_context(): - from erpnext.portal.utils import get_transaction_context + from erpnext.templates.utils import get_transaction_context context = get_transaction_context("Sales Invoice", webnotes.form_dict.name) modify_status(context.get("doc")) context.update({ diff --git a/erpnext/templates/pages/invoices.html b/erpnext/templates/pages/invoices.html new file mode 100644 index 00000000000..0467f34ae62 --- /dev/null +++ b/erpnext/templates/pages/invoices.html @@ -0,0 +1 @@ +{% extends "templates/sales_transactions.html" %} \ No newline at end of file diff --git a/erpnext/accounts/doctype/sales_invoice/templates/pages/invoices.py b/erpnext/templates/pages/invoices.py similarity index 86% rename from erpnext/accounts/doctype/sales_invoice/templates/pages/invoices.py rename to erpnext/templates/pages/invoices.py index 7c2e4ed9fc7..448c525068d 100644 --- a/erpnext/accounts/doctype/sales_invoice/templates/pages/invoices.py +++ b/erpnext/templates/pages/invoices.py @@ -7,7 +7,7 @@ import webnotes no_cache = True def get_context(): - from erpnext.portal.utils import get_currency_context + from erpnext.templates.utils import get_currency_context context = get_currency_context() context.update({ "title": "Invoices", @@ -20,7 +20,7 @@ def get_context(): @webnotes.whitelist() def get_invoices(start=0): - from erpnext.portal.utils import get_transaction_list + from erpnext.templates.utils import get_transaction_list from erpnext.accounts.doctype.sales_invoice.templates.pages.invoice import modify_status invoices = get_transaction_list("Sales Invoice", start, ["outstanding_amount"]) for d in invoices: diff --git a/erpnext/stock/doctype/item/templates/pages/product_search.html b/erpnext/templates/pages/product_search.html similarity index 100% rename from erpnext/stock/doctype/item/templates/pages/product_search.html rename to erpnext/templates/pages/product_search.html diff --git a/erpnext/stock/doctype/item/templates/pages/product_search.py b/erpnext/templates/pages/product_search.py similarity index 100% rename from erpnext/stock/doctype/item/templates/pages/product_search.py rename to erpnext/templates/pages/product_search.py diff --git a/erpnext/portal/templates/pages/profile.html b/erpnext/templates/pages/profile.html similarity index 96% rename from erpnext/portal/templates/pages/profile.html rename to erpnext/templates/pages/profile.html index a8077319c1f..880b8d49e3c 100644 --- a/erpnext/portal/templates/pages/profile.html +++ b/erpnext/templates/pages/profile.html @@ -34,7 +34,7 @@ $(document).ready(function() { $("#fullname").val(getCookie("full_name") || ""); $("#update_profile").click(function() { wn.call({ - method: "portal.templates.pages.profile.update_profile", + method: "erpnext.templates.pages.profile.update_profile", type: "POST", args: { fullname: $("#fullname").val(), diff --git a/erpnext/portal/templates/pages/profile.py b/erpnext/templates/pages/profile.py similarity index 100% rename from erpnext/portal/templates/pages/profile.py rename to erpnext/templates/pages/profile.py diff --git a/erpnext/templates/pages/shipment.html b/erpnext/templates/pages/shipment.html new file mode 100644 index 00000000000..d0aaa3efd59 --- /dev/null +++ b/erpnext/templates/pages/shipment.html @@ -0,0 +1 @@ +{% extends "templates/sale.html" %} \ No newline at end of file diff --git a/erpnext/stock/doctype/delivery_note/templates/pages/shipment.py b/erpnext/templates/pages/shipment.py similarity index 86% rename from erpnext/stock/doctype/delivery_note/templates/pages/shipment.py rename to erpnext/templates/pages/shipment.py index dc8ab6af6a7..e7446852107 100644 --- a/erpnext/stock/doctype/delivery_note/templates/pages/shipment.py +++ b/erpnext/templates/pages/shipment.py @@ -7,7 +7,7 @@ import webnotes no_cache = True def get_context(): - from erpnext.portal.utils import get_transaction_context + from erpnext.templates.utils import get_transaction_context context = get_transaction_context("Delivery Note", webnotes.form_dict.name) context.update({ "parent_link": "shipments", diff --git a/erpnext/templates/pages/shipments.html b/erpnext/templates/pages/shipments.html new file mode 100644 index 00000000000..0467f34ae62 --- /dev/null +++ b/erpnext/templates/pages/shipments.html @@ -0,0 +1 @@ +{% extends "templates/sales_transactions.html" %} \ No newline at end of file diff --git a/erpnext/stock/doctype/delivery_note/templates/pages/shipments.py b/erpnext/templates/pages/shipments.py similarity index 74% rename from erpnext/stock/doctype/delivery_note/templates/pages/shipments.py rename to erpnext/templates/pages/shipments.py index 8c20149f00c..03d074a19fa 100644 --- a/erpnext/stock/doctype/delivery_note/templates/pages/shipments.py +++ b/erpnext/templates/pages/shipments.py @@ -7,11 +7,11 @@ import webnotes no_cache = True def get_context(): - from erpnext.portal.utils import get_currency_context + from erpnext.templates.utils import get_currency_context context = get_currency_context() context.update({ "title": "Shipments", - "method": "portal.templates.pages.shipments.get_shipments", + "method": "erpnext.templates.pages.shipments.get_shipments", "icon": "icon-truck", "empty_list_message": "No Shipments Found", "page": "shipment" @@ -20,5 +20,5 @@ def get_context(): @webnotes.whitelist() def get_shipments(start=0): - from erpnext.portal.utils import get_transaction_list + from erpnext.templates.utils import get_transaction_list return get_transaction_list("Delivery Note", start) diff --git a/erpnext/support/doctype/support_ticket/templates/pages/ticket.html b/erpnext/templates/pages/ticket.html similarity index 100% rename from erpnext/support/doctype/support_ticket/templates/pages/ticket.html rename to erpnext/templates/pages/ticket.html diff --git a/erpnext/support/doctype/support_ticket/templates/pages/ticket.py b/erpnext/templates/pages/ticket.py similarity index 100% rename from erpnext/support/doctype/support_ticket/templates/pages/ticket.py rename to erpnext/templates/pages/ticket.py diff --git a/erpnext/support/doctype/support_ticket/templates/pages/tickets.html b/erpnext/templates/pages/tickets.html similarity index 97% rename from erpnext/support/doctype/support_ticket/templates/pages/tickets.html rename to erpnext/templates/pages/tickets.html index 549c227981b..6942d3bff03 100644 --- a/erpnext/support/doctype/support_ticket/templates/pages/tickets.html +++ b/erpnext/templates/pages/tickets.html @@ -1,4 +1,4 @@ -{% extends "portal/templates/includes/transactions.html" %} +{% extends "templates/includes/transactions.html" %} {% block javascript -%} {{ super() }} diff --git a/erpnext/support/doctype/support_ticket/templates/pages/tickets.py b/erpnext/templates/pages/tickets.py similarity index 100% rename from erpnext/support/doctype/support_ticket/templates/pages/tickets.py rename to erpnext/templates/pages/tickets.py diff --git a/erpnext/portal/templates/sale.html b/erpnext/templates/sale.html similarity index 100% rename from erpnext/portal/templates/sale.html rename to erpnext/templates/sale.html diff --git a/erpnext/portal/templates/sales_transactions.html b/erpnext/templates/sales_transactions.html similarity index 93% rename from erpnext/portal/templates/sales_transactions.html rename to erpnext/templates/sales_transactions.html index 632793c85a1..4836c12dca5 100644 --- a/erpnext/portal/templates/sales_transactions.html +++ b/erpnext/templates/sales_transactions.html @@ -1,4 +1,4 @@ -{% extends "portal/templates/includes/transactions.html" %} +{% extends "templates/includes/transactions.html" %} {% block javascript -%}