[IMP] project: show share button edit mode
Before this commit: share button inside project was displayed only in readonly mode. After this commit: share button inside project will be displayed in edit mode as well. task-2513815 closes odoo/odoo#70441 Signed-off-by: Simon Genin (ges@odoo) <ges@odoo.com>
This commit is contained in:
@@ -237,7 +237,7 @@
|
||||
<field name="arch" type="xml">
|
||||
<form string="Project" delete="0">
|
||||
<header>
|
||||
<button name="%(portal.portal_share_action)d" string="Share" type="action" class="oe_highlight oe_read_only" groups="project.group_project_manager"
|
||||
<button name="%(portal.portal_share_action)d" string="Share" type="action" class="oe_highlight" groups="project.group_project_manager"
|
||||
attrs="{'invisible': [('privacy_visibility', '!=', 'portal')]}"/>
|
||||
</header>
|
||||
<sheet string="Project">
|
||||
|
||||
Reference in New Issue
Block a user