Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1752 Vizualizări

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


Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
0
aug. 22
2737
0
aug. 20
2924
0
oct. 24
1499
0
aug. 24
1342
0
ian. 24
1897