Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
68 commits
Select commit Hold shift + click to select a range
af49d6e
[add] web_action_conditionable
ovnicraft Aug 11, 2015
9ff8f67
Add missing default oca icons
yvaucher Aug 18, 2015
a7940af
[MIG] Make modules uninstallable
pedrobaeza Oct 14, 2015
831c4ff
[MIG] Rename manifest files
pedrobaeza Oct 6, 2016
3201a39
[MIG] web_action_conditionable: Migration to 11.0
andreparames Jan 22, 2018
92f4cda
[MIG] web_action_conditionable: Migration to 12.0
MiquelRForgeFlow Jul 19, 2019
9daae65
Added translation using Weblate (Chinese (Simplified))
liweijie0812 Sep 1, 2019
67de5f4
Added translation using Weblate (Croatian)
badbole Dec 2, 2019
d2fe649
Added translation using Weblate (Spanish)
Feb 4, 2020
3c8b926
[FIX] web_action_conditionable: Adapt to new api
Tardo Jul 31, 2019
bda58f0
[IMP] : black, isort, prettier
AaronHForgeFlow Apr 27, 2020
38aab64
[MIG] Migrated module web_action_conditionable to v13
sudhir-erpharbor Apr 27, 2020
cdf0343
[UPT]web_action_conditionable
AaronHForgeFlow Jul 22, 2020
c10017f
Cleanup faulty file
JosDeGraeve Sep 16, 2020
6512754
web_action_conditionable 13.0.1.0.1
OCA-git-bot Sep 16, 2020
e5b6a9b
[IMP] web_action_conditionable: black, isort, prettier
Jun 8, 2021
16456dc
[MIG] web_action_conditionable: Migration to 14.0
Jun 8, 2021
2678a70
[MIG] web_action_conditionable: Migration to 15.0
JasminSForgeFlow Feb 7, 2022
a8b31d0
[16.0][MIG] web_action_conditionable: Migration to 16.0
Mar 9, 2023
a682659
Update translation files
weblate Jul 17, 2023
199bd62
Added translation using Weblate (Italian)
mymage Nov 27, 2023
fafcc22
[IMP] web_action_conditionable: pre-commit auto fixes
traitrantrobz Jul 25, 2024
e3b4530
[MIG] web_action_conditionable: Migration to 17.0
traitrantrobz Sep 11, 2024
835952c
[IMP] web_action_conditionable: pre-commit auto fixes
kobros-tech Mar 11, 2025
204bebc
[MIG] web_action_conditionable: Migration to 18.0
kobros-tech Mar 11, 2025
36fb86f
[FIX] web_responsive: 'AppsMenuPreferences' does not have a static pr…
gabrieledaltoe Jul 12, 2026
f70b208
Merge PR #3605 into 18.0
OCA-git-bot Jul 17, 2026
fd870e7
[BOT] post-merge updates
OCA-git-bot Jul 17, 2026
a1c0306
[MIG] web_widget_image_download
kutyel Jul 22, 2016
d41f27c
[MIG] web_widget_image_download: Update for v9.
yajo Aug 5, 2016
73ec161
[10.0][MIG]migrate web_widget_image_download
smurf-U Jun 23, 2017
12984ad
[MIG] web_widget_image_download: Migration to 11.0
ernestotejeda May 28, 2018
de593dd
[IMP] README by fragments + manifest
pedrobaeza Jun 5, 2018
ec81ffa
[MIG] web_widget_image_download: Migration to 12.0
ernestotejeda Nov 21, 2018
4e74f25
Added translation using Weblate (Chinese (Simplified))
liweijie0812 Sep 1, 2019
a701cb7
Translated using Weblate (Chinese (Simplified))
liweijie0812 Sep 1, 2019
70c6c2f
Added translation using Weblate (Portuguese)
pedrocs-exo Nov 17, 2019
0300f11
Translated using Weblate (Portuguese)
pedrocs-exo Nov 17, 2019
87eca0b
[IMP] web_widget_image_download: black, isort
Tardo Jan 30, 2020
bfae4e4
[MIG] web_widget_image_download: Migration to 13.0
Tardo Jan 30, 2020
88aacfc
pre-commit update: prettier xml indent
sbidoul Mar 2, 2020
97b35e8
Added translation using Weblate (Spanish)
claudiagn Feb 17, 2021
38661c1
Translated using Weblate (Spanish)
claudiagn Feb 17, 2021
9af8f84
[IMP] web_widget_image_download: black, isort, prettier
Peerapong-Supasompob Jul 14, 2021
e910e8b
[14.0][MIG] web_widget_image_download
Peerapong-Supasompob Jul 15, 2021
b86998b
Added translation using Weblate (Italian)
alessandro-fiorino Mar 19, 2022
fc78659
Translated using Weblate (Italian)
alessandro-fiorino Mar 19, 2022
ffc96bc
[MIG]web_widget_image_download: Migration to 15.0
manuelregidor Apr 27, 2022
cfbfcbe
Translated using Weblate (Italian)
mymage Sep 4, 2023
5b0ed00
[MIG]web_widget_image_download: Migration to 16.0
manuelregidor Jul 29, 2024
6fbfd41
[IMP] web_widget_image_download: black, isort, prettier
manuelregidor Aug 2, 2024
dd0b85b
[MIG]web_widget_image_download: Migration to 17.0
manuelregidor Aug 2, 2024
c2205fe
[MIG] web_widget_image_download: Migration to 18.0
BhaveshHeliconia Jan 3, 2025
2836618
Merge PR #3046 into 18.0
OCA-git-bot Jul 20, 2026
e26afac
[UPD] Update web_widget_image_download.pot
Jul 20, 2026
7f257fe
[BOT] post-merge updates
OCA-git-bot Jul 20, 2026
57df67d
[ADD] web_widget_char_size
SimoRubi Jun 10, 2021
f47f26d
[MIG] web_widget_char_size: Migration to 15.0
BankyKmitl Nov 25, 2021
6744142
[MIG] web_widget_char_size: Migration to 16.0
anusriNPS Dec 2, 2024
3f66ff3
Added translation using Weblate (Italian)
mymage Jan 4, 2025
4a7b0cd
[IMP] web_widget_char_size: pre-commit execution
SirPyTech Jan 29, 2026
bd2ef23
[MIG] web_widget_char_size: Migration to 18.0
SirPyTech Jan 29, 2026
65bd94a
Merge PR #3421 into 18.0
OCA-git-bot Jul 21, 2026
a18aed0
[UPD] Update web_widget_char_size.pot
Jul 21, 2026
aab90f5
[BOT] post-merge updates
OCA-git-bot Jul 21, 2026
dee7c06
Merge PR #3063 into 18.0
OCA-git-bot Jul 21, 2026
9b2063c
[UPD] Update web_action_conditionable.pot
Jul 21, 2026
fedf87b
[BOT] post-merge updates
OCA-git-bot Jul 21, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ Available addons
----------------
addon | version | maintainers | summary
--- | --- | --- | ---
[web_action_conditionable](web_action_conditionable/) | 18.0.1.0.0 | | web_action_conditionable
[web_calendar_slot_duration](web_calendar_slot_duration/) | 18.0.1.0.0 | <a href='https://github.com/Yajo'><img src='https://github.com/Yajo.png' width='32' height='32' style='border-radius:50%;' alt='Yajo'/></a> | Customizable calendar slot durations
[web_chatter_position](web_chatter_position/) | 18.0.1.1.1 | <a href='https://github.com/trisdoan'><img src='https://github.com/trisdoan.png' width='32' height='32' style='border-radius:50%;' alt='trisdoan'/></a> | Add an option to change the chatter position
[web_company_color](web_company_color/) | 18.0.1.1.0 | | Web Company Color
Expand Down Expand Up @@ -53,7 +54,7 @@ addon | version | maintainers | summary
[web_quick_start_screen](web_quick_start_screen/) | 18.0.1.0.0 | | Configurable start screen for quick actions
[web_refresher](web_refresher/) | 18.0.1.0.1 | | Web Refresher
[web_remember_tree_column_width](web_remember_tree_column_width/) | 18.0.1.0.2 | <a href='https://github.com/frahikLV'><img src='https://github.com/frahikLV.png' width='32' height='32' style='border-radius:50%;' alt='frahikLV'/></a> <a href='https://github.com/luisg123v'><img src='https://github.com/luisg123v.png' width='32' height='32' style='border-radius:50%;' alt='luisg123v'/></a> <a href='https://github.com/cuongnmtm'><img src='https://github.com/cuongnmtm.png' width='32' height='32' style='border-radius:50%;' alt='cuongnmtm'/></a> | Remember the tree columns' widths across sessions.
[web_responsive](web_responsive/) | 18.0.1.0.6 | <a href='https://github.com/Tardo'><img src='https://github.com/Tardo.png' width='32' height='32' style='border-radius:50%;' alt='Tardo'/></a> <a href='https://github.com/SplashS'><img src='https://github.com/SplashS.png' width='32' height='32' style='border-radius:50%;' alt='SplashS'/></a> | Responsive web client, community-supported
[web_responsive](web_responsive/) | 18.0.1.0.7 | <a href='https://github.com/Tardo'><img src='https://github.com/Tardo.png' width='32' height='32' style='border-radius:50%;' alt='Tardo'/></a> <a href='https://github.com/SplashS'><img src='https://github.com/SplashS.png' width='32' height='32' style='border-radius:50%;' alt='SplashS'/></a> | Responsive web client, community-supported
[web_save_discard_button](web_save_discard_button/) | 18.0.1.0.1 | <a href='https://github.com/synconics'><img src='https://github.com/synconics.png' width='32' height='32' style='border-radius:50%;' alt='synconics'/></a> | Save & Discard Buttons
[web_search_with_and](web_search_with_and/) | 18.0.1.0.1 | | Use AND conditions on omnibar search
[web_send_message_popup](web_send_message_popup/) | 18.0.1.0.0 | | Web Send Message as Popup
Expand All @@ -69,8 +70,10 @@ addon | version | maintainers | summary
[web_tree_dynamic_colored_field](web_tree_dynamic_colored_field/) | 18.0.1.0.1 | | Allows you to dynamically color fields on tree views
[web_tree_many2one_clickable](web_tree_many2one_clickable/) | 18.0.1.0.1 | | Open the linked resource when clicking on their name
[web_widget_bokeh_chart](web_widget_bokeh_chart/) | 18.0.1.0.1 | <a href='https://github.com/LoisRForgeFlow'><img src='https://github.com/LoisRForgeFlow.png' width='32' height='32' style='border-radius:50%;' alt='LoisRForgeFlow'/></a> <a href='https://github.com/JasminSForgeFlow'><img src='https://github.com/JasminSForgeFlow.png' width='32' height='32' style='border-radius:50%;' alt='JasminSForgeFlow'/></a> | This widget allows to display charts using Bokeh library.
[web_widget_char_size](web_widget_char_size/) | 18.0.1.0.0 | | Add size option to Char widget
[web_widget_domain_editor_dialog](web_widget_domain_editor_dialog/) | 18.0.1.0.0 | | Recovers the Domain Editor Dialog functionality
[web_widget_dropdown_dynamic](web_widget_dropdown_dynamic/) | 18.0.2.0.0 | | This module adds support for dynamic dropdown widget
[web_widget_image_download](web_widget_image_download/) | 18.0.1.0.0 | | Allows to download any image from its widget
[web_widget_mpld3_chart](web_widget_mpld3_chart/) | 18.0.1.0.0 | <a href='https://github.com/JordiBForgeFlow'><img src='https://github.com/JordiBForgeFlow.png' width='32' height='32' style='border-radius:50%;' alt='JordiBForgeFlow'/></a> <a href='https://github.com/ThiagoMForgeFlow'><img src='https://github.com/ThiagoMForgeFlow.png' width='32' height='32' style='border-radius:50%;' alt='ThiagoMForgeFlow'/></a> | This widget allows to display charts using MPLD3 library.
[web_widget_numeric_step](web_widget_numeric_step/) | 18.0.1.0.2 | <a href='https://github.com/rafaelbn'><img src='https://github.com/rafaelbn.png' width='32' height='32' style='border-radius:50%;' alt='rafaelbn'/></a> <a href='https://github.com/yajo'><img src='https://github.com/yajo.png' width='32' height='32' style='border-radius:50%;' alt='yajo'/></a> | Web Widget Numeric Step
[web_widget_o2m_attachment_image_gallery](web_widget_o2m_attachment_image_gallery/) | 18.0.1.0.0 | <a href='https://github.com/victoralmau'><img src='https://github.com/victoralmau.png' width='32' height='32' style='border-radius:50%;' alt='victoralmau'/></a> | Widget o2m Attachment Image Gallery Widget
Expand Down
5 changes: 4 additions & 1 deletion setup/_metapackage/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
[project]
name = "odoo-addons-oca-web"
version = "18.0.20260623.0"
version = "18.0.20260721.1"
dependencies = [
"odoo-addon-web_action_conditionable==18.0.*",
"odoo-addon-web_calendar_slot_duration==18.0.*",
"odoo-addon-web_chatter_position==18.0.*",
"odoo-addon-web_company_color==18.0.*",
Expand Down Expand Up @@ -49,8 +50,10 @@ dependencies = [
"odoo-addon-web_tree_dynamic_colored_field==18.0.*",
"odoo-addon-web_tree_many2one_clickable==18.0.*",
"odoo-addon-web_widget_bokeh_chart==18.0.*",
"odoo-addon-web_widget_char_size==18.0.*",
"odoo-addon-web_widget_domain_editor_dialog==18.0.*",
"odoo-addon-web_widget_dropdown_dynamic==18.0.*",
"odoo-addon-web_widget_image_download==18.0.*",
"odoo-addon-web_widget_mpld3_chart==18.0.*",
"odoo-addon-web_widget_numeric_step==18.0.*",
"odoo-addon-web_widget_o2m_attachment_image_gallery==18.0.*",
Expand Down
117 changes: 117 additions & 0 deletions web_action_conditionable/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,117 @@
.. image:: https://odoo-community.org/readme-banner-image
:target: https://odoo-community.org/get-involved?utm_source=readme
:alt: Odoo Community Association

========================
web_action_conditionable
========================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:f1a4017aa1f0ea87fb4a1f2d6491d7c54e703bc35914374638e8fcdd018398fb
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |badge2| image:: https://img.shields.io/badge/license-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fweb-lightgray.png?logo=github
:target: https://github.com/OCA/web/tree/18.0/web_action_conditionable
:alt: OCA/web
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/web-18-0/web-18-0-web_action_conditionable
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/web&target_branch=18.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

Add support for conditions on create and delete actions on One2Many
fields.

**Table of contents**

.. contents::
:local:

Usage
=====

Odoo by default support:

::

<tree delete="false" create="false">

with this module you can:

::

<tree delete="state=='draft'" create="state!='sent'">

It works in any tree view, so you can use it in One2many.

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/web/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
`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**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
-------

* Cristian Salamea

Contributors
------------

- Cristian Salamea <cristian.salamea@gmail.com>

- André Paramés <github@andreparames.com> (https://www.acsone.eu/)

- Alexandre Díaz <alexandre.diaz@tecnativa.com>

- Sudhir Arya <sudhir@erpharbor.com>

- Jasper Jumelet <jasper.jumelet@codeforward.nl>

- `Trobz <https://trobz.com>`__:

- Nguyễn Minh Chiến <chien@trobz.com>
- Tran Thanh Trai <traitt@trobz.com>

Other credits
-------------

The migration of this module from 15.0 to 17.0 was financially supported
by Camptocamp

Maintainers
-----------

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.

This module is part of the `OCA/web <https://github.com/OCA/web/tree/18.0/web_action_conditionable>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Empty file.
16 changes: 16 additions & 0 deletions web_action_conditionable/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
{
"name": "web_action_conditionable",
"version": "18.0.1.0.0",
"depends": ["base", "web"],
"data": [],
"author": "Cristian Salamea,Odoo Community Association (OCA)",
"website": "https://github.com/OCA/web",
"license": "AGPL-3",
"assets": {
"web.assets_backend": [
"web_action_conditionable/static/src/components/*",
],
},
"installable": True,
}
Empty file.
Empty file.
14 changes: 14 additions & 0 deletions web_action_conditionable/i18n/it.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
"Language: it\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
13 changes: 13 additions & 0 deletions web_action_conditionable/i18n/web_action_conditionable.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 18.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"
Empty file.
3 changes: 3 additions & 0 deletions web_action_conditionable/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["whool"]
build-backend = "whool.buildapi"
13 changes: 13 additions & 0 deletions web_action_conditionable/readme/CONTRIBUTORS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
- Cristian Salamea \<<cristian.salamea@gmail.com>\>

- André Paramés \<<github@andreparames.com>\> (<https://www.acsone.eu/>)

- Alexandre Díaz \<<alexandre.diaz@tecnativa.com>\>

- Sudhir Arya \<<sudhir@erpharbor.com>\>

- Jasper Jumelet \<<jasper.jumelet@codeforward.nl>\>

- [Trobz](https://trobz.com):
- Nguyễn Minh Chiến \<<chien@trobz.com>\>
- Tran Thanh Trai \<<traitt@trobz.com>\>
2 changes: 2 additions & 0 deletions web_action_conditionable/readme/CREDITS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
The migration of this module from 15.0 to 17.0 was financially supported
by Camptocamp
2 changes: 2 additions & 0 deletions web_action_conditionable/readme/DESCRIPTION.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Add support for conditions on create and delete actions on One2Many
fields.
9 changes: 9 additions & 0 deletions web_action_conditionable/readme/USAGE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Odoo by default support:

<tree delete="false" create="false">

with this module you can:

<tree delete="state=='draft'" create="state!='sent'">

It works in any tree view, so you can use it in One2many.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading