Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[16.0][MIG] sale_start_end_dates #2577

Merged
merged 34 commits into from
Aug 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
bc1f045
Initial check-in of the rental project.
Jan 28, 2014
68ff857
Port to v8 and new API with several enhancements
May 25, 2015
0c33855
Slovene translations added
sysadminmatmoz Aug 20, 2015
2cc4c13
OCA Transbot updated translations from Transifex
oca-transbot Oct 11, 2015
54092c4
Port sale_start_end_dates and sale_rental (#353)
Nov 8, 2016
005aa88
sale_start_end_dates and sale_rental
dvdhinesh Nov 15, 2016
5fb02bb
Product qty on rental pickings
alexis-via May 11, 2017
311213d
Update sale_start_end_dates.pot
oca-travis Jun 20, 2018
6721c29
Translated using Weblate (Nederlands (nl_NL))
thomaspot Jun 21, 2018
58ef3d4
sale_start_end_dates: Migration to 11.0.
murtuzasaleh Jul 10, 2018
2261110
Update sale_start_end_dates.pot
oca-travis Oct 1, 2018
8a459b1
Update translation files
oca-transbot Dec 2, 2018
1ed9087
[MIG] sale_start_end_dates and sale_rental to v12
alexis-via Jul 14, 2019
5a76f06
[FIX] sale_start_end_dates: bad code in compute method
alexis-via Jul 15, 2019
f424875
[UPD] Update sale_start_end_dates.pot
oca-travis Oct 9, 2019
76528cf
[UPD] README.rst
OCA-git-bot Oct 9, 2019
e75e1d6
Update translation files
oca-transbot Oct 12, 2019
dbe129d
Translated using Weblate (Portuguese)
pedrocs-exo Mar 23, 2020
01e28b2
[MIG] sale_start_end_dates to v13
alexis-via Apr 24, 2020
ea91141
Black/flake8 fight
alexis-via Apr 25, 2020
039f89b
Add maintainers key in manifest
alexis-via Apr 25, 2020
bac3871
[MIG] sale_start_end_dates to v14
alexis-via Dec 23, 2020
0f526d7
[UPD] Update sale_start_end_dates.pot
oca-travis Aug 1, 2021
acc9873
[UPD] README.rst
OCA-git-bot Aug 1, 2021
8ae4b58
[MIG] sale_start_end_dates to v15
alexis-via Dec 7, 2021
e402a8b
[UPD] Update sale_start_end_dates.pot
May 16, 2022
22515a9
[UPD] README.rst
OCA-git-bot May 16, 2022
4d298bf
sale_start_end_dates 15.0.1.0.1
OCA-git-bot May 16, 2022
c33fe60
[UPD] README.rst
OCA-git-bot Jun 2, 2022
63ae1a8
[UPD] README.rst
OCA-git-bot Jun 2, 2022
d5a1409
[IMP] sale_start_end_dates: pre-commit stuff
vancouver29 Jan 11, 2023
8dacdd6
[MIG] sale_start_end_dates: Migration to 16.0
vancouver29 Jan 11, 2023
b8ee3b0
sale_start_end_dates: onchange -> compute methods
alexis-via Jun 20, 2023
00da877
Fix Singleton Exception (#29)
agent-z28 Aug 7, 2023
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
93 changes: 93 additions & 0 deletions sale_start_end_dates/README.rst
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.
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": "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,
}
110 changes: 110 additions & 0 deletions sale_start_end_dates/i18n/ca.po
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 ""
119 changes: 119 additions & 0 deletions sale_start_end_dates/i18n/de.po
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."
Loading
Loading