Merge lp:~openerp-dev/openobject-addons/trunk-opw-573631-port-mma into lp:openobject-addons

Proposed by Mayur Maheshwari(OpenERP)
Status: Needs review
Proposed branch: lp:~openerp-dev/openobject-addons/trunk-opw-573631-port-mma
Merge into: lp:openobject-addons
Diff against target: 24 lines (+3/-3)
1 file modified
share/static/src/js/share.js (+3/-3)
To merge this branch: bzr merge lp:~openerp-dev/openobject-addons/trunk-opw-573631-port-mma
Reviewer Review Type Date Requested Status
Purnendu Singh (OpenERP) (community) Approve
Review via email: mp+132239@code.launchpad.net

Description of the change

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

To post a comment you must log in.
Revision history for this message
Purnendu Singh (OpenERP) (purnendu-singh) wrote :

Seems ok for the wizard header.

Thanks,
purnendu Singh

review: Approve

Unmerged revisions

7899. By Mayur Maheshwari(OpenERP)

[FIX]share : Fixed the issue of context not pass in share wizard

7898. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

7897. By Olivier Dony (Odoo)

[FIX] account: currency_id must be passed to the chart installation wizard

Otherwise the installation of a chart of account
via the settings page fails miserably.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'share/static/src/js/share.js'
2--- share/static/src/js/share.js 2012-10-15 13:33:34 +0000
3+++ share/static/src/js/share.js 2012-10-31 06:16:22 +0000
4@@ -15,17 +15,17 @@
5 self.rpc('/web/session/eval_domain_and_context', {
6 domains: [domain],
7 contexts: [view.dataset.context]
8- }).then(function (result) {
9+ }).then(function (results) {
10 Share.create({
11 name: action.name,
12 record_name: rec_name,
13- domain: result.domain,
14+ domain: results.domain,
15 action_id: action.id,
16 user_type: user_type || 'embedded',
17 view_type: view.fields_view.type,
18 invite: invite || false,
19 }).then(function(share_id) {
20- var step1 = Share.call('go_step_1', [[share_id]]).then(function(result) {
21+ var step1 = Share.call('go_step_1', [[share_id], results.context]).then(function(result) {
22 var action = result;
23 self.do_action(action);
24 });

Subscribers

People subscribed via source and target branches

to all changes: