Odoo Help


This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


How to rollback a record if exception occurs?

on 3/28/14, 7:59 PM 1,571 views

I am working on a credit card payment module, and am having trouble with rolling back a transaction if an error occurs.

I have a wizard that accepts the credit card info, and when the button is clicked to submit it, it still writes the record to the table as if it was processed.

I would like to rollback, or delete the record if an error occurred, but cant seem to figure out how to do it in OpenERP v7.

Can anyone explain how to do this? Thank you


Med Said BARA

--Med Said BARA--
| 5 5 7
--Med Said BARA--
Med Said BARA
On 3/30/14, 9:58 PM


You should read this.

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

0 follower(s)


Asked: 3/28/14, 7:59 PM
Seen: 1571 times
Last updated: 3/16/15, 8:10 AM