summaryrefslogtreecommitdiff
path: root/addons/mail/static/src
diff options
context:
space:
mode:
authorNicolas Seinlet <nse@openerp.com>2018-10-30 13:35:41 +0000
committerjem-odoo <jem@openerp.com>2018-11-08 16:15:54 +0000
commite1c9efb2d256fdfe648224d27217d3b925cf8799 (patch)
treec73c6e01d18993c8c21f73d2b16f092c18bbe1f8 /addons/mail/static/src
parent8f39509d27e95839bdfaaa3573b901796e6c156c (diff)
[FIX] sale: ensure a non null date
Sometimes, a sale.order in the SALE state doesn't have a confirmed date, which can cause a traceback. To avoid this, when confirmation_date is null, use the write_date, which is never NULL when sale.order is in sale state. In migration, we will try to populate the confirmation date with the mail.message subtype. As ultimate fallback, we will take the write_date. closes odoo/odoo#28296
Diffstat (limited to 'addons/mail/static/src')
0 files changed, 0 insertions, 0 deletions