Skip to content

Commit

Permalink
[11.0][MIG] project_description
Browse files Browse the repository at this point in the history
  • Loading branch information
emagdalenaC2i committed Oct 9, 2018
1 parent 7e4192f commit 9cedfe7
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 31 deletions.
29 changes: 16 additions & 13 deletions project_description/README.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
:target: https://www.gnu.org/licenses/agpl
:alt: License: AGPL-3

===================
Expand All @@ -14,37 +14,40 @@ Usage

To set a description for a project, you need to:

* Go to *Project > Project > Projects*.
* Edit or create one.
* You will see a new *Description* tab, with an HTML area to set the project's
description.
#. Go to *Project > Project > Projects*.
#. Edit or create one.
#. You will see a new *Description* tab, with an HTML area to set the project's description.

.. figure:: static/description/image.png
:alt: Project form with the description tab

To search for a project by its description, you need to:

* Go to *Project > Project > Projects*.
* Enter any word in the search box.
* Select *Search Description*.
#. Go to *Project > Project > Projects*.
#. Enter any word in the search box.
#. Select *Search Description*.

.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
:alt: Try me on Runbot
:target: https://runbot.odoo-community.org/runbot/140/10.0
:target: https://runbot.odoo-community.org/runbot/140/11.0

Bug Tracker
===========

Bugs are tracked on `GitHub Issues
<https://github.com/OCA/project/issues>`_. In case of trouble, please
check there if your issue has already been reported. If you spotted it first,
help us smashing it by providing a detailed and welcomed feedback.
help us smash it by providing detailed and welcomed feedback.

Credits
=======

Contributors
------------

* Rafael Blasco <rafael.blasco@tecnativa.com>
* Jairo Llopis <jairo.llopis@tecnativa.com>
* Tecnativa (https://www.tecnativa.com): Rafael Blasco <rafael.blasco@tecnativa.com>
* Tecnativa (https://www.tecnativa.com): Jairo Llopis <jairo.llopis@tecnativa.com>
* C2i Change 2 improve (http://close2circle.com): Eduardo Magdalena <emagdalena@c2i.es>

Maintainer
----------
Expand Down
4 changes: 0 additions & 4 deletions project_description/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1 @@
# -*- coding: utf-8 -*-
# © 2015 Antiun Ingeniería S.L. - Jairo Llopis
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

from . import models
13 changes: 6 additions & 7 deletions project_description/__manifest__.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
# -*- coding: utf-8 -*-
# Copyright 2015-2016 Jairo Llopis <jairo.llopis@tecnativa.com>
# Copyright 2015-2017 Tecnativa - Jairo Llopis <jairo.llopis@tecnativa.com>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

{
"name": "Project Description",
"summary": "Add a description to projects",
"version": "10.0.1.0.0",
"category": "Project Management",
"website": "https://www.tecnativa.com",
"author": "Antiun Ingeniería S.L., "
"Tecnativa, "
"version": "11.0.1.0.0",
"category": "Project",
"website": "https://github.com/OCA/project",
"author": "Tecnativa, "
"C2i Change 2 improve, "
"Odoo Community Association (OCA)",
"license": "AGPL-3",
"depends": [
Expand Down
4 changes: 0 additions & 4 deletions project_description/models/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1 @@
# -*- coding: utf-8 -*-
# © 2015 Antiun Ingeniería S.L. - Jairo Llopis
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

from . import project
3 changes: 1 addition & 2 deletions project_description/models/project.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-
# © 2015 Antiun Ingeniería S.L. - Jairo Llopis
# Copyright 2015-2017 Tecnativa - Jairo Llopis <jairo.llopis@tecnativa.com>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

from odoo import fields, models
Expand Down
Binary file added project_description/static/description/image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion project_description/views/project_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<field name="model">project.project</field>
<field name="inherit_id" ref="project.edit_project"/>
<field name="arch" type="xml">
<xpath expr="//group[@name='misc']/.." position="before">
<xpath expr="//page[@name='settings']" position="before">
<page name="description_page" string="Description">
<field name="description"/>
</page>
Expand Down

0 comments on commit 9cedfe7

Please sign in to comment.