[REF] mrp_subcontracting: update move list view to owl

It now uses the new owl code, instead of the legacy list view, which
will be removed in the future.

closes odoo/odoo#96595

Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
This commit is contained in:
Géry Debongnie
2022-07-28 01:30:17 +02:00
parent a0186bd4c4
commit 613b6343a9
@@ -1,12 +1,11 @@
/** @odoo-module**/
/** @odoo-module **/
import ListView from 'web.ListView';
import viewRegistry from 'web.view_registry';
import { registry } from "@web/core/registry";
import { listView } from "@web/views/list/list_view";
const MoveListView = ListView.extend({
const MoveListView = {
...listView,
searchMenuTypes: [],
});
};
viewRegistry.add('subcontracting_portal_move_list_view', MoveListView);
export default MoveListView;
registry.category("views").add('subcontracting_portal_move_list_view', MoveListView);