← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 665487] Re: [6.0RC1] ir.model.fields.tree - should show more fields

 

This list if used for internal purposes only, but we could indeed add a
few more columns.

Fields all seem to be "base type" until you actually create custom
fields using the interface (you know, those with "x_" prefix)...

** Changed in: openobject-server
   Importance: Undecided => Wishlist

** Changed in: openobject-server
       Status: New => Confirmed

-- 
[6.0RC1] ir.model.fields.tree - should show more fields
https://bugs.launchpad.net/bugs/665487
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.

Status in OpenObject Server: Confirmed

Bug description:
give a better overview
I just copied the indented fields definition from form -
all fields are of "Type" "Base Type" ? should this field be shown ?


<tree string="Fields">
                    <field name="model_id"/>
                    <field name="name"/>
                    <field name="field_description"/>
                    <field name="ttype"/>
                                <field name="size" attrs="{'required': [('ttype','in',['char','reference'])], 'readonly': [('ttype','not in',['char','reference'])]}"/>
                    <field name="state"/>
                                <field name="relation" attrs="{'required': [('ttype','in', ['many2one','one2many','many2many'])],
                                                                          'readonly': [('ttype','not in', ['many2one','one2many','many2many'])]}"/>
                                <field name="relation_field" attrs="{'required': [('ttype','=','one2many')], 'readonly': [('ttype','!=','one2many')]}"/>
                                <field name="selection" attrs="{'required': [('ttype','in',['selection','reference'])], 'readonly': [('ttype','not in',['selection','reference'])]}"/>
                                <field name="domain" attrs="{'readonly': [('relation','=','')]}"/>
            </tree>





References