Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
3579 Widoki

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

Awatar
Odrzuć
Najlepsza odpowiedź

Hi, 

the equivalent in V13 is the attribute tracking

Regards;

Awatar
Odrzuć
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.

Powiązane posty Odpowiedzi Widoki Czynność
1
lip 25
2765
0
mar 25
1466
0
sty 25
3612
1
sie 23
14972
change password Rozwiązane
1
sie 23
13625