mirror of https://github.com/OCA/web.git
[MIG] web_action_conditionable: Migration to 12.0
parent
b687ecec82
commit
6f44c0ce9c
|
@ -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
|
||||
===========
|
||||
|
|
|
@ -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',
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
* Cristian Salamea <cristian.salamea@gmail.com>
|
||||
* André Paramés <github@andreparames.com> (https://www.acsone.eu/)
|
|
@ -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.
|
|
@ -0,0 +1 @@
|
|||
This module has no direct interface, it only adds functionality for custom views.
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue