Community mailing list archives

Re: Odoo 9 website JS help

Md. Tanzilul Hasan Khan
- 10/15/2016 07:40:44
I got this with controller.


On Sat, Oct 15, 2016 at 11:31 AM, MD Tanzilul Hasan Khan <> wrote:
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.

MD. Tanzilul Hasan Khan.