Contributors mailing list archives

contributors@odoo-community.org

Browse archives

Avatar

Click on line in tree view that's embedded in form to change context value for another field on the form

by
Data Dance s.r.o., Radovan Skolnik
- 11/11/2024 18:02:43

Hello,


I am trying to solve something like this: ona form I ahve 2 fields displayed:

1) tree view of one2many field, where each record has a field of type Datetime - let's call these events

2) tree view of another one2many field that is computed and depending on the datetime in context - let's call these values


What I would like to try to achieve is that when I click on one of the events, the date from it is applied to context of values and that is recomputed/refreshed. I can achieve something similar with buttons with actions on events but that reloads the screen. Any idea?


Thank you very much. Best regards


    Radovan Skolnik

Follow-Ups