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

class Abstract(models.AbstractModel):

        _name = 'abstract'

        def doSomething():

in the another module I write

class Abstract2(models.AbstractModel):

        _inherit = 'abstract'

        def doSomething():

the new extended method doSomething() does not execute.


Please suggest me the solution.

Thanks in advance. 

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

Have you found a solution?

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

Have you found the solution ? :)

Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 3 19
18786
2
thg 11 16
3627
3
thg 2 20
9963
3
thg 12 19
6014
1
thg 11 24
1613