summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_model.js
diff options
context:
space:
mode:
authorNicolas Martinelli <nim@odoo.com>2018-03-26 14:07:22 +0200
committerNicolas Martinelli <nim-odoo@users.noreply.github.com>2018-03-27 08:26:16 +0200
commita74745a275301caf2b13301615e9f8c85e16c5ef (patch)
tree6c9c8c77ef012e511e2f57224dc81555590f6441 /addons/web/static/src/js/views/basic/basic_model.js
parentee281168e38ac324fbf46a1a5e9b1d8af0c22188 (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/basic_model.js')
0 files changed, 0 insertions, 0 deletions