Metadata-Version: 2.1
Name: odoo-addon-sale_rental
Version: 18.0.1.0.0.2
Requires-Python: >=3.10
Requires-Dist: odoo-addon-sale_start_end_dates==18.0.*
Requires-Dist: odoo==18.0.*
Summary: Manage Rental of Products
Home-page: https://github.com/OCA/vertical-rental
License: AGPL-3
Author: Akretion, Sodexis, Odoo Community Association (OCA)
Author-email: support@odoo-community.org
Classifier: Programming Language :: Python
Classifier: Framework :: Odoo
Classifier: Framework :: Odoo :: 18.0
Classifier: License :: OSI Approved :: GNU Affero General Public License v3
Description-Content-Type: text/x-rst

.. image:: https://odoo-community.org/readme-banner-image
   :target: https://odoo-community.org/get-involved?utm_source=readme
   :alt: Odoo Community Association

===========
Sale Rental
===========

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

.. |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/license-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%2Fvertical--rental-lightgray.png?logo=github
    :target: https://github.com/OCA/vertical-rental/tree/18.0/sale_rental
    :alt: OCA/vertical-rental
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
    :target: https://translation.odoo-community.org/projects/vertical-rental-18-0/vertical-rental-18-0-sale_rental
    :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/vertical-rental&target_branch=18.0
    :alt: Try me on Runboat

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

With this module, you can rent products with Odoo. This module supports:

- regular rentals.
- rental extensions.
- sale of rented products.

**Table of contents**

.. contents::
   :local:

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

In the *Products* menu, on the form view of a stockable product or
consumable, in the *Sales* tab, there is a button *Create Rental
Service* which starts a wizard to generate the corresponding rental
service.

In the menu *Inventory > Configuration > Warehouse Management >
Warehouses*, on the form view of the warehouse, in the *Technical
Information* tab, you will see two additional stock locations: *Rental
In* (stock of products to rent) and *Rental Out* (products currently
rented). In the *Warehouse Configuration* tab, make sure that the option
*Rental Allowed* is checked.

Usage
=====

In a sale order line (form view, not tree view), if you select a rental
service, you can:

- create a new rental with a start date and an end date: when the sale
  order is confirmed, it will generate a delivery order and an incoming
  shipment.
- extend an existing rental: the incoming shipment will be postponed to
  the end date of the extension.

In a sale order line, if you select a product that has a corresponding
rental service, you can decide to sell the rented product that the
customer already has. If the sale order is confirmed, the incoming
shipment will be cancelled and a new delivery order will be created with
a stock move from *Rental Out* to *Customers*.

You can configure Rental Periods under Sales ▸ Configuration ▸ Rental
Period. A rental period defines the unit of time (Hour, Day, Week,
Month, …) with its conversion into hours. These periods are used to
compute rental duration.

You can configure Rental Pricing under Sales ▸ Products ▸ Rental
Pricing. For each rental service product, you define a price per rental
period. When you create a rental order line, the system selects the
period, computes the duration from the dates, and applies the
corresponding rental price. If a product has no price defined for the
selected period, the system will warn the user.

Known issues / Roadmap
======================

This module has the following limitations:

- No support for planning/agenda of the rented products (i.e. you can't
  rely on this module to check your capacity to rent a product for the
  selected dates when you create a quote)

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/vertical-rental/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/vertical-rental/issues/new?body=module:%20sale_rental%0Aversion:%2018.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
-------

* Akretion
* Sodexis

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

- Alexis de Lattre <alexis.delattre@akretion.com>
- Sodexis <dev@sodexis.com>
- Danh Vo <https://github.com/danhvophuong>
- Kiril Vangelovski <kiril@lambda-is.com>
- Chau Le <chaulb@trobz.com>

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.

.. |maintainer-alexis-via| image:: https://github.com/alexis-via.png?size=40px
    :target: https://github.com/alexis-via
    :alt: alexis-via

Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-alexis-via| 

This module is part of the `OCA/vertical-rental <https://github.com/OCA/vertical-rental/tree/18.0/sale_rental>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
