summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/fields/basic_fields_owl.js
diff options
context:
space:
mode:
authorNasreddin (bon) <bon@odoo.com>2020-04-30 07:41:30 +0000
committerNasreddin (bon) <bon@odoo.com>2020-05-04 15:31:09 +0000
commite8fb743f5709bcee864318256ab8c9e86a2a07ea (patch)
tree454c2ee1940ec5448b1ed3d6b7f77bd2ef694ce7 /addons/web/static/src/js/fields/basic_fields_owl.js
parent08ceeaf81b154a1f285cad6a8e392954836ea0d0 (diff)
[FIX] crm: Fix compute method on day open
Step to reproduce : Import from Excel a list of Opportunities. The problem is that in _compute_day_open, the abs of the extraction date_open - create_date is set as the lead's day_open. As the date_open has no milliseconds, all those records which create date is the same second have a date_open that is before their create_date. Fixed it by comparing the date_create and date_open without microsecond. Task ID 2222251 closes odoo/odoo#50599 X-original-commit: f7d1277080a91903342bbb4be44ce3a6ca814a38 Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields_owl.js')
0 files changed, 0 insertions, 0 deletions