Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

Uncaught TypeError: Object #<error> has no method 'split'

By
Surendar
on 6/17/13, 11:44 AM 2,469 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

can you post the code are you using?

Francesco OpenCode
on 6/17/13, 11:54 AM
3

Sandeep

--Sandeep--
6083
| 6 5 8
Delhi, India
--Sandeep--
Python OpenERP Developer http://in.linkedin.com/pub/sandeep-rana/3b/a16/786/
Sandeep
On 6/17/13, 11:58 AM

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

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

0 follower(s)

Stats

Asked: 6/17/13, 11:44 AM
Seen: 2469 times
Last updated: 3/16/15, 8:10 AM