Skip to content

Commit

Permalink
[16.0][ADD] project_type_sequence: New field "Sequence" in project type.
Browse files Browse the repository at this point in the history
  • Loading branch information
alfredoavanzosc authored and anajuaristi committed Dec 10, 2024
1 parent 6a6e0c6 commit 8d4f2d0
Show file tree
Hide file tree
Showing 16 changed files with 523 additions and 0 deletions.
30 changes: 30 additions & 0 deletions project_type_sequence/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3

=====================
Project type sequence
=====================

* When a project is created and is associated with a project type with a
defined sequence, the new project will be registered with said sequence,
otherwise the general sequence for projects will be used.

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

Bugs are tracked on `GitHub Issues
<https://github.com/avanzosc/project-addons/issues>`_. In case of trouble,
please check there if your issue has already been reported. If you spotted
it first, help us smash it by providing detailed and welcomed feedback.

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

Credits
=======

Contributors
------------

* Ana Juaristi <anajuaristi@avanzosc.es>
* Alfredo de la Fuente <alfredodelafuente@avanzosc.es>
1 change: 1 addition & 0 deletions project_type_sequence/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
16 changes: 16 additions & 0 deletions project_type_sequence/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Copyright 2024 Alfredo de la Fuente - AvanzOSC
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
{
"name": "Project Type Sequence",
"version": "16.0.1.0.0",
"category": "Services/Project",
"license": "AGPL-3",
"author": "AvanzOSC",
"website": "https://github.com/avanzosc/project-addons",
"depends": ["sale_project", "project_type", "project_sequence"],
"data": [
"views/project_type_views.xml",
"views/project_project_views.xml",
],
"installable": True,
}
59 changes: 59 additions & 0 deletions project_type_sequence/i18n/ca_ES.po
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:
# * project_type_sequence
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-12-10 07:11+0000\n"
"PO-Revision-Date: 2024-12-10 07:11+0000\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: project_type_sequence
#. odoo-python
#: code:addons/project_type_sequence/models/project_project.py:0
#, python-format
msgid "%(sequence)s - %(name)s"
msgstr ""

#. module: project_type_sequence
#: model:ir.model.fields,field_description:project_type_sequence.field_project_project__display_name
msgid "Name"
msgstr "Nom a mostrar"

#. module: project_type_sequence
#: model:ir.model,name:project_type_sequence.model_project_project
#: model_terms:ir.ui.view,arch_db:project_type_sequence.view_project_project_filter
msgid "Project"
msgstr "Projecte"

#. module: project_type_sequence
#: model:ir.model,name:project_type_sequence.model_project_type
msgid "Project Type"
msgstr "Tipus de Projectes"

#. module: project_type_sequence
#: model:ir.model,name:project_type_sequence.model_sale_order_line
msgid "Sales Order Line"
msgstr "Línia comanda de venda"

#. module: project_type_sequence
#: model:ir.model.fields,field_description:project_type_sequence.field_project_type__sequence_id
msgid "Sequence"
msgstr ""

#. module: project_type_sequence
#: model_terms:ir.ui.view,arch_db:project_type_sequence.edit_project
msgid "Sequence Code"
msgstr ""

#. module: project_type_sequence
#: model_terms:ir.ui.view,arch_db:project_type_sequence.project_project_view_form_simplified
msgid "Type of project"
msgstr ""
59 changes: 59 additions & 0 deletions project_type_sequence/i18n/en_GB.po
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:
# * project_type_sequence
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-12-10 07:11+0000\n"
"PO-Revision-Date: 2024-12-10 07:11+0000\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: project_type_sequence
#. odoo-python
#: code:addons/project_type_sequence/models/project_project.py:0
#, python-format
msgid "%(sequence)s - %(name)s"
msgstr ""

#. module: project_type_sequence
#: model:ir.model.fields,field_description:project_type_sequence.field_project_project__display_name
msgid "Name"
msgstr "Display Name"

#. module: project_type_sequence
#: model:ir.model,name:project_type_sequence.model_project_project
#: model_terms:ir.ui.view,arch_db:project_type_sequence.view_project_project_filter
msgid "Project"
msgstr ""

#. module: project_type_sequence
#: model:ir.model,name:project_type_sequence.model_project_type
msgid "Project Type"
msgstr ""

#. module: project_type_sequence
#: model:ir.model,name:project_type_sequence.model_sale_order_line
msgid "Sales Order Line"
msgstr ""

#. module: project_type_sequence
#: model:ir.model.fields,field_description:project_type_sequence.field_project_type__sequence_id
msgid "Sequence"
msgstr ""

#. module: project_type_sequence
#: model_terms:ir.ui.view,arch_db:project_type_sequence.edit_project
msgid "Sequence Code"
msgstr ""

#. module: project_type_sequence
#: model_terms:ir.ui.view,arch_db:project_type_sequence.project_project_view_form_simplified
msgid "Type of project"
msgstr ""
59 changes: 59 additions & 0 deletions project_type_sequence/i18n/es.po
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:
# * project_type_sequence
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-12-10 07:12+0000\n"
"PO-Revision-Date: 2024-12-10 07:12+0000\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: project_type_sequence
#. odoo-python
#: code:addons/project_type_sequence/models/project_project.py:0
#, python-format
msgid "%(sequence)s - %(name)s"
msgstr "%(sequence)s - %(name)s"

#. module: project_type_sequence
#: model:ir.model.fields,field_description:project_type_sequence.field_project_project__display_name
msgid "Name"
msgstr "Nombre"

#. module: project_type_sequence
#: model:ir.model,name:project_type_sequence.model_project_project
#: model_terms:ir.ui.view,arch_db:project_type_sequence.view_project_project_filter
msgid "Project"
msgstr "Proyecto"

#. module: project_type_sequence
#: model:ir.model,name:project_type_sequence.model_project_type
msgid "Project Type"
msgstr "Tipos de Proyectos"

#. module: project_type_sequence
#: model:ir.model,name:project_type_sequence.model_sale_order_line
msgid "Sales Order Line"
msgstr "Línea de pedido de venta"

#. module: project_type_sequence
#: model:ir.model.fields,field_description:project_type_sequence.field_project_type__sequence_id
msgid "Sequence"
msgstr "Secuencia"

#. module: project_type_sequence
#: model_terms:ir.ui.view,arch_db:project_type_sequence.edit_project
msgid "Sequence Code"
msgstr "Código secuencia"

#. module: project_type_sequence
#: model_terms:ir.ui.view,arch_db:project_type_sequence.project_project_view_form_simplified
msgid "Type of project"
msgstr "Tipo de proyecto"
59 changes: 59 additions & 0 deletions project_type_sequence/i18n/fr.po
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:
# * project_type_sequence
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-12-10 07:11+0000\n"
"PO-Revision-Date: 2024-12-10 07:11+0000\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: project_type_sequence
#. odoo-python
#: code:addons/project_type_sequence/models/project_project.py:0
#, python-format
msgid "%(sequence)s - %(name)s"
msgstr ""

#. module: project_type_sequence
#: model:ir.model.fields,field_description:project_type_sequence.field_project_project__display_name
msgid "Name"
msgstr "Nom d'affichage"

#. module: project_type_sequence
#: model:ir.model,name:project_type_sequence.model_project_project
#: model_terms:ir.ui.view,arch_db:project_type_sequence.view_project_project_filter
msgid "Project"
msgstr "Projet"

#. module: project_type_sequence
#: model:ir.model,name:project_type_sequence.model_project_type
msgid "Project Type"
msgstr "Type de projet"

#. module: project_type_sequence
#: model:ir.model,name:project_type_sequence.model_sale_order_line
msgid "Sales Order Line"
msgstr "Ligne de bon de commande"

#. module: project_type_sequence
#: model:ir.model.fields,field_description:project_type_sequence.field_project_type__sequence_id
msgid "Sequence"
msgstr ""

#. module: project_type_sequence
#: model_terms:ir.ui.view,arch_db:project_type_sequence.edit_project
msgid "Sequence Code"
msgstr ""

#. module: project_type_sequence
#: model_terms:ir.ui.view,arch_db:project_type_sequence.project_project_view_form_simplified
msgid "Type of project"
msgstr ""
59 changes: 59 additions & 0 deletions project_type_sequence/i18n/project_type_sequence.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:
# * project_type_sequence
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-12-10 07:10+0000\n"
"PO-Revision-Date: 2024-12-10 07:10+0000\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: project_type_sequence
#. odoo-python
#: code:addons/project_type_sequence/models/project_project.py:0
#, python-format
msgid "%(sequence)s - %(name)s"
msgstr ""

#. module: project_type_sequence
#: model:ir.model.fields,field_description:project_type_sequence.field_project_project__display_name
msgid "Name"
msgstr ""

#. module: project_type_sequence
#: model:ir.model,name:project_type_sequence.model_project_project
#: model_terms:ir.ui.view,arch_db:project_type_sequence.view_project_project_filter
msgid "Project"
msgstr ""

#. module: project_type_sequence
#: model:ir.model,name:project_type_sequence.model_project_type
msgid "Project Type"
msgstr ""

#. module: project_type_sequence
#: model:ir.model,name:project_type_sequence.model_sale_order_line
msgid "Sales Order Line"
msgstr ""

#. module: project_type_sequence
#: model:ir.model.fields,field_description:project_type_sequence.field_project_type__sequence_id
msgid "Sequence"
msgstr ""

#. module: project_type_sequence
#: model_terms:ir.ui.view,arch_db:project_type_sequence.edit_project
msgid "Sequence Code"
msgstr ""

#. module: project_type_sequence
#: model_terms:ir.ui.view,arch_db:project_type_sequence.project_project_view_form_simplified
msgid "Type of project"
msgstr ""
3 changes: 3 additions & 0 deletions project_type_sequence/models/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from . import project_type
from . import project_project
from . import sale_order_line
Loading

0 comments on commit 8d4f2d0

Please sign in to comment.