Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
4435 Visualizações

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.

Avatar
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
0
mar. 15
5164
1
mar. 15
6249
0
jan. 17
9332
1
mar. 15
8795
0
mar. 15
5491