Browse Source

[FIX] mis_builder: avoid calling compute twice in widget

pull/296/head
Cédric Pigeon 8 years ago
parent
commit
35aafbba1c
  1. 1
      mis_builder/static/src/js/mis_builder.js

1
mis_builder/static/src/js/mis_builder.js

@ -26,7 +26,6 @@ openerp.mis_builder = function(instance) {
self.mis_report_instance_id = self.getParent().datarecord.id self.mis_report_instance_id = self.getParent().datarecord.id
if (self.mis_report_instance_id) { if (self.mis_report_instance_id) {
self.getParent().dataset.context['no_destroy'] = true; self.getParent().dataset.context['no_destroy'] = true;
self.generate_content();
} else { } else {
self.display_settings(); self.display_settings();
} }

Loading…
Cancel
Save