El 07/03/17 a les 10:05, Yanchao Jia ha escrit:
Ubuntu16.04 trytond==4.0.2 Python2.7.12
Do you have the “sha” file in this directory?
jiayc@z:/usr/local/lib/python2.7/dist-packages/trytond/model/fields$ neso
/usr/local/lib/python2.7/dist-packages/trytond_nereid-4.0.1.1-py2.7.egg/nereid/session.py:4:
DeprecationWarning: Use nereid.sessions instead
warn(DeprecationWarning("Use nereid.sessions instead"))
Traceback (most recent call last):
File "/usr/local/bin/neso", line 102, in <module>
Pool.start()
[......]
class NereidUser(ModelSQL, ModelView):
File
"/usr/local/lib/python2.7/dist-packages/trytond_nereid-4.0.1.1-py2.7.egg/trytond/modules/nereid/user.py",
line 130, in NereidUser
password = fields.Sha('Password')
AttributeError: 'module' object has no attribute 'Sha'
Sha field is no more avaialble on version 4.0 of trytond [1]. You should
use the char field with the password widget now.
Indeed if you are a Nereid user, you should report it to it's bug tracker.
[1] https://bugs.tryton.org/issue3713
--
Sergi Almacellas Abellana
www.koolpi.com
Twitter: @pokoli_srk
--
You received this message because you are subscribed to the Google Groups
"tryton" group.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tryton/239c55de-ed7d-9ae0-44a7-7f2c0ade88a2%40koolpi.com.