<?xml version="1.0" ?>
<openerp>
<data>
<record model="ir.module.category" id="module_lunch_category">
<field name="name">Lunch</field>
<field name="description">Helps you handle your lunch needs, if you are a manager you will be able to create new products, cashmoves and to confirm or cancel orders.</field>
<field name="sequence">16</field>
</record>
<record id="group_lunch_user" model="res.groups">
<field name="name">User</field>
<field name="category_id" ref="module_lunch_category"/>
</record>
<record id="group_lunch_manager" model="res.groups">
<field name="name">Manager</field>
<field name="implied_ids" eval="[(4, ref('group_lunch_user'))]"/>
<field name="category_id" ref="module_lunch_category"/>
<field name="users" eval="[(4, ref('base.user_root'))]"/>
</record>
</data>
</openerp>
私は今、自分のアプリケーションへのセキュリティ処理で立ち往生しています.そのコードはここに表示されます
上記のxmlコードを明確にするために、ドキュメントも参照します。しかし、ドキュメンテーションでバージョン 7 の適切な説明が得られません。以下のセクションを明確にする必要があります。それについて明確な考えを得るために私にアドバイスしてください
説明してください
ir.module.category は?
<record model="ir.module.category" id="module_lunch_category">
model="res.groups" とは?
<record id="group_lunch_user" model="res.groups">
下の行全体を明確にする必要があります
<field name="implied_ids" eval="[(4, ref('group_lunch_user'))]"/>