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

How inhrited a openerp web controller, for example, i override a controller /web/dataset/call_button

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

Just import the original controller module class and create a new class that inherit from the original controller class and override the method with the new route and if you don't need to do anything else in the method override just call super

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 5 19
3168
2
thg 8 18
3000
0
thg 6 16
4042
0
thg 3 15
4529
0
thg 3 15
3445