[FIX] point_of_sale,web: stupid amend before merge

Introduced by 07bf7bf4f3.
This commit is contained in:
Nicolas Lempereur
2017-01-06 14:24:59 +01:00
parent 07bf7bf4f3
commit 4cec6fa77e
2 changed files with 0 additions and 2 deletions
-1
View File
@@ -908,6 +908,5 @@ class ReportSaleDetails(models.AbstractModel):
def render_html(self, docids, data=None):
data = dict(data or {})
configs = self.env['pos.config'].browse(data['config_ids'])
print(data['config_ids'])
data.update(self.get_sale_details(data['date_start'], data['date_stop'], configs))
return self.env['report'].render('point_of_sale.report_saledetails', data)
@@ -426,7 +426,6 @@ var FieldCharDomain = common.AbstractField.extend(common.ReinitializeFieldMixin,
this.do_warn(_t('Error: Bad domain'), _t('The domain is wrong.'));
return;
}
debugger; // EAADD
var ds = new data.DataSetStatic(self, model, self.build_context());
ds.call('search_count', [domain]).then(function (results) {
self.$('.o_count').text(results + _t(' selected records'));