Simplify PYSON evaluation with domain
On list view, the buttons are only available if all the selected records evaluated the invisible
and readonly
states. But most of the time if the record is not loaded the evaluation fall-back to safe value which is to not allow the button.
This makes difficult to use the buttons on large list because we must force the client (by scrolling) to read all the selected record.
But sometimes the domain (of the screen, tab and filter) may ensure that the states are valid for any record.
So I think it should be possible to evaluate the PYSON
even for not loaded field by having a fall-back value computed using the domain inversion on the field.