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
- Comptabilitat
- Inventari
- PoS
- Project
- MRP
This question has been flagged
1
Respondre
4413
Vistes
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"/>
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Registrar-se| Related Posts | Respostes | Vistes | Activitat | |
|---|---|---|---|---|
|
|
2
de maig 24
|
9690 | ||
|
|
1
de juny 24
|
1724 | ||
|
|
2
de nov. 22
|
9429 | ||
|
|
5
de set. 21
|
7523 | ||
|
|
1
de set. 19
|
8170 |
use groups= in xml of the view.