Browse Source

[FIX] add active_id to url

pull/135/head
Ivan Yelizariev 10 years ago
parent
commit
b6bf0e5cdb
  1. 2
      web_last_viewed_records/static/src/js/main.js

2
web_last_viewed_records/static/src/js/main.js

@ -129,6 +129,8 @@ openerp.web_last_viewed_records = function(instance){
}
if (view_type=='form' && !url['id'])
return false;
if (act.context && act.context.active_id)
url['active_id'] = act.context.active_id;
var last_viewed_item = {
'title': title,
'url': url,

Loading…
Cancel
Save