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
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
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
You could get it using the new api like:
self._cr
self._uid
Perfecto hermano, gracias!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
0
Mar 15
|
3515 | ||
self search based on field
Solved
|
|
2
Feb 23
|
11380 | |
|
4
Sep 15
|
5927 | ||
|
2
Apr 24
|
2807 | ||
|
4
Apr 24
|
878 |
i'm using V 10