Skip to Content
Menu
This question has been flagged
2 Replies
10767 Views

Hi,

Can someone help me about call function with parameters self, cr, uid, ids ? .

When I call a function, i have an error takes at least 4 arguments (2 given)

How can I get cr, uid values ?


Thx

Avatar
Discard
Author

i'm using V 10

Best Answer

You could get it using the new api like:

self._cr
self._uid
Avatar
Discard

Perfecto hermano, gracias!

Related Posts Replies Views Activity
0
Mar 15
3515
2
Feb 23
11380
4
Sep 15
5927
2
Apr 24
2807
4
Apr 24
878