CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
Give ids to respective button in
pos.xml so your discount button should look like
<button id="discount" class="mode-button" data-mode='discount'>Disc</button> after that in
NumpadWidget you can write a simple code to get the current login user and just show and hide the button as per user....
About This Community
Odoo Training Center
|Asked: 4/7/13, 8:19 AM|
|Seen: 3182 times|
|Last updated: 3/16/15, 8:10 AM|