Revert removing bemade_open_project_details
This commit is contained in:
parent
358844bddb
commit
034c653378
3 changed files with 59 additions and 0 deletions
0
bemade_open_project_details/__init__.py
Normal file
0
bemade_open_project_details/__init__.py
Normal file
39
bemade_open_project_details/__manifest__.py
Normal file
39
bemade_open_project_details/__manifest__.py
Normal file
|
|
@ -0,0 +1,39 @@
|
||||||
|
#
|
||||||
|
# Bemade Inc.
|
||||||
|
#
|
||||||
|
# Copyright (C) June 2023 Bemade Inc. (<https://www.bemade.org>).
|
||||||
|
# Author: mdurepos (Contact : it@bemade.org)
|
||||||
|
#
|
||||||
|
# This program is under the terms of the Odoo Proprietary License v1.0 (OPL-1)
|
||||||
|
# It is forbidden to publish, distribute, sublicense, or sell copies of the Software
|
||||||
|
# or modified copies of the Software.
|
||||||
|
#
|
||||||
|
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
||||||
|
# IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
|
||||||
|
# DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
||||||
|
# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||||
|
# DEALINGS IN THE SOFTWARE.
|
||||||
|
#
|
||||||
|
{
|
||||||
|
'name': 'Open Project Details',
|
||||||
|
'version': '17.0.0.0.1',
|
||||||
|
'summary': 'Open Project Details',
|
||||||
|
'description': """
|
||||||
|
This module adds the ability to view project details from the project form view.
|
||||||
|
""",
|
||||||
|
'category': 'Project',
|
||||||
|
'author': 'Bemade Inc.',
|
||||||
|
'website': 'https://www.bemade.org',
|
||||||
|
'license': 'OPL-1',
|
||||||
|
'depends': [
|
||||||
|
'project',
|
||||||
|
],
|
||||||
|
'data': [
|
||||||
|
# 'views/project_project_views.xml'
|
||||||
|
],
|
||||||
|
'demo': [],
|
||||||
|
'installable': True,
|
||||||
|
'auto_install': False,
|
||||||
|
}
|
||||||
20
bemade_open_project_details/views/project_project_views.xml
Normal file
20
bemade_open_project_details/views/project_project_views.xml
Normal file
|
|
@ -0,0 +1,20 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<odoo>
|
||||||
|
<data>
|
||||||
|
<!-- Héritage de la vue Kanban des projets -->
|
||||||
|
<record id="project_view_project_kanban_inherit" model="ir.ui.view">
|
||||||
|
<field name="name">project.view.project.kanban.inherit</field>
|
||||||
|
<field name="model">project.project</field>
|
||||||
|
<field name="inherit_id" ref="project.view_project_kanban"/>
|
||||||
|
<field name="arch" type="xml">
|
||||||
|
<!-- Modification de la visibilité de la gestion des paramètres pour tous les utilisateurs -->
|
||||||
|
<div class="o_kanban_card_manage_settings row" groups="project.group_project_manager" position="attributes">
|
||||||
|
<attribute name="groups">base.group_user</attribute>
|
||||||
|
</div>
|
||||||
|
<xpath expr="//a[@name='action_view_kanban_project'][@type='edit']" position="replace">
|
||||||
|
<a class="dropdown-item" role="menuitem" type="open" name="action_view_kanban_project">Open</a>
|
||||||
|
</xpath>
|
||||||
|
</field>
|
||||||
|
</record>
|
||||||
|
</data>
|
||||||
|
</odoo>
|
||||||
Loading…
Reference in a new issue