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

Hi , i want ask you if it is possible to create(add) a calculated field just from developer mode into your model

for example create a field called duration 

duration = start_date - expiration_date 


الصورة الرمزية
إهمال
أفضل إجابة

Hi,

You can do it from the front-end after activating the developer mode, You have to Navigate to Settings -> Technical -> Database Structure -> Fields, search your field there and you can set the compute function over there.




Please see the last part of the video and see how it is done: https://www.youtube.com/watch?v=0qPVrLoIiOM

Thanks

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
5
أبريل 20
7723
0
فبراير 17
4789
1
أغسطس 24
3246
3
أكتوبر 23
8486
1
سبتمبر 23
3197