This question has been flagged

jjHow to confirm an order with a signature on Odoo Sales?

Avatar
Discard

The solution isn't in this post, although it says "resolved" :-(

Author Best Answer

Hello Josep Anton Belchi Riera,

Sorry about this, solution steps :

1- Inherit portal js file with selector: '.o_portal_sidebar',
2- Add events : {'click a[id="accept_and_sign"]': 'function_name',
'mouseover a[id="accept_and_sign"]': 'function_name',},
3- Start function: var self = this
this.$('a.o_web_sign_auto_button').css('display','none'); #Sign auto load
4- Add function: 
function_name: function (ev) {
var self = this;
this.$('a.o_web_sign_auto_button').css('display','none');},

Hopefully that will help you.

Avatar
Discard

Thanks. I'll test.