diff options
| author | Nicolas Martinelli <nim@odoo.com> | 2017-04-14 15:03:51 +0200 |
|---|---|---|
| committer | Nicolas Martinelli <nim@odoo.com> | 2017-04-18 11:55:16 +0200 |
| commit | b4193cd35b6c36f7da93ec36db0d4b9df1c9d5f2 (patch) | |
| tree | 7ad78c7768d5b1dd5c9173fbc5de438798bd4a1b /doc/reference/forms | |
| parent | 2c75ad396f3e15090acc67231fbd1fcd6fa4e571 (diff) | |
[FIX] sale: set timesheet line to zero
- Create a SO with a product that is a service and will be invoiced
based in delivery quantities and will be tracked on timesheets and
contract.
- Confirm
- Use a simple user that only has for rights: "Employee"
- Create a timesheet as the employee for the contract created by the sale
- Log some time
- Save it
- Check the SO: ok the number of hours should be "to be invoiced"
- Edit the timesheet and set one day to 0 hours => Access Error
In case of a zero value, the timesheet widget sends an unlink command
for the corresponding entry. In this case, the `sudo` is not set at the
appropropriate moment since the context key `force_so_lines` will resue
lines which are not defined in the `sudo` environment.
opw-728453
Diffstat (limited to 'doc/reference/forms')
0 files changed, 0 insertions, 0 deletions
