summaryrefslogtreecommitdiff
path: root/addons/website/static/src/xml/website.backend.xml
diff options
context:
space:
mode:
authorNicolas Martinelli <nim@odoo.com>2018-03-06 14:35:47 +0100
committerNicolas Martinelli <nim-odoo@users.noreply.github.com>2018-03-12 12:01:42 +0100
commit2021f44c0e053e23d769f1dc2be67b6e3ebed82b (patch)
treeb44168d652f550fded7ac6343ec871dbab8cabe4 /addons/website/static/src/xml/website.backend.xml
parent231cae2e7f72774c8dfc20f549e3c8dc3bcb4cf6 (diff)
[FIX] fields: empty date or datetime
When the `create` or `write` method receives an empty string for a date or a datetime field, PostgreSQL will fail since this is not an accepted value for this field type. We fallback on `None` for falsy values. opw-1819336 @KangOl : watch out when forward-porting, the signature of `convert_to_column` has changed in saas-14.
Diffstat (limited to 'addons/website/static/src/xml/website.backend.xml')
0 files changed, 0 insertions, 0 deletions