summaryrefslogtreecommitdiff
path: root/addons/test_timer/security/ir.model.access.csv
diff options
context:
space:
mode:
authorOkan SUMER (osu) <osu@odoo.com>2020-02-05 16:15:29 +0100
committerYannick Tivisse <yti@odoo.com>2020-02-05 16:44:37 +0100
commite2b749fb7a441b4337c40cc856459e2e5f95b597 (patch)
treeca9de35d2674582ed440e2f28484bd5d9bcbef0e /addons/test_timer/security/ir.model.access.csv
parenta6d7c7b04a48669037e6568849a26571602386f6 (diff)
[ADD] timer: New mixin to record time on models
Purpose ======= The timer mechanism is already existing on timesheet. We would like to introduce it on helpdesk.ticket too, and probably on other models afterward. On the other hand, only one timer can be launched on a single timesheet currently, shared amongst the different users. This commit introduced a new mixin on which - Each user can launch a timer on each record of the models inheriting the mixin. - Launching a new timer on a record pauses the timer of the user that could be already running. - The mixin brings methods to start/stop/pause/resume the timer, that could be overridden to implement a specific behavior for the related model, for example create a timesheet entry. TaskID: 2149450
Diffstat (limited to 'addons/test_timer/security/ir.model.access.csv')
0 files changed, 0 insertions, 0 deletions