Nabin Hait
13 years ago
6 changed files with 55 additions and 79 deletions
@ -1,46 +1,27 @@ |
|||
# ERPNext - Open Source + SAAS ERP |
|||
# ERPNext - Open Source ERP for small, medium sized businesses |
|||
|
|||
Version 2.0 |
|||
[https://erpnext.com](https://erpnext.com) |
|||
|
|||
Includes Accounting, Inventory, CRM, Sales, Purchase, Projects, HRMS |
|||
|
|||
Built on Python / MySQL / wnframework |
|||
|
|||
- [Download](http://erpnext.org) |
|||
- [Use now as SAAS @ $7/user/month](https://erpnext.com) |
|||
Includes Accounting, Inventory, CRM, Sales, Purchase, Projects, HRMS. Built on Python / MySQL. |
|||
|
|||
## Platform |
|||
|
|||
ERPNext is built on [wnframework](https://github.com/webnotes/wnframework) (Version 2.0) |
|||
|
|||
## User Guide |
|||
|
|||
[See wiki](https://github.com/webnotes/erpnext/wiki/User-Guide) |
|||
|
|||
## Download and Install |
|||
|
|||
For download and install details, please go to [erpnext.org](http://erpnext.org) |
|||
[See installation notes](https://github.com/webnotes/erpnext/wiki/How-to-Install-ERPNext) |
|||
|
|||
## Forums |
|||
|
|||
- [User / Functional](http://groups.google.com/group/erpnext-user-forum) |
|||
- [Technical](http://groups.google.com/group/wnframework) |
|||
|
|||
## Changes from wnframework version 1.7 |
|||
|
|||
To update from wnframework version 1. |
|||
|
|||
1. set your html folder to the root of erpnext (rather than wnframework) |
|||
2. create a symlink in erpnext: |
|||
|
|||
ln -s path/to/wnframework lib |
|||
|
|||
3. to setup the versions db, run: |
|||
|
|||
python lib/wnf.py setup |
|||
|
|||
4. copy defs.py from cgi-bin/webnotes to py/webnotes |
|||
5. change module_path (point to erpnext/erpnext) in defs.py |
|||
6. delete cgi-bin directory |
|||
7. delete all old module directories from erpnext |
|||
|
|||
## License |
|||
|
|||
ERPNext is available under the GNU/GPL license. |
|||
GNU/General Public License |
|||
|
|||
|
@ -0,0 +1,28 @@ |
|||
def execute(): |
|||
import webnotes |
|||
webnotes.conn.sql(""" |
|||
delete from `tabSingles` |
|||
where doctype='Notification Control' |
|||
and field in ( |
|||
'payable_voucher', |
|||
'payment_received_message', |
|||
'payment_sent_message', |
|||
'enquiry') |
|||
""") |
|||
ren_list = [ |
|||
['expense_voucher', 'expense_claim'], |
|||
['receivable_voucher', 'sales_invoice'], |
|||
['enquiry', 'opportunity'], |
|||
] |
|||
for r in ren_list: |
|||
webnotes.conn.sql(""" |
|||
update `tabSingles` |
|||
set field=%s |
|||
where field=%s |
|||
and doctype='Notification Control' |
|||
""", (r[1], r[0])) |
|||
|
|||
webnotes.conn.commit() |
|||
webnotes.conn.begin() |
|||
import webnotes.model.sync |
|||
webnotes.model.sync.sync('setup', 'notification_control') |
Loading…
Reference in new issue