Skip to content
Open
Show file tree
Hide file tree
Changes from 50 commits
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
8dabcd5
Initial check-in of the rental project.
Jan 28, 2014
839ec22
Port to v8 and new API with several enhancements
May 25, 2015
911747c
Slovene translations added
sysadminmatmoz Aug 20, 2015
2f8d127
OCA Transbot updated translations from Transifex
oca-transbot Oct 11, 2015
b99c46a
Port sale_start_end_dates and sale_rental (#353)
Nov 8, 2016
77b01de
sale_start_end_dates and sale_rental
dvdhinesh Nov 15, 2016
1eb31e6
Product qty on rental pickings
alexis-via May 11, 2017
e001dac
Update sale_start_end_dates.pot
oca-travis Jun 20, 2018
54cb673
Translated using Weblate (Nederlands (nl_NL))
thomaspot Jun 21, 2018
b9b6bd8
sale_start_end_dates: Migration to 11.0.
murtuzasaleh Jul 10, 2018
b9e799d
Update sale_start_end_dates.pot
oca-travis Oct 1, 2018
eaf280c
Update translation files
oca-transbot Dec 2, 2018
828244a
[MIG] sale_start_end_dates and sale_rental to v12
alexis-via Jul 14, 2019
b83dd75
[FIX] sale_start_end_dates: bad code in compute method
alexis-via Jul 15, 2019
a0d6e8c
[UPD] Update sale_start_end_dates.pot
oca-travis Oct 9, 2019
88f2bb7
[UPD] README.rst
OCA-git-bot Oct 9, 2019
0acedde
Update translation files
oca-transbot Oct 12, 2019
9dfcdeb
Translated using Weblate (Portuguese)
pedrocs-exo Mar 23, 2020
6d134b5
[MIG] sale_start_end_dates to v13
alexis-via Apr 24, 2020
3b375c7
Black/flake8 fight
alexis-via Apr 25, 2020
6597a20
Add maintainers key in manifest
alexis-via Apr 25, 2020
1df07fb
[MIG] sale_start_end_dates to v14
alexis-via Dec 23, 2020
88486bb
[UPD] Update sale_start_end_dates.pot
oca-travis Aug 1, 2021
303dfe5
[UPD] README.rst
OCA-git-bot Aug 1, 2021
a0c4b6e
[MIG] sale_start_end_dates to v15
alexis-via Dec 7, 2021
347677b
[UPD] Update sale_start_end_dates.pot
May 16, 2022
df32b3d
[UPD] README.rst
OCA-git-bot May 16, 2022
3cf3289
sale_start_end_dates 15.0.1.0.1
OCA-git-bot May 16, 2022
983534f
[UPD] README.rst
OCA-git-bot Jun 2, 2022
74ca8c9
[UPD] README.rst
OCA-git-bot Jun 2, 2022
705598a
[MIG] sale_start_end_dates: Migration to 16.0
vancouver29 Jan 11, 2023
becce5a
sale_start_end_dates: onchange -> compute methods
alexis-via Jun 20, 2023
34f0443
Fix Singleton Exception (#29)
agent-z28 Aug 7, 2023
4e75ffd
[UPD] Update sale_start_end_dates.pot
Aug 7, 2023
5d73b00
[UPD] README.rst
OCA-git-bot Aug 7, 2023
586e923
sale_start_end_dates 16.0.1.0.1
OCA-git-bot Aug 7, 2023
51bfae1
Translated using Weblate (Spanish)
Ivorra78 Aug 21, 2023
82e47f7
[UPD] README.rst
OCA-git-bot Sep 3, 2023
18141be
Translated using Weblate (Italian)
francesco-ooops Sep 26, 2023
955cf2e
Update translation files
weblate Oct 9, 2023
60b0d3a
Translated using Weblate (Italian)
francesco-ooops Oct 13, 2023
92bbd1c
Translated using Weblate (Spanish)
Ivorra78 Oct 15, 2023
63af9bd
Translated using Weblate (Italian)
mymage Dec 1, 2023
4749ae4
Translated using Weblate (Italian)
mymage Dec 1, 2023
bbd118e
Translated using Weblate (Italian)
mymage Dec 12, 2023
21d9298
[IMP] sale_start_end_dates: pre-commit auto fixes
alexis-via Jan 31, 2024
b1a8e8b
[MIG] sale_start_end_dates: migrate to v17
alexis-via Jan 31, 2024
1121604
[UPD] Update sale_start_end_dates.pot
Feb 24, 2024
15412fa
[BOT] post-merge updates
OCA-git-bot Feb 24, 2024
b961750
[IMP] sale_start_end_dates: pre-commit auto fixes
alexis-via Dec 18, 2024
8e14ccf
[MIG] sale_start_end_dates to v18
alexis-via Dec 18, 2024
8bd210b
[IMP] sale_start_end_dates: add fields in sale.report
alexis-via Dec 18, 2024
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:00f45fdd23400a61c07c608305731b37a68342eaafdd8cb6d13a5991093b31f6
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |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 <[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/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 <[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": "18.0.1.0.0",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@alexis-via Could you put this change in migration commit ? Thanks

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