mirror of
https://github.com/bringout/oca-web.git
synced 2026-04-19 03:32:06 +02:00
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:
parent
af56672c08
commit
53fddf87c8
2469 changed files with 101716 additions and 0 deletions
|
|
@ -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>
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
* Dennis Sluijk <d.sluijk@onestein.nl>
|
||||
* Holger Brunn <mail@hunki-enterprises.com> (https://hunki-enterprises.com)
|
||||
|
|
@ -0,0 +1 @@
|
|||
With this module you can duplicate records directly from the tree view.
|
||||
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue