mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
[ADD] web_widget_one2many_tree_line_duplicate
This commit is contained in:
committed by
ThiagoMForgeFlow
parent
dac33645f2
commit
045983ba39
@@ -0,0 +1,3 @@
|
||||
* `Tecnativa <https://www.tecnativa.com/>`_:
|
||||
|
||||
* Alexandre Díaz
|
||||
@@ -0,0 +1 @@
|
||||
Allow to add a icon to clone the line.
|
||||
@@ -0,0 +1 @@
|
||||
* Add an option to control which columns are copied
|
||||
11
web_widget_one2many_tree_line_duplicate/readme/USAGE.rst
Normal file
11
web_widget_one2many_tree_line_duplicate/readme/USAGE.rst
Normal 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'))]}">
|
||||
Reference in New Issue
Block a user