New button rule breaks button change
From http://www.tryton.org/~irclog/2016-10-26.log.html#t2016-10-26%2011:46
The changeset 48ca7078f8ca breaks the button_change decorator because button_change uses the button decorator with an instance method and not a class method. This was working because the cls was used indifferently of an instance but with the introduction of the records parameter it does not work any more.
So there are two options:
- wrap the wrapper with a decorator similar to dualmethod
- say that button_change should not check access like button because they do not change anything in the database.