Base class function fields problem

16 views
Skip to first unread message

FREDY RAMIREZ

unread,
Aug 25, 2018, 7:18:06 PM8/25/18
to tryton
Hello everybody,

When using a derived class (module extended) I can not have access to base class function fields, even if I set a default value to it. An AttributeError is raised if I try tu call it.

This occurs when I try to create a new record.

This behavior is on trytond-4.8.4, I was previusly working with 4.8.2 without problems.

Is this a bug or it is the correct behavior?

Thanks for your answer

Cédric Krier

unread,
Aug 27, 2018, 4:35:08 AM8/27/18
to tryton
Hi,
I guess it is a bug in your code because this is something that is done
in core modules many times.
Could you share your code? And the traceback?

--
Cédric Krier - B2CK SPRL
Email/Jabber: cedric...@b2ck.com
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/
Reply all
Reply to author
Forward
0 new messages