[FIX] web: pager minimum on next/previous record

Since the deduplication of web addons (977db823c7),
patch 9062c01c02 (freshly forward-ported)
is now useless. Apply odoo/enterprise@26adf4fe2c couterpart.
This commit is contained in:
Christophe Simonis
2016-06-29 13:58:20 +02:00
parent 71530771ea
commit 2eebef8d41
@@ -820,7 +820,7 @@ var FieldX2Many = AbstractManyField.extend({
self.is_loaded = self.is_loaded.then(function() {
var view = self.get_active_view();
if (view.type === "list") {
view.controller.page = 0;
view.controller.current_min = 1;
return view.controller.reload_content();
} else if (view.controller.do_search) {
return view.controller.do_search(self.build_domain(), self.dataset.get_context(), []);