-
-
Notifications
You must be signed in to change notification settings - Fork 161
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
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
87ceddf
[ADD] lang
ccd1717
[FIX]
33cc3a6
[UPDATE] README
ef32418
[UPDATE] README and add project_project model.
60fcbbe
[UPDATE] multiple update
0ceec8e
[UPDATE]
d28cc19
[UPDATE] README
2b35350
[UPDATE] "Done tasks shouldn't be moved."
210a2a8
[UPDATE]
de0c765
[UPD] prefix versions with 8.0
sbidoul 8dde01f
Slovene translations added
sysadminmatmoz 6f8c3df
[MIG] Make modules uninstallable
pedrobaeza d3da768
[MIG] Rename manifest files
pedrobaeza b0610c4
Refactor using event_recalculate addon
antespi 6e21302
Bufixes in event to project sync
antespi 9b5e981
event_project: Cancel project when cancelling event
pedrobaeza 482f810
[MIG] event_project: Migration to 10.0
chienandalu 02495f3
[FIX] event_project: Fix tests + multi-record aware
pedrobaeza d475d8c
[10.0][FIX] event_project: project name (#92)
chienandalu 080d494
Translated using Weblate (Spanish)
DarioLodeiros 5ed7774
[MIG] event_project: Migration to 12.0
ernestotejeda 5a5c7bf
Apply suggestions from code review
ernestotejeda d1c97e2
Translated using Weblate (Spanish)
ruthbeat a54b2f6
[IMP] event_project: black, isort, prettier
5a0720e
[MIG] event_project: Migration to 14.0
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
from . import models |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 "" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
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