mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
Web addon
This module implements condition for actions in tree view. do allows: edit=“false” create=“false” delete=“false” This module allows too: delete=“state==‘draft’”, simple expression.
This commit is contained in:
10
web_action_conditionable/views/view.xml
Normal file
10
web_action_conditionable/views/view.xml
Normal file
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<openerp>
|
||||
<data>
|
||||
<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>
|
||||
</xpath>
|
||||
</template>
|
||||
</data>
|
||||
</openerp>
|
||||
Reference in New Issue
Block a user