You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

56 lines
1.8 KiB

<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data noupdate="1">
<template id="tpl_help">
<t t-call="report.html_container">
<t t-call="report.internal_layout">
<t t-foreach="docs" t-as="o">
<div class="page">
<div class="pull-right bg-sucess">
<t t-set="action_id" t-value="o.env.ref('help_popup.action_help_popup_form').id" />
<a t-attf-href="/report/html/help_popup.all_help/{{ o.id }}" class="btn btn-success btn-xs" title="Click to see documentation for the whole menu">
<span t-raw="o.get_main_menu().name"/> help</a>
<a t-attf-href="/web#id={{ o.id }}&amp;view_type=form&amp;model=ir.actions.act_window&amp;action={{ action_id }}" class="btn btn-danger btn-xs" title="Edit this documentation">Edit</a>
<br/>
</div>
<br/>
<div class="bg-warning" t-if="o.enduser_help_model or o.enduser_help">
<div class="oe_text_center label label-info">Internal</div>
<div t-if="o.enduser_help_model" t-raw="o.enduser_help_model"/>
<div t-if="o.enduser_help" t-raw="o.enduser_help"/>
<hr width="70%"/>
</div>
<div t-if="o.advanced_help_model or o.advanced_help">
<div class="oe_text_center label label-info" title="Odoo Community Association (OCA) maintains several modules with high quality level">Odoo Community</div>
<div t-if="o.advanced_help_model" t-raw="o.advanced_help_model"/>
<div t-if="o.advanced_help" t-raw="o.advanced_help"/>
<hr width="70%"/>
</div>
<div t-if="o.help">
<div class="oe_text_center label label-info" title="Help from Odoo editor">Odoo</div>
<div t-if="o.help" t-raw="o.help"/>
<hr width="70%"/>
</div>
<div>Use Ctrl + P to print this document</div>
</div>
<!--end foreach-->
</t>
</t>
</t>
</template>
</data>
</openerp>