Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[14.0][MIG] event_project: Migration to 14.0 #251

Merged
merged 26 commits into from
Feb 7, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
cf63129
[ADD] Add new addon event_project
May 9, 2015
87ceddf
[ADD] lang
May 9, 2015
ccd1717
[FIX]
May 11, 2015
33cc3a6
[UPDATE] README
May 11, 2015
ef32418
[UPDATE] README and add project_project model.
May 11, 2015
60fcbbe
[UPDATE] multiple update
May 13, 2015
0ceec8e
[UPDATE]
May 14, 2015
d28cc19
[UPDATE] README
May 14, 2015
2b35350
[UPDATE] "Done tasks shouldn't be moved."
May 14, 2015
210a2a8
[UPDATE]
May 14, 2015
de0c765
[UPD] prefix versions with 8.0
sbidoul Oct 9, 2015
8dde01f
Slovene translations added
sysadminmatmoz Oct 12, 2015
6f8c3df
[MIG] Make modules uninstallable
pedrobaeza Oct 14, 2015
d3da768
[MIG] Rename manifest files
pedrobaeza Oct 6, 2016
b0610c4
Refactor using event_recalculate addon
antespi Jul 13, 2015
6e21302
Bufixes in event to project sync
antespi Dec 2, 2015
9b5e981
event_project: Cancel project when cancelling event
pedrobaeza May 28, 2016
482f810
[MIG] event_project: Migration to 10.0
chienandalu Jun 23, 2017
02495f3
[FIX] event_project: Fix tests + multi-record aware
pedrobaeza Aug 15, 2017
d475d8c
[10.0][FIX] event_project: project name (#92)
chienandalu Oct 10, 2017
080d494
Translated using Weblate (Spanish)
DarioLodeiros Oct 1, 2018
5ed7774
[MIG] event_project: Migration to 12.0
ernestotejeda May 22, 2019
5a5c7bf
Apply suggestions from code review
ernestotejeda Jun 7, 2019
d1c97e2
Translated using Weblate (Spanish)
ruthbeat Mar 8, 2020
a54b2f6
[IMP] event_project: black, isort, prettier
Jan 7, 2022
5a0720e
[MIG] event_project: Migration to 14.0
Jan 8, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This isn't working in my test

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
Loading