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

[18.0][MIG] product_template_multi_link_date_span: Migration to 18.0 #991

Open
wants to merge 15 commits into
base: 18.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
94 changes: 94 additions & 0 deletions product_template_multi_link_date_span/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
======================================
Product Template Multi Link With Dates
======================================

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

.. |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%2Fe--commerce-lightgray.png?logo=github
:target: https://github.com/OCA/e-commerce/tree/18.0/product_template_multi_link_date_span
:alt: OCA/e-commerce
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/e-commerce-18-0/e-commerce-18-0-product_template_multi_link_date_span
: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/e-commerce&target_branch=18.0
:alt: Try me on Runboat

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

This module adds the possibility to set a start and end date on the
links. So links can be activated only for a certain period of time.

**Table of contents**

.. contents::
:local:

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

Bugs are tracked on `GitHub Issues <https://github.com/OCA/e-commerce/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/e-commerce/issues/new?body=module:%20product_template_multi_link_date_span%0Aversion:%2018.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
-------

* Camptocamp

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

- Thierry Ducrest <[email protected]>

- Trobz

- Dung Tran <[email protected]>
- Thien Vo <[email protected]>

- Simone Orsi <[email protected]>

Other credits
-------------

The development of this module has been financially supported by:

- Camptocamp

The migration of this module from 14.0 to 18.0 was financially supported
by Camptocamp.

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/e-commerce <https://github.com/OCA/e-commerce/tree/18.0/product_template_multi_link_date_span>`_ 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 product_template_multi_link_date_span/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
18 changes: 18 additions & 0 deletions product_template_multi_link_date_span/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Copyright 2020 Camptocamp SA
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html)

{
"name": "Product Template Multi Link With Dates",
"summary": "Add an optional date span for when a link is active.",
"version": "18.0.1.0.0",
"category": "Sale",
"author": "Camptocamp, Odoo Community Association (OCA)",
"license": "AGPL-3",
"depends": ["product_template_multi_link"],
"website": "https://github.com/OCA/e-commerce",
"data": [
"views/product_template_link_view.xml",
"views/product_template_link_type_view.xml",
],
"installable": True,
}
88 changes: 88 additions & 0 deletions product_template_multi_link_date_span/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * product_template_multi_link_date_span
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 14.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2024-02-18 17:34+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: product_template_multi_link_date_span
#: code:addons/product_template_multi_link_date_span/models/product_template_link.py:0
#, python-format
msgid "A start date is required according to link type: %s"
msgstr "Se requiere una fecha de inicio según el tipo de enlace: %s"

#. module: product_template_multi_link_date_span
#: model:ir.model.fields,field_description:product_template_multi_link_date_span.field_product_template_link__display_name
#: model:ir.model.fields,field_description:product_template_multi_link_date_span.field_product_template_link_type__display_name
msgid "Display Name"
msgstr "Mostrar Nombre"

#. module: product_template_multi_link_date_span
#: model:ir.model.fields,field_description:product_template_multi_link_date_span.field_product_template_link__date_end
msgid "End Date"
msgstr "Fecha Finalización"

#. module: product_template_multi_link_date_span
#: model:ir.model.fields,field_description:product_template_multi_link_date_span.field_product_template_link__id
#: model:ir.model.fields,field_description:product_template_multi_link_date_span.field_product_template_link_type__id
msgid "ID"
msgstr "ID"

#. module: product_template_multi_link_date_span
#: model:ir.model.fields,field_description:product_template_multi_link_date_span.field_product_template_link____last_update
#: model:ir.model.fields,field_description:product_template_multi_link_date_span.field_product_template_link_type____last_update
msgid "Last Modified on"
msgstr "Última Modificación el"

#. module: product_template_multi_link_date_span
#: model:ir.model.fields,field_description:product_template_multi_link_date_span.field_product_template_link__limited_by_dates
#: model:ir.model.fields,field_description:product_template_multi_link_date_span.field_product_template_link_type__limited_by_dates
msgid "Limited By Dates"
msgstr "Limitado Por Fechas"

#. module: product_template_multi_link_date_span
#: model:ir.model.fields,help:product_template_multi_link_date_span.field_product_template_link__limited_by_dates
#: model:ir.model.fields,help:product_template_multi_link_date_span.field_product_template_link_type__limited_by_dates
msgid "Links of this type will have a limited life based on start/end dates."
msgstr ""
"Los enlaces de este tipo tendrán una vida limitada según las fechas de "
"inicio / finalización."

#. module: product_template_multi_link_date_span
#: model:ir.model.fields,field_description:product_template_multi_link_date_span.field_product_template_link__mandatory_date_start
#: model:ir.model.fields,field_description:product_template_multi_link_date_span.field_product_template_link_type__mandatory_date_start
msgid "Mandatory Date Start"
msgstr "Fecha de Inicio Obligatoria"

#. module: product_template_multi_link_date_span
#: model:ir.model,name:product_template_multi_link_date_span.model_product_template_link_type
msgid "Product Template Link Type"
msgstr "Tipo de Enlace de Plantilla de Producto"

#. module: product_template_multi_link_date_span
#: model:ir.model,name:product_template_multi_link_date_span.model_product_template_link
msgid "Product link"
msgstr "Enlace de producto"

#. module: product_template_multi_link_date_span
#: model:ir.model.fields,field_description:product_template_multi_link_date_span.field_product_template_link__date_start
msgid "Start Date"
msgstr "Fecha de Inicio"

#. module: product_template_multi_link_date_span
#: model:ir.model.fields,help:product_template_multi_link_date_span.field_product_template_link__mandatory_date_start
#: model:ir.model.fields,help:product_template_multi_link_date_span.field_product_template_link_type__mandatory_date_start
msgid "When limited by dates, make date start required."
msgstr ""
"Cuando esté limitado por fechas, haga que la fecha de inicio sea obligatoria."
89 changes: 89 additions & 0 deletions product_template_multi_link_date_span/i18n/es_AR.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * product_template_multi_link_date_span
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 14.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2021-09-11 19:33+0000\n"
"Last-Translator: Ignacio Buioli <[email protected]>\n"
"Language-Team: none\n"
"Language: es_AR\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.3.2\n"

#. module: product_template_multi_link_date_span
#: code:addons/product_template_multi_link_date_span/models/product_template_link.py:0
#, python-format
msgid "A start date is required according to link type: %s"
msgstr "Una fecha de inicio es requerida de acuerdo al tipo de enlace: %s"

#. module: product_template_multi_link_date_span
#: model:ir.model.fields,field_description:product_template_multi_link_date_span.field_product_template_link__display_name
#: model:ir.model.fields,field_description:product_template_multi_link_date_span.field_product_template_link_type__display_name
msgid "Display Name"
msgstr "Mostrar Nombre"

#. module: product_template_multi_link_date_span
#: model:ir.model.fields,field_description:product_template_multi_link_date_span.field_product_template_link__date_end
msgid "End Date"
msgstr "Fecha de Finalización"

#. module: product_template_multi_link_date_span
#: model:ir.model.fields,field_description:product_template_multi_link_date_span.field_product_template_link__id
#: model:ir.model.fields,field_description:product_template_multi_link_date_span.field_product_template_link_type__id
msgid "ID"
msgstr "ID"

#. module: product_template_multi_link_date_span
#: model:ir.model.fields,field_description:product_template_multi_link_date_span.field_product_template_link____last_update
#: model:ir.model.fields,field_description:product_template_multi_link_date_span.field_product_template_link_type____last_update
msgid "Last Modified on"
msgstr "Última modificación en"

#. module: product_template_multi_link_date_span
#: model:ir.model.fields,field_description:product_template_multi_link_date_span.field_product_template_link__limited_by_dates
#: model:ir.model.fields,field_description:product_template_multi_link_date_span.field_product_template_link_type__limited_by_dates
msgid "Limited By Dates"
msgstr "Limitado Por Fechas"

#. module: product_template_multi_link_date_span
#: model:ir.model.fields,help:product_template_multi_link_date_span.field_product_template_link__limited_by_dates
#: model:ir.model.fields,help:product_template_multi_link_date_span.field_product_template_link_type__limited_by_dates
msgid "Links of this type will have a limited life based on start/end dates."
msgstr ""
"Los enlaces de este tipo tendrán una vida limitada según las fechas de "
"inicio/finalización."

#. module: product_template_multi_link_date_span
#: model:ir.model.fields,field_description:product_template_multi_link_date_span.field_product_template_link__mandatory_date_start
#: model:ir.model.fields,field_description:product_template_multi_link_date_span.field_product_template_link_type__mandatory_date_start
msgid "Mandatory Date Start"
msgstr "Fecha de Inicio Obligatoria"

#. module: product_template_multi_link_date_span
#: model:ir.model,name:product_template_multi_link_date_span.model_product_template_link_type
msgid "Product Template Link Type"
msgstr "Tipo de Enlace de Plantilla de Producto"

#. module: product_template_multi_link_date_span
#: model:ir.model,name:product_template_multi_link_date_span.model_product_template_link
msgid "Product link"
msgstr "Enlace de producto"

#. module: product_template_multi_link_date_span
#: model:ir.model.fields,field_description:product_template_multi_link_date_span.field_product_template_link__date_start
msgid "Start Date"
msgstr "Fecha de Inicio"

#. module: product_template_multi_link_date_span
#: model:ir.model.fields,help:product_template_multi_link_date_span.field_product_template_link__mandatory_date_start
#: model:ir.model.fields,help:product_template_multi_link_date_span.field_product_template_link_type__mandatory_date_start
msgid "When limited by dates, make date start required."
msgstr ""
"Cuando se encuentra limitado por fechas, haga que la fecha de inicio sea "
"obligatoria."
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * product_template_multi_link_date_span
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 14.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: product_template_multi_link_date_span
#: code:addons/product_template_multi_link_date_span/models/product_template_link.py:0
#, python-format
msgid "A start date is required according to link type: %s"
msgstr ""

#. module: product_template_multi_link_date_span
#: model:ir.model.fields,field_description:product_template_multi_link_date_span.field_product_template_link__display_name
#: model:ir.model.fields,field_description:product_template_multi_link_date_span.field_product_template_link_type__display_name
msgid "Display Name"
msgstr ""

#. module: product_template_multi_link_date_span
#: model:ir.model.fields,field_description:product_template_multi_link_date_span.field_product_template_link__date_end
msgid "End Date"
msgstr ""

#. module: product_template_multi_link_date_span
#: model:ir.model.fields,field_description:product_template_multi_link_date_span.field_product_template_link__id
#: model:ir.model.fields,field_description:product_template_multi_link_date_span.field_product_template_link_type__id
msgid "ID"
msgstr ""

#. module: product_template_multi_link_date_span
#: model:ir.model.fields,field_description:product_template_multi_link_date_span.field_product_template_link____last_update
#: model:ir.model.fields,field_description:product_template_multi_link_date_span.field_product_template_link_type____last_update
msgid "Last Modified on"
msgstr ""

#. module: product_template_multi_link_date_span
#: model:ir.model.fields,field_description:product_template_multi_link_date_span.field_product_template_link__limited_by_dates
#: model:ir.model.fields,field_description:product_template_multi_link_date_span.field_product_template_link_type__limited_by_dates
msgid "Limited By Dates"
msgstr ""

#. module: product_template_multi_link_date_span
#: model:ir.model.fields,help:product_template_multi_link_date_span.field_product_template_link__limited_by_dates
#: model:ir.model.fields,help:product_template_multi_link_date_span.field_product_template_link_type__limited_by_dates
msgid "Links of this type will have a limited life based on start/end dates."
msgstr ""

#. module: product_template_multi_link_date_span
#: model:ir.model.fields,field_description:product_template_multi_link_date_span.field_product_template_link__mandatory_date_start
#: model:ir.model.fields,field_description:product_template_multi_link_date_span.field_product_template_link_type__mandatory_date_start
msgid "Mandatory Date Start"
msgstr ""

#. module: product_template_multi_link_date_span
#: model:ir.model,name:product_template_multi_link_date_span.model_product_template_link_type
msgid "Product Template Link Type"
msgstr ""

#. module: product_template_multi_link_date_span
#: model:ir.model,name:product_template_multi_link_date_span.model_product_template_link
msgid "Product link"
msgstr ""

#. module: product_template_multi_link_date_span
#: model:ir.model.fields,field_description:product_template_multi_link_date_span.field_product_template_link__date_start
msgid "Start Date"
msgstr ""

#. module: product_template_multi_link_date_span
#: model:ir.model.fields,help:product_template_multi_link_date_span.field_product_template_link__mandatory_date_start
#: model:ir.model.fields,help:product_template_multi_link_date_span.field_product_template_link_type__mandatory_date_start
msgid "When limited by dates, make date start required."
msgstr ""
2 changes: 2 additions & 0 deletions product_template_multi_link_date_span/models/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
from . import product_template_link_type
from . import product_template_link
Loading
Loading