Skip to Content
Menu
This question has been flagged
2229 Views

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?

Avatar
Discard
Author

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

Related Posts Replies Views Activity
0
Aug 24
188
2
Mar 24
257
1
Aug 23
12547
1
Aug 23
11053
1
Jul 23
7228