Browse Source

[FIX] mis_builder: avoid calling compute twice in widget

pull/189/head
Stéphane Bidoul 9 years ago
parent
commit
4dd0aec548
  1. 1
      mis_builder/static/src/js/mis_builder.js

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

@ -37,7 +37,6 @@ var MisReport = form_common.FormWidget.extend({
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