Skip to content

Commit dee7c06

Browse files
committed
Merge PR #3063 into 18.0
Signed-off-by StefanRijnhart
2 parents aab90f5 + 204bebc commit dee7c06

16 files changed

Lines changed: 678 additions & 0 deletions

File tree

Lines changed: 113 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,113 @@
1+
========================
2+
web_action_conditionable
3+
========================
4+
5+
..
6+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
7+
!! This file is generated by oca-gen-addon-readme !!
8+
!! changes will be overwritten. !!
9+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
10+
!! source digest: sha256:4bc330cf2cd18ff1c39c729eeae66a68dde8f3252b6825de70919e0f45dcc9fc
11+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
12+
13+
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
14+
:target: https://odoo-community.org/page/development-status
15+
:alt: Beta
16+
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
17+
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
18+
:alt: License: AGPL-3
19+
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fweb-lightgray.png?logo=github
20+
:target: https://github.com/OCA/web/tree/18.0/web_action_conditionable
21+
:alt: OCA/web
22+
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
23+
:target: https://translation.odoo-community.org/projects/web-18-0/web-18-0-web_action_conditionable
24+
:alt: Translate me on Weblate
25+
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
26+
:target: https://runboat.odoo-community.org/builds?repo=OCA/web&target_branch=18.0
27+
:alt: Try me on Runboat
28+
29+
|badge1| |badge2| |badge3| |badge4| |badge5|
30+
31+
Add support for conditions on create and delete actions on One2Many
32+
fields.
33+
34+
**Table of contents**
35+
36+
.. contents::
37+
:local:
38+
39+
Usage
40+
=====
41+
42+
Odoo by default support:
43+
44+
::
45+
46+
<tree delete="false" create="false">
47+
48+
with this module you can:
49+
50+
::
51+
52+
<tree delete="state=='draft'" create="state!='sent'">
53+
54+
It works in any tree view, so you can use it in One2many.
55+
56+
Bug Tracker
57+
===========
58+
59+
Bugs are tracked on `GitHub Issues <https://github.com/OCA/web/issues>`_.
60+
In case of trouble, please check there if your issue has already been reported.
61+
If you spotted it first, help us to smash it by providing a detailed and welcomed
62+
`feedback <https://github.com/OCA/web/issues/new?body=module:%20web_action_conditionable%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
63+
64+
Do not contact contributors directly about support or help with technical issues.
65+
66+
Credits
67+
=======
68+
69+
Authors
70+
-------
71+
72+
* Cristian Salamea
73+
74+
Contributors
75+
------------
76+
77+
- Cristian Salamea <cristian.salamea@gmail.com>
78+
79+
- André Paramés <github@andreparames.com> (https://www.acsone.eu/)
80+
81+
- Alexandre Díaz <alexandre.diaz@tecnativa.com>
82+
83+
- Sudhir Arya <sudhir@erpharbor.com>
84+
85+
- Jasper Jumelet <jasper.jumelet@codeforward.nl>
86+
87+
- `Trobz <https://trobz.com>`__:
88+
89+
- Nguyễn Minh Chiến <chien@trobz.com>
90+
- Tran Thanh Trai <traitt@trobz.com>
91+
92+
Other credits
93+
-------------
94+
95+
The migration of this module from 15.0 to 17.0 was financially supported
96+
by Camptocamp
97+
98+
Maintainers
99+
-----------
100+
101+
This module is maintained by the OCA.
102+
103+
.. image:: https://odoo-community.org/logo.png
104+
:alt: Odoo Community Association
105+
:target: https://odoo-community.org
106+
107+
OCA, or the Odoo Community Association, is a nonprofit organization whose
108+
mission is to support the collaborative development of Odoo features and
109+
promote its widespread use.
110+
111+
This module is part of the `OCA/web <https://github.com/OCA/web/tree/18.0/web_action_conditionable>`_ project on GitHub.
112+
113+
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

web_action_conditionable/__init__.py

Whitespace-only changes.
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
2+
{
3+
"name": "web_action_conditionable",
4+
"version": "18.0.1.0.0",
5+
"depends": ["base", "web"],
6+
"data": [],
7+
"author": "Cristian Salamea,Odoo Community Association (OCA)",
8+
"website": "https://github.com/OCA/web",
9+
"license": "AGPL-3",
10+
"assets": {
11+
"web.assets_backend": [
12+
"web_action_conditionable/static/src/components/*",
13+
],
14+
},
15+
"installable": True,
16+
}

web_action_conditionable/i18n/es.po

Whitespace-only changes.

web_action_conditionable/i18n/hr.po

Whitespace-only changes.
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Translation of Odoo Server.
2+
# This file contains the translation of the following modules:
3+
#
4+
msgid ""
5+
msgstr ""
6+
"Project-Id-Version: Odoo Server 16.0\n"
7+
"Report-Msgid-Bugs-To: \n"
8+
"Last-Translator: Automatically generated\n"
9+
"Language-Team: none\n"
10+
"Language: it\n"
11+
"MIME-Version: 1.0\n"
12+
"Content-Type: text/plain; charset=UTF-8\n"
13+
"Content-Transfer-Encoding: \n"
14+
"Plural-Forms: nplurals=2; plural=n != 1;\n"
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Translation of Odoo Server.
2+
# This file contains the translation of the following modules:
3+
#
4+
msgid ""
5+
msgstr ""
6+
"Project-Id-Version: Odoo Server 16.0\n"
7+
"Report-Msgid-Bugs-To: \n"
8+
"Last-Translator: \n"
9+
"Language-Team: \n"
10+
"MIME-Version: 1.0\n"
11+
"Content-Type: text/plain; charset=UTF-8\n"
12+
"Content-Transfer-Encoding: \n"
13+
"Plural-Forms: \n"

web_action_conditionable/i18n/zh_CN.po

Whitespace-only changes.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[build-system]
2+
requires = ["whool"]
3+
build-backend = "whool.buildapi"
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
- Cristian Salamea \<<cristian.salamea@gmail.com>\>
2+
3+
- André Paramés \<<github@andreparames.com>\> (<https://www.acsone.eu/>)
4+
5+
- Alexandre Díaz \<<alexandre.diaz@tecnativa.com>\>
6+
7+
- Sudhir Arya \<<sudhir@erpharbor.com>\>
8+
9+
- Jasper Jumelet \<<jasper.jumelet@codeforward.nl>\>
10+
11+
- [Trobz](https://trobz.com):
12+
- Nguyễn Minh Chiến \<<chien@trobz.com>\>
13+
- Tran Thanh Trai \<<traitt@trobz.com>\>

0 commit comments

Comments
 (0)