[MIG] web_action_conditionable: Migration to 12.0

pull/1947/head
mreficent 2019-07-19 14:19:14 +02:00 committed by stananatanaela
parent b687ecec82
commit 6f44c0ce9c
6 changed files with 21 additions and 6 deletions

View File

@ -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
===========

View File

@ -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',

View File

@ -0,0 +1,2 @@
* Cristian Salamea <cristian.salamea@gmail.com>
* André Paramés <github@andreparames.com> (https://www.acsone.eu/)

View File

@ -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.

View File

@ -0,0 +1 @@
This module has no direct interface, it only adds functionality for custom views.

View File

@ -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>