It was impossible to read or edit structure profiles from the portal. Solved with: - the add of a dependency to "partner_contact_in_several_companies" add-on - the modification of a security rule to consider the structure public profile
42 lines
1.3 KiB
Python
42 lines
1.3 KiB
Python
# Copyright 2022 Stéphan Sainléger (Elabore)
|
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
|
|
|
{
|
|
"name": "partner_profiles_portal",
|
|
"version": "12.0.1.0.1",
|
|
"author": "Elabore",
|
|
"website": "https://elabore.coop",
|
|
"maintainer": "Stéphan Sainléger",
|
|
"license": "AGPL-3",
|
|
"category": "Tools",
|
|
"summary": "Provide portal pages and forms to manage partner's profiles from portal home space.",
|
|
# any module necessary for this one to work correctly
|
|
"depends": [
|
|
"base",
|
|
"partner_contact_in_several_companies",
|
|
"partner_profiles",
|
|
"portal",
|
|
"website",
|
|
],
|
|
"qweb": [],
|
|
"external_dependencies": {
|
|
"python": [],
|
|
},
|
|
# always loaded
|
|
"data": [
|
|
"security/members_security.xml",
|
|
"views/portal_home_template.xml",
|
|
"views/portal_my_profiles_template.xml",
|
|
"views/portal_partner_profile_template.xml",
|
|
"views/res_partner_view.xml",
|
|
],
|
|
# only loaded in demonstration mode
|
|
"demo": [],
|
|
"js": [],
|
|
"css": [],
|
|
"installable": True,
|
|
# Install this module automatically if all dependency have been previously
|
|
# and independently installed. Used for synergetic or glue modules.
|
|
"auto_install": False,
|
|
"application": False,
|
|
} |