summaryrefslogtreecommitdiff
path: root/addons/process/static/src/xml/process.xml
diff options
context:
space:
mode:
authorVidhin Mehta (OpenERP) <vme@tinyerp.com>2012-09-10 15:38:41 +0530
committerVidhin Mehta (OpenERP) <vme@tinyerp.com>2012-09-10 15:38:41 +0530
commit714391a8f207623eeb486beb8042bb433e9538ee (patch)
tree5e99e4a0714a36a52b32df82c740562263bc7178 /addons/process/static/src/xml/process.xml
parent4fc67d7a5d7d8bbd6180cc717c0f267c5ec0e1c1 (diff)
parent585dce207d2b883f5a1fdf8ec3c7041686e20f1b (diff)
[MERGE]trunk.
bzr revid: vme@tinyerp.com-20120910100841-vr6yr7uo9wqs0eu7
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..b1a39aa6ce8
--- /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"/> (<t t-esc="action.res_model"/>)</span>
+ </h2>
+ </div>
+ </div>
+ </div>
+ </td>
+ </tr>
+ <tr>
+ <td style="padding-left:10px;">
+ <p><t t-esc="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>