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

[17.0][MIG] rental_check_availability #55

Open
wants to merge 64 commits into
base: 17.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
64 commits
Select commit Hold shift + click to select a range
ad31fd3
Port sale_start_end_dates and sale_rental (#353)
Nov 8, 2016
9cdc3d4
sale_start_end_dates and sale_rental
dvdhinesh Nov 15, 2016
dfa6288
Product qty on rental pickings
alexis-via May 11, 2017
95b0765
Auto configure sale_rental module via post_install.py script
alexis-via May 24, 2017
14792b4
sale_rental: fix warning @constrains parameter 'must_have_dates' is n…
alexis-via Apr 4, 2018
70c3183
pylint
rousseldenis Sep 4, 2018
48e6e30
sale_rental: Migration to 11.0
Mar 29, 2019
1fdb437
[MIG] sale_start_end_dates and sale_rental to v12
alexis-via Jul 14, 2019
fc973e8
sale_rental: Improve the code of object sale.rental
alexis-via Jul 16, 2019
bce7f18
[IMP] enhancements suggested in code reviews
gurneyalex Oct 15, 2019
6bc1f0a
[FIX] Archive rental routes rather than delete
sadamo Oct 15, 2019
fecaf3f
[UPD] Update sale_rental.pot
oca-travis Sep 16, 2020
d8a4b81
[UPD] README.rst
OCA-git-bot Sep 16, 2020
380af26
Added translation using Weblate (Portuguese (Brazil))
marcelsavegnago Oct 1, 2020
968f2cd
Translated using Weblate (Portuguese (Brazil))
marcelsavegnago Oct 2, 2020
dd9cb7d
Update translation files
oca-transbot Oct 9, 2020
bbd7ec8
Update translation files
oca-transbot Nov 22, 2020
2393b6c
Translated using Weblate (Portuguese)
pedrocs-exo Feb 8, 2021
408d006
[IMP] sale_rental: extract function _run_rental_procurement
yweng8111 Mar 5, 2021
eff7446
[UPD] Update sale_rental.pot
oca-travis Mar 12, 2021
3548296
sale_rental 12.0.1.1.0
OCA-git-bot Mar 12, 2021
eb5ca0b
Update translation files
oca-transbot Mar 12, 2021
30b389e
[UPD] Update sale_rental.pot
oca-travis Mar 12, 2021
b9d2689
Update translation files
oca-transbot Mar 12, 2021
007e3f5
[MIG] sale_rental from v12 to v14
alexis-via Jul 31, 2021
cf07c6a
sale_rental: black, isort, etc.
alexis-via Jul 31, 2021
4f1486f
[UPD] Update sale_rental.pot
oca-travis Dec 7, 2021
2f76051
[UPD] README.rst
OCA-git-bot Dec 7, 2021
f8f9113
[MIG] sale_rental: Migration to 15.0
kirca Jan 17, 2022
68f7ab1
[IMP] : black, isort, prettier, pylint
kirca Jan 17, 2022
55c4884
[UPD] Update sale_rental.pot
May 17, 2022
3ccdd58
[UPD] README.rst
OCA-git-bot May 17, 2022
2d8d924
sale_rental 15.0.1.0.1
OCA-git-bot May 17, 2022
3daa40a
[UPD] README.rst
OCA-git-bot Jun 2, 2022
933787b
[UPD] README.rst
OCA-git-bot Jun 2, 2022
f1f72a0
Translated using Weblate (French (France))
gregory-moka Jun 3, 2022
95adb0a
Translated using Weblate (French (France))
gregory-moka Jun 3, 2022
46f9cf4
Translated using Weblate (French)
gregory-moka Jul 4, 2022
5d83c16
[16.0][MIG] sale_rental
Murtaza-OSI Jan 3, 2023
db64170
[IMP] sale_rental: black, isort, prettier
Mar 7, 2024
b247abb
[FIX] rework unit test
Mar 14, 2024
0f18339
[IMP] sale_rental: black, isort, prettier
Mar 14, 2024
a947ac5
[IMP] sale_rental: pre-commit auto fixes
edescalona Nov 27, 2024
6768771
[IMP] sale_rental: pre-commit auto fixes
edescalona Nov 27, 2024
0494a67
[MIG] sale_rental: Migration to 17.0
edescalona Nov 27, 2024
550716d
[REM] Remove sale_rental module from branch 17.0
edescalona Nov 27, 2024
c03ab41
initial add of several rental modules
Oct 26, 2021
6b02815
[ADD] icon.png
OCA-git-bot Oct 26, 2021
5de72bf
[UPD] Update rental_check_availability.pot
oca-travis Nov 1, 2021
b895df7
Update translation files
oca-transbot Nov 1, 2021
915c4bb
[IMP] Update Docs of module rental_check_availability
yweng8111 Sep 5, 2022
5ea4a63
[IMP] rental_check_availability: black, isort, prettier
yweng8111 Sep 7, 2022
09683f6
[IMP] rental_check_availability: black, isort, prettier
yweng8111 Sep 7, 2022
287f105
[IMP] delete description in manifest of module rental_check_availability
yweng8111 Sep 7, 2022
797795e
[IMP] Fix pylint for module rental_check_availability
yweng8111 Sep 7, 2022
1a5016e
[UPD] Update rental_check_availability.pot
oca-travis Sep 9, 2022
8699f13
rental_check_availability 12.0.1.0.1
OCA-git-bot Sep 9, 2022
b4604ff
Update translation files
weblate Oct 9, 2023
46f49b8
[IMP] rental_check_availability: black, isort, prettier
chandni299 Feb 15, 2024
979e885
[MIG] rental_check_availability : Migration to 15.0
chandni299 Feb 16, 2024
7b474ce
[IMP] rental_check_availability: pre-commit auto fixes
edescalona Nov 27, 2024
8b8d5af
[MIG] rental_check_availability: Migration to 17.0
edescalona Nov 28, 2024
dc2bc30
[DON'T MERGE] test-requirements.txt
edescalona Nov 29, 2024
d54db6e
[17.0][FIX] correcting test
edescalona Nov 29, 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
46 changes: 46 additions & 0 deletions rental_check_availability/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
Rental Check Availability
====================================================

*This file has been generated on 2022-04-20-11-34-50. Changes to it will be overwritten.*

Summary
-------

Extends the sale_rental module for checking availability of the rented product.

Description
-----------

This module activates availability checks on stockable products related to rental services in
sale orders. In the base functionality only the total amount of products in stock is checked and user is
informed when the amount of products to rent out in a sale order is higher.

After the installation of this module the availability is checked in consideration of the total amount
of goods in stock and the amount of products used in concurrent sale orders at the certain desired timeframe.
In case of insufficient products in stock the user receives visual notification on respective sale order line
and can access the list of concurrent sale orders directly.


Usage
-----

To use this module, you need to:

#. Go to Rental Orders and create a new one.

#. Add a product available for being rented out in sale order line.

#. If there is not enough stock on hand to fullfil the order and
possible concurrent ones the sale order line will be colorized.
Yellow marks that there are concurrent quotations and red indicates
concurrent orders.

#. To check the concurrent order for a critical sale order line just click
on the inline button being displayed in the sale order line.

Changelog
---------

- 8d191ff7 2022-04-10 15:41:16 +0200 [email protected] (HEAD -> v14, origin/v14) add missing/lost documentation (issue #4516)
- 4509f78a 2022-02-23 20:48:33 +0100 [email protected] (origin/feature_4516_add_files_ported_from_v12_v14, feature_4516_add_files_ported_from_v12_v14) add files ported to v14 by cpatel and khanhbui (issue #4516)

6 changes: 6 additions & 0 deletions rental_check_availability/README/CONTRIBUTORS.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@

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

elego Software Solutions GmbH, Odoo Community Association (OCA)
Ben Brich <[email protected]> (www.humanilog.org), Yu Weng <[email protected]> (www.elegosoft.com)
21 changes: 21 additions & 0 deletions rental_check_availability/README/DESCRIPTION.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
Rental Check Availability
====================================================

*This file has been generated on 2022-04-20-11-34-50. Changes to it will be overwritten.*

Summary
-------

Extends the sale_rental module for checking availability of the rented product.

Description
-----------

This module activates availability checks on stockable products related to rental services in
sale orders. In the base functionality, only the total amount of products in stock is checked and the user is
informed when the amount of products to rent out in a sale order is higher.

After the installation of this module, the availability is checked in consideration of the total amount
of goods in stock and the amount of products used in concurrent sale orders at a certain desired timeframe.
In case of insufficient products in stock, the user receives a visual notification on the respective sale order line
and can access the list of concurrent sale orders directly.
6 changes: 6 additions & 0 deletions rental_check_availability/README/HISTORY.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@

Changelog
---------

- 8d191ff7 2022-04-10 15:41:16 +0200 [email protected] (HEAD -> v14, origin/v14) add missing/lost documentation (issue #4516)
- 4509f78a 2022-02-23 20:48:33 +0100 [email protected] (origin/feature_4516_add_files_ported_from_v12_v14, feature_4516_add_files_ported_from_v12_v14) add files ported to v14 by cpatel and khanhbui (issue #4516)
17 changes: 17 additions & 0 deletions rental_check_availability/README/USAGE.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@

Usage
-----

To use this module, you need to:

#. Go to Rental Orders and create a new one.

#. Add a product available for being rented out in sale order line.

#. If there is not enough stock on hand to fullfil the order and
possible concurrent ones the sale order line will be colorized.
Yellow marks that there are concurrent quotations and red indicates
concurrent orders.

#. To check the concurrent order for a critical sale order line just click
on the inline button being displayed in the sale order line.
3 changes: 3 additions & 0 deletions rental_check_availability/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Part of rental-vertical See LICENSE file for full copyright and licensing details.

from . import models
26 changes: 26 additions & 0 deletions rental_check_availability/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Part of rental-vertical See LICENSE file for full copyright and licensing details.

{
"name": "Rental Check Availability",
"summary": "Extends the sale_rental module for checking availability"
"of the rented product.",
"version": "17.0.1.0.0",
"category": "Rental",
"author": "elego Software Solutions GmbH, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/vertical-rental",
"contributors": [
"Ben Brich <[email protected]> (www.humanilog.org)",
"Yu Weng <[email protected]> (www.elegosoft.com)",
],
"depends": [
"rental_pricelist",
],
"data": [
"views/sale_view.xml",
],
"demo": [],
"qweb": [],
"application": False,
"installable": True,
"license": "AGPL-3",
}
80 changes: 80 additions & 0 deletions rental_check_availability/i18n/de.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * rental_check_availability
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-10-18 11:56+0000\n"
"PO-Revision-Date: 2021-10-18 14:06+0200\n"
"Last-Translator: <>\n"
"Language-Team: \n"
"Language: de\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: \n"
"X-Generator: Poedit 3.0\n"

#. module: rental_check_availability
#: model_terms:ir.ui.view,arch_db:rental_check_availability.view_order_form_order_line_tree_color
msgid "Check Availability"
msgstr "Verfügbarkeit prüfen"

#. module: rental_check_availability
#: model:ir.model.fields,field_description:rental_check_availability.field_sale_order_line__concurrent_orders
msgid "Concurrent Orders"
msgstr "Zeitgleiche Aufträge"

#. module: rental_check_availability
#: code:addons/rental_check_availability/models/sale.py:114
#, python-format
msgid "No found concurrent Rental Order/Quotation(s)."
msgstr "Es konnten keine zeitgleichen Aufträge gefunden werden."

#. module: rental_check_availability
#: selection:sale.order.line,concurrent_orders:0
msgid "None"
msgstr "Keine"

#. module: rental_check_availability
#: code:addons/rental_check_availability/models/sale.py:48
#, python-format
msgid "Not enough stock!"
msgstr "Bestand nicht ausreichend!"

#. module: rental_check_availability
#: selection:sale.order.line,concurrent_orders:0
msgid "Order"
msgstr "Auftrag"

#. module: rental_check_availability
#: selection:sale.order.line,concurrent_orders:0
msgid "Quotation"
msgstr "Angebot"

#. module: rental_check_availability
#: model:ir.model,name:rental_check_availability.model_sale_order
msgid "Sale Order"
msgstr "Verkaufsauftrag"

#. module: rental_check_availability
#: model:ir.model,name:rental_check_availability.model_sale_order_line
msgid "Sales Order Line"
msgstr "Auftragsposition"

#. module: rental_check_availability
#: model_terms:ir.ui.view,arch_db:rental_check_availability.view_order_form
msgid "View concurrent Order/Quotation(s)"
msgstr "Zeitgleiche Aufträge anzeigen."

#. module: rental_check_availability
#: code:addons/rental_check_availability/models/sale.py:49
#, python-format
msgid ""
"You want to rent %.2f %s but you only have %.2f %s available in the selected "
"period."
msgstr ""
"Sie versuchen %.2f %s Einheiten zu vermieten, es sind aber nur %.2f %s "
"Einheiten im aktuellen Bestand verfügbar."
73 changes: 73 additions & 0 deletions rental_check_availability/i18n/rental_check_availability.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * rental_check_availability
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: <>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"

#. module: rental_check_availability
#: model_terms:ir.ui.view,arch_db:rental_check_availability.view_order_form_order_line_tree_color
msgid "Check Availability"
msgstr ""

#. module: rental_check_availability
#: model:ir.model.fields,field_description:rental_check_availability.field_sale_order_line__concurrent_orders
msgid "Concurrent Orders"
msgstr ""

#. module: rental_check_availability
#: code:addons/rental_check_availability/models/sale.py:114
#, python-format
msgid "No found concurrent Rental Order/Quotation(s)."
msgstr ""

#. module: rental_check_availability
#: selection:sale.order.line,concurrent_orders:0
msgid "None"
msgstr ""

#. module: rental_check_availability
#: code:addons/rental_check_availability/models/sale.py:48
#, python-format
msgid "Not enough stock!"
msgstr ""

#. module: rental_check_availability
#: selection:sale.order.line,concurrent_orders:0
msgid "Order"
msgstr ""

#. module: rental_check_availability
#: selection:sale.order.line,concurrent_orders:0
msgid "Quotation"
msgstr ""

#. module: rental_check_availability
#: model:ir.model,name:rental_check_availability.model_sale_order
msgid "Sale Order"
msgstr ""

#. module: rental_check_availability
#: model:ir.model,name:rental_check_availability.model_sale_order_line
msgid "Sales Order Line"
msgstr ""

#. module: rental_check_availability
#: model_terms:ir.ui.view,arch_db:rental_check_availability.view_order_form
msgid "View concurrent Order/Quotation(s)"
msgstr ""

#. module: rental_check_availability
#: code:addons/rental_check_availability/models/sale.py:49
#, python-format
msgid "You want to rent %.2f %s but you only have %.2f %s available in the selected period."
msgstr ""

2 changes: 2 additions & 0 deletions rental_check_availability/models/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Part of rental-vertical See LICENSE file for full copyright and licensing details.
from . import sale
Loading
Loading