Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2466 Lượt xem

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?


Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 3 23
8843
2
thg 5 24
1999
1
thg 1 23
1444
1
thg 9 22
3639
1
thg 6 22
3474