How to use the web.Model function in web

To help you get started, we’ve selected a few web examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github ingadhoc / odoo-support / web_support_client / static / src / js / web_support_client.js View on Github external
on_menu_service_portal: function() {
            new Model("res.users")
                .call("get_signup_url")
                .then(function (url) {
                    window.open(url, '_blank');
                });
            // window.open('https://www.adhoc.com.ar/doc/how-to', '_blank');
        },
        on_menu_help_and_doc: function() {

web

A small and fast web/http library for nodejs. (replaces the built-in http module)

MIT
Latest version published 11 years ago

Package Health Score

45 / 100
Full package analysis