diff options
| author | Deep Patel <dep@odoo.com> | 2017-09-11 12:20:37 +0530 |
|---|---|---|
| committer | Thibault Delavallée <tde@odoo.com> | 2017-09-11 10:49:38 +0200 |
| commit | e9542e4d24d72170b32a01c8cfa381467fd3caa1 (patch) | |
| tree | b2899499dcb962d09dc7bb90d4be9f26aee866ee /addons | |
| parent | a06f8f6b458a3294710beef2fc8b2a60fc4e4e42 (diff) | |
[FIX] portal: move jSignatureCustom.js file to common assets
Indeed this lib is used either in frontend and backend. Portal modules
uses it in frontend (sale to sign orders in customer portal). eSign
uses it in backend. Let us therefore put it in common assets.
Diffstat (limited to 'addons')
| -rw-r--r-- | addons/portal/views/assets.xml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/addons/portal/views/assets.xml b/addons/portal/views/assets.xml index aaf2f6ec3e8..8c182e2f7c2 100644 --- a/addons/portal/views/assets.xml +++ b/addons/portal/views/assets.xml @@ -12,6 +12,11 @@ <script type="text/javascript" src="/portal/static/src/js/portal_tour.js"></script> <script type="text/javascript" src="/portal/static/src/js/portal_chatter.js"></script> <script type="text/javascript" src="/portal/static/src/js/portal_signature.js"></script> + </xpath> + </template> + + <template id="assets_common" inherit_id="web.assets_common" name="Portal Common Assets"> + <xpath expr="script[last()]" position="after"> <script type="text/javascript" src="/web/static/lib/jSignature/jSignatureCustom.js"></script> </xpath> </template> |
