Add methods to ModelView.button_change
Just like fields.depends
has a methods
argument, we could also have it for ModelView.button_change
as it will simplify the call to other methods (like in for Production.reset_bom
).
Just like fields.depends
has a methods
argument, we could also have it for ModelView.button_change
as it will simplify the call to other methods (like in for Production.reset_bom
).