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

[14.0][MIG] rental_check_availability #13

Merged
merged 6 commits into from
Feb 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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": "14.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",
}
96 changes: 96 additions & 0 deletions rental_check_availability/i18n/de.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * rental_check_availability
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 14.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-01-06 14:13+0000\n"
"PO-Revision-Date: 2022-01-06 14:13+0000\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 "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
#: model:ir.model.fields,field_description:rental_check_availability.field_sale_order__display_name
#: model:ir.model.fields,field_description:rental_check_availability.field_sale_order_line__display_name
msgid "Display Name"
msgstr "Anzeigename"

#. module: rental_check_availability
#: model:ir.model.fields,field_description:rental_check_availability.field_sale_order__id
#: model:ir.model.fields,field_description:rental_check_availability.field_sale_order_line__id
msgid "ID"
msgstr ""

#. module: rental_check_availability
#: model:ir.model.fields,field_description:rental_check_availability.field_sale_order____last_update
#: model:ir.model.fields,field_description:rental_check_availability.field_sale_order_line____last_update
msgid "Last Modified on"
msgstr "Zuletzt geändert am"

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

#. module: rental_check_availability
#: model:ir.model.fields.selection,name:rental_check_availability.selection__sale_order_line__concurrent_orders__none
msgid "None"
msgstr "Keine"

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

#. module: rental_check_availability
#: model:ir.model.fields.selection,name:rental_check_availability.selection__sale_order_line__concurrent_orders__order
msgid "Order"
msgstr "Auftrag"

#. module: rental_check_availability
#: model:ir.model.fields.selection,name:rental_check_availability.selection__sale_order_line__concurrent_orders__quotation
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:0
#, 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."
94 changes: 94 additions & 0 deletions rental_check_availability/i18n/rental_check_availability.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * rental_check_availability
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 14.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-01-06 14:13+0000\n"
"PO-Revision-Date: 2022-01-06 14:13+0000\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
#: model:ir.model.fields,field_description:rental_check_availability.field_sale_order__display_name
#: model:ir.model.fields,field_description:rental_check_availability.field_sale_order_line__display_name
msgid "Display Name"
msgstr ""

#. module: rental_check_availability
#: model:ir.model.fields,field_description:rental_check_availability.field_sale_order__id
#: model:ir.model.fields,field_description:rental_check_availability.field_sale_order_line__id
msgid "ID"
msgstr ""

#. module: rental_check_availability
#: model:ir.model.fields,field_description:rental_check_availability.field_sale_order____last_update
#: model:ir.model.fields,field_description:rental_check_availability.field_sale_order_line____last_update
msgid "Last Modified on"
msgstr ""

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

#. module: rental_check_availability
#: model:ir.model.fields.selection,name:rental_check_availability.selection__sale_order_line__concurrent_orders__none
msgid "None"
msgstr ""

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

#. module: rental_check_availability
#: model:ir.model.fields.selection,name:rental_check_availability.selection__sale_order_line__concurrent_orders__order
msgid "Order"
msgstr ""

#. module: rental_check_availability
#: model:ir.model.fields.selection,name:rental_check_availability.selection__sale_order_line__concurrent_orders__quotation
msgid "Quotation"
msgstr ""

#. module: rental_check_availability
#: model:ir.model,name:rental_check_availability.model_sale_order
msgid "Sales 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:0
#, 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