I want to create groups when installing my module:
<record id="bdt_group_dpc" model="res.groups">
<field name="name">Users: DPC</field>
<field name="category_id" eval="bdt_category_department"/>
Then I can add access rights:
<record id="bdt_access_bdd_res_partner_currency" model="ir.model.access">
<field name="name">res partner currency</field>
<field name="model_id" ref="request_project.model_res_partner_currency"/>
<field name="group_id" eval="bdt_group_bdd"/>
But I don't know how to add rows in inherited tab.
It is used implied_ids, but this is defined in an object (that inherits from res_groups) without field _name and it's in the table res_groups_implied_ids, but I don't know how to add anything there.
Actually my problem is with all many2many fields. I don't know how to access the relation table.
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 10/24/14, 5:59 AM|
|Seen: 790 times|
|Last updated: 3/16/15, 8:10 AM|