I want to use web.rpc on my JS to manipulate display on pivot table, but it get error like unmet dependencies. I use like this
var rpc = require('web.rpc');
but that get error on odoo 17, and I want to use that for rpc.query. Any alternative or solution with that approach ?