unable to add customer

16 views
Skip to first unread message

Madhan kumar

unread,
Feb 1, 2013, 9:18:13 AM2/1/13
to erpnext-dev...@googlegroups.com
Hi all,

after updating erpnext toady im unable to add customers it shows did not save,below is my java console output

Starting up... all-app.min.js:3189
Traceback (innermost last): File "../lib/webnotes/widgets/form/save.py", line 36, in savedocs getattr(wrapper, action.lower())() File "../lib/webnotes/model/wrapper.py", line 249, in save self.run_method('on_update') File "../lib/webnotes/model/wrapper.py", line 190, in run_method getattr(self.obj, method)() File "../app/selling/doctype/customer/customer.py", line 177, in on_update self.create_account_head() File "../app/selling/doctype/customer/customer.py", line 117, in create_account_head from accounts.utils import add_ac ImportError: cannot import name add_ac Traceback (innermost last): File "../lib/webnotes/handler.py", line 162, in handle execute_cmd(cmd) File "../lib/webnotes/handler.py", line 195, in execute_cmd ret = call(method, webnotes.form_dict) File "../lib/webnotes/handler.py", line 212, in call return fn(**newargs) File "../lib/webnotes/widgets/form/save.py", line 45, in savedocs raise e ImportError: cannot import name add_ac all-app.min.js:332

Nabin Hait

unread,
Feb 1, 2013, 9:24:55 AM2/1/13
to erpnext-dev...@googlegroups.com

Hi,

Looking like accounts/utils directory is not deleted due to pyc file. Please delete that directory and try again.

Regards,
Nabin Hait

--
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer...@googlegroups.com.
To post to this group, send email to erpnext-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/erpnext-developer-forum/-/2eujQCFWdW4J.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Madhan Kumar

unread,
Feb 1, 2013, 9:34:08 AM2/1/13
to erpnext-dev...@googlegroups.com
Thanks Nabin, it works!!!.
--
madhan
Reply all
Reply to author
Forward
0 new messages