Add depends to Button
When we set PYSON to button, we rely on having the depending field in the view but instead we should use a 'depends' attribute like for fields.
We could have the same test for missing depends.
When we set PYSON to button, we rely on having the depending field in the view but instead we should use a 'depends' attribute like for fields.
We could have the same test for missing depends.