Odoo Help


ODOO9: Inheritance view to add a button in a tree

Vale Trood
on 4/11/16, 5:22 AM 728 views

Hello Guys;

Can anyone help me know why do i get this error when i try to inherit a view to be able to add a button under a tree.

Here is my code:

        <record id="view_test_cnss_form" model="ir.ui.view">

<field name="name">test.cnss.form.inherit</field>

<field name="model">test.cnss</field>

<field name="inherit_id" ref="test_cnss.test_cnss_form"/>

<field name="arch" type="xml">





<button name="generate_cnss_txt" type="object" string="Generate CNSS"/>





Then i got this error:

-> return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs)

Help please..

Best Regards.

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.


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)


Asked: 4/11/16, 5:22 AM
Seen: 728 times
Last updated: 4/11/16, 5:22 AM