summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorAurélien Warnon <awa@odoo.com>2019-08-12 13:26:36 +0000
committerThibault Delavallée <tde@odoo.com>2019-08-12 15:40:36 +0000
commit5269d8c27f9f5e7b2d0ab86db6423f6ffa227f40 (patch)
treed75a94adc11cfa5ed8ac37d3935c14c939d17eaa /addons/web/static/src/js/views/basic/basic_controller.js
parent2af9570c5bea778b4a9581273a83744ba39b80cf (diff)
[REF] website_slides: improve duration computation of a slide/course
The completion time of a slide now has default values for slides of type * video (duration of the YouTube video); * PDF (number of pages * 5 minutes); This computation is done when uploading a slide in frontend or by an onchange in backend. Field can still be given / modified by elearning people as result may not be reliable (pdf parsing is not accurate, and/or you may estimate time differently from strict page-based computation). The course will sum up all durations of its (active) slides. Display has been changed from "x minutes" to "x hours y minutes". Task ID 2007294
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions