Skip to content

Commit

Permalink
[MIG] project_description: Migration to 12.0
Browse files Browse the repository at this point in the history
  • Loading branch information
emagdalenaC2i committed Oct 9, 2018
1 parent 9cedfe7 commit 7035230
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 4 deletions.
2 changes: 1 addition & 1 deletion project_description/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ To search for a project by its description, you need to:

.. 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/11.0
:target: https://runbot.odoo-community.org/runbot/140/12.0

Bug Tracker
===========
Expand Down
2 changes: 1 addition & 1 deletion project_description/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
{
"name": "Project Description",
"summary": "Add a description to projects",
"version": "11.0.1.0.0",
"version": "12.0.1.0.0",
"category": "Project",
"website": "https://github.com/OCA/project",
"author": "Tecnativa, "
Expand Down
3 changes: 3 additions & 0 deletions project_description/readme/CONTRIBUTORS.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
* Rafael Blasco <rafael.blasco@tecnativa.com> (Tecnativa https://www.tecnativa.com)
* Jairo Llopis <jairo.llopis@tecnativa.com> (Tecnativa https://www.tecnativa.com)
* Eduardo Magdalena <emagdalena@c2i.es> (C2i Change 2 improve http://www.c2i.es)
2 changes: 2 additions & 0 deletions project_description/readme/DESCRIPTION.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
This module extends the functionality of projects to support setting a
description for each project and allow you to search by that description.
14 changes: 14 additions & 0 deletions project_description/readme/USAGE.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
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.

.. figure:: https://raw.githubusercontent.com/OCA/project/12.0/project_description/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*.
4 changes: 2 additions & 2 deletions project_description/views/project_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@
<field name="model">project.project</field>
<field name="inherit_id" ref="project.view_project_project_filter"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='name']" position="after">
<field name="name" position="after">
<field name="description"/>
</xpath>
</field>
</field>
</record>

Expand Down

0 comments on commit 7035230

Please sign in to comment.