跳至內容
選單
此問題已被標幟
2478 瀏覽次數

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?


頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
1
3月 23
8863
2
5月 24
2021
1
1月 23
1453
1
9月 22
3646
1
6月 22
3486