diff options
| author | Denis Ledoux <dle@odoo.com> | 2017-03-06 13:23:49 +0100 |
|---|---|---|
| committer | Nicolas Martinelli <nim@odoo.com> | 2017-06-06 10:30:18 +0200 |
| commit | 175a5d78083192b05ede4b78443336b8e76f7229 (patch) | |
| tree | dd4b0453f9d58a51e972a1456c7802d0c283682c /addons/web/static/src/js/views/basic/basic_model.js | |
| parent | 711530e03643b06395658649646ad7f44f0c3470 (diff) | |
[FIX] sale: sales order email template without portal_sale
When disabling the customer portal
in the general settings
(or uninstalling the `portal_sale` module directly),
the model `sale.order` no longer has a method
`get_signup_url`, and it therefore leads
to the fail of the email template rendering which is
still referencing this method.
Besides, the `access_url` is actually used only if
`is_online` is True,
(see the `% if is_online:` few lines later)
and in this case `get_signup_url`
was not used at all.
Therefore, we can assume `None` is a good alternative,
as the resul of `get_signup_url` was actually no longer
used.
opw-710481
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions
