Aqui les dejo la forma de filtrar campos en una vista tree

<record id=".............." model="ir.actions.act_window" >

<field name="name">.............</field>

<field name="res_model">.................</field>

<field name="view_type">form</field>

<field name="context">{'group_by':'employee_id'}</field>

<field name="view_mode">tree</field>

<field name="domain">[('active', '=', True)]</field>

</record>
Aqui les dejo la forma de filtrar campos en una vista tree ```` &lt;record id=&quot;..............&quot; model=&quot;ir.actions.act_window&quot; &gt; &lt;field name=&quot;name&quot;&gt;.............&lt;/field&gt; &lt;field name=&quot;res_model&quot;&gt;.................&lt;/field&gt; &lt;field name=&quot;view_type&quot;&gt;form&lt;/field&gt; &lt;field name=&quot;context&quot;&gt;{&#039;group_by&#039;:&#039;employee_id&#039;}&lt;/field&gt; &lt;field name=&quot;view_mode&quot;&gt;tree&lt;/field&gt; &lt;field name=&quot;domain&quot;&gt;[(&#039;active&#039;, &#039;=&#039;, True)]&lt;/field&gt; &lt;/record&gt; ````

Marlon Falcon Hernández

+569 42994534

mfalcon@falconsolutions.cl

​Partner Odoo: M1702093039526

www.falconsolutions.cl

 
0
reply
41
views
0
replies
1
followers
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft