diff options
| author | Nicolas Martinelli <nim@odoo.com> | 2018-03-26 14:07:22 +0200 |
|---|---|---|
| committer | Nicolas Martinelli <nim-odoo@users.noreply.github.com> | 2018-03-27 08:26:16 +0200 |
| commit | a74745a275301caf2b13301615e9f8c85e16c5ef (patch) | |
| tree | 6c9c8c77ef012e511e2f57224dc81555590f6441 /addons/web/static/src/js/views/basic | |
| parent | ee281168e38ac324fbf46a1a5e9b1d8af0c22188 (diff) | |
[FIX] sale_timesheet: 100 % discount SO line
- Create a product A configured as:
Invoice based on: Ordered quantities
Service Tracking: Create a task in a new project
- Create a SO with product A and another product (price != 0)
- Set a 100 % discount on A
- Confirm the SO
- Record 2 timesheet entrieson the created task
- Generate the invoice for the SO
- Validate the invoice
A traceback (zero division) occurs.
The method computing the timesheet revenue ponderates the revenue per
currency by the ratio price on invoice over price on SO line. Since the
price on SO line zero, it fails.
We assume a ratio of 1.0 in this specific case.
opw-1829893
Diffstat (limited to 'addons/web/static/src/js/views/basic')
0 files changed, 0 insertions, 0 deletions
