Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2631 Zobrazení

Hi all,

I have two fields Date A and Date B which are interrelated.

I also have an integer field C for the number of days that I want between them.

I want the dates to update automatically in the following way:

If Date A is updated then update the record so Date B = Date A + C

If Date B is updated then update the record so Date A = Date B - C

I understand this could potentially create a loop.


I am using Odoo v15 online (SaaS) so am limited to automated actions and Studio etc

How can this be done using best practice?


Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
bře 23
9303
2
kvě 24
2244
1
led 23
1682
1
zář 22
3867
1
čvn 22
3661