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:
- CRM
- e-Commerce
- Akuntansi
- Inventaris
- PoS
- Project
- MRP
Pertanyaan ini telah diberikan tanda
1
Balas
4421
Tampilan
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"/>
Menikmati diskusi? Jangan hanya membaca, ikuti!
Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!
Daftar| Post Terkait | Replies | Tampilan | Aktivitas | |
|---|---|---|---|---|
|
Manage visibility of products to user groups
Diselesaikan
|
|
2
Mei 24
|
9697 | |
|
|
1
Jun 24
|
1733 | ||
|
|
2
Nov 22
|
9438 | ||
|
How to hide some fields based product category ?
Diselesaikan
|
|
5
Sep 21
|
7525 | |
|
|
1
Sep 19
|
8173 |
use groups= in xml of the view.