Mayur Maheshwari(OpenERP) has proposed merging 
lp:~openerp-dev/openobject-addons/trunk-opw-573631-port-mma into 
lp:openobject-addons.

Requested reviews:
  OpenERP Core Team (openerp)

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-opw-573631-port-mma/+merge/132239

Hello 

      I have fixed the issue of context not pass in share wizard, due to the 
string of wizard title never comes language specific.


opw number => 573631


Thanks,
Mayur
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-opw-573631-port-mma/+merge/132239
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/trunk-opw-573631-port-mma.
=== modified file 'share/static/src/js/share.js'
--- share/static/src/js/share.js	2012-10-15 13:33:34 +0000
+++ share/static/src/js/share.js	2012-10-31 06:16:22 +0000
@@ -15,17 +15,17 @@
         self.rpc('/web/session/eval_domain_and_context', {
             domains: [domain],
             contexts: [view.dataset.context]
-        }).then(function (result) {
+        }).then(function (results) {
             Share.create({
                 name: action.name,
                 record_name: rec_name,
-                domain: result.domain,
+                domain: results.domain,
                 action_id: action.id,
                 user_type: user_type || 'embedded',
                 view_type: view.fields_view.type,
                 invite: invite || false,
             }).then(function(share_id) {
-                var step1 = Share.call('go_step_1', [[share_id]]).then(function(result) {
+                var step1 = Share.call('go_step_1', [[share_id], results.context]).then(function(result) {
                     var action = result;
                     self.do_action(action);
                 });

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to