summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_model.js
diff options
context:
space:
mode:
authorCas Vissers <c.vissers@brahoo.nl>2019-04-30 14:44:40 +0000
committerNans Lefebvre <len@odoo.com>2019-05-02 06:13:00 +0000
commit3f8a5e466df6a373c4065777845bf6e9f2f49beb (patch)
tree01808e782f37136f46627bd72117e863ec70d2f7 /addons/web/static/src/js/views/basic/basic_model.js
parent2efcefb50410e234faf777bdf88d879368907915 (diff)
[FIX] sale_timesheet: extract the check on write in a function
On write, a check is done that raises 'You can not modify already invoiced timesheets …'. We put that check in a function so that this behaviour can be extended. (restricted by an override, or relaxed by not calling the super) opw 1974968 closes #33057 closes odoo/odoo#33092 Signed-off-by: Nans Lefebvre (len) <len@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions