[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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user