看看odoo如何使用owl
/** @odoo-module **/ import { startWebClient } from "./start"; import { WebClient } from "./webclient/webclient"; /** * This file starts the webclient. It is in its own file to allow its replacement * in enterprise. The enterprise version of the file uses its own webclient import, * which is a subclass of the above Webclient. */ startWebClient(WebClient);
main.js就这一行代码,去了哪里,并且说,
此文件将启动webclient。它在自己的文件中,在企业版允许替换它。该文件的企业版使用自己的webclient导入,它是上述Webclient的子类。
通过查看webclient是个什么
/** @odoo-module **/ import { ActionContainer } from "./actions/action_container"; import { NavBar } from "./navbar/navbar"; import { useBus, useEffect, useService } from "