Odoo Help


Error: View type 'form' is not supported in One2Many.

on 10/23/13, 10:07 AM 2,505 views

after installing the CMM module . while clicking on one of the create button in that module these error where displayed.

Openerp client error Error: View type 'form' is not supported in One2Many.

how this can be solved.

joseph d'souza
On 10/23/13, 3:43 PM

Problem is raise due to one2many field . Need to check your xml file where on2many field is define .

Two way you can resolve this error by your self

  1. one remove the form tag in mode like this

<field name="one2many_field_name" mode="tree,form">

it should be

<field name="one2many_field_name" mode="tree">
  1. If you want to use tree and form in one2many field then you can use it by this way also

    <field name="one2many_field_name" colspan="4" nolabel="1" height="260"> <tree string="test"> <field name="field_one"/> <field name="field_two"/>

    <form string="Test"> <field name="field_one"/> <field name="field_two"/> </form>




hi joseph . now a problem while click on the create button in All preventive maintaince the following error occurs,. Error: NameError: name 'int' is not defined

on 10/25/13, 6:50 AM

Hi joseph now i solve this ..by removing the colors="blue:int(days_left)&lt;=days_warn_period and int(days_left)&gt;0;red:int(days_left)&lt;=0;" from the tree view

on 10/25/13, 9:25 AM

About This Community

This platform 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.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

0 follower(s)


Asked: 10/23/13, 10:07 AM
Seen: 2505 times
Last updated: 3/16/15, 8:10 AM