When tinkering with this a few months back, I thought I'd run across the steps (somewhere in this forum) to hide the "scrap product" (on various screens) from normal "users", and allow only "managers" to see it. Of course, now I can't find it after various search queries. Could someone point me in the right direction? Thank you.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- 客戶關係
- e-Commerce
- 會計
- 庫存
- PoS
- Project
- MRP
此問題已被標幟
1
回覆
4433
瀏覽次數
Hi,
You can hide field/button by providing group for the specific field/button. For hiding scrap products, you can do like following:
<button name="%(stock.move_scrap)d" string="Scrap Products" type="action" icon="terp-gtk-jump-to-ltr" context="{'scrap': True}" states="draft,waiting,confirmed,assigned" groups="group1"/>
| 相關帖文 | 回覆 | 瀏覽次數 | 活動 | |
|---|---|---|---|---|
|
|
2
5月 24
|
9734 | ||
|
|
1
6月 24
|
1747 | ||
|
|
2
11月 22
|
9452 | ||
|
|
5
9月 21
|
7560 | ||
|
|
1
9月 19
|
8192 |
use groups= in xml of the view.