3
0
Fork 0
web_techsystech/web_tree_duplicate/readme/CONFIGURE.rst

21 lines
697 B
ReStructuredText

The duplicate option is enabled by default.
To disable it you have to add attribute `duplicate` to the tree view.
Set `duplicate` to `false` to enable it or `true` to (explicitly) disable it.
Example:
.. code-block:: xml
<?xml version="1.0" encoding="UTF-8" ?>
<odoo>
<record id="view_users_tree" model="ir.ui.view">
<field name="model">res.users</field>
<field name="inherit_id" ref="base.view_users_tree"/>
<field name="arch" type="xml">
<xpath expr="//tree" position="attributes">
<attribute name="duplicate">false</attribute>
</xpath>
</field>
</record>
</odoo>