I'm trying to inherit web.Model in a JS file to call a function in a Python model but it keeps returning an error.
The error is "missing dependecies" on "web.Model", and I can see it only in the console of the browser.
odoo.define('na_MTC.screens', function (require){
"use strict";
var point_of_sale = require('point_of_sale.screens');
var core = require('web.ajax');
var Model = require('web.Model');