Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
2d1e5e0
Initial check-in of the rental project.
Jan 28, 2014
1836de7
Port to v8 and new API with several enhancements
May 25, 2015
8916508
Slovene translations added
sysadminmatmoz Aug 20, 2015
db0f9e0
OCA Transbot updated translations from Transifex
oca-transbot Oct 11, 2015
c439817
Port sale_start_end_dates and sale_rental (#353)
Nov 8, 2016
bb035b2
sale_start_end_dates and sale_rental
dvdhinesh Nov 15, 2016
f1016d5
Product qty on rental pickings
alexis-via May 11, 2017
780348c
Update sale_start_end_dates.pot
oca-travis Jun 20, 2018
84cce39
Translated using Weblate (Nederlands (nl_NL))
thomaspot Jun 21, 2018
3060ea2
sale_start_end_dates: Migration to 11.0.
murtuzasaleh Jul 10, 2018
65a7b44
Update sale_start_end_dates.pot
oca-travis Oct 1, 2018
aacc310
Update translation files
oca-transbot Dec 2, 2018
e6ad719
[MIG] sale_start_end_dates and sale_rental to v12
alexis-via Jul 14, 2019
b0a4274
[FIX] sale_start_end_dates: bad code in compute method
alexis-via Jul 15, 2019
c8c8f81
[UPD] Update sale_start_end_dates.pot
oca-travis Oct 9, 2019
202ebbd
[UPD] README.rst
OCA-git-bot Oct 9, 2019
9ca819a
Update translation files
oca-transbot Oct 12, 2019
cf91677
Translated using Weblate (Portuguese)
pedrocs-exo Mar 23, 2020
f8bfd49
[MIG] sale_start_end_dates to v13
alexis-via Apr 24, 2020
fe51ee2
Black/flake8 fight
alexis-via Apr 25, 2020
ac818b6
Add maintainers key in manifest
alexis-via Apr 25, 2020
9b9be8b
[MIG] sale_start_end_dates to v14
alexis-via Dec 23, 2020
ac2f5e8
[UPD] Update sale_start_end_dates.pot
oca-travis Aug 1, 2021
3ab5964
[UPD] README.rst
OCA-git-bot Aug 1, 2021
027bb19
[MIG] sale_start_end_dates to v15
alexis-via Dec 7, 2021
7abab7f
[UPD] Update sale_start_end_dates.pot
May 16, 2022
344795a
[UPD] README.rst
OCA-git-bot May 16, 2022
5bf7804
sale_start_end_dates 15.0.1.0.1
OCA-git-bot May 16, 2022
9749696
[UPD] README.rst
OCA-git-bot Jun 2, 2022
4bb2641
[UPD] README.rst
OCA-git-bot Jun 2, 2022
e361a65
[MIG] sale_start_end_dates: Migration to 16.0
vancouver29 Jan 11, 2023
fcb14f7
sale_start_end_dates: onchange -> compute methods
alexis-via Jun 20, 2023
44a5504
Fix Singleton Exception (#29)
agent-z28 Aug 7, 2023
303e4c5
[UPD] Update sale_start_end_dates.pot
Aug 7, 2023
1c00ea4
[UPD] README.rst
OCA-git-bot Aug 7, 2023
6d13a23
sale_start_end_dates 16.0.1.0.1
OCA-git-bot Aug 7, 2023
4b0f72b
Translated using Weblate (Spanish)
Ivorra78 Aug 21, 2023
b3342f7
[UPD] README.rst
OCA-git-bot Sep 3, 2023
19f8cb7
Translated using Weblate (Italian)
francesco-ooops Sep 26, 2023
3a1c80f
Update translation files
weblate Oct 9, 2023
4583ab2
Translated using Weblate (Italian)
francesco-ooops Oct 13, 2023
b14e55d
Translated using Weblate (Spanish)
Ivorra78 Oct 15, 2023
3e92798
Translated using Weblate (Italian)
mymage Dec 1, 2023
10d60d1
Translated using Weblate (Italian)
mymage Dec 1, 2023
e9cb96d
Translated using Weblate (Italian)
mymage Dec 12, 2023
40f06a3
Translated using Weblate (Portuguese (Brazil))
May 29, 2024
7aa2909
Translated using Weblate (Italian)
mymage Jun 12, 2025
56913e6
[MIG] sale_start_end_dates: Migration to 18.0
IJOL Apr 1, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
96 changes: 96 additions & 0 deletions sale_start_end_dates/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
====================
Sale Start End Dates
====================

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

.. |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/18.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-18-0/sale-workflow-18-0-sale_start_end_dates
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/sale-workflow&target_branch=18.0
:alt: Try me on Runboat

|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 to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/sale-workflow/issues/new?body=module:%20sale_start_end_dates%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

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

Credits
=======

Authors
-------

* Akretion
* Sodexis

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

- Alexis de Lattre <alexis.delattre@akretion.com>
- Sodexis <dev@sodexis.com>
- Serpent Consulting Services Pvt. Ltd. <support@serpentcs.com>

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/18.0/sale_start_end_dates>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
1 change: 1 addition & 0 deletions sale_start_end_dates/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
18 changes: 18 additions & 0 deletions sale_start_end_dates/__manifest__.py
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 <alexis.delattre@akretion.com>
# 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": "18.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,
}
120 changes: 120 additions & 0 deletions sale_start_end_dates/i18n/ca.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,120 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * sale_start_end_dates
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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
#. 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 "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
#. 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 ""

#, fuzzy
#~| msgid "Sales Order"
#~ msgid "Sale Order"
#~ msgstr "Comandes de venda"
152 changes: 152 additions & 0 deletions sale_start_end_dates/i18n/de.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,152 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * sale_start_end_dates
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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
#. 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 "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
#. 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 "Fehlendes Enddatum in Auftragsposition des Produkts '%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 "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/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 "Anzahl Tage"

#. 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 "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
#. 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
#, fuzzy, python-format
msgid "Wrong number of days"
msgstr "Anzahl Tage"

#, 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"

#~ msgid "Must Have Start and End Dates"
#~ msgstr "Muss Anfangs- und Enddatum haben"

#, fuzzy
#~| msgid "Sales Order"
#~ msgid "Sale Order"
#~ msgstr "Verkaufsauftrag"

#, 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."

#~ 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."
Loading
Loading