تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
4565 أدوات العرض

I asked myself how to make a filter on an automatic action so that this action only applies to newly created elements (not on modification).

I first though of using a pre-filter, checking that id is False, but looking at the code, I've seen that on creation, actions with a pre-filter are ignored.

So for now the solution I have though of is checking that creation_time and modification time are the same. But I think you can set it as a domain filter, as domain filter match a field with a raw value, not a field with another field.

Anyone has an idea to do that ?

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
0
يوليو 25
885
1
مايو 25
1611
ADD PROPERTIES تم الحل
1
مايو 25
2634
2
مارس 25
1507
1
مارس 25
2602