Skip to content

Commit

Permalink
Merge PR #251 into 14.0
Browse files Browse the repository at this point in the history
Signed-off-by pedrobaeza
  • Loading branch information
OCA-git-bot committed Feb 7, 2022
2 parents 3fba6e1 + 5a0720e commit f59b3e6
Show file tree
Hide file tree
Showing 24 changed files with 1,100 additions and 1 deletion.
99 changes: 99 additions & 0 deletions event_project/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
=============
Event project
=============

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fevent-lightgray.png?logo=github
:target: https://github.com/OCA/event/tree/14.0/event_project
:alt: OCA/event
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/event-14-0/event-14-0-event_project
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
:target: https://runbot.odoo-community.org/runbot/199/14.0
:alt: Try me on Runbot

|badge1| |badge2| |badge3| |badge4| |badge5|

This module allows you to assign a project to an event. This project will
inherit its event's name an its due date will be set as the event's begining
date.

Change the event's begining date or its name so the project's due date and name
will be changed. And all the project pending tasks will be retro-planned
according to the new date.

**Table of contents**

.. contents::
:local:

Usage
=====

To use this module, you need to:

#. Create a project that will be a template project for events.
#. Go to an event or create a brand new one and assign the previous template
project.
#. After saving, the event will be related to a copy of the selected template
project and the new copy project will inherit the name of the event and will
fit its end date to the begging of the event.

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

Bugs are tracked on `GitHub Issues <https://github.com/OCA/event/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 <https://github.com/OCA/event/issues/new?body=module:%20event_project%0Aversion:%2014.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
~~~~~~~

* Tecnativa

Contributors
~~~~~~~~~~~~

* Endika Iglesias <endikaig@antiun.com>
* Javier Iniesta <javieria@antiun.com>
* `Tecnativa <https://www.tecnativa.com>`_:

* Pedro M. Baeza
* Rafael Blasco
* Antonio Espinosa
* David Vidal
* Ernesto Tejeda

Maintainers
~~~~~~~~~~~

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.

This module is part of the `OCA/event <https://github.com/OCA/event/tree/14.0/event_project>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
1 change: 1 addition & 0 deletions event_project/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
22 changes: 22 additions & 0 deletions event_project/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Copyright 2015 Antiun - Javier Iniesta
# Copyright 2015 Antiun - Endika Iglesias
# Copyright 2015 Tecnativa - Antonio Espinosa
# Copyright 2016 Tecnativa - Pedro M. Baeza
# Copyright 2017 Tecnativa - David Vidal
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
{
"name": "Event project",
"version": "14.0.1.0.0",
"author": "Tecnativa, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/event",
"license": "AGPL-3",
"category": "Event Management",
"depends": ["event", "project_recalculate"],
"data": [
"views/event_event_view.xml",
"views/project_project_view.xml",
"views/project_task_view.xml",
"security/ir.model.access.csv",
],
"installable": True,
}
114 changes: 114 additions & 0 deletions event_project/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,114 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * event_project
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 8.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-10-29 16:16+0000\n"
"PO-Revision-Date: 2020-03-08 15:13+0000\n"
"Last-Translator: Antonio Pérez Ruth <antonio.perez@makrin.es>\n"
"Language-Team: \n"
"Language: es\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 3.10\n"

#. module: event_project
#: model:ir.model,name:event_project.model_event_event
#: model_terms:ir.ui.view,arch_db:event_project.view_task_search_form
msgid "Event"
msgstr "Evento"

#. module: event_project
#: model:ir.model,name:event_project.model_project_project
msgid "Project"
msgstr "Proyecto"

#. module: event_project
#: model:ir.model.fields,help:event_project.field_event_event__project_id
msgid "Project end date will be updated with event start date."
msgstr ""
"La fecha fin del proyecto se actualizará con la fecha inicio del evento."

#. module: event_project
#: model:ir.model.fields,field_description:event_project.field_project_project__event_id
#: model:ir.model.fields,field_description:event_project.field_project_task__event_id
msgid "Related event"
msgstr "Evento relacionado"

#. module: event_project
#: model:ir.model.fields,field_description:event_project.field_event_event__project_id
msgid "Related project"
msgstr "Proyecto relacionado"

#. module: event_project
#: model:ir.model,name:event_project.model_project_task
msgid "Task"
msgstr "Tarea"

#. module: event_project
#: model:ir.model.fields,field_description:event_project.field_event_event__count_tasks
msgid "Task number"
msgstr "Número de Tarea"

#. module: event_project
#: model:ir.actions.act_window,name:event_project.act_event_task_list
#: model:ir.model.fields,field_description:event_project.field_event_event__task_ids
#: model_terms:ir.ui.view,arch_db:event_project.view_event_form
msgid "Tasks"
msgstr "Tareas"

#~ msgid "Cancel"
#~ msgstr "Cancelar"

#~ msgid "Create Project"
#~ msgstr "Crear proyecto"

#~ msgid "Created by"
#~ msgstr "Creado por"

#~ msgid "Created on"
#~ msgstr "Creado en"

#~ msgid "Event Details"
#~ msgstr "Detalles del evento"

#~ msgid "Event id"
#~ msgstr "ID del evento"

#~ msgid "ID"
#~ msgstr "ID"

#~ msgid "Last Updated by"
#~ msgstr "Última actualización por"

#~ msgid "Last Updated on"
#~ msgstr "Última actualización en"

#~ msgid "Project Task Work"
#~ msgstr "Trabajo de la tarea"

#~ msgid "Project Template Wizard"
#~ msgstr "Wizard de plantilla de proyecto"

#~ msgid "Select a project template"
#~ msgstr "Seleccionar una plantilla de proyecto"

#~ msgid "Set Project Template"
#~ msgstr "Asignar plantilla de proyecto"

#~ msgid "Template project"
#~ msgstr "Proyecto plantilla"

#~ msgid "Template project is required."
#~ msgstr "El proyecto plantilla es obligatorio."

#~ msgid "Works"
#~ msgstr "Trabajos"

#~ msgid "or"
#~ msgstr "o"
59 changes: 59 additions & 0 deletions event_project/i18n/event_project.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * event_project
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: <>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"

#. module: event_project
#: model:ir.model,name:event_project.model_event_event
#: model_terms:ir.ui.view,arch_db:event_project.view_task_search_form
msgid "Event"
msgstr ""

#. module: event_project
#: model:ir.model,name:event_project.model_project_project
msgid "Project"
msgstr ""

#. module: event_project
#: model:ir.model.fields,help:event_project.field_event_event__project_id
msgid "Project end date will be updated with event start date."
msgstr ""

#. module: event_project
#: model:ir.model.fields,field_description:event_project.field_project_project__event_id
#: model:ir.model.fields,field_description:event_project.field_project_task__event_id
msgid "Related event"
msgstr ""

#. module: event_project
#: model:ir.model.fields,field_description:event_project.field_event_event__project_id
msgid "Related project"
msgstr ""

#. module: event_project
#: model:ir.model,name:event_project.model_project_task
msgid "Task"
msgstr ""

#. module: event_project
#: model:ir.model.fields,field_description:event_project.field_event_event__count_tasks
msgid "Task number"
msgstr ""

#. module: event_project
#: model:ir.actions.act_window,name:event_project.act_event_task_list
#: model:ir.model.fields,field_description:event_project.field_event_event__task_ids
#: model_terms:ir.ui.view,arch_db:event_project.view_event_form
msgid "Tasks"
msgstr ""

73 changes: 73 additions & 0 deletions event_project/i18n/sl.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * event_project
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 8.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-05-09 11:24+0000\n"
"PO-Revision-Date: 2015-10-12 06:20+0200\n"
"Last-Translator: Matjaz Mozetic <m.mozetic@matmoz.si>\n"
"Language-Team: \n"
"Language: sl\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: \n"
"X-Generator: Poedit 1.8.5\n"

#. module: event_project
#: model:ir.model,name:event_project.model_event_event
#: model_terms:ir.ui.view,arch_db:event_project.view_task_search_form
msgid "Event"
msgstr "Dogodek"

#. module: event_project
#: model:ir.model,name:event_project.model_project_project
msgid "Project"
msgstr ""

#. module: event_project
#: model:ir.model.fields,help:event_project.field_event_event__project_id
msgid "Project end date will be updated with event start date."
msgstr ""

#. module: event_project
#: model:ir.model.fields,field_description:event_project.field_project_project__event_id
#: model:ir.model.fields,field_description:event_project.field_project_task__event_id
#, fuzzy
msgid "Related event"
msgstr "Povezani projekt"

#. module: event_project
#: model:ir.model.fields,field_description:event_project.field_event_event__project_id
msgid "Related project"
msgstr "Povezani projekt"

#. module: event_project
#: model:ir.model,name:event_project.model_project_task
msgid "Task"
msgstr "Opravilo"

#. module: event_project
#: model:ir.model.fields,field_description:event_project.field_event_event__count_tasks
msgid "Task number"
msgstr ""

#. module: event_project
#: model:ir.actions.act_window,name:event_project.act_event_task_list
#: model:ir.model.fields,field_description:event_project.field_event_event__task_ids
#: model_terms:ir.ui.view,arch_db:event_project.view_event_form
#, fuzzy
msgid "Tasks"
msgstr "Opravilo"

#~ msgid "Event anticipation days"
#~ msgstr "Dni pred dogodkom"

#~ msgid "Previous day to event date begin"
#~ msgstr "Dni pred začetkom dogodka"

#~ msgid "Template project"
#~ msgstr "Predloga projekta"
3 changes: 3 additions & 0 deletions event_project/models/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from . import event_event
from . import project_project
from . import project_task

0 comments on commit f59b3e6

Please sign in to comment.