Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
2632 Näkymät

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
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
1
maalisk. 23
9304
2
toukok. 24
2246
1
tammik. 23
1687
1
syysk. 22
3868
1
kesäk. 22
3664