Skip to content

Commit

Permalink
[MIG] rental_check_availability: Migration to 14.0
Browse files Browse the repository at this point in the history
  • Loading branch information
chandni300 authored and chandni299 committed Jan 29, 2024
1 parent d19b090 commit 1c3ac8a
Show file tree
Hide file tree
Showing 11 changed files with 139 additions and 93 deletions.
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)

5 changes: 2 additions & 3 deletions rental_check_availability/README/CONTRIBUTORS.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,5 @@
Contributors
------------

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

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

Summary
-------
Expand All @@ -12,10 +12,10 @@ 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
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 the certain desired timeframe.
In case of insufficient products in stock the user receives visual notification on respective sale order line
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.
8 changes: 2 additions & 6 deletions rental_check_availability/README/HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,5 @@
Changelog
---------

- 39845816 2021-10-21 14:15:20 +0200 [email protected] (origin/feature_4436_blp1250_unittest_rental_check_availability_v12) [IMP] update translations and manifest of module rental_pricelist_interval and rental_check_availability (issue 4436)
- d8665dd9 2021-10-19 12:26:31 +0200 [email protected] [IMP] Add Unittest for module rental_check_availability and adjust Unittest of rental_pricelist and rental_pricelist_interval (issue 4436)
- 8b4d40c4 2021-09-23 09:19:24 +0200 [email protected] regenerate doc (issue #4016)
- dd988a2f 2021-06-09 12:42:47 +0200 [email protected] update documentation (issue #3613)
- 78a00cdd 2021-04-28 02:43:00 +0200 [email protected] (origin/feature_4222_blp622_rental_check_availability_v12, feature_4222_blp622_rental_check_availability_v12) [IMP] adjust tree view of sale.order and hide the button 'show concurrent order' for product with zero quantity
- 0cc27ac8 2021-03-28 21:45:23 +0200 [email protected] (origin/feature_4046_blp564_rental_check_availability_v12) [ADD] Module rental_check_availability (issue 4046)
- 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)
42 changes: 10 additions & 32 deletions rental_check_availability/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,39 +2,16 @@

{
"name": "Rental Check Availability",
"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.
""",
"contributors": """
* Ben Brich <[email protected]> (www.humanilog.org)
* Yu Weng <[email protected]> (www.elegosoft.com)
""",
"version": "12.0.1.0.0",
"summary": "Extends the sale_rental module for checking availability"
"of the rented product.",
"version": "14.0.1.0.0",
"category": "Rental",
"author": "Odoo Community Association (OCA)/Elego Software Solutions GmbH",
"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",
],
Expand All @@ -44,5 +21,6 @@
"demo": [],
"qweb": [],
"application": False,
"installable": True,
"license": "AGPL-3",
}
46 changes: 31 additions & 15 deletions rental_check_availability/i18n/de.po
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,16 @@
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.0\n"
"Project-Id-Version: Odoo Server 14.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"
"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"
"Language: de\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Content-Transfer-Encoding: \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
Expand All @@ -28,29 +26,47 @@ msgid "Concurrent Orders"
msgstr "Zeitgleiche Aufträge"

#. module: rental_check_availability
#: code:addons/rental_check_availability/models/sale.py:114
#: 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
#: selection:sale.order.line,concurrent_orders:0
#: 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:48
#: code:addons/rental_check_availability/models/sale.py:0
#, python-format
msgid "Not enough stock!"
msgstr "Bestand nicht ausreichend!"

#. module: rental_check_availability
#: selection:sale.order.line,concurrent_orders:0
#: model:ir.model.fields.selection,name:rental_check_availability.selection__sale_order_line__concurrent_orders__order
msgid "Order"
msgstr "Auftrag"

#. module: rental_check_availability
#: selection:sale.order.line,concurrent_orders:0
#: model:ir.model.fields.selection,name:rental_check_availability.selection__sale_order_line__concurrent_orders__quotation
msgid "Quotation"
msgstr "Angebot"

Expand All @@ -70,11 +86,11 @@ msgid "View concurrent Order/Quotation(s)"
msgstr "Zeitgleiche Aufträge anzeigen."

#. module: rental_check_availability
#: code:addons/rental_check_availability/models/sale.py:49
#: 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."
"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."
45 changes: 33 additions & 12 deletions rental_check_availability/i18n/rental_check_availability.pot
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * rental_check_availability
# * rental_check_availability
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.0\n"
"Project-Id-Version: Odoo Server 14.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: <>\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"
Expand All @@ -24,35 +26,53 @@ msgid "Concurrent Orders"
msgstr ""

#. module: rental_check_availability
#: code:addons/rental_check_availability/models/sale.py:114
#: 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
#: selection:sale.order.line,concurrent_orders:0
#: 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:48
#: code:addons/rental_check_availability/models/sale.py:0
#, python-format
msgid "Not enough stock!"
msgstr ""

#. module: rental_check_availability
#: selection:sale.order.line,concurrent_orders:0
#: model:ir.model.fields.selection,name:rental_check_availability.selection__sale_order_line__concurrent_orders__order
msgid "Order"
msgstr ""

#. module: rental_check_availability
#: selection:sale.order.line,concurrent_orders:0
#: 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 "Sale Order"
msgid "Sales Order"
msgstr ""

#. module: rental_check_availability
Expand All @@ -66,8 +86,9 @@ msgid "View concurrent Order/Quotation(s)"
msgstr ""

#. module: rental_check_availability
#: code:addons/rental_check_availability/models/sale.py:49
#: 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."
msgid ""
"You want to rent %.2f %s but you only have %.2f %s available in the selected"
" period."
msgstr ""

Loading

0 comments on commit 1c3ac8a

Please sign in to comment.