Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
5302 Lượt xem

Hi I have one object that are related to a set of objects using severals one2many relational fields. I'm using only one view to manage thats objects, which include the different fields of the "main" object and the set objects, each one of them (objects) inside a page of a notebook tag. Now, I need to make some validations to some sub-views of some objects (let's call sub-view to every object view inside a page of the notebook), but I really need to throw exception errors at the moment of saving a sub-view object, and not when saving the entire view (main object with others inside) which is the default behavior. When I save a sub-view, it is in memory and has not yet been saved in database...but Is there any way to do what I need, validate each object separately?

I hope I made ​​my point...sorry my English and thanks in advanced!!

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

 Odoo cannot do that

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 5 18
3280
1
thg 5 17
10709
1
thg 1 25
1454
2
thg 9 22
9249
2
thg 4 22
4239