[ADD] web_widget_one2many_tree_line_duplicate

This commit is contained in:
Alexandre D. Díaz
2021-10-22 19:08:09 +02:00
committed by ThiagoMForgeFlow
parent dac33645f2
commit 045983ba39
12 changed files with 1052 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
* `Tecnativa <https://www.tecnativa.com/>`_:
* Alexandre Díaz

View File

@@ -0,0 +1 @@
Allow to add a icon to clone the line.

View File

@@ -0,0 +1 @@
* Add an option to control which columns are copied

View File

@@ -0,0 +1,11 @@
This module works on all one2many tree views. The cloning process doesn't trigger onchange/default calls.
**Available Options**
- allow_clone > Add the icon to clone the line (default: false)
**Examples**
.. code:: xml
<field name="order_line" widget="section_and_note_one2many" mode="tree,kanban" options="{'allow_clone': True}" attrs="{'readonly': [('state', 'in', ('done','cancel'))]}">