Can anyone give me minimal code so that any method I can override for JS method? in pos odoo
changeMode(mode) { if (!this.hasPriceControlRights && mode === 'price' ) { return; } if (!this.hasManualDiscount && mode === 'discount') { return; } this.trigger('set-numpad-mode', { mode }); }
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- 会計
- 在庫
- PoS
- Project
- MRP
この質問にフラグが付けられました
1
返信
3369
ビュー
Inherits the class of the method,Rewriting method
関連投稿 | 返信 | ビュー | 活動 | |
---|---|---|---|---|
|
2
5月 22
|
14155 | ||
|
2
4月 22
|
4281 | ||
|
1
7月 25
|
3651 | ||
|
10
12月 24
|
31302 | ||
|
1
11月 23
|
10204 |