How to restrict the users to edit only the product attributes for non owned products in odoo/openerp? Can this be achieved through record rules or coding?
Access control in odoo/openerp
228 views Asked by baka92 At
2
There are 2 answers
0
Hussain
On
You have facility to restrict the control for accessing records. In security folder create ir.model.access -- csv file.. and give like this
id name model_id:id group_id:id perm_read perm_write perm_create perm_unlink
access_control_admin model.name model_model_name group_admin 1 1 1 1
access_control_user model.name model_model_name group_user 1 1 1 0
access_control_manager model.name model_model_name group_manager 1 1 1 0
Related Questions in PYTHON-2.7
- Telnet function in Python
- symbol not found in flat namespace '__PyTrash_begin
- Python 2.7 requirements won't install without virtualenv
- Python search for the errors in the JSON
- spectrogram for a .cdf file
- SSL Error and InsecurePlatformWarning when installing packages using pip on Python 2.7
- Canonical way to ensure float point division across py2 and py3?
- Unable to execute Python Script directly
- Pip from Python 2.7.10 installed via pyenv-win cannot install any packages
- Arcpy: Python stops ExportToPDF through list after some iterations
- Python2 unable to pickle string
- Reading Excelsheets using openpyxl and Python
- How can I store a function in an array in python?
- " 'Word2Vec' object has no attribute 'load_parent_word2vec_format' " error
- How to execute a nodejs function from the python code?
Related Questions in ODOO
- odoo : look for method I click on button "add line" in tree view
- Odoo live chat not working when using apache reverse proxy
- Odoo: How to set import template default for model
- record doesn't exist error when creating a new record
- Odoo Window action apply multiple filters
- Comparing value from a foreign key in Odoo
- How can i print my invoice report from a server action
- Changing journal_id in account.move default_get Method Not Reflecting in UI
- Odoo synchronization with Google agenda
- Call JS function from XML
- Migrate javascript V12 in V17
- Odoo 16 ir.actions.report qweb-pdf pass data via POST method
- How to migrate from Odoo 15 to Odoo 16 using odoo.upgrade?
- i cannot enter the http://localhost:8069/web/ odoo 16
- Odoo Custom Module - First Steps failed by model_id
Related Questions in OPENERP-8
- How do I call a method in ir.rule domain in Odoo?
- How can I get static account, partner and other values in odoo 10?
- How to update external_id for partners/companies and Where is default external_id is generating in odoo?
- How do I use res.partner ORM to create a Partner Registration functionality
- Filter out previously selected assets from employee view in Odoo 11
- Odoo 8: Many2One from computed value
- How to upgrade wkhtmltopdf 0.12.2.4 in odoo using ubuntu?
- Odoo v.8 I like seeing sale orders of which i am follower
- Record Rules for many2one field in odoo
- Writing values to datetime field in odoo
- Creating block objects by assigning values to many2many field
- Odoo Email is 'Outbox' state. But mail is not received by the receiver
- addition of months to date in Odoo 8
- how to check if a specefic attribut does exist in odoo DB?
- Overriding Many2many add an item button. Odoo
Related Questions in ODOO-8
- odoo show product in many2one from the same id
- How to display value of another fields of related field in Odoo form views
- how to automatically add ir.cron schedule jobs in calendar view in odoo?
- I got error can't adapt type NewId when I cave a new document in odoo
- I have error can't adapt type 'NewId' error in odoo
- Translate Odoo website content using Gettext PO file
- odoo 8 update field other table
- Odoo amount_to_text not working correctly with 4 decimal places
- Compatibility of Alternative Biometric Devices (e.g., ZKteco uFace800 plus) with Odoo 15 Module for Attendance Integration
- odoo 8 upgrade module from command line
- odoo 8 inherit from inherit view
- how inherited with odoo I want to modify the type of consultation as on this code but I don't want to touch the source file
- odoo8 Field year selection with today year as default
- odoo 8 make button invisible from compute result
- how to print several products on the same page with odoo
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Inherit the write method of the model and give it a raise when your condition (in this case the not owned products) is met. This way the user will receive a warning message and they cannot save the changed values.