Hey,
I am getting the following error for a state field:
The value "None" of field "State" on "..." is not in the selection.
However I do have the default method in the class:
@staticmethod
def default_state():
return 'draft'
The only thing I am uncertain about is that I have seen this method defined
as a class method rather than a static method, but even changing this does
nothing.
Just not sure how to troubleshoot at this stage.
--
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/b635e808-66ae-473a-91db-e3771fa82dd7%40googlegroups.com.