Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ

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.

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 3 15
5141
1
thg 3 15
6237
0
thg 1 17
9294
1
thg 3 15
8778
0
thg 3 15
5479