[FIX]Fixed code for showing model name in title of process view.
bzr revid: kch@tinyerp.com-20111117065953-pqse8i6mxyptw6g5
This commit is contained in:
parent
b3ef9f9162
commit
9cf9849c4b
|
@ -7,9 +7,9 @@ openerp.web_process = function (openerp) {
|
|||
var self = this;
|
||||
this.process_check();
|
||||
this.process_help = this.action ? this.action.help : 'Help: Not Defined';
|
||||
if(this.model) this.process_model = this.model;
|
||||
else if(this.action) this.process_model = this.action.res_model;
|
||||
else this.process_model = this.dataset.model;
|
||||
this.model = this.dataset.model;
|
||||
if(this.action) this.process_model = this.action.res_model;
|
||||
else this.process_model = this.model;
|
||||
},
|
||||
process_check: function() {
|
||||
var self = this,
|
||||
|
|
Loading…
Reference in New Issue