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

I want to override do_partial method, of stock_partial_picking wizard (stock module),

stock_partial_picking model inherits from osv.osv_memory, is it a limitation to override or not ?

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

Have you tried it? Because I think it should be possible to do so, like any other inheritance on regular orm.model or osv.osv objects.

Câu trả lời hay nhất

Hi,

It is possible to override wizard method in V7.

Just make override as like normal method. Because it is the part of python so, it is possible.

Let me know if you have any problem in that. I have done this kind of override at my side. It is possible.

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