How can i overwrite the value of "self._uid" based on special condition
Eg:- self._uid = int(my_userid) gives an error "AttributeError: can't set attribute"
Any thought on this is appreciated !..
How can i overwrite the value of "self._uid" based on special condition
Eg:- self._uid = int(my_userid) gives an error "AttributeError: can't set attribute"
Any thought on this is appreciated !..
use self.sudo(my_userid), it will set the uid value in the self .
self.sudo(my_userid)Hi Prakash , Thanks for your answer , but this is not compatible with version 7 . Am actually trying to implement this small fix in version 7 . Is there any alternatives or for this .. Thanks ..
Create an account today to enjoy exclusive features and engage with our awesome community!
साइन अप करें| Related Posts | Replies | डेटा देखने का तरीका | ऐक्टिविटी | |
|---|---|---|---|---|
|
0
सित॰ 19
|
98 | |||
|
1
जुल॰ 17
|
6267 | |||
|
4
अग॰ 16
|
11133 | |||
|
1
मार्च 16
|
7354 | |||
|
2
मार्च 16
|
9258 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.