diff --git a/README.md b/README.md index 2b7119cfd96..749ddd82f16 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ Includes Accounting, Inventory, CRM, Sales, Purchase, Projects, HRMS. Built on Python / MySQL. -ERPNext is built on [wnframework](https://github.com/webnotes/wnframework) +ERPNext is built on [frappe](https://github.com/frappe/frappe) - [User Guide](http://erpnext.org/user-guide.html) - [Getting Help](http://erpnext.org/getting-help.html) @@ -24,10 +24,10 @@ ERPNext is built on [wnframework](https://github.com/webnotes/wnframework) 1. Switch to root user using `sudo su` 1. create a folder where you want to install erpnext 1. go to the new folder -1. `wget https://raw.github.com/webnotes/erpnext/master/install_erpnext.py` +1. `wget https://raw.github.com/frappe/erpnext/master/install_erpnext.py` 1. `python install_erpnext.py` -[See installation notes](https://github.com/webnotes/erpnext/wiki/How-to-Install-ERPNext) +[See installation notes](https://github.com/frappe/erpnext/wiki/How-to-Install-ERPNext) ##### Patch and update diff --git a/erpnext/accounts/Print Format/POS Invoice/POS Invoice.txt b/erpnext/accounts/Print Format/POS Invoice/POS Invoice.txt index 761be67b0ca..4f20ac245b2 100644 --- a/erpnext/accounts/Print Format/POS Invoice/POS Invoice.txt +++ b/erpnext/accounts/Print Format/POS Invoice/POS Invoice.txt @@ -9,7 +9,7 @@ { "doc_type": "Sales Invoice", "doctype": "Print Format", - "html": "\n\t\n\n\t\t\n\t\t\n\n\t\t\n\t\t\n\t\n\n\t\n\t\t\n\t\t
\n\t\t
\n\t\t
\n\t\t
\n\t\t
\n\t\n", + "html": "\n\t\n\n\t\t\n\t\t\n\n\t\t\n\t\t\n\t\n\n\t\n\t\t\n\t\t
\n\t\t
\n\t\t
\n\t\t
\n\t\t
\n\t\n", "module": "Accounts", "name": "__common__", "print_format_type": "Client", diff --git a/erpnext/accounts/Print Format/Sales Invoice Classic/Sales Invoice Classic.txt b/erpnext/accounts/Print Format/Sales Invoice Classic/Sales Invoice Classic.txt index 3dcf7f27e14..5bf9bf32031 100644 --- a/erpnext/accounts/Print Format/Sales Invoice Classic/Sales Invoice Classic.txt +++ b/erpnext/accounts/Print Format/Sales Invoice Classic/Sales Invoice Classic.txt @@ -9,7 +9,7 @@ { "doc_type": "Sales Invoice", "doctype": "Print Format", - "html": "\n\n\n\n\n\n\n\n\n\n\n\n
\n\t\n\t\n
\n", + "html": "\n\n\n\n\n\n\n\n\n\n\n\n
\n\t\n\t\n
\n", "module": "Accounts", "name": "__common__", "print_format_type": "Client", diff --git a/erpnext/accounts/Print Format/Sales Invoice Modern/Sales Invoice Modern.txt b/erpnext/accounts/Print Format/Sales Invoice Modern/Sales Invoice Modern.txt index 4194acffc95..f36f4a588fc 100644 --- a/erpnext/accounts/Print Format/Sales Invoice Modern/Sales Invoice Modern.txt +++ b/erpnext/accounts/Print Format/Sales Invoice Modern/Sales Invoice Modern.txt @@ -9,7 +9,7 @@ { "doc_type": "Sales Invoice", "doctype": "Print Format", - "html": "\n\n\n\n\n\n\n\n\n\n\n\n
\n\t\n\t\n
\n", + "html": "\n\n\n\n\n\n\n\n\n\n\n\n
\n\t\n\t\n
\n", "module": "Accounts", "name": "__common__", "print_format_type": "Client", diff --git a/erpnext/accounts/Print Format/Sales Invoice Spartan/Sales Invoice Spartan.txt b/erpnext/accounts/Print Format/Sales Invoice Spartan/Sales Invoice Spartan.txt index 56a49012b71..e60f8a099b7 100644 --- a/erpnext/accounts/Print Format/Sales Invoice Spartan/Sales Invoice Spartan.txt +++ b/erpnext/accounts/Print Format/Sales Invoice Spartan/Sales Invoice Spartan.txt @@ -9,7 +9,7 @@ { "doc_type": "Sales Invoice", "doctype": "Print Format", - "html": "\n\n\n\n\n\n\n\n\n\n\n\n
\n\t\n\t\n
\n", + "html": "\n\n\n\n\n\n\n\n\n\n\n\n
\n\t\n\t\n
\n", "module": "Accounts", "name": "__common__", "print_format_type": "Client", diff --git a/erpnext/accounts/Print Format/SalesInvoice/SalesInvoice.html b/erpnext/accounts/Print Format/SalesInvoice/SalesInvoice.html index 9375b041a68..874d84ceb7c 100644 --- a/erpnext/accounts/Print Format/SalesInvoice/SalesInvoice.html +++ b/erpnext/accounts/Print Format/SalesInvoice/SalesInvoice.html @@ -1,5 +1,5 @@ {%- if doc.letter_head -%} - {{ webnotes.conn.get_value("Letter Head", doc.letter_head, "content") }} + {{ frappe.conn.get_value("Letter Head", doc.letter_head, "content") }} {%- endif -%} ').appendTo(main); - if (wn.boot.profile.can_create.indexOf("Company") !== -1) { - wrapper.appframe.add_button(wn._('New Company'), function() { newdoc('Company'); }, + if (frappe.boot.profile.can_create.indexOf("Company") !== -1) { + wrapper.appframe.add_button(frappe._('New Company'), function() { newdoc('Company'); }, 'icon-plus'); } @@ -54,21 +54,21 @@ pscript['onload_Accounts Browser'] = function(wrapper){ // company-select wrapper.$company_select = wrapper.appframe.add_select("Company", []) .change(function() { - var ctype = wn.get_route()[1] || 'Account'; + var ctype = frappe.get_route()[1] || 'Account'; erpnext.account_chart = new erpnext.AccountsChart(ctype, $(this).val(), chart_area.get(0)); pscript.set_title(wrapper, ctype, $(this).val()); }) // load up companies - return wn.call({ + return frappe.call({ method: 'erpnext.accounts.page.accounts_browser.accounts_browser.get_companies', callback: function(r) { wrapper.$company_select.empty(); $.each(r.message, function(i, v) { $('