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

[16.0][MIG]project_task_recurring_activity: migration to 16.0 #1323

Open
wants to merge 9 commits into
base: 16.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
101 changes: 101 additions & 0 deletions project_task_recurring_activity/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
===============================
Project Task Recurring Activity
===============================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:a3bfe23bed7c7175a529bed6611a8b9f0ba5e63fb9aaaf9676341d1d8f2a2245
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |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%2Fproject-lightgray.png?logo=github
:target: https://github.com/OCA/project/tree/16.0/project_task_recurring_activity
:alt: OCA/project
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/project-16-0/project-16-0-project_task_recurring_activity
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/project&target_branch=16.0
:alt: Try me on Runboat

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

This module allow users to add activities to the recurring tasks and have them automatically duplicated within recurring tasks at set intervals.

**Table of contents**

.. contents::
:local:

Configuration
=============

#.Enable recurring task in config settings

Usage
=====

Open recurring task.

#. In tab "Recurrence", user can set the activites that should be created each time the task is duplicated.
#. For testing purposes, a button "Create next recurring task" is visible in developer mode to check how next task will be created.

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 to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/project/issues/new?body=module:%20project_task_recurring_activity%0Aversion:%2016.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
~~~~~~~

* Cetmix

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

* Cetmix <https://cetmix.com>
* Dessan Hemrayev <[email protected]>

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.

.. |maintainer-dessanhemrayev| image:: https://github.com/dessanhemrayev.png?size=40px
:target: https://github.com/dessanhemrayev
:alt: dessanhemrayev
.. |maintainer-CetmixGitDrone| image:: https://github.com/CetmixGitDrone.png?size=40px
:target: https://github.com/CetmixGitDrone
:alt: CetmixGitDrone

Current `maintainers <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-dessanhemrayev| |maintainer-CetmixGitDrone|

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

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
3 changes: 3 additions & 0 deletions project_task_recurring_activity/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

from . import models
18 changes: 18 additions & 0 deletions project_task_recurring_activity/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"name": "Project Task Recurring Activity",
"summary": """Project Task Recurring Activity""",
"author": "Cetmix, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/project",
"category": "Project Management",
"version": "16.0.1.0.0",
"license": "AGPL-3",
"depends": ["project"],
"data": [
"security/ir.model.access.csv",
"views/recurring_activity.xml",
"views/project_task.xml",
"data/recurring_activity.xml",
],
"application": False,
"maintainers": ["dessanhemrayev", "CetmixGitDrone"],
}
15 changes: 15 additions & 0 deletions project_task_recurring_activity/data/recurring_activity.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo noupdate="1">
<record id="ir_cron_recurring_activities" model="ir.cron">
<field name="name">Project: Create Recurring Activities</field>
<field name="model_id" ref="model_recurring_activity" />
<field name="state">code</field>
<field name="code">model._cron_create_activities()</field>
<field name="interval_type">days</field>
<field name="numbercall">-1</field>
<field
name="nextcall"
eval="(DateTime.now().replace(hour=3, minute=0) + timedelta(days=1)).strftime('%Y-%m-%d %H:%M:%S')"
/>
</record>
</odoo>
140 changes: 140 additions & 0 deletions project_task_recurring_activity/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,140 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * project_task_recurring_activity
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 14.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2024-03-24 23:53+0000\n"
"Last-Translator: Ivorra78 <[email protected]>\n"
"Language-Team: none\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 4.17\n"

#. module: project_task_recurring_activity
#: model_terms:ir.ui.view,arch_db:project_task_recurring_activity.view_recurring_activity_form
msgid "Activities"
msgstr "actividades"

#. module: project_task_recurring_activity
#: model:ir.model.fields,field_description:project_task_recurring_activity.field_recurring_activity__activity_type_id
msgid "Activity Type"
msgstr "Tipo de actividad"

#. module: project_task_recurring_activity
#: model:ir.model.fields,field_description:project_task_recurring_activity.field_recurring_activity__user_id
msgid "Assigned to"
msgstr "Asignado/a a"

#. module: project_task_recurring_activity
#: model_terms:ir.ui.view,arch_db:project_task_recurring_activity.view_recurring_activity_form
msgid "Create Next Recurring Task"
msgstr "Crear la Siguiente Tarea Recurrente"

#. module: project_task_recurring_activity
#: model:ir.model.fields,field_description:project_task_recurring_activity.field_recurring_activity__create_uid
msgid "Created by"
msgstr "Creado por"

#. module: project_task_recurring_activity
#: model:ir.model.fields,field_description:project_task_recurring_activity.field_recurring_activity__create_date
msgid "Created on"
msgstr "Creado el"

#. module: project_task_recurring_activity
#: model:ir.model.fields,field_description:project_task_recurring_activity.field_project_task__custom_activity_ids
msgid "Custom Activity"
msgstr "Actividad personalizada"

#. module: project_task_recurring_activity
#: model:ir.model.fields,field_description:project_task_recurring_activity.field_recurring_activity__days_after_task_creation_date
msgid "Days After Task Creation Date"
msgstr "Días después de la fecha de creación de la tarea"

#. module: project_task_recurring_activity
#: model:ir.model.fields,field_description:project_task_recurring_activity.field_recurring_activity__description
msgid "Description"
msgstr "Descripción"

#. module: project_task_recurring_activity
#: model:ir.model.fields,field_description:project_task_recurring_activity.field_project_task__display_name
#: model:ir.model.fields,field_description:project_task_recurring_activity.field_project_task_recurrence__display_name
#: model:ir.model.fields,field_description:project_task_recurring_activity.field_recurring_activity__display_name
msgid "Display Name"
msgstr "Mostrar Nombre"

#. module: project_task_recurring_activity
#: model:ir.model.fields,field_description:project_task_recurring_activity.field_project_task__id
#: model:ir.model.fields,field_description:project_task_recurring_activity.field_project_task_recurrence__id
#: model:ir.model.fields,field_description:project_task_recurring_activity.field_recurring_activity__id
msgid "ID"
msgstr "ID (identificación)"

#. module: project_task_recurring_activity
#: model:ir.model.fields,field_description:project_task_recurring_activity.field_project_task____last_update
#: model:ir.model.fields,field_description:project_task_recurring_activity.field_project_task_recurrence____last_update
#: model:ir.model.fields,field_description:project_task_recurring_activity.field_recurring_activity____last_update
msgid "Last Modified on"
msgstr "Última Modificación el"

#. module: project_task_recurring_activity
#: model:ir.model.fields,field_description:project_task_recurring_activity.field_recurring_activity__write_uid
msgid "Last Updated by"
msgstr "Última Actualización realizada por"

#. module: project_task_recurring_activity
#: model:ir.model.fields,field_description:project_task_recurring_activity.field_recurring_activity__write_date
msgid "Last Updated on"
msgstr "Última Actualización el"

#. module: project_task_recurring_activity
#: model:ir.model.fields,field_description:project_task_recurring_activity.field_project_task_recurrence__old_date_recurring_task
msgid "Old Date Recurring Task"
msgstr "Tarea recurrente con fecha anterior"

#. module: project_task_recurring_activity
#: model:ir.model.fields,field_description:project_task_recurring_activity.field_recurring_activity__project_task_id
msgid "Project Task"
msgstr "Tarea de proyecto"

#. module: project_task_recurring_activity
#: model:ir.actions.server,name:project_task_recurring_activity.ir_cron_recurring_activities_ir_actions_server
#: model:ir.cron,cron_name:project_task_recurring_activity.ir_cron_recurring_activities
#: model:ir.cron,name:project_task_recurring_activity.ir_cron_recurring_activities
msgid "Project: Create Recurring Activities"
msgstr "Proyecto: Crear actividades recurrentes"

#. module: project_task_recurring_activity
#: model:ir.model,name:project_task_recurring_activity.model_recurring_activity
msgid "Recurring activity"
msgstr "Actividad recurrente"

#. module: project_task_recurring_activity
#: model:ir.model.fields,field_description:project_task_recurring_activity.field_recurring_activity__summary
msgid "Summary"
msgstr "Resumen"

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

#. module: project_task_recurring_activity
#: model:ir.model,name:project_task_recurring_activity.model_project_task_recurrence
msgid "Task Recurrence"
msgstr "Recurrencia de tareas"

#. module: project_task_recurring_activity
#: model:ir.model.fields,field_description:project_task_recurring_activity.field_project_task__recurring_activity_ids
msgid "activity"
msgstr "Actividad"

#. module: project_task_recurring_activity
#: model:ir.model.fields,field_description:project_task_recurring_activity.field_recurring_activity__next_recurrence_date
msgid "next_date"
msgstr "next_date"
Loading
Loading