Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odgovori
3573 Prikazi

Hello odooers

In version 8,  we find _track field directly like fields = self.env[model]._track
but in v13 how can I find these fields??

in v8 sale order:
_track = {
       'state': {
           'sale.mt_order_confirmed': lambda self, cr, uid, obj, ctx=None: obj.state in ['manual', 'progress'],
           'sale.mt_order_sent': lambda self, cr, uid, obj, ctx=None: obj.state in ['sent']
       },
   }

Avatar
Opusti
Best Answer

Hi, 

the equivalent in V13 is the attribute tracking

Regards;

Avatar
Opusti
Avtor

Hello Ibrahim

Yes I know but how can I get this fields??

In v8 we get like this fields = self.env[model]._track

and what about in v13??

ah sorry, didn't get that one.

Related Posts Odgovori Prikazi Aktivnost
1
jul. 25
2765
0
mar. 25
1463
0
jan. 25
3607
1
avg. 23
14965
1
avg. 23
13622