Odoo Help

1

3
9 Antwoorden
17
Avatar

Grover Hernando Menacho Quisbert Bolivia

--Grover Hernando Menacho Quisbert--
WebVision Enterprise Systems
https://www.linkedin.com/in/hmen89/
2940
| 7 8 10
La Paz, Bolivia
--Grover Hernando Menacho Quisbert--

Odoo Developer

Grover Hernando Menacho Quisbert Bolivia
07-10-13 10:46

On your search view you have something like this:

<filter name="group_employee_id" string="Category" icon="terp-partner" context="{'group_by':'employee_id'}"/>

So, on your action you have to send this by context:

<field name="context">{'search_default_group_employee_id': 1}</field>
1 Opmerking
MONK Software, Leonardo Donelli Italië
10-09-14 11:54

I tried with just {'group_by': 'employee_id'} in the action context and it works.

3
Ratmil Torres Cuba
06-05-15 11:14

What if this treeview is inside a form? Not called from an action.

1 Opmerking
Limitless Virtual Enterprise, Andre de Kock Zuid-Afrika
14-07-15 03:02

Good question. I would also like to know.

1
srikanth India
02-10-18 10:46
<tree string="" default_order="field_name">
<field name=""/>
<field name=""/>
</tree>
1
Avatar

Axel Mendoza Cuba

--Axel Mendoza--
13798
| 8 8 10
Camaguey, Cuba
--Axel Mendoza--

DevOps - Full stack - Software Architect - Developer - Technology Integrator

I could help you to develop anything and solve complex problems based on technologies, integrations and tricky stuffs mostly in Python with OpenERP/Odoo, Zato, Django and many others frameworks programming languages and technologies.

I offers consulting services to anyone with an unanswered questions or needs for customizations. Think about it, maybe it's better to have an expert to solve your issues and projects than having a full-time employee trying to understand what to do and how

Reach me at aekroft@gmail.com

Axel Mendoza Cuba
07-08-15 13:09

I do this in v7 it require an extension of the widget one2many or many2many

0
Bulgantamir Mongolië
16-08-17 05:17
<filter name="group_employee_id" string="Category" icon="terp-partner" context="{'group_by':'employee_id'}"/>

So, on your action you have to send this by context:

<field name="context">{'search_default_group_employee_id': 1}</field>
0
Badache Zoubir Algerije
28-04-16 05:30

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

0
Noel Jesús Rivero Verenigde Staten
08-04-16 10:04

Nice solution

Stel een vraag
Schrijver
Labels
Blijf op de hoogte
1 volger(s)
Over deze community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register
Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now