[FIX] sale: make sure that bulk invoice creation is not blocked and those orders are skipped instead
In case you have installed sale_timesheet and try to do a bulk invoice creation you will be blocked if one order does not have invoiceable lines instead of skipping this specific order. closes odoo/odoo#73261 X-original-commit: 3e03fe467b9fd459223113e477bc31811fbd35ed Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com> Signed-off-by: Wolfgang Taferner <wtaferner@users.noreply.github.com>
This commit is contained in:
@@ -710,7 +710,7 @@ Reason(s) of this behavior could be:
|
||||
invoiceable_lines = order._get_invoiceable_lines(final)
|
||||
|
||||
if not any(not line.display_type for line in invoiceable_lines):
|
||||
raise self._nothing_to_invoice_error()
|
||||
continue
|
||||
|
||||
invoice_line_vals = []
|
||||
down_payment_section_added = False
|
||||
|
||||
Reference in New Issue
Block a user