diff options
| author | Antony Lesuisse <al@openerp.com> | 2012-07-21 22:11:23 +0200 |
|---|---|---|
| committer | Antony Lesuisse <al@openerp.com> | 2012-07-21 22:11:23 +0200 |
| commit | 3611d585b3e75b895f52868c75d8b213cc39e831 (patch) | |
| tree | f722f19b8c756e2f212a35fb551d1971b3aa4169 /addons/web_process/static/src | |
| parent | 43fb6b3ee39999fd55a045a961372691b8926e58 (diff) | |
| parent | 1f515f7e6fdd18319ccc99380f4cba3b75ee1dd5 (diff) | |
[MERGE] trunk
bzr revid: al@openerp.com-20120721201123-3824izt73xvmk9vl
Diffstat (limited to 'addons/web_process/static/src')
| -rw-r--r-- | addons/web_process/static/src/css/process.css | 2 | ||||
| -rw-r--r-- | addons/web_process/static/src/js/process.js | 4 | ||||
| -rw-r--r-- | addons/web_process/static/src/xml/web_process.xml | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/addons/web_process/static/src/css/process.css b/addons/web_process/static/src/css/process.css index 728450fb921..dde01f26ea5 100644 --- a/addons/web_process/static/src/css/process.css +++ b/addons/web_process/static/src/css/process.css @@ -50,7 +50,7 @@ a.cta-a strong { display: table-cell; } -.oe-process-view { +.oe_process { height: 20px; margin-top:8px; padding: 0; diff --git a/addons/web_process/static/src/js/process.js b/addons/web_process/static/src/js/process.js index 272513919b4..bb32d300be8 100644 --- a/addons/web_process/static/src/js/process.js +++ b/addons/web_process/static/src/js/process.js @@ -14,7 +14,7 @@ openerp.web_process = function (instance) { var self = this, grandparent = this.getParent() && this.getParent().getParent(), view = this.views[this.views_src[0].view_type], - $process_view = this.$element.find('.oe-process-view'); + $process_view = this.$element.find('.oe_process'); if (!(grandparent instanceof instance.web.WebClient) || !(view.view_type === this.views_src[0].view_type && view.view_id === this.views_src[0].view_id)) { @@ -260,7 +260,7 @@ openerp.web_process = function (instance) { buttons : [ {text: _t("Cancel"), click: function() { $(this).dialog('destroy'); }}, {text: _t("Save"), click: function() { - var form_view = action_manager.inner_viewmanager.views.form.controller; + var form_view = action_manager.inner_widget.views.form.controller; form_view.do_save(function() { self.initialize_process_view(); diff --git a/addons/web_process/static/src/xml/web_process.xml b/addons/web_process/static/src/xml/web_process.xml index d6d2e73715b..7bf2ba1d93b 100644 --- a/addons/web_process/static/src/xml/web_process.xml +++ b/addons/web_process/static/src/xml/web_process.xml @@ -3,7 +3,7 @@ --> <t t-extend="ViewManager" t-name="ViewManagerAction"> <t t-jquery=".oe-view-manager-header" t-operation="append"> - <a t-if="self.flags.display_title !== false" class="oe-process-view" title="Process View" href="javascript: void(0)"></a> + <a t-if="self.flags.display_title !== false" class="oe_process" title="Process View" href="javascript: void(0)"></a> </t> </t> <t t-name="ProcessView"> |
