2026-09-25 18:00:58 +05:30

25 lines
1.1 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<!-- Library Category -->
<record model="res.groups.privilege" id="module_category_education_library">
<field name="name">Library Management</field>
<field name="description">Helps you manage your educational library.</field>
</record>
<!-- Library User / Librarian -->
<record id="group_library_user" model="res.groups">
<field name="name">Library User / Librarian</field>
<field name="privilege_id" ref="module_category_education_library"/>
<field name="implied_ids" eval="[(4, ref('base.group_user'))]"/>
<field name="comment">Can manage daily operations (issues, returns, members).</field>
</record>
<!-- Library Manager -->
<record id="group_library_manager" model="res.groups">
<field name="name">Library Manager</field>
<field name="privilege_id" ref="module_category_education_library"/>
<field name="implied_ids" eval="[(4, ref('group_library_user'))]"/>
<field name="comment">Full access to library settings and configurations.</field>
</record>
</odoo>