Add oca-web submodule with 68 web modules

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Ernad Husremovic 2025-08-30 17:27:15 +02:00
parent af56672c08
commit 53fddf87c8
2469 changed files with 101716 additions and 0 deletions

View file

@ -0,0 +1,20 @@
The duplicate option is enabled by default.
To disable it you have to add attribute `duplicate` to the tree view.
Set `duplicate` to `true` to enable it or `false` 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>

View file

@ -0,0 +1,2 @@
* Dennis Sluijk <d.sluijk@onestein.nl>
* Holger Brunn <mail@hunki-enterprises.com> (https://hunki-enterprises.com)

View file

@ -0,0 +1 @@
With this module you can duplicate records directly from the tree view.

View file

@ -0,0 +1,9 @@
To use this module, you need to:
#. Go to any tree view
#. select some records
#. open the sidebar menu and click 'Duplicate'
Note that even when selecting all records via the top checkbox on a list, this will only duplicate the currently visible items. If you really need to duplicate all records, you need to adjust the list view limit accordingly.
.. image:: /web_tree_duplicate/static/description/screenshot-duplicate.png