Repository
OCA/sale-workflow · module folder · Try on Runboat
Module version
1.0
Category
Sale
Folder size
0.01 MB
License
LGPL-3
Application
No
Auto-installable
No
Website
http://www.creativiquadrati.it
Last tracking update
2026-08-07 06:56:10
Authors
Creativi Quadrati
Maintainers
Creativi Quadrati
Committers
Leonardo Donelli
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description
Sale Order Authorized Users
===========================
This module allows you to implement "secret" sale orders.
Users in the 'Sale / Secret orders' group will see a new field on sale orders,
"Allowed Users", that can be used to restrict access to that sale order to
selected users.

Details
-------
This acts as an **additional restriction**, access rules are still considered:
for example, an user in the "Own leads only" group won't be able to see
an order that it's not his, even if he's selected as allowed.

On the other hand, by setting some users as allowed, all other
users, even if they are "See all leads", won't be able to see the order.

*When you add allowed users to a sale order, unless you're connected as admin,
you must include yourself, or you won't be able make the change!*

If no users are set (the default), all users are considered as allowed,
so the sale order follows the "normal" access rules with no additional
restrictions.

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_order_form_allowed_users sale.order.form.allowed.users sale.order form Inherits sale.view_order_form
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (1)

New fields (0)

No new fields.

Public methods (0)

No public methods.