Odoo Help

0

How to rollback a record if exception occurs?

By
Eric
on 3/28/14, 7:59 PM 2,068 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

0
Med Said BARA
On 3/30/14, 9:58 PM

Hi;

You should read this.

About This Community

This platform 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.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

0 follower(s)

Stats

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