diff --git a/sale_start_end_dates/README.rst b/sale_start_end_dates/README.rst new file mode 100644 index 00000000000..f28f515d298 --- /dev/null +++ b/sale_start_end_dates/README.rst @@ -0,0 +1,93 @@ +==================== +Sale Start End Dates +==================== + +.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! 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%2Fsale--workflow-lightgray.png?logo=github + :target: https://github.com/OCA/sale-workflow/tree/15.0/sale_start_end_dates + :alt: OCA/sale-workflow +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/sale-workflow-15-0/sale-workflow-15-0-sale_start_end_dates + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png + :target: https://runbot.odoo-community.org/runbot/167/15.0 + :alt: Try me on Runbot + +|badge1| |badge2| |badge3| |badge4| |badge5| + +This module adds the fields *Start Date* and *End Date* on sale order +lines (requied fields when the product has the *Must Have Start and +End Dates* property). You can also define a *Default Start Date* and +*Default End Date* on the sale order; when set, these dates will be used +by default on new sale order lines. Upon invoice creation, the values of +the start/end dates of the sale order line are copied to the start/end +dates of invoice lines. + +This module is a technical module: it is designed to be used with other +modules such as the *sale_rental* module. + +**Table of contents** + +.. contents:: + :local: + +Bug Tracker +=========== + +Bugs are tracked on `GitHub 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 `_. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +~~~~~~~ + +* Akretion +* Sodexis + +Contributors +~~~~~~~~~~~~ + +* Alexis de Lattre +* Sodexis +* Serpent Consulting Services Pvt. Ltd. + +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-alexis-via| image:: https://github.com/alexis-via.png?size=40px + :target: https://github.com/alexis-via + :alt: alexis-via + +Current `maintainer `__: + +|maintainer-alexis-via| + +This module is part of the `OCA/sale-workflow `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/sale_start_end_dates/__init__.py b/sale_start_end_dates/__init__.py new file mode 100644 index 00000000000..0650744f6bc --- /dev/null +++ b/sale_start_end_dates/__init__.py @@ -0,0 +1 @@ +from . import models diff --git a/sale_start_end_dates/__manifest__.py b/sale_start_end_dates/__manifest__.py new file mode 100644 index 00000000000..a963cf8e91c --- /dev/null +++ b/sale_start_end_dates/__manifest__.py @@ -0,0 +1,18 @@ +# Copyright 2014-2021 Akretion France (http://www.akretion.com) +# @author Alexis de Lattre +# Copyright 2016-2019 Sodexis (http://sodexis.com) +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +{ + "name": "Sale Start End Dates", + "version": "16.0.1.0.0", + "category": "Sales", + "license": "AGPL-3", + "summary": "Adds start date and end date on sale order lines", + "author": "Akretion, Sodexis, Odoo Community Association (OCA)", + "maintainers": ["alexis-via"], + "website": "https://github.com/OCA/sale-workflow", + "depends": ["account_invoice_start_end_dates", "sale"], + "data": ["views/sale_order.xml"], + "installable": True, +} diff --git a/sale_start_end_dates/i18n/ca.po b/sale_start_end_dates/i18n/ca.po new file mode 100644 index 00000000000..8f14b55c4c8 --- /dev/null +++ b/sale_start_end_dates/i18n/ca.po @@ -0,0 +1,110 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_start_end_dates +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-05-17 02:40+0000\n" +"PO-Revision-Date: 2017-05-17 02:40+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Catalan (https://www.transifex.com/oca/teams/23907/ca/)\n" +"Language: ca\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" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order__default_end_date +msgid "Default End Date" +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order__default_start_date +msgid "Default Start Date" +msgstr "" + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:21 +#, python-format +msgid "" +"Default Start Date should be before or be the same as Default End Date for " +"sale order '%s'." +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order_line__end_date +msgid "End Date" +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model.fields,help:sale_start_end_dates.field_sale_order_line__must_have_dates +msgid "" +"If this option is active, the user will have to enter a Start Date and an " +"End Date on the invoice lines that have this product." +msgstr "" + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:86 +#, python-format +msgid "Missing End Date for sale order line with Product '%s'." +msgstr "" + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:90 +#, python-format +msgid "Missing Start Date for sale order line with Product '%s'." +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order_line__must_have_dates +msgid "Must Have Start and End Dates" +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order_line__number_of_days +msgid "Number of Days" +msgstr "" + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:68 +#, python-format +msgid "" +"On sale order line with product '%s', the number of days is negative (%d) ; " +"this is not allowed. The number of days has been forced to 1." +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model,name:sale_start_end_dates.model_sale_order +#, fuzzy +#| msgid "Sales Order" +msgid "Sale Order" +msgstr "Comandes de venda" + +#. module: sale_start_end_dates +#: model:ir.model,name:sale_start_end_dates.model_sale_order_line +msgid "Sales Order Line" +msgstr "Línia de comanda de vendes" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order_line__start_date +msgid "Start Date" +msgstr "" + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:94 +#, python-format +msgid "" +"Start Date should be before or be the same as End Date for sale order line " +"with Product '%s'." +msgstr "" + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:67 +#, python-format +msgid "Wrong number of days" +msgstr "" diff --git a/sale_start_end_dates/i18n/de.po b/sale_start_end_dates/i18n/de.po new file mode 100644 index 00000000000..21ce641953b --- /dev/null +++ b/sale_start_end_dates/i18n/de.po @@ -0,0 +1,119 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_start_end_dates +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-05-17 02:40+0000\n" +"PO-Revision-Date: 2017-05-17 02:40+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: German (https://www.transifex.com/oca/teams/23907/de/)\n" +"Language: de\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" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order__default_end_date +msgid "Default End Date" +msgstr "Vorgabe-Enddatum" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order__default_start_date +msgid "Default Start Date" +msgstr "Vorgabe-Anfangsdatum" + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:21 +#, fuzzy, python-format +#| msgid "" +#| "Default Start Date should be before or be the same as Default End Date " +#| "for sale order %s" +msgid "" +"Default Start Date should be before or be the same as Default End Date for " +"sale order '%s'." +msgstr "Vorgabe-Anfangsdatum muss im Auftrag %s vor ooder am Enddatum liegen" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order_line__end_date +msgid "End Date" +msgstr "Enddatum" + +#. module: sale_start_end_dates +#: model:ir.model.fields,help:sale_start_end_dates.field_sale_order_line__must_have_dates +msgid "" +"If this option is active, the user will have to enter a Start Date and an " +"End Date on the invoice lines that have this product." +msgstr "" + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:86 +#, python-format +msgid "Missing End Date for sale order line with Product '%s'." +msgstr "Fehlendes Enddatum in Auftragsposition des Produkts '%s'." + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:90 +#, python-format +msgid "Missing Start Date for sale order line with Product '%s'." +msgstr "Fehlendes Anfangsdatum in Auftragsposition des Produkts '%s'." + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order_line__must_have_dates +msgid "Must Have Start and End Dates" +msgstr "Muss Anfangs- und Enddatum haben" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order_line__number_of_days +msgid "Number of Days" +msgstr "Anzahl Tage" + +#. module: sale_start_end_dates +#: model:ir.model,name:sale_start_end_dates.model_sale_order +#, fuzzy +#| msgid "Sales Order" +msgid "Sale Order" +msgstr "Verkaufsauftrag" + +#. module: sale_start_end_dates +#: model:ir.model,name:sale_start_end_dates.model_sale_order_line +msgid "Sales Order Line" +msgstr "Auftragsposition" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order_line__start_date +msgid "Start Date" +msgstr "Anfangsdatum" + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:94 +#, python-format +msgid "" +"Start Date should be before or be the same as End Date for sale order line " +"with Product '%s'." +msgstr "" +"In der Auftragsposition zum Produkt %s muss das Anfangsdatum vor oder am " +"Enddatum liegen." + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:67 +#, fuzzy, python-format +#| msgid "Number of Days" +msgid "Wrong number of days" +msgstr "Anzahl Tage" + +#~ msgid "Missing number of days for sale order line with Product '%s'." +#~ msgstr "Fehlende Anzahl Tage in Auftragsposition des Produkts '%s'." + +#~ msgid "" +#~ "On the sale order line with Product '%s', there are %d days between the " +#~ "Start Date (%s) and the End Date (%s), but the number of days field has a " +#~ "value of %d days." +#~ msgstr "" +#~ "In Auftragsposition des Produkts '%s' liegen %d Tage zwischen Anfangs- " +#~ "(%s) und Enddatum (%s), das Anzahl Tage -Feld weist jedoch %d Tage aus." diff --git a/sale_start_end_dates/i18n/el_GR.po b/sale_start_end_dates/i18n/el_GR.po new file mode 100644 index 00000000000..30ffc139d48 --- /dev/null +++ b/sale_start_end_dates/i18n/el_GR.po @@ -0,0 +1,111 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_start_end_dates +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-05-17 02:40+0000\n" +"PO-Revision-Date: 2017-05-17 02:40+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Greek (Greece) (https://www.transifex.com/oca/teams/23907/" +"el_GR/)\n" +"Language: el_GR\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" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order__default_end_date +msgid "Default End Date" +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order__default_start_date +msgid "Default Start Date" +msgstr "" + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:21 +#, python-format +msgid "" +"Default Start Date should be before or be the same as Default End Date for " +"sale order '%s'." +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order_line__end_date +msgid "End Date" +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model.fields,help:sale_start_end_dates.field_sale_order_line__must_have_dates +msgid "" +"If this option is active, the user will have to enter a Start Date and an " +"End Date on the invoice lines that have this product." +msgstr "" + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:86 +#, python-format +msgid "Missing End Date for sale order line with Product '%s'." +msgstr "" + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:90 +#, python-format +msgid "Missing Start Date for sale order line with Product '%s'." +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order_line__must_have_dates +msgid "Must Have Start and End Dates" +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order_line__number_of_days +msgid "Number of Days" +msgstr "" + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:68 +#, python-format +msgid "" +"On sale order line with product '%s', the number of days is negative (%d) ; " +"this is not allowed. The number of days has been forced to 1." +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model,name:sale_start_end_dates.model_sale_order +#, fuzzy +#| msgid "Sales Order" +msgid "Sale Order" +msgstr "Εντολή Πώλησης" + +#. module: sale_start_end_dates +#: model:ir.model,name:sale_start_end_dates.model_sale_order_line +msgid "Sales Order Line" +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order_line__start_date +msgid "Start Date" +msgstr "" + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:94 +#, python-format +msgid "" +"Start Date should be before or be the same as End Date for sale order line " +"with Product '%s'." +msgstr "" + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:67 +#, python-format +msgid "Wrong number of days" +msgstr "" diff --git a/sale_start_end_dates/i18n/es.po b/sale_start_end_dates/i18n/es.po new file mode 100644 index 00000000000..ff5608763fe --- /dev/null +++ b/sale_start_end_dates/i18n/es.po @@ -0,0 +1,110 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_start_end_dates +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-05-17 02:40+0000\n" +"PO-Revision-Date: 2017-05-17 02:40+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Spanish (https://www.transifex.com/oca/teams/23907/es/)\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" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order__default_end_date +msgid "Default End Date" +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order__default_start_date +msgid "Default Start Date" +msgstr "" + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:21 +#, python-format +msgid "" +"Default Start Date should be before or be the same as Default End Date for " +"sale order '%s'." +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order_line__end_date +msgid "End Date" +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model.fields,help:sale_start_end_dates.field_sale_order_line__must_have_dates +msgid "" +"If this option is active, the user will have to enter a Start Date and an " +"End Date on the invoice lines that have this product." +msgstr "" + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:86 +#, python-format +msgid "Missing End Date for sale order line with Product '%s'." +msgstr "" + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:90 +#, python-format +msgid "Missing Start Date for sale order line with Product '%s'." +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order_line__must_have_dates +msgid "Must Have Start and End Dates" +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order_line__number_of_days +msgid "Number of Days" +msgstr "" + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:68 +#, python-format +msgid "" +"On sale order line with product '%s', the number of days is negative (%d) ; " +"this is not allowed. The number of days has been forced to 1." +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model,name:sale_start_end_dates.model_sale_order +#, fuzzy +#| msgid "Sales Order" +msgid "Sale Order" +msgstr "Pedido de venta" + +#. module: sale_start_end_dates +#: model:ir.model,name:sale_start_end_dates.model_sale_order_line +msgid "Sales Order Line" +msgstr "Línea de pedido de venta" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order_line__start_date +msgid "Start Date" +msgstr "" + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:94 +#, python-format +msgid "" +"Start Date should be before or be the same as End Date for sale order line " +"with Product '%s'." +msgstr "" + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:67 +#, python-format +msgid "Wrong number of days" +msgstr "" diff --git a/sale_start_end_dates/i18n/es_ES.po b/sale_start_end_dates/i18n/es_ES.po new file mode 100644 index 00000000000..f80dff199d9 --- /dev/null +++ b/sale_start_end_dates/i18n/es_ES.po @@ -0,0 +1,111 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_start_end_dates +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-05-17 02:40+0000\n" +"PO-Revision-Date: 2017-05-17 02:40+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Spanish (Spain) (https://www.transifex.com/oca/teams/23907/" +"es_ES/)\n" +"Language: es_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" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order__default_end_date +msgid "Default End Date" +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order__default_start_date +msgid "Default Start Date" +msgstr "" + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:21 +#, python-format +msgid "" +"Default Start Date should be before or be the same as Default End Date for " +"sale order '%s'." +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order_line__end_date +msgid "End Date" +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model.fields,help:sale_start_end_dates.field_sale_order_line__must_have_dates +msgid "" +"If this option is active, the user will have to enter a Start Date and an " +"End Date on the invoice lines that have this product." +msgstr "" + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:86 +#, python-format +msgid "Missing End Date for sale order line with Product '%s'." +msgstr "" + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:90 +#, python-format +msgid "Missing Start Date for sale order line with Product '%s'." +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order_line__must_have_dates +msgid "Must Have Start and End Dates" +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order_line__number_of_days +msgid "Number of Days" +msgstr "" + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:68 +#, python-format +msgid "" +"On sale order line with product '%s', the number of days is negative (%d) ; " +"this is not allowed. The number of days has been forced to 1." +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model,name:sale_start_end_dates.model_sale_order +#, fuzzy +#| msgid "Sales Order" +msgid "Sale Order" +msgstr "Pedido de venta" + +#. module: sale_start_end_dates +#: model:ir.model,name:sale_start_end_dates.model_sale_order_line +msgid "Sales Order Line" +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order_line__start_date +msgid "Start Date" +msgstr "" + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:94 +#, python-format +msgid "" +"Start Date should be before or be the same as End Date for sale order line " +"with Product '%s'." +msgstr "" + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:67 +#, python-format +msgid "Wrong number of days" +msgstr "" diff --git a/sale_start_end_dates/i18n/es_VE.po b/sale_start_end_dates/i18n/es_VE.po new file mode 100644 index 00000000000..a0ef7b27f1f --- /dev/null +++ b/sale_start_end_dates/i18n/es_VE.po @@ -0,0 +1,111 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_start_end_dates +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-05-17 02:40+0000\n" +"PO-Revision-Date: 2017-05-17 02:40+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Spanish (Venezuela) (https://www.transifex.com/oca/" +"teams/23907/es_VE/)\n" +"Language: es_VE\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" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order__default_end_date +msgid "Default End Date" +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order__default_start_date +msgid "Default Start Date" +msgstr "" + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:21 +#, python-format +msgid "" +"Default Start Date should be before or be the same as Default End Date for " +"sale order '%s'." +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order_line__end_date +msgid "End Date" +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model.fields,help:sale_start_end_dates.field_sale_order_line__must_have_dates +msgid "" +"If this option is active, the user will have to enter a Start Date and an " +"End Date on the invoice lines that have this product." +msgstr "" + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:86 +#, python-format +msgid "Missing End Date for sale order line with Product '%s'." +msgstr "" + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:90 +#, python-format +msgid "Missing Start Date for sale order line with Product '%s'." +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order_line__must_have_dates +msgid "Must Have Start and End Dates" +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order_line__number_of_days +msgid "Number of Days" +msgstr "" + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:68 +#, python-format +msgid "" +"On sale order line with product '%s', the number of days is negative (%d) ; " +"this is not allowed. The number of days has been forced to 1." +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model,name:sale_start_end_dates.model_sale_order +#, fuzzy +#| msgid "Sales Order" +msgid "Sale Order" +msgstr "Pedidos de venta" + +#. module: sale_start_end_dates +#: model:ir.model,name:sale_start_end_dates.model_sale_order_line +msgid "Sales Order Line" +msgstr "Línea de pedido de venta" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order_line__start_date +msgid "Start Date" +msgstr "" + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:94 +#, python-format +msgid "" +"Start Date should be before or be the same as End Date for sale order line " +"with Product '%s'." +msgstr "" + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:67 +#, python-format +msgid "Wrong number of days" +msgstr "" diff --git a/sale_start_end_dates/i18n/fi.po b/sale_start_end_dates/i18n/fi.po new file mode 100644 index 00000000000..40c43762039 --- /dev/null +++ b/sale_start_end_dates/i18n/fi.po @@ -0,0 +1,110 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_start_end_dates +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: sale-workflow (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-09-09 12:27+0000\n" +"PO-Revision-Date: 2015-09-03 07:11+0000\n" +"Last-Translator: <>\n" +"Language-Team: Finnish (http://www.transifex.com/oca/OCA-sale-workflow-8-0/" +"language/fi/)\n" +"Language: fi\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" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order__default_end_date +msgid "Default End Date" +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order__default_start_date +msgid "Default Start Date" +msgstr "" + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:21 +#, python-format +msgid "" +"Default Start Date should be before or be the same as Default End Date for " +"sale order '%s'." +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order_line__end_date +msgid "End Date" +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model.fields,help:sale_start_end_dates.field_sale_order_line__must_have_dates +msgid "" +"If this option is active, the user will have to enter a Start Date and an " +"End Date on the invoice lines that have this product." +msgstr "" + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:86 +#, python-format +msgid "Missing End Date for sale order line with Product '%s'." +msgstr "" + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:90 +#, python-format +msgid "Missing Start Date for sale order line with Product '%s'." +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order_line__must_have_dates +msgid "Must Have Start and End Dates" +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order_line__number_of_days +msgid "Number of Days" +msgstr "" + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:68 +#, python-format +msgid "" +"On sale order line with product '%s', the number of days is negative (%d) ; " +"this is not allowed. The number of days has been forced to 1." +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model,name:sale_start_end_dates.model_sale_order +#, fuzzy +#| msgid "Sales Order" +msgid "Sale Order" +msgstr "Myyntitilaus" + +#. module: sale_start_end_dates +#: model:ir.model,name:sale_start_end_dates.model_sale_order_line +msgid "Sales Order Line" +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order_line__start_date +msgid "Start Date" +msgstr "" + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:94 +#, python-format +msgid "" +"Start Date should be before or be the same as End Date for sale order line " +"with Product '%s'." +msgstr "" + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:67 +#, python-format +msgid "Wrong number of days" +msgstr "" diff --git a/sale_start_end_dates/i18n/fr.po b/sale_start_end_dates/i18n/fr.po new file mode 100644 index 00000000000..1527671d17d --- /dev/null +++ b/sale_start_end_dates/i18n/fr.po @@ -0,0 +1,126 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_start_end_dates +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-06-20 10:09+0000\n" +"PO-Revision-Date: 2023-06-20 10:10+0000\n" +"Last-Translator: Alexis de Lattre \n" +"Language-Team: \n" +"Language: fr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order__default_end_date +msgid "Default End Date" +msgstr "Date de fin par défaut" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order__default_start_date +msgid "Default Start Date" +msgstr "Date de début par défaut" + +#. module: sale_start_end_dates +#. odoo-python +#: code:addons/sale_start_end_dates/models/sale_order.py:0 +#, python-format +msgid "" +"Default Start Date (%(start_date)s) should be before or be the same as " +"Default End Date (%(end_date)s) for sale order '%(name)s'." +msgstr "" +"La date de début par défaut (%(start_date)s) doit être antérieure ou " +"identique à la date de fin par défaut (%(end_date)s) pour la commande client " +"\"%(name)s\"." + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order_line__end_date +msgid "End Date" +msgstr "Date de fin" + +#. module: sale_start_end_dates +#: model:ir.model.fields,help:sale_start_end_dates.field_sale_order_line__must_have_dates +msgid "" +"If this option is active, the user will have to enter a Start Date and an " +"End Date on the invoice lines that have this product." +msgstr "" +"Si cette option est activée, l'utilisateur devra saisir une date de début et " +"une date de fin sur les lignes de facture comportant cet article." + +#. module: sale_start_end_dates +#. odoo-python +#: code:addons/sale_start_end_dates/models/sale_order.py:0 +#, python-format +msgid "Missing End Date for sale order line with Product '%s'." +msgstr "" +"Date de fin manquante sur la ligne de commande ayant l'article '%s'." + +#. module: sale_start_end_dates +#. odoo-python +#: code:addons/sale_start_end_dates/models/sale_order.py:0 +#, python-format +msgid "Missing Start Date for sale order line with Product '%s'." +msgstr "" +"Date de début manquante sur la ligne de commande ayant l'article '%s'." + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order_line__must_have_dates +msgid "Must Have Start/End Dates" +msgstr "Dates de début et de fin obligatoires" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order_line__number_of_days +msgid "Number of Days" +msgstr "Nombre de jours" + +#. module: sale_start_end_dates +#. odoo-python +#: code:addons/sale_start_end_dates/models/sale_order.py:0 +#, python-format +msgid "" +"On sale order line with product '%(product_name)s', the number of days is " +"negative (%(number_of_days)s) ; this is not allowed. The number of days has " +"been forced to 1." +msgstr "" +"Sur la ligne de commande ayant l'article '%(product_name)s', le nombre " +"de jours est négatif (%(number_of_days)s) ; ceci n'est pas autorisé. Le " +"nombre de jours a été forcé à 1." + +#. module: sale_start_end_dates +#: model:ir.model,name:sale_start_end_dates.model_sale_order +msgid "Sales Order" +msgstr "Bon de commande" + +#. module: sale_start_end_dates +#: model:ir.model,name:sale_start_end_dates.model_sale_order_line +msgid "Sales Order Line" +msgstr "Ligne de bons de commande" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order_line__start_date +msgid "Start Date" +msgstr "Date de début" + +#. module: sale_start_end_dates +#. odoo-python +#: code:addons/sale_start_end_dates/models/sale_order.py:0 +#, python-format +msgid "" +"Start Date (%(start_date)s) should be before or be the same as End Date " +"(%(end_date)s) for sale order line with Product '%(product_name)s'." +msgstr "" +"La date de début (%(start_date)s) doit être antérieure ou identique à la " +"date de fin (%(end_date)s) pour la ligne de commande client ayant l'article " +"'%(product_name)s'." + +#. module: sale_start_end_dates +#. odoo-python +#: code:addons/sale_start_end_dates/models/sale_order.py:0 +#, python-format +msgid "Wrong number of days" +msgstr "Nombre de jours erroné" diff --git a/sale_start_end_dates/i18n/hr.po b/sale_start_end_dates/i18n/hr.po new file mode 100644 index 00000000000..9d11b76add4 --- /dev/null +++ b/sale_start_end_dates/i18n/hr.po @@ -0,0 +1,111 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_start_end_dates +# +# Translators: +# Bole , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-05-17 02:40+0000\n" +"PO-Revision-Date: 2017-05-17 02:40+0000\n" +"Last-Translator: Bole , 2017\n" +"Language-Team: Croatian (https://www.transifex.com/oca/teams/23907/hr/)\n" +"Language: hr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" +"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order__default_end_date +msgid "Default End Date" +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order__default_start_date +msgid "Default Start Date" +msgstr "" + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:21 +#, python-format +msgid "" +"Default Start Date should be before or be the same as Default End Date for " +"sale order '%s'." +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order_line__end_date +msgid "End Date" +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model.fields,help:sale_start_end_dates.field_sale_order_line__must_have_dates +msgid "" +"If this option is active, the user will have to enter a Start Date and an " +"End Date on the invoice lines that have this product." +msgstr "" + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:86 +#, python-format +msgid "Missing End Date for sale order line with Product '%s'." +msgstr "" + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:90 +#, python-format +msgid "Missing Start Date for sale order line with Product '%s'." +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order_line__must_have_dates +msgid "Must Have Start and End Dates" +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order_line__number_of_days +msgid "Number of Days" +msgstr "" + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:68 +#, python-format +msgid "" +"On sale order line with product '%s', the number of days is negative (%d) ; " +"this is not allowed. The number of days has been forced to 1." +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model,name:sale_start_end_dates.model_sale_order +#, fuzzy +#| msgid "Sales Order" +msgid "Sale Order" +msgstr "Prodajni nalog" + +#. module: sale_start_end_dates +#: model:ir.model,name:sale_start_end_dates.model_sale_order_line +msgid "Sales Order Line" +msgstr "Stavka ponude" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order_line__start_date +msgid "Start Date" +msgstr "" + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:94 +#, python-format +msgid "" +"Start Date should be before or be the same as End Date for sale order line " +"with Product '%s'." +msgstr "" + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:67 +#, python-format +msgid "Wrong number of days" +msgstr "" diff --git a/sale_start_end_dates/i18n/hr_HR.po b/sale_start_end_dates/i18n/hr_HR.po new file mode 100644 index 00000000000..9ba1f5404ab --- /dev/null +++ b/sale_start_end_dates/i18n/hr_HR.po @@ -0,0 +1,112 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_start_end_dates +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-05-17 02:40+0000\n" +"PO-Revision-Date: 2017-05-17 02:40+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Croatian (Croatia) (https://www.transifex.com/oca/teams/23907/" +"hr_HR/)\n" +"Language: hr_HR\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" +"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order__default_end_date +msgid "Default End Date" +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order__default_start_date +msgid "Default Start Date" +msgstr "" + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:21 +#, python-format +msgid "" +"Default Start Date should be before or be the same as Default End Date for " +"sale order '%s'." +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order_line__end_date +msgid "End Date" +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model.fields,help:sale_start_end_dates.field_sale_order_line__must_have_dates +msgid "" +"If this option is active, the user will have to enter a Start Date and an " +"End Date on the invoice lines that have this product." +msgstr "" + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:86 +#, python-format +msgid "Missing End Date for sale order line with Product '%s'." +msgstr "" + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:90 +#, python-format +msgid "Missing Start Date for sale order line with Product '%s'." +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order_line__must_have_dates +msgid "Must Have Start and End Dates" +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order_line__number_of_days +msgid "Number of Days" +msgstr "" + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:68 +#, python-format +msgid "" +"On sale order line with product '%s', the number of days is negative (%d) ; " +"this is not allowed. The number of days has been forced to 1." +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model,name:sale_start_end_dates.model_sale_order +#, fuzzy +#| msgid "Sales Order" +msgid "Sale Order" +msgstr "Prodjani nalog" + +#. module: sale_start_end_dates +#: model:ir.model,name:sale_start_end_dates.model_sale_order_line +msgid "Sales Order Line" +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order_line__start_date +msgid "Start Date" +msgstr "" + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:94 +#, python-format +msgid "" +"Start Date should be before or be the same as End Date for sale order line " +"with Product '%s'." +msgstr "" + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:67 +#, python-format +msgid "Wrong number of days" +msgstr "" diff --git a/sale_start_end_dates/i18n/hu.po b/sale_start_end_dates/i18n/hu.po new file mode 100644 index 00000000000..eafaa5f70aa --- /dev/null +++ b/sale_start_end_dates/i18n/hu.po @@ -0,0 +1,110 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_start_end_dates +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-05-17 02:40+0000\n" +"PO-Revision-Date: 2017-05-17 02:40+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Hungarian (https://www.transifex.com/oca/teams/23907/hu/)\n" +"Language: hu\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" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order__default_end_date +msgid "Default End Date" +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order__default_start_date +msgid "Default Start Date" +msgstr "" + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:21 +#, python-format +msgid "" +"Default Start Date should be before or be the same as Default End Date for " +"sale order '%s'." +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order_line__end_date +msgid "End Date" +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model.fields,help:sale_start_end_dates.field_sale_order_line__must_have_dates +msgid "" +"If this option is active, the user will have to enter a Start Date and an " +"End Date on the invoice lines that have this product." +msgstr "" + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:86 +#, python-format +msgid "Missing End Date for sale order line with Product '%s'." +msgstr "" + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:90 +#, python-format +msgid "Missing Start Date for sale order line with Product '%s'." +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order_line__must_have_dates +msgid "Must Have Start and End Dates" +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order_line__number_of_days +msgid "Number of Days" +msgstr "" + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:68 +#, python-format +msgid "" +"On sale order line with product '%s', the number of days is negative (%d) ; " +"this is not allowed. The number of days has been forced to 1." +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model,name:sale_start_end_dates.model_sale_order +#, fuzzy +#| msgid "Sales Order" +msgid "Sale Order" +msgstr "Vevői megrendelés" + +#. module: sale_start_end_dates +#: model:ir.model,name:sale_start_end_dates.model_sale_order_line +msgid "Sales Order Line" +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order_line__start_date +msgid "Start Date" +msgstr "" + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:94 +#, python-format +msgid "" +"Start Date should be before or be the same as End Date for sale order line " +"with Product '%s'." +msgstr "" + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:67 +#, python-format +msgid "Wrong number of days" +msgstr "" diff --git a/sale_start_end_dates/i18n/it.po b/sale_start_end_dates/i18n/it.po new file mode 100644 index 00000000000..82930e50440 --- /dev/null +++ b/sale_start_end_dates/i18n/it.po @@ -0,0 +1,123 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_start_end_dates +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-05-17 02:40+0000\n" +"PO-Revision-Date: 2017-05-17 02:40+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Italian (https://www.transifex.com/oca/teams/23907/it/)\n" +"Language: it\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" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order__default_end_date +msgid "Default End Date" +msgstr "Default Data Fine" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order__default_start_date +msgid "Default Start Date" +msgstr "Default Data Inizio" + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:21 +#, fuzzy, python-format +#| msgid "" +#| "Default Start Date should be before or be the same as Default End Date " +#| "for sale order %s" +msgid "" +"Default Start Date should be before or be the same as Default End Date for " +"sale order '%s'." +msgstr "" +"La data di inizio deve essere inferiore o uguale alla data di fine per " +"l'ordine %s." + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order_line__end_date +msgid "End Date" +msgstr "Data fine" + +#. module: sale_start_end_dates +#: model:ir.model.fields,help:sale_start_end_dates.field_sale_order_line__must_have_dates +msgid "" +"If this option is active, the user will have to enter a Start Date and an " +"End Date on the invoice lines that have this product." +msgstr "" + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:86 +#, python-format +msgid "Missing End Date for sale order line with Product '%s'." +msgstr "Manca la data di fine nell'ordine di vendita per il prodotto '%s'" + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:90 +#, python-format +msgid "Missing Start Date for sale order line with Product '%s'." +msgstr "Manca la data di Inizio per il prodotto '%s'" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order_line__must_have_dates +msgid "Must Have Start and End Dates" +msgstr "Necessario Data Inizio e Fine" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order_line__number_of_days +msgid "Number of Days" +msgstr "Numero di giorni" + +#. module: sale_start_end_dates +#: model:ir.model,name:sale_start_end_dates.model_sale_order +#, fuzzy +#| msgid "Sales Order" +msgid "Sale Order" +msgstr "Ordini vendita" + +#. module: sale_start_end_dates +#: model:ir.model,name:sale_start_end_dates.model_sale_order_line +msgid "Sales Order Line" +msgstr "Linea d'ordine di vendita" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order_line__start_date +msgid "Start Date" +msgstr "Data di inizio" + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:94 +#, python-format +msgid "" +"Start Date should be before or be the same as End Date for sale order line " +"with Product '%s'." +msgstr "" +"La data di inizio deve essere antecedente o uguale alla data di fine per il " +"prodotto %s." + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:67 +#, fuzzy, python-format +#| msgid "Number of Days" +msgid "Wrong number of days" +msgstr "Numero di giorni" + +#~ msgid "Missing number of days for sale order line with Product '%s'." +#~ msgstr "" +#~ "Mancano i numeri di giorni nell'ordine di vendita per il prodotto '%s'" + +#~ msgid "" +#~ "On the sale order line with Product '%s', there are %d days between the " +#~ "Start Date (%s) and the End Date (%s), but the number of days field has a " +#~ "value of %d days." +#~ msgstr "" +#~ "L'ordine di vendita del prodotto '%s', ha un %d giorni tra la data di " +#~ "inizio (%s) e quella di fine (%s), ma il campo \"numero di giorni\" ha un " +#~ "valore di %d." diff --git a/sale_start_end_dates/i18n/nl.po b/sale_start_end_dates/i18n/nl.po new file mode 100644 index 00000000000..39fb2493ce2 --- /dev/null +++ b/sale_start_end_dates/i18n/nl.po @@ -0,0 +1,110 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_start_end_dates +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-05-17 02:40+0000\n" +"PO-Revision-Date: 2017-05-17 02:40+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Dutch (https://www.transifex.com/oca/teams/23907/nl/)\n" +"Language: nl\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" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order__default_end_date +msgid "Default End Date" +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order__default_start_date +msgid "Default Start Date" +msgstr "" + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:21 +#, python-format +msgid "" +"Default Start Date should be before or be the same as Default End Date for " +"sale order '%s'." +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order_line__end_date +msgid "End Date" +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model.fields,help:sale_start_end_dates.field_sale_order_line__must_have_dates +msgid "" +"If this option is active, the user will have to enter a Start Date and an " +"End Date on the invoice lines that have this product." +msgstr "" + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:86 +#, python-format +msgid "Missing End Date for sale order line with Product '%s'." +msgstr "" + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:90 +#, python-format +msgid "Missing Start Date for sale order line with Product '%s'." +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order_line__must_have_dates +msgid "Must Have Start and End Dates" +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order_line__number_of_days +msgid "Number of Days" +msgstr "" + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:68 +#, python-format +msgid "" +"On sale order line with product '%s', the number of days is negative (%d) ; " +"this is not allowed. The number of days has been forced to 1." +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model,name:sale_start_end_dates.model_sale_order +#, fuzzy +#| msgid "Sales Order" +msgid "Sale Order" +msgstr "Verkooporder" + +#. module: sale_start_end_dates +#: model:ir.model,name:sale_start_end_dates.model_sale_order_line +msgid "Sales Order Line" +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order_line__start_date +msgid "Start Date" +msgstr "" + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:94 +#, python-format +msgid "" +"Start Date should be before or be the same as End Date for sale order line " +"with Product '%s'." +msgstr "" + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:67 +#, python-format +msgid "Wrong number of days" +msgstr "" diff --git a/sale_start_end_dates/i18n/nl_NL.po b/sale_start_end_dates/i18n/nl_NL.po new file mode 100644 index 00000000000..dfa1083caba --- /dev/null +++ b/sale_start_end_dates/i18n/nl_NL.po @@ -0,0 +1,126 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_start_end_dates +# +# Translators: +# Peter Hageman , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-06-06 13:17+0000\n" +"PO-Revision-Date: 2018-06-21 16:45+0000\n" +"Last-Translator: Thomas Pot \n" +"Language-Team: Dutch (Netherlands) (https://www.transifex.com/oca/" +"teams/23907/nl_NL/)\n" +"Language: nl_NL\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.0.1\n" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order__default_end_date +msgid "Default End Date" +msgstr "Standaard Einddatum" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order__default_start_date +msgid "Default Start Date" +msgstr "Standaard Startdatum" + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:21 +#, fuzzy, python-format +#| msgid "" +#| "Default Start Date should be before or be the same as Default End Date " +#| "for sale order %s" +msgid "" +"Default Start Date should be before or be the same as Default End Date for " +"sale order '%s'." +msgstr "" +"Standaard startdatum moet eerder of gelijk zijn als de standaard einddatum " +"voor de verkooporder %s" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order_line__end_date +msgid "End Date" +msgstr "Einddatum" + +#. module: sale_start_end_dates +#: model:ir.model.fields,help:sale_start_end_dates.field_sale_order_line__must_have_dates +msgid "" +"If this option is active, the user will have to enter a Start Date and an " +"End Date on the invoice lines that have this product." +msgstr "" +"Als deze optie actief is, moet de gebruiker een startdatum en een einddatum " +"invoeren op de factuurregels die dit product bevatten." + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:86 +#, python-format +msgid "Missing End Date for sale order line with Product '%s'." +msgstr "Ontbrekende einddatum voor verkooporderregel met product '%s'." + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:90 +#, python-format +msgid "Missing Start Date for sale order line with Product '%s'." +msgstr "Ontbrekende begindatum voor verkooporderregel met product '%s'." + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order_line__must_have_dates +msgid "Must Have Start and End Dates" +msgstr "Moet begin- en einddatums hebben" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order_line__number_of_days +msgid "Number of Days" +msgstr "Aantal dagen" + +#. module: sale_start_end_dates +#: model:ir.model,name:sale_start_end_dates.model_sale_order +#, fuzzy +#| msgid "Sales Order" +msgid "Sale Order" +msgstr "Verkooporder" + +#. module: sale_start_end_dates +#: model:ir.model,name:sale_start_end_dates.model_sale_order_line +msgid "Sales Order Line" +msgstr "Verkooporderregel" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order_line__start_date +msgid "Start Date" +msgstr "Startdatum" + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:94 +#, python-format +msgid "" +"Start Date should be before or be the same as End Date for sale order line " +"with Product '%s'." +msgstr "" +"Startdatum moet vóór of gelijk zijn aan einddatum voor de verkooporderregel " +"met Product '%s'." + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:67 +#, fuzzy, python-format +#| msgid "Number of Days" +msgid "Wrong number of days" +msgstr "Aantal dagen" + +#~ msgid "Missing number of days for sale order line with Product '%s'." +#~ msgstr "Ontbrekend aantal dagen voor verkooporderregel met product '%s'." + +#~ msgid "" +#~ "On the sale order line with Product '%s', there are %d days between the " +#~ "Start Date (%s) and the End Date (%s), but the number of days field has a " +#~ "value of %d days." +#~ msgstr "" +#~ "Op de verkooporderregel met Product '%s' zijn er %d dagen tussen de " +#~ "startdatum (%s) en de einddatum (%s), maar het veld aantal dagen heeft " +#~ "een waarde van %d dagen." diff --git a/sale_start_end_dates/i18n/pt.po b/sale_start_end_dates/i18n/pt.po new file mode 100644 index 00000000000..39b7a1f7521 --- /dev/null +++ b/sale_start_end_dates/i18n/pt.po @@ -0,0 +1,109 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_start_end_dates +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-05-17 02:40+0000\n" +"PO-Revision-Date: 2020-03-23 14:13+0000\n" +"Last-Translator: Pedro Castro Silva \n" +"Language-Team: Portuguese (https://www.transifex.com/oca/teams/23907/pt/)\n" +"Language: pt\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: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order__default_end_date +msgid "Default End Date" +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order__default_start_date +msgid "Default Start Date" +msgstr "" + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:21 +#, python-format +msgid "" +"Default Start Date should be before or be the same as Default End Date for " +"sale order '%s'." +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order_line__end_date +msgid "End Date" +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model.fields,help:sale_start_end_dates.field_sale_order_line__must_have_dates +msgid "" +"If this option is active, the user will have to enter a Start Date and an " +"End Date on the invoice lines that have this product." +msgstr "" + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:86 +#, python-format +msgid "Missing End Date for sale order line with Product '%s'." +msgstr "" + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:90 +#, python-format +msgid "Missing Start Date for sale order line with Product '%s'." +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order_line__must_have_dates +msgid "Must Have Start and End Dates" +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order_line__number_of_days +msgid "Number of Days" +msgstr "" + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:68 +#, python-format +msgid "" +"On sale order line with product '%s', the number of days is negative (%d) ; " +"this is not allowed. The number of days has been forced to 1." +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model,name:sale_start_end_dates.model_sale_order +msgid "Sale Order" +msgstr "Encomenda de Venda" + +#. module: sale_start_end_dates +#: model:ir.model,name:sale_start_end_dates.model_sale_order_line +msgid "Sales Order Line" +msgstr "Linha de Encomenda de Venda" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order_line__start_date +msgid "Start Date" +msgstr "Data de Início" + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:94 +#, python-format +msgid "" +"Start Date should be before or be the same as End Date for sale order line " +"with Product '%s'." +msgstr "" + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:67 +#, python-format +msgid "Wrong number of days" +msgstr "Número de dias errado" diff --git a/sale_start_end_dates/i18n/pt_BR.po b/sale_start_end_dates/i18n/pt_BR.po new file mode 100644 index 00000000000..f0320f980e2 --- /dev/null +++ b/sale_start_end_dates/i18n/pt_BR.po @@ -0,0 +1,111 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_start_end_dates +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-05-17 02:40+0000\n" +"PO-Revision-Date: 2017-05-17 02:40+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Portuguese (Brazil) (https://www.transifex.com/oca/" +"teams/23907/pt_BR/)\n" +"Language: pt_BR\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" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order__default_end_date +msgid "Default End Date" +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order__default_start_date +msgid "Default Start Date" +msgstr "" + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:21 +#, python-format +msgid "" +"Default Start Date should be before or be the same as Default End Date for " +"sale order '%s'." +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order_line__end_date +msgid "End Date" +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model.fields,help:sale_start_end_dates.field_sale_order_line__must_have_dates +msgid "" +"If this option is active, the user will have to enter a Start Date and an " +"End Date on the invoice lines that have this product." +msgstr "" + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:86 +#, python-format +msgid "Missing End Date for sale order line with Product '%s'." +msgstr "" + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:90 +#, python-format +msgid "Missing Start Date for sale order line with Product '%s'." +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order_line__must_have_dates +msgid "Must Have Start and End Dates" +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order_line__number_of_days +msgid "Number of Days" +msgstr "" + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:68 +#, python-format +msgid "" +"On sale order line with product '%s', the number of days is negative (%d) ; " +"this is not allowed. The number of days has been forced to 1." +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model,name:sale_start_end_dates.model_sale_order +#, fuzzy +#| msgid "Sales Order" +msgid "Sale Order" +msgstr "Pedido de Venda" + +#. module: sale_start_end_dates +#: model:ir.model,name:sale_start_end_dates.model_sale_order_line +msgid "Sales Order Line" +msgstr "Linha Pedido de Venda" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order_line__start_date +msgid "Start Date" +msgstr "" + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:94 +#, python-format +msgid "" +"Start Date should be before or be the same as End Date for sale order line " +"with Product '%s'." +msgstr "" + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:67 +#, python-format +msgid "Wrong number of days" +msgstr "" diff --git a/sale_start_end_dates/i18n/ro.po b/sale_start_end_dates/i18n/ro.po new file mode 100644 index 00000000000..b9711a2fd52 --- /dev/null +++ b/sale_start_end_dates/i18n/ro.po @@ -0,0 +1,111 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_start_end_dates +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-05-17 02:40+0000\n" +"PO-Revision-Date: 2017-05-17 02:40+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Romanian (https://www.transifex.com/oca/teams/23907/ro/)\n" +"Language: ro\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?" +"2:1));\n" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order__default_end_date +msgid "Default End Date" +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order__default_start_date +msgid "Default Start Date" +msgstr "" + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:21 +#, python-format +msgid "" +"Default Start Date should be before or be the same as Default End Date for " +"sale order '%s'." +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order_line__end_date +msgid "End Date" +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model.fields,help:sale_start_end_dates.field_sale_order_line__must_have_dates +msgid "" +"If this option is active, the user will have to enter a Start Date and an " +"End Date on the invoice lines that have this product." +msgstr "" + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:86 +#, python-format +msgid "Missing End Date for sale order line with Product '%s'." +msgstr "" + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:90 +#, python-format +msgid "Missing Start Date for sale order line with Product '%s'." +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order_line__must_have_dates +msgid "Must Have Start and End Dates" +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order_line__number_of_days +msgid "Number of Days" +msgstr "" + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:68 +#, python-format +msgid "" +"On sale order line with product '%s', the number of days is negative (%d) ; " +"this is not allowed. The number of days has been forced to 1." +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model,name:sale_start_end_dates.model_sale_order +#, fuzzy +#| msgid "Sales Order" +msgid "Sale Order" +msgstr "Comandă vânzare" + +#. module: sale_start_end_dates +#: model:ir.model,name:sale_start_end_dates.model_sale_order_line +msgid "Sales Order Line" +msgstr "Linie comandă vânzare" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order_line__start_date +msgid "Start Date" +msgstr "" + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:94 +#, python-format +msgid "" +"Start Date should be before or be the same as End Date for sale order line " +"with Product '%s'." +msgstr "" + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:67 +#, python-format +msgid "Wrong number of days" +msgstr "" diff --git a/sale_start_end_dates/i18n/sale_start_end_dates.pot b/sale_start_end_dates/i18n/sale_start_end_dates.pot new file mode 100644 index 00000000000..8d67bb1445c --- /dev/null +++ b/sale_start_end_dates/i18n/sale_start_end_dates.pot @@ -0,0 +1,112 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_start_end_dates +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-06-20 10:07+0000\n" +"PO-Revision-Date: 2023-06-20 10:07+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: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order__default_end_date +msgid "Default End Date" +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order__default_start_date +msgid "Default Start Date" +msgstr "" + +#. module: sale_start_end_dates +#. odoo-python +#: code:addons/sale_start_end_dates/models/sale_order.py:0 +#, python-format +msgid "" +"Default Start Date (%(start_date)s) should be before or be the same as " +"Default End Date (%(end_date)s) for sale order '%(name)s'." +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order_line__end_date +msgid "End Date" +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model.fields,help:sale_start_end_dates.field_sale_order_line__must_have_dates +msgid "" +"If this option is active, the user will have to enter a Start Date and an " +"End Date on the invoice lines that have this product." +msgstr "" + +#. module: sale_start_end_dates +#. odoo-python +#: code:addons/sale_start_end_dates/models/sale_order.py:0 +#, python-format +msgid "Missing End Date for sale order line with Product '%s'." +msgstr "" + +#. module: sale_start_end_dates +#. odoo-python +#: code:addons/sale_start_end_dates/models/sale_order.py:0 +#, python-format +msgid "Missing Start Date for sale order line with Product '%s'." +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order_line__must_have_dates +msgid "Must Have Start/End Dates" +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order_line__number_of_days +msgid "Number of Days" +msgstr "" + +#. module: sale_start_end_dates +#. odoo-python +#: code:addons/sale_start_end_dates/models/sale_order.py:0 +#, python-format +msgid "" +"On sale order line with product '%(product_name)s', the number of days is " +"negative (%(number_of_days)s) ; this is not allowed. The number of days has " +"been forced to 1." +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model,name:sale_start_end_dates.model_sale_order +msgid "Sales Order" +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model,name:sale_start_end_dates.model_sale_order_line +msgid "Sales Order Line" +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order_line__start_date +msgid "Start Date" +msgstr "" + +#. module: sale_start_end_dates +#. odoo-python +#: code:addons/sale_start_end_dates/models/sale_order.py:0 +#, python-format +msgid "" +"Start Date (%(start_date)s) should be before or be the same as End Date " +"(%(end_date)s) for sale order line with Product '%(product_name)s'." +msgstr "" + +#. module: sale_start_end_dates +#. odoo-python +#: code:addons/sale_start_end_dates/models/sale_order.py:0 +#, python-format +msgid "Wrong number of days" +msgstr "" diff --git a/sale_start_end_dates/i18n/sk.po b/sale_start_end_dates/i18n/sk.po new file mode 100644 index 00000000000..e8e9732ac87 --- /dev/null +++ b/sale_start_end_dates/i18n/sk.po @@ -0,0 +1,110 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_start_end_dates +# +# Translators: +# OCA Transbot , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-01-27 03:53+0000\n" +"PO-Revision-Date: 2018-01-27 03:53+0000\n" +"Last-Translator: OCA Transbot , 2018\n" +"Language-Team: Slovak (https://www.transifex.com/oca/teams/23907/sk/)\n" +"Language: sk\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order__default_end_date +msgid "Default End Date" +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order__default_start_date +msgid "Default Start Date" +msgstr "" + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:21 +#, python-format +msgid "" +"Default Start Date should be before or be the same as Default End Date for " +"sale order '%s'." +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order_line__end_date +msgid "End Date" +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model.fields,help:sale_start_end_dates.field_sale_order_line__must_have_dates +msgid "" +"If this option is active, the user will have to enter a Start Date and an " +"End Date on the invoice lines that have this product." +msgstr "" + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:86 +#, python-format +msgid "Missing End Date for sale order line with Product '%s'." +msgstr "" + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:90 +#, python-format +msgid "Missing Start Date for sale order line with Product '%s'." +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order_line__must_have_dates +msgid "Must Have Start and End Dates" +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order_line__number_of_days +msgid "Number of Days" +msgstr "" + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:68 +#, python-format +msgid "" +"On sale order line with product '%s', the number of days is negative (%d) ; " +"this is not allowed. The number of days has been forced to 1." +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model,name:sale_start_end_dates.model_sale_order +#, fuzzy +#| msgid "Sales Order" +msgid "Sale Order" +msgstr "Objednávka predaja" + +#. module: sale_start_end_dates +#: model:ir.model,name:sale_start_end_dates.model_sale_order_line +msgid "Sales Order Line" +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order_line__start_date +msgid "Start Date" +msgstr "" + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:94 +#, python-format +msgid "" +"Start Date should be before or be the same as End Date for sale order line " +"with Product '%s'." +msgstr "" + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:67 +#, python-format +msgid "Wrong number of days" +msgstr "" diff --git a/sale_start_end_dates/i18n/sl.po b/sale_start_end_dates/i18n/sl.po new file mode 100644 index 00000000000..d46f741fa0b --- /dev/null +++ b/sale_start_end_dates/i18n/sl.po @@ -0,0 +1,126 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_start_end_dates +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-05-17 02:40+0000\n" +"PO-Revision-Date: 2017-05-17 02:40+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Slovenian (https://www.transifex.com/oca/teams/23907/sl/)\n" +"Language: sl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n" +"%100==4 ? 2 : 3);\n" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order__default_end_date +msgid "Default End Date" +msgstr "Privzeti končni datum" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order__default_start_date +msgid "Default Start Date" +msgstr "Privzeti začetni datum" + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:21 +#, fuzzy, python-format +#| msgid "" +#| "Default Start Date should be before or be the same as Default End Date " +#| "for sale order %s" +msgid "" +"Default Start Date should be before or be the same as Default End Date for " +"sale order '%s'." +msgstr "" +"Privzeti začetni datum na prodajnem nalogu %s mora biti pred (ali enak) " +"privzetim končnim datumom" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order_line__end_date +msgid "End Date" +msgstr "Končni datum" + +#. module: sale_start_end_dates +#: model:ir.model.fields,help:sale_start_end_dates.field_sale_order_line__must_have_dates +msgid "" +"If this option is active, the user will have to enter a Start Date and an " +"End Date on the invoice lines that have this product." +msgstr "" + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:86 +#, python-format +msgid "Missing End Date for sale order line with Product '%s'." +msgstr "" +"Manjkajoči končni datum na postavki prodajnega naloga s proizvodom '%s'." + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:90 +#, python-format +msgid "Missing Start Date for sale order line with Product '%s'." +msgstr "" +"Manjkajoči začetni datum na postavki prodajnega naloga s proizvodom '%s'." + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order_line__must_have_dates +msgid "Must Have Start and End Dates" +msgstr "Zahteva se začetni in končni datum" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order_line__number_of_days +msgid "Number of Days" +msgstr "Število dni" + +#. module: sale_start_end_dates +#: model:ir.model,name:sale_start_end_dates.model_sale_order +#, fuzzy +#| msgid "Sales Order" +msgid "Sale Order" +msgstr "Prodajni nalog" + +#. module: sale_start_end_dates +#: model:ir.model,name:sale_start_end_dates.model_sale_order_line +msgid "Sales Order Line" +msgstr "Postavka prodajnega naloga" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order_line__start_date +msgid "Start Date" +msgstr "Začetni datum" + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:94 +#, python-format +msgid "" +"Start Date should be before or be the same as End Date for sale order line " +"with Product '%s'." +msgstr "" +"Začetni datum mora biti na postavki prodajnega naloga s proizvodom '%s' pred " +"končnim datumom (ali enak)." + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:67 +#, fuzzy, python-format +#| msgid "Number of Days" +msgid "Wrong number of days" +msgstr "Število dni" + +#~ msgid "Missing number of days for sale order line with Product '%s'." +#~ msgstr "" +#~ "Manjkajoče število dni na postavki prodajnega naloga s proizvodom '%s'." + +#~ msgid "" +#~ "On the sale order line with Product '%s', there are %d days between the " +#~ "Start Date (%s) and the End Date (%s), but the number of days field has a " +#~ "value of %d days." +#~ msgstr "" +#~ "Na postavki prodajnega naloga s proizvodom '%s' je %d dni med začetnim " +#~ "datumom (%s) in končnim datumom (%s), a polje število dni ima vrednost %d " +#~ "dni." diff --git a/sale_start_end_dates/i18n/tr.po b/sale_start_end_dates/i18n/tr.po new file mode 100644 index 00000000000..1f213c18b2f --- /dev/null +++ b/sale_start_end_dates/i18n/tr.po @@ -0,0 +1,110 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_start_end_dates +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-05-17 02:40+0000\n" +"PO-Revision-Date: 2017-05-17 02:40+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Turkish (https://www.transifex.com/oca/teams/23907/tr/)\n" +"Language: tr\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" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order__default_end_date +msgid "Default End Date" +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order__default_start_date +msgid "Default Start Date" +msgstr "" + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:21 +#, python-format +msgid "" +"Default Start Date should be before or be the same as Default End Date for " +"sale order '%s'." +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order_line__end_date +msgid "End Date" +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model.fields,help:sale_start_end_dates.field_sale_order_line__must_have_dates +msgid "" +"If this option is active, the user will have to enter a Start Date and an " +"End Date on the invoice lines that have this product." +msgstr "" + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:86 +#, python-format +msgid "Missing End Date for sale order line with Product '%s'." +msgstr "" + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:90 +#, python-format +msgid "Missing Start Date for sale order line with Product '%s'." +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order_line__must_have_dates +msgid "Must Have Start and End Dates" +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order_line__number_of_days +msgid "Number of Days" +msgstr "" + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:68 +#, python-format +msgid "" +"On sale order line with product '%s', the number of days is negative (%d) ; " +"this is not allowed. The number of days has been forced to 1." +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model,name:sale_start_end_dates.model_sale_order +#, fuzzy +#| msgid "Sales Order" +msgid "Sale Order" +msgstr "Sipariş Emri" + +#. module: sale_start_end_dates +#: model:ir.model,name:sale_start_end_dates.model_sale_order_line +msgid "Sales Order Line" +msgstr "Satış Siparişi Hattı" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order_line__start_date +msgid "Start Date" +msgstr "" + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:94 +#, python-format +msgid "" +"Start Date should be before or be the same as End Date for sale order line " +"with Product '%s'." +msgstr "" + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:67 +#, python-format +msgid "Wrong number of days" +msgstr "" diff --git a/sale_start_end_dates/i18n/tr_TR.po b/sale_start_end_dates/i18n/tr_TR.po new file mode 100644 index 00000000000..b9abe4280b4 --- /dev/null +++ b/sale_start_end_dates/i18n/tr_TR.po @@ -0,0 +1,111 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_start_end_dates +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-05-17 02:40+0000\n" +"PO-Revision-Date: 2017-05-17 02:40+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Turkish (Turkey) (https://www.transifex.com/oca/teams/23907/" +"tr_TR/)\n" +"Language: tr_TR\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order__default_end_date +msgid "Default End Date" +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order__default_start_date +msgid "Default Start Date" +msgstr "" + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:21 +#, python-format +msgid "" +"Default Start Date should be before or be the same as Default End Date for " +"sale order '%s'." +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order_line__end_date +msgid "End Date" +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model.fields,help:sale_start_end_dates.field_sale_order_line__must_have_dates +msgid "" +"If this option is active, the user will have to enter a Start Date and an " +"End Date on the invoice lines that have this product." +msgstr "" + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:86 +#, python-format +msgid "Missing End Date for sale order line with Product '%s'." +msgstr "" + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:90 +#, python-format +msgid "Missing Start Date for sale order line with Product '%s'." +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order_line__must_have_dates +msgid "Must Have Start and End Dates" +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order_line__number_of_days +msgid "Number of Days" +msgstr "" + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:68 +#, python-format +msgid "" +"On sale order line with product '%s', the number of days is negative (%d) ; " +"this is not allowed. The number of days has been forced to 1." +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model,name:sale_start_end_dates.model_sale_order +#, fuzzy +#| msgid "Sales Order" +msgid "Sale Order" +msgstr "Satış emri" + +#. module: sale_start_end_dates +#: model:ir.model,name:sale_start_end_dates.model_sale_order_line +msgid "Sales Order Line" +msgstr "Sipariş emri satırı " + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order_line__start_date +msgid "Start Date" +msgstr "" + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:94 +#, python-format +msgid "" +"Start Date should be before or be the same as End Date for sale order line " +"with Product '%s'." +msgstr "" + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:67 +#, python-format +msgid "Wrong number of days" +msgstr "" diff --git a/sale_start_end_dates/i18n/vi_VN.po b/sale_start_end_dates/i18n/vi_VN.po new file mode 100644 index 00000000000..00e69d374f2 --- /dev/null +++ b/sale_start_end_dates/i18n/vi_VN.po @@ -0,0 +1,111 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_start_end_dates +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-05-17 02:40+0000\n" +"PO-Revision-Date: 2017-05-17 02:40+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Vietnamese (Viet Nam) (https://www.transifex.com/oca/" +"teams/23907/vi_VN/)\n" +"Language: vi_VN\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order__default_end_date +msgid "Default End Date" +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order__default_start_date +msgid "Default Start Date" +msgstr "" + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:21 +#, python-format +msgid "" +"Default Start Date should be before or be the same as Default End Date for " +"sale order '%s'." +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order_line__end_date +msgid "End Date" +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model.fields,help:sale_start_end_dates.field_sale_order_line__must_have_dates +msgid "" +"If this option is active, the user will have to enter a Start Date and an " +"End Date on the invoice lines that have this product." +msgstr "" + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:86 +#, python-format +msgid "Missing End Date for sale order line with Product '%s'." +msgstr "" + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:90 +#, python-format +msgid "Missing Start Date for sale order line with Product '%s'." +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order_line__must_have_dates +msgid "Must Have Start and End Dates" +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order_line__number_of_days +msgid "Number of Days" +msgstr "" + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:68 +#, python-format +msgid "" +"On sale order line with product '%s', the number of days is negative (%d) ; " +"this is not allowed. The number of days has been forced to 1." +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model,name:sale_start_end_dates.model_sale_order +#, fuzzy +#| msgid "Sales Order" +msgid "Sale Order" +msgstr "Đơn hàng Bán" + +#. module: sale_start_end_dates +#: model:ir.model,name:sale_start_end_dates.model_sale_order_line +msgid "Sales Order Line" +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order_line__start_date +msgid "Start Date" +msgstr "" + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:94 +#, python-format +msgid "" +"Start Date should be before or be the same as End Date for sale order line " +"with Product '%s'." +msgstr "" + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:67 +#, python-format +msgid "Wrong number of days" +msgstr "" diff --git a/sale_start_end_dates/i18n/zh_CN.po b/sale_start_end_dates/i18n/zh_CN.po new file mode 100644 index 00000000000..2305b09ca6d --- /dev/null +++ b/sale_start_end_dates/i18n/zh_CN.po @@ -0,0 +1,110 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_start_end_dates +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: sale-workflow (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-09-09 12:27+0000\n" +"PO-Revision-Date: 2015-09-03 07:11+0000\n" +"Last-Translator: <>\n" +"Language-Team: Chinese (China) (http://www.transifex.com/oca/OCA-sale-" +"workflow-8-0/language/zh_CN/)\n" +"Language: zh_CN\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order__default_end_date +msgid "Default End Date" +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order__default_start_date +msgid "Default Start Date" +msgstr "" + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:21 +#, python-format +msgid "" +"Default Start Date should be before or be the same as Default End Date for " +"sale order '%s'." +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order_line__end_date +msgid "End Date" +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model.fields,help:sale_start_end_dates.field_sale_order_line__must_have_dates +msgid "" +"If this option is active, the user will have to enter a Start Date and an " +"End Date on the invoice lines that have this product." +msgstr "" + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:86 +#, python-format +msgid "Missing End Date for sale order line with Product '%s'." +msgstr "" + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:90 +#, python-format +msgid "Missing Start Date for sale order line with Product '%s'." +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order_line__must_have_dates +msgid "Must Have Start and End Dates" +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order_line__number_of_days +msgid "Number of Days" +msgstr "" + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:68 +#, python-format +msgid "" +"On sale order line with product '%s', the number of days is negative (%d) ; " +"this is not allowed. The number of days has been forced to 1." +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model,name:sale_start_end_dates.model_sale_order +#, fuzzy +#| msgid "Sales Order" +msgid "Sale Order" +msgstr "销售订单" + +#. module: sale_start_end_dates +#: model:ir.model,name:sale_start_end_dates.model_sale_order_line +msgid "Sales Order Line" +msgstr "" + +#. module: sale_start_end_dates +#: model:ir.model.fields,field_description:sale_start_end_dates.field_sale_order_line__start_date +msgid "Start Date" +msgstr "" + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:94 +#, python-format +msgid "" +"Start Date should be before or be the same as End Date for sale order line " +"with Product '%s'." +msgstr "" + +#. module: sale_start_end_dates +#: code:addons/sale_start_end_dates/models/sale_order.py:67 +#, python-format +msgid "Wrong number of days" +msgstr "" diff --git a/sale_start_end_dates/models/__init__.py b/sale_start_end_dates/models/__init__.py new file mode 100644 index 00000000000..6aacb753131 --- /dev/null +++ b/sale_start_end_dates/models/__init__.py @@ -0,0 +1 @@ +from . import sale_order diff --git a/sale_start_end_dates/models/sale_order.py b/sale_start_end_dates/models/sale_order.py new file mode 100644 index 00000000000..172e412d81d --- /dev/null +++ b/sale_start_end_dates/models/sale_order.py @@ -0,0 +1,185 @@ +# Copyright 2014-2021 Akretion (http://www.akretion.com) +# @author Alexis de Lattre +# Copyright 2016-2021 Sodexis (http://sodexis.com) +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from dateutil.relativedelta import relativedelta + +from odoo import _, api, fields, models +from odoo.exceptions import ValidationError +from odoo.tools.misc import format_date + + +class SaleOrder(models.Model): + _inherit = "sale.order" + + default_start_date = fields.Date( + compute="_compute_default_start_date", readonly=False, store=True + ) + default_end_date = fields.Date( + compute="_compute_default_end_date", readonly=False, store=True + ) + + @api.constrains("default_start_date", "default_end_date") + def _check_default_start_end_dates(self): + for order in self: + if ( + order.default_start_date + and order.default_end_date + and order.default_start_date > order.default_end_date + ): + raise ValidationError( + _( + "Default Start Date (%(start_date)s) should be before or be the " + "same as Default End Date (%(end_date)s) for sale order '%(name)s'." + ) + % { + "start_date": format_date(self.env, order.default_start_date), + "end_date": format_date(self.env, order.default_end_date), + "name": order.display_name, + } + ) + + @api.depends("default_end_date") + def _compute_default_start_date(self): + for order in self: + if ( + order.default_start_date + and order.default_end_date + and order.default_start_date > order.default_end_date + ): + order.default_start_date = order.default_end_date + + @api.depends("default_start_date") + def _compute_default_end_date(self): + for order in self: + if ( + order.default_start_date + and order.default_end_date + and order.default_start_date > order.default_end_date + ): + order.default_end_date = order.default_start_date + + +class SaleOrderLine(models.Model): + _inherit = "sale.order.line" + + start_date = fields.Date( + compute="_compute_start_date", + store=True, + states={"draft": [("readonly", False)], "sent": [("readonly", False)]}, + ) + end_date = fields.Date( + compute="_compute_end_date", + store=True, + states={"draft": [("readonly", False)], "sent": [("readonly", False)]}, + ) + number_of_days = fields.Integer( + compute="_compute_number_of_days", + inverse="_inverse_number_of_days", + readonly=False, + store=True, + string="Number of Days", + ) + must_have_dates = fields.Boolean(related="product_id.must_have_dates") + + @api.depends("start_date", "end_date") + def _compute_number_of_days(self): + for line in self: + days = False + if line.start_date and line.end_date: + days = (line.end_date - line.start_date).days + 1 + line.number_of_days = days + + @api.onchange("number_of_days") + def _inverse_number_of_days(self): + res = {"warning": {}} + for line in self: + if line.number_of_days < 0: + res["warning"]["title"] = _("Wrong number of days") + res["warning"]["message"] = _( + "On sale order line with product '%(product_name)s', the " + "number of days is negative (%(number_of_days)s) ; this is not " + "allowed. The number of days has been forced to 1." + ) % { + "product_name": line.product_id.display_name, + "number_of_days": line.number_of_days, + } + line.number_of_days = 1 + if line.start_date: + line.end_date = line.start_date + relativedelta( + days=line.number_of_days - 1 + ) + elif line.end_date: + line.start_date = line.end_date - relativedelta( + days=line.number_of_days - 1 + ) + return res + + @api.constrains("product_id", "start_date", "end_date") + def _check_start_end_dates(self): + for line in self: + if line.product_id.must_have_dates: + if not line.end_date: + raise ValidationError( + _("Missing End Date for sale order line with " "Product '%s'.") + % (line.product_id.display_name) + ) + if not line.start_date: + raise ValidationError( + _( + "Missing Start Date for sale order line with " + "Product '%s'." + ) + % (line.product_id.display_name) + ) + if line.start_date > line.end_date: + raise ValidationError( + _( + "Start Date (%(start_date)s) should be before or " + "be the same as End Date (%(end_date)s) for sale order line " + "with Product '%(product_name)s'." + ) + % { + "start_date": format_date(self.env, line.start_date), + "end_date": format_date(self.env, line.end_date), + "product_name": line.product_id.display_name, + } + ) + + def _prepare_invoice_line(self, **optional_values): + self.ensure_one() + res = super()._prepare_invoice_line(**optional_values) + if not self.display_type and self.must_have_dates: + res.update({"start_date": self.start_date, "end_date": self.end_date}) + return res + + @api.depends("end_date", "product_id") + def _compute_start_date(self): + for line in self: + order = line.order_id + if ( + not line.start_date + and line.product_id.must_have_dates + and order.default_start_date + ): + line.start_date = order.default_start_date + elif line.start_date and not line.product_id.must_have_dates: + line.start_date = False + elif line.end_date and line.start_date and line.start_date > line.end_date: + line.start_date = line.end_date + + @api.depends("start_date", "product_id") + def _compute_end_date(self): + for line in self: + order = line.order_id + if ( + not line.end_date + and line.product_id.must_have_dates + and order.default_end_date + ): + line.end_date = order.default_end_date + elif line.end_date and not line.product_id.must_have_dates: + line.end_date = False + elif line.end_date and line.start_date and line.start_date > line.end_date: + line.end_date = line.start_date diff --git a/sale_start_end_dates/readme/CONTRIBUTORS.rst b/sale_start_end_dates/readme/CONTRIBUTORS.rst new file mode 100644 index 00000000000..d92b2de86c1 --- /dev/null +++ b/sale_start_end_dates/readme/CONTRIBUTORS.rst @@ -0,0 +1,3 @@ +* Alexis de Lattre +* Sodexis +* Serpent Consulting Services Pvt. Ltd. diff --git a/sale_start_end_dates/readme/DESCRIPTION.rst b/sale_start_end_dates/readme/DESCRIPTION.rst new file mode 100644 index 00000000000..4d3a889ae0e --- /dev/null +++ b/sale_start_end_dates/readme/DESCRIPTION.rst @@ -0,0 +1,10 @@ +This module adds the fields *Start Date* and *End Date* on sale order +lines (requied fields when the product has the *Must Have Start and +End Dates* property). You can also define a *Default Start Date* and +*Default End Date* on the sale order; when set, these dates will be used +by default on new sale order lines. Upon invoice creation, the values of +the start/end dates of the sale order line are copied to the start/end +dates of invoice lines. + +This module is a technical module: it is designed to be used with other +modules such as the *sale_rental* module. diff --git a/sale_start_end_dates/static/description/icon.png b/sale_start_end_dates/static/description/icon.png new file mode 100644 index 00000000000..3a0328b516c Binary files /dev/null and b/sale_start_end_dates/static/description/icon.png differ diff --git a/sale_start_end_dates/static/description/index.html b/sale_start_end_dates/static/description/index.html new file mode 100644 index 00000000000..5764b464fee --- /dev/null +++ b/sale_start_end_dates/static/description/index.html @@ -0,0 +1,432 @@ + + + + + + +Sale Start End Dates + + + +
+

Sale Start End Dates

+ + +

Beta License: AGPL-3 OCA/sale-workflow Translate me on Weblate Try me on Runbot

+

This module adds the fields Start Date and End Date on sale order +lines (requied fields when the product has the Must Have Start and +End Dates property). You can also define a Default Start Date and +Default End Date on the sale order; when set, these dates will be used +by default on new sale order lines. Upon invoice creation, the values of +the start/end dates of the sale order line are copied to the start/end +dates of invoice lines.

+

This module is a technical module: it is designed to be used with other +modules such as the sale_rental module.

+

Table of contents

+ +
+

Bug Tracker

+

Bugs are tracked on GitHub 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.

+

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

+
+
+

Credits

+
+

Authors

+
    +
  • Akretion
  • +
  • Sodexis
  • +
+
+
+

Contributors

+ +
+
+

Maintainers

+

This module is maintained by the OCA.

+Odoo Community Association +

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.

+

Current maintainer:

+

alexis-via

+

This module is part of the OCA/sale-workflow project on GitHub.

+

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

+
+
+
+ + diff --git a/sale_start_end_dates/tests/__init__.py b/sale_start_end_dates/tests/__init__.py new file mode 100644 index 00000000000..7c008128f36 --- /dev/null +++ b/sale_start_end_dates/tests/__init__.py @@ -0,0 +1,4 @@ +# Copyright (C) 2018 Serpent Consulting Services Pvt. Ltd. +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from . import test_sale_start_end_dates diff --git a/sale_start_end_dates/tests/test_sale_start_end_dates.py b/sale_start_end_dates/tests/test_sale_start_end_dates.py new file mode 100644 index 00000000000..7e929ee0079 --- /dev/null +++ b/sale_start_end_dates/tests/test_sale_start_end_dates.py @@ -0,0 +1,94 @@ +# Copyright (C) 2018 Serpent Consulting Services Pvt. Ltd. +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +import datetime + +from odoo.exceptions import ValidationError +from odoo.tests.common import TransactionCase + + +class TestSaleStartEndDates(TransactionCase): + def setUp(self): + super().setUp() + self.partner = self.env.ref("base.res_partner_3") + self.product_id = self.env.ref( + "account_invoice_start_end_dates.product_insurance_contract_demo" + ) + self.assertTrue(self.product_id.must_have_dates) + self.product_no_dates = self.env.ref("product.product_product_7") + self.assertFalse(self.product_no_dates.must_have_dates) + self.default_start_date = datetime.datetime.now() + self.default_end_date = self.default_start_date + datetime.timedelta(days=9) + self.so = self.env["sale.order"].create( + { + "partner_id": self.partner.id, + "partner_invoice_id": self.partner.id, + "partner_shipping_id": self.partner.id, + "default_start_date": self.default_start_date, + "default_end_date": self.default_end_date, + "pricelist_id": self.env.ref("product.list0").id, + } + ) + self.order_line = self.env["sale.order.line"].create( + { + "order_id": self.so.id, + "name": self.product_id.display_name, + "product_id": self.product_id.id, + "product_uom_qty": 2, + "product_uom": self.product_id.uom_id.id, + "price_unit": self.product_id.list_price, + "start_date": self.default_start_date, + "end_date": self.default_end_date, + } + ) + self.so.action_confirm() + + def test_default_start_end_date_constraint(self): + with self.assertRaises(ValidationError): + self.so.write( + { + "default_start_date": self.default_end_date, + "default_end_date": self.default_start_date, + } + ) + + def test_compute_start_end_date(self): + new_line = self.env["sale.order.line"].create( + { + "product_id": self.product_id.id, + "name": self.product_id.display_name, + "product_uom_qty": 2, + "product_uom": self.product_id.uom_id.id, + "order_id": self.so.id, + } + ) + self.assertEqual(new_line.start_date, self.so.default_start_date) + self.assertEqual(new_line.end_date, self.so.default_end_date) + + def test_compute_product_no_dates(self): + new_line = self.env["sale.order.line"].create( + { + "product_id": self.product_no_dates.id, + "name": self.product_no_dates.display_name, + "product_uom_qty": 2, + "product_uom": self.product_no_dates.uom_id.id, + "order_id": self.so.id, + } + ) + self.assertFalse(new_line.start_date) + self.assertFalse(new_line.end_date) + + def test_compute_number_of_days(self): + self.assertEqual(self.order_line.number_of_days, 10) + + def test_inverse_number_of_days(self): + self.order_line.number_of_days = 1 + self.assertEqual(self.order_line.start_date, self.order_line.end_date) + self.order_line.number_of_days = -1 + self.assertEqual(self.order_line.number_of_days, 1) + + def test_prepare_invoice_line(self): + invoice_line_vals = self.order_line._prepare_invoice_line() + self.assertEqual(invoice_line_vals["product_id"], self.product_id.id) + self.assertEqual(invoice_line_vals["start_date"], self.order_line.start_date) + self.assertEqual(invoice_line_vals["end_date"], self.order_line.end_date) diff --git a/sale_start_end_dates/views/sale_order.xml b/sale_start_end_dates/views/sale_order.xml new file mode 100644 index 00000000000..36e9c3b25f3 --- /dev/null +++ b/sale_start_end_dates/views/sale_order.xml @@ -0,0 +1,55 @@ + + + + + start.end.dates.view_order_form + sale.order + + + + + + + + + + + + + + + + + + + + + diff --git a/setup/sale_start_end_dates/odoo/addons/sale_start_end_dates b/setup/sale_start_end_dates/odoo/addons/sale_start_end_dates new file mode 120000 index 00000000000..363bb696fd4 --- /dev/null +++ b/setup/sale_start_end_dates/odoo/addons/sale_start_end_dates @@ -0,0 +1 @@ +../../../../sale_start_end_dates \ No newline at end of file diff --git a/setup/sale_start_end_dates/setup.py b/setup/sale_start_end_dates/setup.py new file mode 100644 index 00000000000..28c57bb6403 --- /dev/null +++ b/setup/sale_start_end_dates/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +)