summaryrefslogtreecommitdiff
path: root/addons/base_import_module/tests/test_module/static
diff options
context:
space:
mode:
authorDenis Ledoux <dle@odoo.com>2017-03-06 13:23:49 +0100
committerDenis Ledoux <dle@odoo.com>2017-03-06 13:28:14 +0100
commit1279f82e128169a7e244f5eb44352e36ac810a10 (patch)
treedb62da5643661619544dd79d3645a9860f8bab81 /addons/base_import_module/tests/test_module/static
parent6b3a80862c550ba37c8580c4229848d4f613b701 (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/base_import_module/tests/test_module/static')
0 files changed, 0 insertions, 0 deletions