travis-ci
[FIX] website_portal_sale: Frontend only for portal users Before this commit, in v9, when a normal backend user received an email coming from a `sale.order`, it had a "View Sales Order" button that redirected him to the SO frontend page instead of the backend, which is mostly useless for such users. That's why [in v10+, normal users get to backend directly if possible][1]. This commit is the minimal modification needed to backport such behavior and make those "View Sales Order" mail links useful again. [1]: https://github.com/odoo/odoo/blob/e6ff16cbb/addons/website_portal_sale/models/sale_order.py#L19-L23
5824 of 8545 relevant lines covered (68.16%)
1.67 hits per line
The commit SHA "e8728ec6bdb7c1675ff5bd44aa63e1cab5919295" was not found in your repository, so the file cannot be loaded. This may be because you posted from a local development environment, or your CI created an ephemeral commit.