Odoo permission: odoo permission

Source: Internet
Author: User

Odoo permission: odoo permission

<Record id = "group_lm_apply" model = "res. groups"> <-- id is the permission group id, which can be called elsewhere. The model points to res. groups, which has the res_groups table in the database and contains the relevant information -->
<Field name = "name"> business department </field>
<Field name = "category_id" ref = "legalmanagement. module_category_legal_sample"/> <-- category_id specifies the application (module) to which the Group belongs -->
<Field name = "implied_ids" eval = "[(4, ref ('legalmanagement. group_lm_sample ')]"/> <-- see -->
<Field name = "comment"> lm apply </field>

Eval Parsing
(4,ID)Add a master-slave link to an object with id = ID.


(3,ID)Removes the master-slave link between the object and id = ID, but does not delete the object.


(2,ID)Remove the master-slave link between the object and id = ID, and delete the object (call the unlink method)


(5)Remove all links, that is, loop all Slave Data and call (3, ID)


(6,0,[IDs])Replace the original link record with the record in IDs, that is, execute(5)Recycling IDs execution(4,ID)


Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.