Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1862 Представления

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


Аватар
Отменить
Related Posts Ответы Просмотры Активность
0
авг. 22
2869
0
авг. 20
3058
0
окт. 24
1750
0
авг. 24
1573
0
янв. 24
2061