Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
2452 Visualizzazioni

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
1
mar 23
8817
2
mag 24
1975
1
gen 23
1435
1
set 22
3625
1
giu 22
3466