summaryrefslogtreecommitdiff
path: root/doc/reference/javascript_reference.rst
diff options
context:
space:
mode:
authorAaron Bohy <aab@odoo.com>2018-09-05 11:51:05 +0200
committerAaron Bohy <aab@odoo.com>2018-09-05 15:25:57 +0200
commit5ccc3f66e88fa5492d699484b2dd70a3142d10b7 (patch)
tree4d02f11f3a14547182aea0560fa73d83c0f16003 /doc/reference/javascript_reference.rst
parentec801b54365590a392bb0f71aa51cea13f778fdb (diff)
[FIX] web: read_progress_bar: convert dates to strings
Since rev. 960360af, Date (resp. Datetime) fields return datetime.date (resp. datetime.datetime) objects. This caused an issue in the read_progress_bar method which returns a dict, whose keys are values of the group_by. Indeed, when grouped on a Date or Datetime field, the key was no longer a string but a datetime.date or datetime.datetime object, and it crashed when that dict was turned into a JSON string. This method isn't tested at all for now, but tests will come shortly. Task 1878254.
Diffstat (limited to 'doc/reference/javascript_reference.rst')
0 files changed, 0 insertions, 0 deletions