Hello,
I've tried to inherit an owl JS class but it doesn't work. Is anyone know how to inherit it please?
class ActionMenus extends Component {...}
Best regards!
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hello,
I've tried to inherit an owl JS class but it doesn't work. Is anyone know how to inherit it please?
class ActionMenus extends Component {...}
Best regards!
Hi,
Can you try this code
odoo.define('custom_module.ActionMenus', function (require) {
"use strict";
const AbstractModel = require('web.AbstractModel');
const session = require('web.session');
const component = require('webb_model.Component');
const core = require('web.core');
const _t = core._t;
class ActionMenus extends component__load: function (params) { }}Regards
Создайте аккаунт сегодня, чтобы получить доступ к эксклюзивным функциям и стать частью нашего замечательного сообщества!
Регистрация| Похожие посты | Ответы | Просмотры | Активность | |
|---|---|---|---|---|
|
0
янв. 21
|
9876 | |||
|
2
окт. 21
|
6275 | |||
|
0
авг. 24
|
1542 | |||
|
1
авг. 23
|
4558 | |||
|
0
окт. 22
|
571 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.