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 :
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 :
<field name="categ_ids" widget="many2many_tags" domain="[('object_id.model','=','crm.lead')]" context="{'object_name':'crm.lead'}"/>
This is show in below Screenshot :
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 :
No comments:
Post a Comment