the evolution of a default field value with a lot of on_change and on_change with values is sometimes not
easy to track. I would like to ask your methods and strategies to find out why a default field value is
as it is on creating a new record.
On creating new records, the default value is set reliable. But after the defaults are applied,
Tryton executes on_changes and on_change_with methods, which could change the former default.
Is there a way to determine all executed on_change and on_change_with methods in order of execution?
Is there a way, to catch the latest method call which fills a field?
Answering my questions is no longer needed. I did not find a better way to debug than using pdb
and the REPL. My problem was an on_change call inside another on_change call, which did not
define the depends of the inner on_change call.
The solution is to add a methods attribute to the depends decorator with the method name of the inner on_change call similar to this example from sale module: