Skip to content
Snippets Groups Projects
Commit 1b72fde2 authored by Nshimiyimana Séna's avatar Nshimiyimana Séna
Browse files

[FIX] account: allow sending invoice to partner other than the customer


## Bug

When sending an invoice to a recipient who is not the customer, they are
unable to view the invoice in the customer portal and are prompted to
log in.

## Steps to reproduce

1. Create and validate an invoice
2. Click on the Send & Print button, then add a recipient who is not the
   customer associated with the invoice.
3. Proceed to send the invoice.
4. Access the email that was sent to the added recipient (who is not the
   customer)
5. Using an incognito or private browsing window, open the link
   `View Invoice`

=> you should see that you are asked to log in, instead of being
directed to the customer portal.

opw-3114579

closes odoo/odoo#119644

X-original-commit: 95c585f6
Signed-off-by: default avatarBrice Bartoletti (bib) <bib@odoo.com>
Signed-off-by: default avatarNshimiyimana Serge Séna (sesn) <sesn@odoo.com>
parent 1dc316ad
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment