Contributors mailing list archives
contributors@odoo-community.org
Browse archives
Re: Click on line in tree view that's embedded in form to change context value for another field on the form
byWhen clicked it runs a method returning a Window Action opening the same record on the same form, but with a specific context set.
A bit convoluted but it might work.
/Daniel
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
_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
MANAGING PARTNER
>> Schedule time on my calendar.
M:
+351 919 991 307
E:
dreis@OpenSourceIntegrators.com
A:
Avenida da República 3000, Estoril Office Center, 2649-517
Cascais
Reference
-
Click on line in tree view that's embedded in form to change context value for another field on the form
byData Dance s.r.o., Radovan Skolnik-
Re: Click on line in tree view that's embedded in form to change context value for another field on the form
byData Dance s.r.o., Radovan Skolnik -
Re: Click on line in tree view that's embedded in form to change context value for another field on the form
byClosingAp Open Source Integrators Europe, LDA, Daniel Reis
-