-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by rafaelbn
- Loading branch information
Showing
38 changed files
with
3,624 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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 <https://github.com/OCA/sale-workflow/issues>`_. | ||
In case of trouble, please check there if your issue has already been reported. | ||
If you spotted it first, help us smashing it by providing a detailed and welcomed | ||
`feedback <https://github.com/OCA/sale-workflow/issues/new?body=module:%20sale_start_end_dates%0Aversion:%2015.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_. | ||
|
||
Do not contact contributors directly about support or help with technical issues. | ||
|
||
Credits | ||
======= | ||
|
||
Authors | ||
~~~~~~~ | ||
|
||
* Akretion | ||
* Sodexis | ||
|
||
Contributors | ||
~~~~~~~~~~~~ | ||
|
||
* Alexis de Lattre <[email protected]> | ||
* Sodexis <[email protected]> | ||
* Serpent Consulting Services Pvt. Ltd. <[email protected]> | ||
|
||
Maintainers | ||
~~~~~~~~~~~ | ||
|
||
This module is maintained by the OCA. | ||
|
||
.. image:: https://odoo-community.org/logo.png | ||
:alt: Odoo Community Association | ||
:target: https://odoo-community.org | ||
|
||
OCA, or the Odoo Community Association, is a nonprofit organization whose | ||
mission is to support the collaborative development of Odoo features and | ||
promote its widespread use. | ||
|
||
.. |maintainer-alexis-via| image:: https://github.com/alexis-via.png?size=40px | ||
:target: https://github.com/alexis-via | ||
:alt: alexis-via | ||
|
||
Current `maintainer <https://odoo-community.org/page/maintainer-role>`__: | ||
|
||
|maintainer-alexis-via| | ||
|
||
This module is part of the `OCA/sale-workflow <https://github.com/OCA/sale-workflow/tree/15.0/sale_start_end_dates>`_ project on GitHub. | ||
|
||
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
from . import models |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Copyright 2014-2021 Akretion France (http://www.akretion.com) | ||
# @author Alexis de Lattre <[email protected]> | ||
# 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, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,110 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# * sale_start_end_dates | ||
# | ||
# Translators: | ||
# OCA Transbot <[email protected]>, 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 <[email protected]>, 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 "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,119 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# * sale_start_end_dates | ||
# | ||
# Translators: | ||
# OCA Transbot <[email protected]>, 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 <[email protected]>, 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." |
Oops, something went wrong.