Friday, 18 September 2015

Ugly Appearance of many2many_tags in odoo | OpenERP

Here is many2many field in which widget="many2many_tags" used.


<field name="categ_ids" widget="many2many_tags" domain="[('object_id.model','=','crm.lead')]" context="{'object_name':'crm.lead'}"/>

This is show in below Screenshot :

Ugly Appearance of many2many_tags in odoo



Now we Add class and colspan like this :

<field name="categ_ids" widget="many2many_tags"
                       class="oe_inline" colspan="2"
                       domain="[('object_id.model','=','crm.lead')]"
                       context="{'object_name': 'crm.lead'}"/>

Now you can see result below in screenshot :



Ugly Appearance of many2many_tags in OpenERP


No comments:

Post a Comment