Skip to content

Commit

Permalink
Merge PR #3298 into 14.0
Browse files Browse the repository at this point in the history
Signed-off-by rvalyi
  • Loading branch information
OCA-git-bot committed Aug 22, 2024
2 parents 4c1aa01 + 0118ce6 commit 661d2a8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions l10n_br_nfe/models/document.py
Original file line number Diff line number Diff line change
Expand Up @@ -455,6 +455,9 @@ def _compute_entrega_data(self):
and rec.partner_shipping_id.is_anonymous_consumer
):
rec.nfe40_entrega = None
elif rec.partner_id == rec.partner_shipping_id:
# local de entrega: informar apenas se diferente do destinatário
rec.nfe40_entrega = None
else:
rec.nfe40_entrega = rec.partner_shipping_id

Expand Down

0 comments on commit 661d2a8

Please sign in to comment.