跳至內容
選單
此問題已被標幟
1 回覆
8203 瀏覽次數

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. 

頭像
捨棄
最佳答案

Have you found a solution?

頭像
捨棄

Have you found the solution ? :)

相關帖文 回覆 瀏覽次數 活動
1
3月 19
18782
2
11月 16
3619
3
2月 20
9961
3
12月 19
6010
1
11月 24
1611