Dear all,
I want to override a method in a parent class in JavaScript:
/** @odoo-module */
import { Product } from '@sale_product_configurator/js/product/product';
Product.include({
/**
* @override
*/
setQuantity() {
console.log('zzzzz');
},
});
TypeError: Product.include is not a function
Help me please. Than you very much.