Download presentation
Presentation is loading. Please wait.
Published byCybrosys Technologies Modified over 7 years ago
1
www.cybrosys.com HOW TO CONFIGURE PYCHARM FOR ODOO DEVELOPMENT IN WINDOWS?
2
INTRODUCTION Installing Odoo in windows is the really easy task. We can do it by just running the ‘.exe’ file. But for development purposes, this method is not preferred. Pycharm is an IDE which can be used for Odoo development in Windows, Linux, and mac. In this blog, we will discuss setting up Odoo development environment in windows using pycharm.
3
These are the steps we need to follow :- 1. Download and install python 2.7 from here https://www.python.org/downloads/release/python-2713/ based on your system architecture.
4
2. After installing python, we need to install Microsoft Visual C++ compiler. Go to this link https://www.microsoft.com/en-us/download/details.aspx?id=44266 Download and install it.
5
3. Download PostgreSQL and configure. https://www.enterprisedb.com/downloads/postgres-postgresql-downloads#windows
6
Here you can see, you can add as many as users under Users tab so that only that users can view Inventory.
7
Security mechanisms in Odoo Aside from manually managing access using custom code, Odoo provides two main data-driven mechanisms to manage or restrict access to data. Both mechanisms are linked to specific users through groups: a user belongs to any number of groups, and security mechanisms are associated with groups, thus applying security mechanisms to users.
8
Access Control In Odoo, views and menus are restricted to a user due to access right permission. Only admin has right to view all records. Access right permission is managed by creating an ir.model.access.csv file.
9
This file can a) Grant permission like read, write, update, and delete to a model. b) Can assign groups. If no group is assigned access right is applicable for all users. Else applicable only for users in that particular group Access controls are additive, for example, if the user belongs to one group which allows writing and another which allows deleting, they can both write and delete.
10
Access rights
11
To Create Access Control List in Odoo without custom code below is the process The Access control lists determine the general permissions (read, write, create, delete) on each object. By default, the superuser has all permissions on all objects.
12
If admin provide right to users then Go to Settings > Technical > Security > Access Controls List Record Rules Record rules are conditions that records must satisfy for an operation (create, read, update or delete) to be allowed. It is applied record-by-record after access control has been applied.
13
A record rule has a model a set of permissions to which it applies a set of user groups to which the rule applies, if no group is specified the rule is global a domain used to check whether a given record matches the rule (and is accessible) or does not (and is not accessible).
15
Field Access:- The field can have groups attribute providing a list of groups. If the current user is not in listed groups, he will not have access to the field. <button name=”toggle_active” type=”object” groups=”hr.group_hr_user” <field name=”company_id” group=”base.group_multi_company”
16
Workflow Transition rules Workflow transitions can be restricted to a particular user. Go to- Settings -> Workflow -> Transitions
17
A Transition has: - Source Activity: which specify starting state of transition - Destination Activity: which specify ending state of transition - Signal(Button Name): which specify activity name - Condition: which is used to check if workflow instance progresses through the transition or not - Group Required: which specify the group.
19
Refer this link for more: https://www.cybrosys.com/blog/security-in-odoo
20
Thank You ! Cybrosys Technologies Pvt. Ltd. Neospace, Kinfra Techno Park, Kakkancherry, Calicut University P.O. Calicut Kerala, India - 673635. Cybrosys Ltd 15, ST Antonys Road, Forest Gate, London England, E79QA. Cybrosys Technologies Pvt. Ltd. 1st Floor, Thapasya Building, Infopark, Kakkanad, Kochi, Kerala, India-682030.
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.