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

I am using the py3o report engine library, I am creating a custom report... in my form I have date type fields that I cannot set as required... if any date type field is empty and I try to print, it gives this error...
assert isinstance(value, (date, datetime, time))

AssertionError


How can I print the fields even when they are empty? I put an example field inside this function for word...
py3o://function="format_datetime(o.date_office_observations,format='dd/MM/YYYY')"

Thanks, Odoo 14 community


الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
0
أغسطس 22
2873
0
أغسطس 20
3064
0
أكتوبر 24
1752
0
أغسطس 24
1576
0
يناير 24
2065