Skip to content

Commit

Permalink
[MIG] web_action_conditionable: Migration to 12.0
Browse files Browse the repository at this point in the history
  • Loading branch information
MiquelRForgeFlow authored and OCA-git-bot committed Jul 25, 2019
1 parent 37e30fd commit dc34e55
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 6 deletions.
5 changes: 1 addition & 4 deletions web_action_conditionable/README.rst
Expand Up @@ -40,10 +40,7 @@ This module has no direct interface, it only adds functionality for custom views

.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
:alt: Try me on Runbot
:target: https://runbot.odoo-community.org/runbot/162/11.0

.. repo_id is available in https://github.com/OCA/maintainer-tools/blob/master/tools/repos_with_ids.txt
.. branch is "8.0" for example
:target: https://runbot.odoo-community.org/runbot/162/12.0

Bug Tracker
===========
Expand Down
3 changes: 2 additions & 1 deletion web_action_conditionable/__manifest__.py
@@ -1,6 +1,7 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
{
"name": 'web_action_conditionable',
"version": "11.0.1.0.0",
"version": "12.0.1.0.0",
"depends": [
'base',
'web',
Expand Down
2 changes: 2 additions & 0 deletions web_action_conditionable/readme/CONTRIBUTORS.rst
@@ -0,0 +1,2 @@
* Cristian Salamea <cristian.salamea@gmail.com>
* André Paramés <github@andreparames.com> (https://www.acsone.eu/)
14 changes: 14 additions & 0 deletions web_action_conditionable/readme/DESCRIPTION.rst
@@ -0,0 +1,14 @@
This module was written to extend the functionality of actions in tree views.
Odoo by default support:

::

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

with this module you can:

::

<tree delete="state=='draft'">

It works in any tree view, so you can use it in One2many.
1 change: 1 addition & 0 deletions web_action_conditionable/readme/USAGE.rst
@@ -0,0 +1 @@
This module has no direct interface, it only adds functionality for custom views.
2 changes: 1 addition & 1 deletion web_action_conditionable/views/view.xml
Expand Up @@ -2,7 +2,7 @@
<odoo>
<template id="assets_backend" name="action conditionable assets" inherit_id="web.assets_backend">
<xpath expr="." position="inside">
<script type="text/javascript" src="/web_action_conditionable/static/src/js/views.js"></script>
<script type="text/javascript" src="/web_action_conditionable/static/src/js/views.js"/>
</xpath>
</template>
</odoo>

0 comments on commit dc34e55

Please sign in to comment.