Skip to content

Commit f01de84

Browse files
committed
[ADD] rental_base_extension
- Move Rental Positions menu from Configuration (debug-only) to top-level Rentals menu, visible to all sales users - Filter product dropdown on rental order lines to only show rental products (those with rented_product_id set) - Add Catalan and Spanish translations - Add NuoBiT module icon
1 parent 8114287 commit f01de84

13 files changed

Lines changed: 672 additions & 0 deletions

File tree

rental_base_extension/README.rst

Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
.. image:: https://odoo-community.org/readme-banner-image
2+
:target: https://odoo-community.org/get-involved?utm_source=readme
3+
:alt: Odoo Community Association
4+
5+
=====================
6+
Rental Base Extension
7+
=====================
8+
9+
..
10+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
11+
!! This file is generated by oca-gen-addon-readme !!
12+
!! changes will be overwritten. !!
13+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
14+
!! source digest: sha256:09ab96bf14c0b83294c077459048e953907a79975688866d7ca219537c451e41
15+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
16+
17+
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
18+
:target: https://odoo-community.org/page/development-status
19+
:alt: Beta
20+
.. |badge2| image:: https://img.shields.io/badge/license-AGPL--3-blue.png
21+
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
22+
:alt: License: AGPL-3
23+
.. |badge3| image:: https://img.shields.io/badge/github-nuobit%2Fodoo--addons-lightgray.png?logo=github
24+
:target: https://github.com/nuobit/odoo-addons/tree/16.0/rental_base_extension
25+
:alt: nuobit/odoo-addons
26+
27+
|badge1| |badge2| |badge3|
28+
29+
This module extends ``rental_base`` to improve the rental order experience
30+
with better menu visibility and product filtering.
31+
32+
Rental Positions menu
33+
~~~~~~~~~~~~~~~~~~~~~
34+
35+
The ``rental_base`` module places the Rental Positions screen (the ``sale.rental``
36+
list) under Configuration and restricts it to debug mode. This module moves it
37+
to the top level of the Rentals menu as the first entry, visible to all sales
38+
users, since it is the primary screen for tracking rental status.
39+
40+
Product filter on rental order lines
41+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
42+
43+
When creating a rental order, the product dropdown on order lines only shows
44+
rental service products (i.e. products linked to a rented physical product
45+
via ``rented_product_id``). This prevents users from accidentally selecting
46+
non-rental products on rental orders.
47+
48+
**Table of contents**
49+
50+
.. contents::
51+
:local:
52+
53+
Bug Tracker
54+
===========
55+
56+
Bugs are tracked on `GitHub Issues <https://github.com/nuobit/odoo-addons/issues>`_.
57+
In case of trouble, please check there if your issue has already been reported.
58+
If you spotted it first, help us to smash it by providing a detailed and welcomed
59+
`feedback <https://github.com/nuobit/odoo-addons/issues/new?body=module:%20rental_base_extension%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
60+
61+
Do not contact contributors directly about support or help with technical issues.
62+
63+
Credits
64+
=======
65+
66+
Authors
67+
~~~~~~~
68+
69+
* NuoBiT Solutions SL
70+
71+
Contributors
72+
~~~~~~~~~~~~
73+
74+
* `NuoBiT <https://www.nuobit.com>`__:
75+
76+
* Eric Antones <[email protected]>
77+
78+
Maintainers
79+
~~~~~~~~~~~
80+
81+
This module is part of the `nuobit/odoo-addons <https://github.com/nuobit/odoo-addons/tree/16.0/rental_base_extension>`_ project on GitHub.
82+
83+
You are welcome to contribute.

rental_base_extension/__init__.py

Whitespace-only changes.
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Copyright 2026 NuoBiT Solutions SL - Eric Antones <[email protected]>
2+
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl)
3+
4+
{
5+
"name": "Rental Base Extension",
6+
"summary": "Improves rental orders with menu visibility" " and product filtering.",
7+
"version": "16.0.1.0.0",
8+
"category": "Rental",
9+
"author": "NuoBiT Solutions SL",
10+
"website": "https://github.com/nuobit/odoo-addons",
11+
"license": "AGPL-3",
12+
"depends": [
13+
"rental_base",
14+
],
15+
"data": [
16+
"views/sale_view.xml",
17+
],
18+
}

rental_base_extension/i18n/ca.po

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Translation of Odoo Server.
2+
# This file contains the translation of the following modules:
3+
# * rental_base_extension
4+
#
5+
msgid ""
6+
msgstr ""
7+
"Project-Id-Version: Odoo Server 16.0\n"
8+
"Report-Msgid-Bugs-To: \n"
9+
"Last-Translator: \n"
10+
"Language-Team: \n"
11+
"Language: ca\n"
12+
"MIME-Version: 1.0\n"
13+
"Content-Type: text/plain; charset=UTF-8\n"
14+
"Content-Transfer-Encoding: \n"
15+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
16+
17+
#. module: rental_base_extension
18+
#: model:ir.module.module,shortdesc:rental_base_extension.module_rental_base_extension
19+
msgid "Rental Base Extension"
20+
msgstr "Extensió de lloguer base"
21+
22+
#. module: rental_base_extension
23+
#: model:ir.module.module,summary:rental_base_extension.module_rental_base_extension
24+
msgid "Improves rental orders with menu visibility and product filtering."
25+
msgstr "Millora les comandes de lloguer amb visibilitat de menú i filtratge de productes."

rental_base_extension/i18n/es.po

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Translation of Odoo Server.
2+
# This file contains the translation of the following modules:
3+
# * rental_base_extension
4+
#
5+
msgid ""
6+
msgstr ""
7+
"Project-Id-Version: Odoo Server 16.0\n"
8+
"Report-Msgid-Bugs-To: \n"
9+
"Last-Translator: \n"
10+
"Language-Team: \n"
11+
"Language: es\n"
12+
"MIME-Version: 1.0\n"
13+
"Content-Type: text/plain; charset=UTF-8\n"
14+
"Content-Transfer-Encoding: \n"
15+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
16+
17+
#. module: rental_base_extension
18+
#: model:ir.module.module,shortdesc:rental_base_extension.module_rental_base_extension
19+
msgid "Rental Base Extension"
20+
msgstr "Extensión de alquiler base"
21+
22+
#. module: rental_base_extension
23+
#: model:ir.module.module,summary:rental_base_extension.module_rental_base_extension
24+
msgid "Improves rental orders with menu visibility and product filtering."
25+
msgstr "Mejora los pedidos de alquiler con visibilidad de menú y filtrado de productos."
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Translation of Odoo Server.
2+
# This file contains the translation of the following modules:
3+
# * rental_base_extension
4+
#
5+
msgid ""
6+
msgstr ""
7+
"Project-Id-Version: Odoo Server 16.0\n"
8+
"Report-Msgid-Bugs-To: \n"
9+
"Last-Translator: \n"
10+
"Language-Team: \n"
11+
"MIME-Version: 1.0\n"
12+
"Content-Type: text/plain; charset=UTF-8\n"
13+
"Content-Transfer-Encoding: \n"
14+
"Plural-Forms: \n"
15+
16+
#. module: rental_base_extension
17+
#: model:ir.module.module,shortdesc:rental_base_extension.module_rental_base_extension
18+
msgid "Rental Base Extension"
19+
msgstr ""
20+
21+
#. module: rental_base_extension
22+
#: model:ir.module.module,summary:rental_base_extension.module_rental_base_extension
23+
msgid "Improves rental orders with menu visibility and product filtering."
24+
msgstr ""
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
* `NuoBiT <https://www.nuobit.com>`__:
2+
3+
* Eric Antones <[email protected]>
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
This module extends ``rental_base`` to improve the rental order experience
2+
with better menu visibility and product filtering.
3+
4+
Rental Positions menu
5+
~~~~~~~~~~~~~~~~~~~~~
6+
7+
The ``rental_base`` module places the Rental Positions screen (the ``sale.rental``
8+
list) under Configuration and restricts it to debug mode. This module moves it
9+
to the top level of the Rentals menu as the first entry, visible to all sales
10+
users, since it is the primary screen for tracking rental status.
11+
12+
Product filter on rental order lines
13+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
14+
15+
When creating a rental order, the product dropdown on order lines only shows
16+
rental service products (i.e. products linked to a rented physical product
17+
via ``rented_product_id``). This prevents users from accidentally selecting
18+
non-rental products on rental orders.
6.19 KB
Loading

0 commit comments

Comments
 (0)