Merge lp:~openerp-dev/openerp-web/trunk-journal-dashboard-tpa into lp:openerp-web

Proposed by ajay javiya (OpenERP)
Status: Work in progress
Proposed branch: lp:~openerp-dev/openerp-web/trunk-journal-dashboard-tpa
Merge into: lp:openerp-web
Diff against target: 24 lines (+6/-1)
1 file modified
addons/web_kanban/static/src/js/kanban.js (+6/-1)
To merge this branch: bzr merge lp:~openerp-dev/openerp-web/trunk-journal-dashboard-tpa
Reviewer Review Type Date Requested Status
OpenERP Core Team Pending
Review via email: mp+163271@code.launchpad.net

Description of the change

Hello,
 Return do_reload method of kanban to overwrite reload method.
 Issue:
  If we open a wizard from link on kanban record and then close that wizard ,kanban record is not reload.
Thank You.

To post a comment you must log in.
3737. By ajay javiya (OpenERP)

[IMP]: Return to overwrite do_reload method

3738. By Turkesh Patel (openERP)

[MRG] merge with lp:openerp-web

3739. By Turkesh Patel (openERP)

[IMP] improved code to bind click action in help

3740. By Turkesh Patel (openERP)

[MRG] merge with lp:openerp-web

3741. By Turkesh Patel (openERP)

[MRG] merge with lp:openerp-web

3742. By Turkesh Patel (openERP)

[MRG] merge with lp:openerp-web

3743. By Turkesh Patel (openERP)

[MRG] merge with lp:openobject-addons

3744. By Turkesh Patel (openERP)

[MRG] merge with lp:openobject-addons

3745. By Turkesh Patel (openERP)

[MRG] merge with lp:openerp-web

3746. By Turkesh Patel (openERP)

[MRG] merge with lp:openerp-web

3747. By Turkesh Patel (openERP)

[MRG] merge with lp:openerp-web

3748. By Turkesh Patel (openERP)

[MRG] merge with lp:openerp-web

3749. By Turkesh Patel (openERP)

[MRG] merge with lp:openerp-web

3750. By Turkesh Patel (openERP)

[MRG] merge with lp:openerp-web

3751. By Turkesh Patel (openERP)

[MRG] merge with lp:openerp-web

3752. By Turkesh Patel (openERP)

[MRG] merge with lp:openerp-web

3753. By Turkesh Patel (openERP)

[MRG] merge with lp:openoerp-web

3754. By Turkesh Patel (openERP)

[MRG] merge with lp:openerp-web

3755. By Turkesh Patel (openERP)

[MRG] merge with lp:openobject-addons

3756. By Turkesh Patel (openERP)

[MRG] merge with lp:openerp-web

3757. By Thibault Delavallée (OpenERP)

[MERGE] Sync with upstream

3758. By Chirag Dodiya(OpenERP)

[MRG]Merge with trunk

3759. By Chirag Dodiya(OpenERP)

[MRG]Merge with lp:openerp-web

Unmerged revisions

3759. By Chirag Dodiya(OpenERP)

[MRG]Merge with lp:openerp-web

3758. By Chirag Dodiya(OpenERP)

[MRG]Merge with trunk

3757. By Thibault Delavallée (OpenERP)

[MERGE] Sync with upstream

3756. By Turkesh Patel (openERP)

[MRG] merge with lp:openerp-web

3755. By Turkesh Patel (openERP)

[MRG] merge with lp:openobject-addons

3754. By Turkesh Patel (openERP)

[MRG] merge with lp:openerp-web

3753. By Turkesh Patel (openERP)

[MRG] merge with lp:openoerp-web

3752. By Turkesh Patel (openERP)

[MRG] merge with lp:openerp-web

3751. By Turkesh Patel (openERP)

[MRG] merge with lp:openerp-web

3750. By Turkesh Patel (openERP)

[MRG] merge with lp:openerp-web

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'addons/web_kanban/static/src/js/kanban.js'
2--- addons/web_kanban/static/src/js/kanban.js 2014-01-31 00:52:02 +0000
3+++ addons/web_kanban/static/src/js/kanban.js 2014-03-10 05:15:15 +0000
4@@ -499,6 +499,11 @@
5 this.last_position = this.$el.find('table:first').css("position");
6 this.$el.find('table:first').css("position", "absolute");
7 $(QWeb.render('KanbanView.nocontent', { content : this.options.action.get_empty_list_help || this.options.action.help})).insertAfter(this.$('table:first'));
8+ this.$el.find('.oe_view_nocontent a').click(function(ev) {
9+ if ($(ev.target).attr('type')) {
10+ self.do_execute_action({type: $(ev.target).attr('type'),'name':$(ev.target).attr('name')}, self.dataset);
11+ }
12+ });
13 this.$el.find('.oe_view_nocontent').click(function() {
14 self.$buttons.openerpBounce();
15 });
16@@ -1063,7 +1068,7 @@
17 },
18 do_reload: function() {
19 var self = this;
20- this.view.dataset.read_ids([this.id], this.view.fields_keys.concat(['__last_update'])).done(function(records) {
21+ return this.view.dataset.read_ids([this.id], this.view.fields_keys.concat(['__last_update'])).done(function(records) {
22 _.each(self.sub_widgets, function(el) {
23 el.destroy();
24 });