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

Hello everone

I am trying to customize the _cart_update method. So I created a class taht inherit sale.order a copy/paste the _cart_update method in this class and made my own changes.

The problem is when it calls the super() method, it calls _cart_update in website_event_sale module and not _cart_update in website_sale module.

How is it possible to specify which super method should be called ?

Thanks

Ảnh đại diện
Huỷ bỏ