Skip to content

Commit

Permalink
[FIX] l10n_it_delivery_note: fix select exist
Browse files Browse the repository at this point in the history
  • Loading branch information
Borruso committed Jan 26, 2024
1 parent e8607fe commit 0ca9539
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions l10n_it_delivery_note/wizard/delivery_note_select.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ def _compute_fields(self):

if self.selected_picking_ids:
self.picking_ids += self.selected_picking_ids
if self.selected_picking_ids.mapped("sale_id.partner_id"):
self.partner_id = self.selected_picking_ids.mapped(

Check warning on line 39 in l10n_it_delivery_note/wizard/delivery_note_select.py

View check run for this annotation

Codecov / codecov/patch

l10n_it_delivery_note/wizard/delivery_note_select.py#L39

Added line #L39 was not covered by tests
"sale_id.partner_id"
).id
else:
self.picking_ids = self.picking_ids

Expand Down

0 comments on commit 0ca9539

Please sign in to comment.