I have an entity "payment" in Odoo that has several states. I want to open the form of a payment in readonly mode (disable edit button) when that payment has the state