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
회신
3443
화면
Inherits the class of the method,Rewriting method
관련 게시물 | 답글 | 화면 | 활동 | |
---|---|---|---|---|
|
2
5월 22
|
14247 | ||
|
2
4월 22
|
4372 | ||
|
1
7월 25
|
3768 | ||
|
10
12월 24
|
31494 | ||
|
1
11월 23
|
10293 |