I added the column "internal reference" to the "product.template.product.tree" view. Unfortunately, this column is not sortable. Is there any way to make it sortable? Thanks in advice.
Here is the code of my custom view:
<openerp>
<data>
<record id="product_template_tree_view_custom_fields" model="ir.ui.view">
<field name="name">product.template.tree.view.custom.fields</field>
<field name="model">product.template</field>
<field name="type">tree</field>
<field name="inherit_id" ref="product.product_template_tree_view"/>
<field name="arch" type="xml">
<field name="name" position="before">
<field name="default_code"/>
<field>
</field>
</record>
</data>
</openerp>