Community mailing list archives

community@mail.odoo.com

Re: Dynamic O2M Tree View based on value of another field

by
Andre Kurniawan
- 07/13/2016 21:05:43
Hello Carlos,

I don't want to filter the result, but I want to set the visibility of field/column of a O2M field dynamically based on a selection field.

On 07/13/2016 09:46 PM, Carlos Rodríguez wrote:
Hello,

Isn't this covered with the search?, you can filter the value of the selection field, and the results in the tree view will match it.

Regards,

2016-07-12 23:47 GMT-05:00 vak0160 <vak0160.work@gmail.com>:

Hello Community,

I have a O2M field and a selection field. Can I set the visible fields for O2M field’s Tree based on the selection field?

For example:

  • Selection field = view1
field a field b field c
a b c
  • Selection field = view2
field a field b field d
a b d
  • Selection field = view3
field a field e field f
a e f
-- 
Regards,
Andre

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe


_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe


-- 
Regards,
Andre