Using o-spreadsheet features and functions is done using the same import module as if it was installed from npm. Additionaly, by adding the library as dev dependency in package.json[1], IDEs can now leverage Typescript types for autocomplete and type checking. The "alpha" release tag is always the lastest master version. [1] enable web tooling `addons/web/tooling/enable.sh` ;) closes odoo/odoo#115972 Related: odoo/enterprise#38471 Signed-off-by: Rémi Rahir (rar) <rar@odoo.com>
6 lines
122 B
JavaScript
6 lines
122 B
JavaScript
/** @odoo-module */
|
|
|
|
import { Registry } from "@odoo/o-spreadsheet";
|
|
|
|
export const initCallbackRegistry = new Registry();
|