I am using odoo 9 and have created a module name 'custom_webpage' and inherited 'website' model.
There is a field in 'website' module named 'social_twitter'. I need that value in JS.
Now in my custom module JS file I can't bring the value. I tried:
openerp.website.Model
It shows openerp not found error.
I tried:
openerp.website = function(instance) { };
It shows instance not found error.
Can anyone please tell me how can I get the value of social_twitter in js? I need to take the value from the field, split it and show it on the website with JS.