[FIX] share: form view should share current record only

Version bumped to force web addons updates

bzr revid: odo@openerp.com-20110505165530-jnfglbocvzku6rkb
This commit is contained in:
Olivier Dony
2011-05-05 18:55:30 +02:00
parent 6d512bb2da
commit 7928a00024
2 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -22,7 +22,7 @@
{
"name" : "Sharing Tools",
"version" : "1.3.1",
"version" : "1.3.2",
"depends" : ["base"],
"author" : "OpenERP SA",
"category": 'Generic Modules',
+3 -1
View File
@@ -33,7 +33,9 @@ class ShareActionEditor(openobject.templating.TemplateEditor):
domain: jQuery("#_terp_domain").val(),
view_id: jQuery("#_terp_view_id").val(),
action_id: jQuery("#_terp_action_id").val(),
search_domain: jQuery("#_terp_search_domain").val(),
search_domain: jQuery("#_terp_view_type").val() == "form" ?
("[('id','=',"+jQuery("#_terp_id").val()+")]") :
jQuery("#_terp_search_domain").val(),
}));
});
});