2011-09-13 08:54:34 +00:00
|
|
|
<template>
|
2011-12-07 16:31:31 +00:00
|
|
|
<!-- vim:fdl=1:
|
|
|
|
-->
|
2011-09-28 08:47:39 +00:00
|
|
|
<t t-extend="ViewManager" t-name="ViewManagerAction">
|
2011-11-16 13:34:58 +00:00
|
|
|
<t t-jquery=".oe-view-manager-header" t-operation="append">
|
2012-06-27 14:12:49 +00:00
|
|
|
<a t-if="self.flags.display_title !== false" class="oe_process" title="Process View" href="javascript: void(0)"></a>
|
2011-09-28 08:47:39 +00:00
|
|
|
</t>
|
|
|
|
</t>
|
|
|
|
<t t-name="ProcessView">
|
|
|
|
<table class="view" border="0" width="100%" height="100%" cellpadding="0" cellspacing="0">
|
|
|
|
<tr>
|
|
|
|
<td width="75%" valign="top" class="fields collapsed" style="padding-top:10px;">
|
|
|
|
<h1 class="process_h1">
|
|
|
|
<t t-esc="action.name"/> (<t t-esc="model"/>)
|
|
|
|
</h1>
|
|
|
|
<p class="process-links">
|
2011-12-30 11:50:12 +00:00
|
|
|
<a class="cta-a" target="_blank" href="http://doc.openerp.com/">
|
2011-09-28 08:47:39 +00:00
|
|
|
<span>
|
|
|
|
<strong>Documentation</strong>
|
|
|
|
Read Documentation Online
|
|
|
|
</span>
|
|
|
|
</a>
|
|
|
|
<a class="cta-a" target="_blank" href="http://www.openerp.com/forum/">
|
|
|
|
<span>
|
|
|
|
<strong>Forum</strong>
|
|
|
|
Community Discussion
|
|
|
|
</span>
|
|
|
|
</a>
|
2011-12-30 11:50:12 +00:00
|
|
|
<a class="cta-a" target="_blank" href="http://www.openerp.com/catalog/150">
|
2011-09-28 08:47:39 +00:00
|
|
|
<span>
|
|
|
|
<strong>Books</strong>
|
2011-12-30 11:50:12 +00:00
|
|
|
Get the books
|
2011-09-28 08:47:39 +00:00
|
|
|
</span>
|
|
|
|
</a>
|
2011-12-30 11:50:12 +00:00
|
|
|
<a class="cta-a" target="_blank" href="http://www.openerp.com/catalog">
|
2011-09-28 08:47:39 +00:00
|
|
|
<span>
|
2011-12-30 11:50:12 +00:00
|
|
|
<strong>OpenERP Enterprise</strong>
|
|
|
|
Purchase OpenERP Enterprise
|
2011-09-28 08:47:39 +00:00
|
|
|
</span>
|
|
|
|
</a>
|
|
|
|
</p>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>
|
|
|
|
<p><t t-esc="process_help"/></p>
|
|
|
|
</td>
|
|
|
|
</tr>
|
2011-09-30 08:00:00 +00:00
|
|
|
<tr>
|
|
|
|
<td>
|
|
|
|
<h2>
|
|
|
|
<t t-esc="process_title"/> Process
|
|
|
|
</h2>
|
|
|
|
<t t-if="process_notes">
|
|
|
|
<p>
|
|
|
|
<strong>Notes:</strong> <t t-esc="process_notes"/>
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
<strong>Last modified by:</strong> N/A
|
|
|
|
</p>
|
2011-11-16 13:34:58 +00:00
|
|
|
<t t-if="process_subflows.length">
|
2011-09-30 08:00:00 +00:00
|
|
|
<strong>Subflows:</strong>
|
2011-11-16 13:34:58 +00:00
|
|
|
|
2011-09-30 08:00:00 +00:00
|
|
|
<t t-foreach="process_subflows" t-as="subflow">
|
|
|
|
<t t-if="subflow.subflow[0] != process_id">
|
|
|
|
<p>
|
|
|
|
<a class="process_subflow" t-att-id="subflow.subflow[0]" href="javascript: void(0)">
|
|
|
|
<t t-esc="subflow.subflow[1]"/>
|
|
|
|
</a>
|
|
|
|
</p>
|
|
|
|
</t>
|
|
|
|
</t>
|
|
|
|
</t>
|
2011-11-16 13:34:58 +00:00
|
|
|
<t t-if="process_related.length and process_related[0][0] != process_id">
|
2011-09-30 08:00:00 +00:00
|
|
|
<strong>Related:</strong>
|
|
|
|
<p>
|
|
|
|
<a class="process_subflow" t-att-id="process_related[0][0]" href="javascript: void(0)">
|
|
|
|
<t t-esc="process_related[0][1]"/>
|
|
|
|
</a>
|
|
|
|
</p>
|
|
|
|
</t>
|
|
|
|
</t>
|
|
|
|
</td>
|
|
|
|
</tr>
|
2011-09-29 11:01:45 +00:00
|
|
|
<tr t-if="process_selection">
|
2011-09-28 08:47:39 +00:00
|
|
|
<td>
|
|
|
|
<fieldset>
|
|
|
|
<legend>
|
|
|
|
Select Process
|
|
|
|
</legend>
|
|
|
|
<select id="select_process">
|
2011-09-29 11:01:45 +00:00
|
|
|
<t t-foreach="process_selection" t-as="prc">
|
2011-09-28 08:47:39 +00:00
|
|
|
<option t-att-value="prc[0]">
|
|
|
|
<t t-esc="prc[1]"/>
|
|
|
|
</option>
|
|
|
|
</t>
|
|
|
|
</select>
|
2011-12-20 11:55:00 +00:00
|
|
|
<button class="oe_button" id="change_process">Select</button>
|
2011-09-28 08:47:39 +00:00
|
|
|
</fieldset>
|
|
|
|
</td>
|
|
|
|
</tr>
|
2011-09-29 06:15:53 +00:00
|
|
|
<tr t-if="process_id">
|
2011-09-28 08:47:39 +00:00
|
|
|
<td>
|
|
|
|
<div id="process_canvas" style="overflow: auto;"></div>
|
|
|
|
</td>
|
|
|
|
</tr>
|
2011-09-29 06:15:53 +00:00
|
|
|
<tr t-if="process_id">
|
|
|
|
<td>
|
2011-12-20 11:55:00 +00:00
|
|
|
<button class="oe_button" id="edit_process">Edit Process</button>
|
2011-09-29 06:15:53 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
2011-09-28 08:47:39 +00:00
|
|
|
</table>
|
|
|
|
</t>
|
2011-12-07 16:31:31 +00:00
|
|
|
</template>
|