This question has been flagged
1 Reply
6893 Views

while accessing the many2one or many2many fields I'm getting Uncaught TypeError: Object #<error> has no method 'split' this error.. can anyone suggest me the solution

Avatar
Discard

can you post the code are you using?

Best Answer

Hi May2one is always is an integer (ID) of selected record of that relation object (model)

so plz don't use split on the integer field split function is a string object's function

Thanks
Sandeep

Avatar
Discard