Skip to Content
Menu
This question has been flagged
1 Atsakyti
8527 Rodiniai

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. 

Portretas
Atmesti
Best Answer

Have you found a solution?

Portretas
Atmesti

Have you found the solution ? :)

Related Posts Replies Rodiniai Veikla
1
kov. 19
19189
2
lapkr. 16
3901
3
vas. 20
10354
3
gruod. 19
6440
1
lapkr. 24
2065