Odoo Aide


3 Answers
Eric Lee
28/04/2017 04:52

I found the solution with help from IT Libertas

<xpath expr="//tree" position="attributes">
    <attribute name="editable"></attribute>
 the attribute's value should be empty


IT Libertas

--IT Libertas--
| 4 3 9
Saint Petersburg, Fédération de Russie
--IT Libertas--

Visit us: https://odootools.com/

IT Libertas is a team of developers and automation experts to help you to unlock Odoo ERP system's potential. We have been communicating with end users to whom the software became a main business tool since 2012. As a result, we are proud of dozens of successful Odoo apps developed.

We are open for new ideas and challenges to create the best Odoo tools for business needs all over the world

IT Libertas
26/04/2017 05:25


if understand your requirements correctly, you just need to change the attribute 'editable" in the view product.attribute_tree_view

Inherit the view in a way similar to:

        <record id="some_form" model="ir.ui.view">
            <field name="name">some_name</field>
            <field name="model">product.attribute</field>
            <field name="inherit_id" ref="product.attribute_tree_view"/>
            <field name="arch" type="xml">
                <xpath expr="//tree" position="attributes">
                    <attribute name="editable">0</attribute>

1 Commentaires
Eguana Commerce Ltd., Eric Lee
28/04/2017 04:34

I've tried editable attribute to 0 but when I clicked a create button, I could create one at the bottom of the list.

Poser une question
Keep Informed
1 Abonné(e)s
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 eLearning platform and experience all Odoo Apps through learning videos, use cases and quizzes.

Test it now