diff options
| author | Goffin Simon <sig@odoo.com> | 2018-09-11 16:26:23 +0200 |
|---|---|---|
| committer | Goffin Simon <sig@odoo.com> | 2018-09-12 11:08:56 +0200 |
| commit | 561ee39356408cb7edcffc694291dd029f236e3f (patch) | |
| tree | 17fbbc52d4bfdc1a63a8e09fa98ddd6d014cf218 /addons/web/static/src/js/fields/basic_fields.js | |
| parent | a2acef42a0526ac023f3ca1c194a41d6c7ee5475 (diff) | |
[FIX] sale_timesheet: Validating an invoice with timesheets
Steps to reproduce the bug:
- Go to Timesheets > Settings and set Invoicing policy to “Approved Timesheets Only”
- Create a expensable product P with Type "Service", Invoice based on
“Timesheets on tasks” and Service Tracking “Create a new project but no Task”
- Create a new SO using P and confirm it. A project PR will be created
- Add a task TA to PR
- Add two timesheets(T1, T2) to TA, one for the current date(T1) and one for a future date(+1 month, T2)
- Go to timesheets and validate” the timesheet T1
- Go to the SO and now the delivered_qty is equal to 1, so create the invoice I
- Validate I
Bug:
T1 and T2 were linked to I instead of just T1 (because invoice based on
“Approved Timesheets Only”)
opw:1879051
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions
