Skip to content

Commit

Permalink
Merge PR #1770 into 14.0
Browse files Browse the repository at this point in the history
Signed-off-by simahawk
  • Loading branch information
OCA-git-bot committed Dec 9, 2024
2 parents 08c2f3f + 9c1223b commit f794870
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion account_invoice_section_sale_order/models/sale_order.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def _create_invoices(self, grouped=False, final=False, date=None):
"""
invoices = super()._create_invoices(grouped=grouped, final=final, date=date)
for invoice in invoices.sudo():
if (
if invoice.line_ids and (
len(invoice.line_ids.mapped(invoice.line_ids._get_section_grouping()))
== 1
):
Expand Down

0 comments on commit f794870

Please sign in to comment.