summaryrefslogtreecommitdiff
path: root/addons/process/static/src/xml/process.xml
diff options
context:
space:
mode:
authorCedric Snauwaert <csn@openerp.com>2012-11-19 16:45:51 +0100
committerCedric Snauwaert <csn@openerp.com>2012-11-19 16:45:51 +0100
commit7e193e691cba10cb0f297de47bfd53ef27665768 (patch)
tree0dc14e23a09aaa6921cc4aa03aa0aee33249d2ed /addons/process/static/src/xml/process.xml
parent2ebf9e89fad0729b85bb8844e575ad2149bd9a1b (diff)
parentd9d127403b71d3fd401d3baf37b522b20ba89278 (diff)
[MERGE]merge with latest addons
bzr revid: csn@openerp.com-20121119154551-y8uizex6hu7fu1eo
Diffstat (limited to 'addons/process/static/src/xml/process.xml')
-rw-r--r--addons/process/static/src/xml/process.xml93
1 files changed, 93 insertions, 0 deletions
diff --git a/addons/process/static/src/xml/process.xml b/addons/process/static/src/xml/process.xml
new file mode 100644
index 00000000000..d6229b686f3
--- /dev/null
+++ b/addons/process/static/src/xml/process.xml
@@ -0,0 +1,93 @@
+<template>
+<!-- vim:fdl=1:
+-->
+<t t-extend="ViewManagerAction">
+ <t t-jquery="h2.oe_view_title" t-operation="after">
+ <t t-if="widget.session.debug &amp;&amp; widget.flags.display_title !== false">
+ <a class="oe_process" title="Process View" href="javascript: void(0)"></a>
+ </t>
+ </t>
+</t>
+<t t-name="process.ProcessView">
+ <table class="view" border="0" width="auto" height="auto" cellpadding="0" cellspacing="0">
+ <tr>
+ <td width="70%" valign="top" class="fields collapsed">
+ <div class="oe_view_manager oe_view_manager_current">
+ <div class="oe_view_manager_header" style="padding: 8px;">
+ <div class="oe_header_row">
+ <h2 class="oe_view_title">
+ <span class="oe_view_title_text oe_breadcrumb_title"><t t-esc="action.name"/> (<a t-attf-href="http://doc.openerp.com/v6.1/index.php?model=#{action.res_model}"><t t-esc="action.res_model"/></a>)</span>
+ </h2>
+ </div>
+ </div>
+ </div>
+ </td>
+ </tr>
+ <tr>
+ <td style="padding-left:10px;">
+ <p><t t-raw="process_help"/></p>
+ </td>
+ </tr>
+ <tr>
+ <td style="padding-left:10px;">
+ <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>
+ <t t-if="process_subflows.length">
+ <strong>Subflows:</strong>
+ <t t-foreach="process_subflows" t-as="subflow">
+ <t t-if="subflow.subflow[0] != process_id">
+ <p>
+ <a class="oe_bold process_subflow" t-att-id="subflow.subflow[0]" href="javascript: void(0)">
+ <t t-esc="subflow.subflow[1]"/>
+ </a>
+ </p>
+ </t>
+ </t>
+ </t>
+ <t t-if="process_related.length and process_related[0][0] != process_id">
+ <strong>Related:</strong>
+ <p>
+ <a class="oe_bold 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>
+ <tr t-if="process_selection">
+ <td style="padding-left:10px;">
+ <fieldset>
+ <legend>
+ Select Process
+ </legend>
+ <select id="select_process">
+ <t t-foreach="process_selection" t-as="prc">
+ <option t-att-value="prc[0]">
+ <t t-esc="prc[1]"/>
+ </option>
+ </t>
+ </select>
+ <button class="oe_button oe_highlight" id="change_process">Select</button>
+ </fieldset>
+ </td>
+ </tr>
+ <tr t-if="process_id">
+ <td>
+ <div class="process_canvas"></div>
+ </td>
+ </tr>
+ <tr t-if="process_id">
+ <td style="padding-left:10px;">
+ <button class="oe_button oe_highlight" id="edit_process">Edit Process</button>
+ </td>
+ </tr>
+ </table>
+</t>
+</template>