For some reason if I add an on_change function to the categ_ids field I get AttributeError: 'crm.lead' object has no attribute '_ids'
Any ideas?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
For some reason if I add an on_change function to the categ_ids field I get AttributeError: 'crm.lead' object has no attribute '_ids'
Any ideas?
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
0
Aug 24
|
188 | ||
|
2
Mar 24
|
257 | ||
|
1
Aug 23
|
12547 | ||
change password
Solved
|
|
1
Aug 23
|
11053 | |
|
1
Jul 23
|
7228 |
Cant edit my post, getting 403 errors but the code for the onchange:
def on_change_varvi(self, cr, uid, ids, context=None):
res = {
'value': {
'color': 2,
}
}
return res
please specify whether you are using new API methods? If so possibility of error like this, also update question with XML code, if you give the on change through XML