Skip to Content
Menu
This question has been flagged

Hi I'm using an editable tree view (adding editable='top' to tree tag) of a one2many field and openerp v6.1, and I make some validations using on_change function. I need to avoid create a new object if any validations error occurs. To throw exceptions I'm using raise osv.except_osv. Until now I achieve to throw the exception, but the new item is created, and that is what I want to avoid.

Thanks in advanced!!

pd: Sorry my English.

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
0
kov. 15
5141
1
kov. 15
6237
0
saus. 17
9294
1
kov. 15
8778
0
kov. 15
5479