Odoo Help

0

Javascript Inheritance

By
George Vincent
on 12/6/17, 5:23 AM 166 views

Hi Friends,

I would like to remove existing  functionality and add my own  in .js file, but I would like to know how to change that with help of custom module. I am trying this with V10 EE.

function getPartnerSelectConfiguration() { // this method exist already in  /website_sign/static/src/js/website_sign_common.js line no:433
//Custom code to be done
}
0
Ermin Trevisan
On 12/7/17, 4:18 AM

I went through the whole document, unfortunatily they haven't mentioned how to use .include{} in this senario. they have given samples for these kind of functions

Ex:-

functionname: function(){

// Custom code

}

Not for

function functionname() {

//Custom code to be done

}

George Vincent
on 12/7/17, 11:20 PM

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)

Stats

Asked: 12/6/17, 5:23 AM
Seen: 166 times
Last updated: 12/7/17, 4:18 AM