I added the following code in automated action "Execute Python Code"
query = """ (Delete from x_lead_processes_ids) """
cr = self._cr
env.cr.execute(query)
env.cr.commit()
however, it give error (Delete statement is just for testing, I know it will delete everything)
is there anything else I need to consider in this Sample?