Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
3583 Vizualizări

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']
       },
   }

Imagine profil
Abandonează
Cel mai bun răspuns

Hi, 

the equivalent in V13 is the attribute tracking

Regards;

Imagine profil
Abandonează
Autor

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 Răspunsuri Vizualizări Activitate
1
iul. 25
2765
0
mar. 25
1471
0
ian. 25
3614
1
aug. 23
14976
1
aug. 23
13627