← Back to team overview

c2c-oerpscenario team mailing list archive

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

 

** Changed in: openobject-server
     Assignee: (unassigned) => OpenERP's Framework R&D (openerp-dev-framework)

-- 
[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