El 26/04/17 a les 10:34, Ul ha escrit:
I've solved my Problem and, as often, it was hidden in a slightly
different place than expected:
In the domain i used a custom value of the context, that wasn't properly
set.
I had set it in the __setup__ method:
cls.incoming_moves.context.update({'supplier': Eval('supplier', -1)})
Indeed, instead of using the context for passing the supplier data, you
should use a functional field filled by on_change that return the
correct values. And then add this field to depends, so the client
fetches and updates it.
Hope it helps.
--
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/1ab3747f-a28d-fc4d-5dcf-2a640a31bcf0%40koolpi.com.