(self)
return True
Set report status to cancelled.
Set report status to cancelled.
Set report status to cancelled .
def button_cancel(self):
        """Set report status to cancelled."""
        self.write({"state": "cancelled"})
        return True
def button_cancel ( self ) : self . write ( { "state" : "cancelled" } ) return True