diff options
| author | chm@openerp.com <> | 2014-03-14 17:23:46 +0100 |
|---|---|---|
| committer | chm@openerp.com <> | 2014-03-14 17:23:46 +0100 |
| commit | 353bbdc2c3d0e019561eb60aacb36b68b4ed935a (patch) | |
| tree | 3edf0d86cb82f1579552b30c54cc5ed2dd0bc22c /addons/website_quote/static/src | |
| parent | 9bc57fdc08660ae426e0d5910af58ae3cbe432cb (diff) | |
[FIX] website: route and redirect: remove all backslash from url
bzr revid: chm@openerp.com-20140314162346-25vohj6ayp65tgiy
Diffstat (limited to 'addons/website_quote/static/src')
| -rw-r--r-- | addons/website_quote/static/src/js/website_quotation.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/website_quote/static/src/js/website_quotation.js b/addons/website_quote/static/src/js/website_quotation.js index b24ab58a3fb..646cbe25375 100644 --- a/addons/website_quote/static/src/js/website_quotation.js +++ b/addons/website_quote/static/src/js/website_quotation.js @@ -6,7 +6,7 @@ $(document).ready(function () { var order_id = href.match(/order_id=([0-9]+)/); var line_id = href.match(/update_line\/([0-9]+)/); var token = href.match(/token=(.*)/); - openerp.jsonRpc("/quote/update_line/", 'call', { + openerp.jsonRpc("/quote/update_line", 'call', { 'line_id': line_id[1], 'order_id': parseInt(order_id[1]), 'token': token[1], @@ -52,7 +52,7 @@ $(document).ready(function () { if (is_empty || ! signer_name) return false; - openerp.jsonRpc("/quote/accept/", 'call', { + openerp.jsonRpc("/quote/accept", 'call', { 'order_id': parseInt(order_id[1]), 'token': token, 'signer': signer_name, |
