Odoo Help

0

How to manipulate openerp template not qweb template thru javascript/jquery?

By
Abegail Sanchez
on 8/18/14, 9:01 PM 870 views

Example:

Output of the generated xml an html

<div id="notebook_page_32" class="oe_notebook_page  ui-tabs-panel ui-widget-content ui-corner-bottom" aria-labelledby="ui-id-2" role="tabpanel" style="display: block;" aria-expanded="true" aria-hidden="false"><div class="oe_form_field oe_form_field_one2many">

Is this possible to manipulate here:

custom_jquery.js

(function($) {
    $("div#notebook_page_32").toggleClass("openerp oe_posline");
})(jQuery);

But doesnt add any behavior..

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: 8/18/14, 9:01 PM
Seen: 870 times
Last updated: 3/16/15, 8:10 AM