Ran
|
Files
45
|
Run time
3s
|
Badge
Embed ▾
README BADGES
|
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
4651 of 8545 relevant lines covered (54.43%)
0.54 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|