blob: 43b16d93c3ec393cb00bb89a4b68996adf37bb92 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
odoo.define('pos_restaurant.EditBar', function(require) {
'use strict';
const PosComponent = require('point_of_sale.PosComponent');
const Registries = require('point_of_sale.Registries');
const { useState } = owl.hooks;
class EditBar extends PosComponent {
constructor() {
super(...arguments);
this.state = useState({ isColorPicker: false })
}
}
EditBar.template = 'EditBar';
Registries.Component.add(EditBar);
return EditBar;
});
|