Demo video: Product's Cost Access
What it does
- By default, users who are authorized to view Products can see the Cost field on the Product form view.
- However, that information should not be shared to all users, because it also affects the pricing policy and business strategy of the Enterprise.
- The `to_product_standard_price_access` module will restrict users from accessing the product's Cost field.
Key Features
- This module creates a new access group named "Product Cost Access - Readonly", "Product Cost Access - Editable" and grants the group access to the field Cost on the product form & tree view.
- In other words, after installing this module, users that are granted into the group "Product Cost Access - Readonly" can see and readonly the Cost field on the product form & tree view. Users that are granted into the group "Product Cost Access - Editable" can see and edit the Cost field on the product form & tree view
Supported Editions
- Community Edition
- Enterprise Edition
Installation
- Navigate to Apps.
- Search with keyword to_product_standard_price_access.
- Press Install.
Instruction
Instruction video: Product's Cost Access
1. Configure Product Cost Access for a user in sales management.
Navigate to Settings ‣ Users & Companies ‣ Users, and select a user. From here, you can grant them access to view the product cost.
- Enabled: Allow user to see the product cost.
- Disabled: The user cannot see the product cost.
This permission is also applied to a product variant cost.
2. View product cost.
Example: A salesman who is not granted the Product Cost Access, when navigating to Sales ‣ Products ‣ Products and selecting a product, will see the following:
This software and associated files (the "Software") may only be
used
(executed, modified, executed after modifications) if you have
purchased a
valid license from the authors, typically via Odoo Apps,
or if you
have
received a written agreement from the authors of the
Software (see the
COPYRIGHT file).
You may develop Odoo modules that use the Software as a library
(typically
by depending on it, importing it and using its
resources), but
without
copying any source code or material from the
Software. You may distribute
those modules under the license of your
choice, provided that this
license
is compatible with the terms of
the Odoo Proprietary License (For
example:
LGPL, MIT, or proprietary
licenses similar to this one).
It is forbidden to publish, distribute, sublicense, or sell
copies of the
Software or modified copies of the Software.
Thông báo bản quyền và chấp thuận nêu trên buộc phải được bao gồm trong tất cả các bản sao hoặc các phần quan trọng của Phần mềm.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT
SHALL THE
AUTHORS OR COPYRIGHT HOLDERS
BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN
ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING
FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE
SOFTWARE.