Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
3584 Vues

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
Ignorer
Meilleure réponse

Hi, 

the equivalent in V13 is the attribute tracking

Regards;

Avatar
Ignorer
Auteur

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.

Publications associées Réponses Vues Activité
1
juil. 25
2765
0
mars 25
1471
0
janv. 25
3614
1
août 23
14976
1
août 23
13627