Odoo Help


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.


Uncaught TypeError: object is not a function

on 7/11/13, 2:53 PM 4,034 views

Hi everyone, I wanna add a <separator string=""/> in my view but i have this error: Uncaught TypeError: object is not a function

any idea please


enter code here'timetable_ids':fields.one2many('time.table.line', 'table_id', 'TimeTable'),


enter code here<notebook colspan="4">
                    <page string="TimeTable">
                        <field name="timetable_ids" nolabel="1" colspan="4">
                        <tree string="TimeTable" editable="bottom">
                            <field name="week_day"/>
                            <field name="demblc1"/>
                            <field name="teacher_id1" domain="[('job_id.name','=','prof')]"/> 
                             <separator string="Details des points de transport" colspan="4"/>
On 9/7/14, 8:36 PM

hi, you can't do such thing in tree view, at leat you can add it in form view but you have to close tree view </tree> and  </field> and then you can add <separator string="..."/>

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)


Asked: 7/11/13, 2:53 PM
Seen: 4034 times
Last updated: 3/16/15, 8:10 AM