Skip to content

Commit

Permalink
[UPD] l10n_it_delivery_note: aggiunta PR OCA#4527
Browse files Browse the repository at this point in the history
  • Loading branch information
Borruso committed Jan 15, 2025
1 parent 6af61f8 commit d6a8e9c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions l10n_it_delivery_note/wizard/delivery_note_select.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,12 @@ def _compute_fields(self):
self.picking_ids += self.selected_picking_ids
else:
self.picking_ids = self.picking_ids

self.partner_id = (
self.picking_ids.mapped("sale_id.partner_id")
if self.picking_ids.mapped("sale_id.partner_id")
else self.partner_id
).id
self.warning_message = self._get_warning_message()

return True
Expand Down

0 comments on commit d6a8e9c

Please sign in to comment.