[IMP] portal demo data and some of the module's comments
bzr revid: abo@openerp.com-20120725094645-89dxrmdy4t684219
This commit is contained in:
parent
3d9d9b77c9
commit
0b6fc4f280
|
@ -26,11 +26,12 @@
|
||||||
'author' : "OpenERP SA",
|
'author' : "OpenERP SA",
|
||||||
'category': 'Portal',
|
'category': 'Portal',
|
||||||
'description': """
|
'description': """
|
||||||
Customize acces to your OpenERP database to external users by creating portals.
|
Customize access to your OpenERP database to external users by creating portals.
|
||||||
|
|
||||||
A portal defines a specific user menu and access rights for its members. This
|
A portal defines a specific user menu and access rights for its members. This
|
||||||
menu can ben seen by portal members, anonymous users and any other user that
|
menu can ben seen by portal members, anonymous users and any other user that
|
||||||
have the access to technical features (e.g. the administrator).
|
have the access to technical features (e.g. the administrator).
|
||||||
|
Also, each portal member is linked to a specific partner.
|
||||||
|
|
||||||
The module also associates user groups to the portal users (adding a group in
|
The module also associates user groups to the portal users (adding a group in
|
||||||
the portal automatically adds it to the portal users, etc). That feature is
|
the portal automatically adds it to the portal users, etc). That feature is
|
||||||
|
|
|
@ -131,7 +131,7 @@ portal()
|
||||||
|
|
||||||
class portal_override_menu(osv.osv):
|
class portal_override_menu(osv.osv):
|
||||||
"""
|
"""
|
||||||
extend res.portal with a boolean field 'Override Users Menu', that
|
Extend res.portal with a boolean field 'Override Users Menu', that
|
||||||
triggers the creation or removal of menu_action_id
|
triggers the creation or removal of menu_action_id
|
||||||
"""
|
"""
|
||||||
_name = 'res.portal'
|
_name = 'res.portal'
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -2,10 +2,10 @@
|
||||||
<openerp>
|
<openerp>
|
||||||
<data noupdate="1">
|
<data noupdate="1">
|
||||||
|
|
||||||
<!-- Don't use any implied_ids here; this group behavior is particular -->
|
<!-- Don't use any implied_ids here; this group's behavior is particular -->
|
||||||
<record id="group_portal_member" model="res.groups">
|
<record id="group_portal_member" model="res.groups">
|
||||||
<field name="name">Portal Member</field>
|
<field name="name">Portal Member</field>
|
||||||
<field name="comment">Portal members can access information provided by the portal menu and the others module it's linked with. Also, portal members are chrooted in a specific menu.</field>
|
<field name="comment">Portal members can access information through the portal menu. Also, they are chrooted in this specific menu.</field>
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
<record id="module_category_portal" model="ir.module.category">
|
<record id="module_category_portal" model="ir.module.category">
|
||||||
|
|
Loading…
Reference in New Issue