summaryrefslogtreecommitdiff
path: root/doc/reference/javascript.rst
diff options
context:
space:
mode:
authorDenis Ledoux <dle@odoo.com>2015-02-09 12:24:47 +0100
committerDenis Ledoux <dle@odoo.com>2015-02-09 12:30:28 +0100
commit1d7120a978e043a9578cc3cf61870e6480b9712e (patch)
tree556a4c96af416008dade21c5576b9e05fe254c46 /doc/reference/javascript.rst
parentd0518d2da3cfd31a753056c3e91d14495839293f (diff)
[FIX] hr_timesheet_sheet: prevent modify activities of confirmed sheets
In 7.0, prevent changes in activities of validated sheets was done thanks to the constraint _check_sheet_state. In 7.0, python constraints were checked at each write operations whatever if the fields on which the constraint is were altered or not This is no longer the case in Odoo 8.0: The constraint is checked only if the fields on which the constraint is are altered. As this specific constraint must be applied anytime, whatever the altered fields, we now do this constraint check in the "write" method. Besides, it was already the case for the unlink method. opw-627415
Diffstat (limited to 'doc/reference/javascript.rst')
0 files changed, 0 insertions, 0 deletions