Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
4427 Vizualizări

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.

Imagine profil
Abandonează

use groups= in xml of the view.

Cel mai bun răspuns

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"/>
Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
2
mai 24
9709
1
iun. 24
1736
2
nov. 22
9441
5
sept. 21
7531
1
sept. 19
8176