[FIX] point_of_sale,web: stupid amend before merge
Introduced by 07bf7bf4f3.
This commit is contained in:
@@ -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'));
|
||||
|
||||
Reference in New Issue
Block a user