Better change default parameter for res to None not "[]", and add a check like for "context" on top of method. That way you could remove changes inside "button_install" and also gracefully handle other call to state_update() (ex: in bin/addons/base/res/res_config.py)
Hello,
Better change default parameter for res to None not "[]", and add a check like for "context" on top of method. That way you could remove changes inside "button_install" and also gracefully handle other call to state_update() (ex: in bin/addons/ base/res/ res_config. py)
Cheers,
Xavier