diff options
| author | Thibault Francois <tfr@openerp.com> | 2020-07-31 10:30:31 +0000 |
|---|---|---|
| committer | Thibault Francois <tfr@openerp.com> | 2020-08-03 16:48:26 +0000 |
| commit | 53356a5dcfefe11c185ae1443ca33949264a997e (patch) | |
| tree | d500677ed02e215755fb98a04c73448098dfaa53 /addons/web/static/src/js/fields/basic_fields.js | |
| parent | 798fa3647188dfd45f0eb515906e26d5a42626b2 (diff) | |
[FIX] sale_timesheet: Create invoice from SO with section
Problem:
When you try to create an invoice from a sale order that contains
section and post paid service product.
You set a date_invoice_timesheet in the wizard.
You got a traceback excpected singleton product.product()
This is cause by the filtering of so line with
sol.product_id._is_delivered_timesheet()
when the sale order line has no product for a section or a note
Solution:
Check there is a product on the line first
closes odoo/odoo#55353
X-original-commit: b49e64d3b118c938154eeeeb85c5fd6d72561a82
Signed-off-by: Olivier Dony (odo) <odo@openerp.com>
Signed-off-by: Thibault Francois <tfr-odoo@users.noreply.github.com>
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions
