[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:
@@ -22,7 +22,7 @@
|
||||
|
||||
{
|
||||
"name" : "Sharing Tools",
|
||||
"version" : "1.3.1",
|
||||
"version" : "1.3.2",
|
||||
"depends" : ["base"],
|
||||
"author" : "OpenERP SA",
|
||||
"category": 'Generic Modules',
|
||||
|
||||
@@ -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(),
|
||||
}));
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user