how can control access to specific documents, like Vendor Bills, based on the user's roles and access rights. To achieve your requirement of allowing the first accountant to see only bills and the second accountant to see only expenses?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Comptabilité
- Inventaire
- PoS
- Project
- MRP
Cette question a été signalée
Hi,
To control access to specific documents like Vendor Bills in Odoo based on user roles and access rights, you can utilize Odoo's security features, including access groups and record rules:
Go to Settings > Technical > Security > Record Rules.
Create new record rules.For vendor bills:
Model: account.move
Apply the following domain to restrict access to the bills created by the user
[('move_type', '=', 'in_invoice'), ('create_uid', '=', user.id)]
Action: Read
Hope it helps
i have 2 accounts i want the first account see the vendor bill and the second accountant just to see expenses can you help me with the rule
thank you
when i apply this code work but when i add a group not work how to solve it?
Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !
Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !
S'inscrirePublications associées | Réponses | Vues | Activité | |
---|---|---|---|---|
|
2
août 25
|
1173 | ||
|
2
août 25
|
1088 | ||
|
1
août 25
|
262 | ||
|
2
août 25
|
225 | ||
|
3
août 25
|
835 |