mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
[ADD] help_contextual_popup
This commit is contained in:
committed by
David Beal
parent
63e82b0b83
commit
681700adea
17
help_contextual_popup/views/action_view.xml
Normal file
17
help_contextual_popup/views/action_view.xml
Normal file
@@ -0,0 +1,17 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<openerp>
|
||||
<data>
|
||||
|
||||
<record id="view_window_action_form" model="ir.ui.view">
|
||||
<field name="model">ir.actions.act_window</field>
|
||||
<field name="inherit_id"
|
||||
ref="base.view_window_action_form"/>
|
||||
<field name="arch" type="xml">
|
||||
<field name="help" position="after">
|
||||
<field name="custom_help"/>
|
||||
</field>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
</data>
|
||||
</openerp>
|
||||
10
help_contextual_popup/views/popup_help_view.xml
Normal file
10
help_contextual_popup/views/popup_help_view.xml
Normal file
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<openerp>
|
||||
<data>
|
||||
<template id="assets_backend" name="custom assets" inherit_id="web.assets_backend">
|
||||
<xpath expr="." position="inside">
|
||||
<script type="text/javascript" src="/help_contextual_popup/static/src/js/popup_help.js"></script>
|
||||
</xpath>
|
||||
</template>
|
||||
</data>
|
||||
</openerp>
|
||||
Reference in New Issue
Block a user