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_validity: Migration to 16.0 #3431

Open
wants to merge 47 commits into
base: 16.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
b2a0513
[ADD] module sale_validity : Add validity date on Sales Quotation
jbaudoux Feb 20, 2013
d7f797d
[FIX] sale_validity: import style + licence + manifest description + …
nbessi Nov 8, 2013
7f9f46f
Update v7 code style and PEP8
Jan 15, 2014
cb6fdb7
Launchpad automatic translations update.
Mar 14, 2014
54db2d9
[FIX] repository PEP8
eLBati Aug 7, 2014
b443fac
- Set as uninstallable and moved to __unported__ dir all modules.
pedrobaeza Aug 7, 2014
93e9465
[MIG] sale_validity: Migration to 8.0
yvaucher Aug 25, 2014
bc34137
fix sale_validity test
gurneyalex Mar 19, 2015
4328753
Slovene translations added
sysadminmatmoz Aug 20, 2015
4b0d9b8
[MIG] sale_validity to v10.0
alexis-via Mar 9, 2017
d51892e
[UPD] Update sale_validity.pot
oca-travis Jun 20, 2018
465f444
[MIG]Migrated Code
murtuzasaleh Oct 1, 2018
5019f59
[UPD] Update sale_validity.pot
oca-travis Jan 7, 2019
2a48d0d
[MIG] sale_validity: Migration to 12.0
MiquelRForgeFlow Jun 13, 2019
5fbb66a
[UPD] Update sale_validity.pot
oca-travis Sep 2, 2019
a9a686a
[UPD] README.rst
OCA-git-bot Sep 2, 2019
b0ccd93
Translated using Weblate (Chinese (Simplified))
liweijie0812 Sep 3, 2019
088b742
Update translation files
oca-transbot Sep 4, 2019
28e0678
Translated using Weblate (Chinese (Simplified))
liweijie0812 Sep 5, 2019
091c873
[IMP] sale_validity: black, isort, prettier
sudhir-erpharbor Jul 24, 2020
9487b9b
[MIG] Migrated the module sale_validity to v13.
sudhir-erpharbor Jul 24, 2020
604c989
[UPD] Update sale_validity.pot
oca-travis Jul 30, 2020
57c3a4e
[UPD] README.rst
OCA-git-bot Jul 30, 2020
ab995ff
sale_validity 13.0.1.0.1
OCA-git-bot Jul 30, 2020
58206d7
Translated using Weblate (Spanish)
danimv5 Aug 7, 2020
32fdcc4
Update translation files
oca-transbot Aug 10, 2020
ae7b96d
Update translation files
oca-transbot Aug 16, 2020
6231c60
Translated using Weblate (Spanish)
danimv5 Oct 26, 2020
41c3c37
[IMP] sale_validity: black, isort, prettier
newtratip Nov 3, 2020
ea7ed71
[MIG] sale_validity: Migration to 14.0
newtratip Nov 6, 2020
9b76e96
[UPD] Update sale_validity.pot
oca-travis Nov 24, 2020
74f7b8c
sale_validity 14.0.1.0.1
OCA-git-bot Nov 24, 2020
ef039e6
Translated using Weblate (Catalan)
danimv5 Jan 20, 2021
28baebf
Translated using Weblate (Dutch)
bosd Jan 25, 2021
b1076f9
Translated using Weblate (Portuguese (Brazil))
britoederr Feb 14, 2021
5bad0ad
[14.0][FIX] sale_validity: method '_company_default_get' is deprecated
newtratip Feb 19, 2021
e73c114
sale_validity 14.0.1.0.2
OCA-git-bot May 15, 2021
c058780
Translated using Weblate (German)
marylla Jul 9, 2021
7a4c58a
[UPD] README.rst
OCA-git-bot Jun 2, 2022
7cd5c25
[UPD] README.rst
OCA-git-bot Jun 2, 2022
70b9023
Translated using Weblate (Italian)
francesco-ooops Jun 24, 2022
8dc2a17
[UPD] README.rst
OCA-git-bot Sep 3, 2023
05840c0
Update translation files
weblate Oct 10, 2023
0b53ae9
Translated using Weblate (Spanish)
Ivorra78 Jan 29, 2024
18f31fb
Translated using Weblate (Portuguese (Brazil))
May 20, 2024
03bd5b0
[IMP] sale_validity: pre-commit stuff
HeliconiaSolutions Nov 26, 2024
745c09d
[MIG] sale_validity: Migration to 16.0
HeliconiaSolutions Nov 26, 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
91 changes: 91 additions & 0 deletions sale_validity/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
=============
Sale Validity
=============

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

.. |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/16.0/sale_validity
: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-16-0/sale-workflow-16-0-sale_validity
: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=16.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

With this module, you will be able to configure a default validity delay on quotations.

**Table of contents**

.. contents::
:local:

Configuration
=============

Go to the menu *Sales > Configuration > Settings*, in the section *Quotations & Orders*, set the *Default Validity of Sale Orders* in days.

Usage
=====

When you create a new quotation, the *Expiration Date* will be set by default to today's date plus the number of days configured in *Sale Settings* page. If you modify the *Order Date* field, the *Expiration Date* will be updated accordingly.

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_validity%0Aversion:%2016.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
~~~~~~~

* Camptocamp

Contributors
~~~~~~~~~~~~

* Camptocamp
* Alexis de Lattre <[email protected]>
* Serpent Consulting Services Pvt. Ltd. <[email protected]>
* Sudhir Arya <[email protected]>
* Tharathip Chaweewongphan <[email protected]>
* Heliconia Solutions 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.

This module is part of the `OCA/sale-workflow <https://github.com/OCA/sale-workflow/tree/16.0/sale_validity>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
3 changes: 3 additions & 0 deletions sale_validity/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

from . import models
16 changes: 16 additions & 0 deletions sale_validity/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# © 2013-2017 Camptocamp SA (Jacques-Etienne Baudoux)
# © 2014-2017 Akretion (Alexis de Lattre <[email protected]>)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

{
"name": "Sale Validity",
"version": "16.0.1.0.0",
"category": "Sales",
"license": "AGPL-3",
"summary": "Set a default validity delay on quotations",
"depends": ["sale_management"],
"author": "Camptocamp, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/sale-workflow",
"data": ["views/res_config_settings.xml"],
"installable": True,
}
86 changes: 86 additions & 0 deletions sale_validity/i18n/ca.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * sale_validity
#
# 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-04-25 02:45+0000\n"
"PO-Revision-Date: 2021-01-20 12:44+0000\n"
"Last-Translator: Daniel Martinez Vila <[email protected]>\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"
"X-Generator: Weblate 4.3.2\n"

#. module: sale_validity
#: model_terms:ir.ui.view,arch_db:sale_validity.res_config_settings_view_form_sale_order_validity
msgid ""
"By default, the validity date of sale orders will be the date of the sale "
"order plus the number of days defined in this field.\n"
" If the value of this field is 0, the sale orders will not have a "
"validity date by default."
msgstr ""
"Per defecte, la data de validesa de les ordres de venda serà la data de la "
"comanda de venda més el nombre de dies definits en aquest camp.\n"
" Si el valor d'aquest camp és 0, les comandes de venda no "
"tindran una data de validesa per defecte."

#. module: sale_validity
#: model:ir.model.fields,help:sale_validity.field_res_company__default_sale_order_validity_days
#: model:ir.model.fields,help:sale_validity.field_res_config_settings__sale_order_default_validity_days
msgid ""
"By default, the validity date of sale orders will be the date of the sale "
"order plus the number of days defined in this field. If the value of this "
"field is 0, the sale orders will not have a validity date by default."
msgstr ""
"Per defecte, la data de validesa de les ordres de venda serà la data de la "
"comanda de venda més el nombre de dies definits en aquest camp. Si el valor "
"d'aquest camp és 0, les comandes de venda no tindran una data de validesa "
"per defecte."

#. module: sale_validity
#: model:ir.model,name:sale_validity.model_res_company
msgid "Companies"
msgstr "Empreses"

#. module: sale_validity
#: model:ir.model,name:sale_validity.model_res_config_settings
msgid "Config Settings"
msgstr "Config. de la Configuració"

#. module: sale_validity
#: model_terms:ir.ui.view,arch_db:sale_validity.res_config_settings_view_form_sale_order_validity
msgid "Days"
msgstr "Dies"

#. module: sale_validity
#: model:ir.model.fields,field_description:sale_validity.field_res_company__default_sale_order_validity_days
#: model:ir.model.fields,field_description:sale_validity.field_res_config_settings__sale_order_default_validity_days
msgid "Default Validity of Sale Orders"
msgstr "Validesa per defecte de les comandes de venda"

#. module: sale_validity
#: model:ir.model.fields,field_description:sale_validity.field_sale_order__validity_date
msgid "Expiration"
msgstr "Caducitat"

#. module: sale_validity
#: model:ir.model,name:sale_validity.model_sale_order
msgid "Sales Order"
msgstr "Comandes de venda"

#. module: sale_validity
#: model:ir.model.constraint,message:sale_validity.constraint_res_company_sale_order_validity_days_positive
msgid ""
"The value of the field 'Default Validity Duration of Sale Orders' must be "
"positive or 0."
msgstr ""
"El valor del camp \"Durada de validesa per defecte de les comandes de venda\""
" ha de ser positiu o 0."
85 changes: 85 additions & 0 deletions sale_validity/i18n/de.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * sale_validity
#
# 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: 2021-07-09 15:48+0000\n"
"Last-Translator: Maria Sparenberg <[email protected]>\n"
"Language-Team: German (http://www.transifex.com/oca/OCA-sale-workflow-8-0/"
"language/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"
"X-Generator: Weblate 4.3.2\n"

#. module: sale_validity
#: model_terms:ir.ui.view,arch_db:sale_validity.res_config_settings_view_form_sale_order_validity
msgid ""
"By default, the validity date of sale orders will be the date of the sale "
"order plus the number of days defined in this field.\n"
" If the value of this field is 0, the sale orders will not have a "
"validity date by default."
msgstr ""
"Das Gültigkeitsdatum von Angeboten ist standardmäßig das Angebotsdatum plus "
"die Anzahl der Tage, die in diesem Feld definiert sind.\n"
"Wenn der Wert hier 0 ist, hat das Angebot standardmäßig kein "
"Gültigkeitsdauer."

#. module: sale_validity
#: model:ir.model.fields,help:sale_validity.field_res_company__default_sale_order_validity_days
#: model:ir.model.fields,help:sale_validity.field_res_config_settings__sale_order_default_validity_days
msgid ""
"By default, the validity date of sale orders will be the date of the sale "
"order plus the number of days defined in this field. If the value of this "
"field is 0, the sale orders will not have a validity date by default."
msgstr ""
"Das Gültigkeitsdatum von Angeboten ist standardmäßig das Angebotsdatum plus "
"die Anzahl der Tage, die in diesem Feld definiert sind. Wenn der Wert hier 0 "
"ist, hat das Angebot standardmäßig kein Gültigkeitsdauer."

#. module: sale_validity
#: model:ir.model,name:sale_validity.model_res_company
msgid "Companies"
msgstr "Unternehmen"

#. module: sale_validity
#: model:ir.model,name:sale_validity.model_res_config_settings
msgid "Config Settings"
msgstr "Konfigurationseinstellungen"

#. module: sale_validity
#: model_terms:ir.ui.view,arch_db:sale_validity.res_config_settings_view_form_sale_order_validity
msgid "Days"
msgstr "Tage"

#. module: sale_validity
#: model:ir.model.fields,field_description:sale_validity.field_res_company__default_sale_order_validity_days
#: model:ir.model.fields,field_description:sale_validity.field_res_config_settings__sale_order_default_validity_days
msgid "Default Validity of Sale Orders"
msgstr "Standard-Gültigkeit von Angeboten"

#. module: sale_validity
#: model:ir.model.fields,field_description:sale_validity.field_sale_order__validity_date
msgid "Expiration"
msgstr "Ablaufdatum"

#. module: sale_validity
#: model:ir.model,name:sale_validity.model_sale_order
msgid "Sales Order"
msgstr "Verkaufsauftrag"

#. module: sale_validity
#: model:ir.model.constraint,message:sale_validity.constraint_res_company_sale_order_validity_days_positive
msgid ""
"The value of the field 'Default Validity Duration of Sale Orders' must be "
"positive or 0."
msgstr ""
"Der Wert des Feldes \"Standard-Gültigkeitsdauer von Angeboten\" muss größer "
"gleich 0 sein."
77 changes: 77 additions & 0 deletions sale_validity/i18n/el_GR.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * sale_validity
#
# 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-04-25 02:45+0000\n"
"PO-Revision-Date: 2017-04-25 02:45+0000\n"
"Last-Translator: OCA Transbot <[email protected]>, 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_validity
#: model_terms:ir.ui.view,arch_db:sale_validity.res_config_settings_view_form_sale_order_validity
msgid ""
"By default, the validity date of sale orders will be the date of the sale "
"order plus the number of days defined in this field.\n"
" If the value of this field is 0, the sale orders will not have a "
"validity date by default."
msgstr ""

#. module: sale_validity
#: model:ir.model.fields,help:sale_validity.field_res_company__default_sale_order_validity_days
#: model:ir.model.fields,help:sale_validity.field_res_config_settings__sale_order_default_validity_days
msgid ""
"By default, the validity date of sale orders will be the date of the sale "
"order plus the number of days defined in this field. If the value of this "
"field is 0, the sale orders will not have a validity date by default."
msgstr ""

#. module: sale_validity
#: model:ir.model,name:sale_validity.model_res_company
msgid "Companies"
msgstr ""

#. module: sale_validity
#: model:ir.model,name:sale_validity.model_res_config_settings
msgid "Config Settings"
msgstr ""

#. module: sale_validity
#: model_terms:ir.ui.view,arch_db:sale_validity.res_config_settings_view_form_sale_order_validity
msgid "Days"
msgstr ""

#. module: sale_validity
#: model:ir.model.fields,field_description:sale_validity.field_res_company__default_sale_order_validity_days
#: model:ir.model.fields,field_description:sale_validity.field_res_config_settings__sale_order_default_validity_days
msgid "Default Validity of Sale Orders"
msgstr ""

#. module: sale_validity
#: model:ir.model.fields,field_description:sale_validity.field_sale_order__validity_date
msgid "Expiration"
msgstr ""

#. module: sale_validity
#: model:ir.model,name:sale_validity.model_sale_order
#, fuzzy
msgid "Sales Order"
msgstr "Εντολή Πώλησης"

#. module: sale_validity
#: model:ir.model.constraint,message:sale_validity.constraint_res_company_sale_order_validity_days_positive
msgid ""
"The value of the field 'Default Validity Duration of Sale Orders' must be "
"positive or 0."
msgstr ""
Loading