TIP: You can type at any time to perform a new search.
Sale Order Authorized Users
sale_order_authorized_users · OCA/sale-workflow
Security findings
Migration considerations
- Imports from the old `openerp.osv` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- For a target of Odoo 10.0+: use the `__manifest__.py` manifest name instead of `__openerp__.py`. The filename alone does not establish module age or compatibility. migration-openerp-manifest · source
sale_order— Class 'sale_order' still inherits from the old-style `orm.Model` API: rewrite it against `models.Model`/`models.TransientModel`/`models.AbstractModel` - the old `osv`/`orm` API was removed entirely in modern Odoo. migration-old-api-base · sourcesale_order— Class 'sale_order' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · source
Migration review checklist, not a compatibility verdict. No target version is selected: apply version-specific advice only when migrating to that version or later.
- 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 ID | Name | Model | Type | Status |
|---|---|---|---|---|
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.