Community mailing list archives

Odoo 9 website JS help

Md. Tanzilul Hasan Khan
- 10/15/2016 01:31:31
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:

It shows openerp not found error.

I tried: = 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.

MD. Tanzilul Hasan Khan.