[FIX] web: pager minimum on next/previous record
Since the deduplication of web addons (977db823c7), patch9062c01c02(freshly forward-ported) is now useless. Apply odoo/enterprise@26adf4fe2c couterpart.
This commit is contained in:
@@ -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(), []);
|
||||
|
||||
Reference in New Issue
Block a user