-
-
Notifications
You must be signed in to change notification settings - Fork 996
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
8.0 add support for rental #164
Changes from 16 commits
f7a80c5
e71609b
3e7a0d4
06566de
45f488b
bb45a7e
b112c70
b59301a
0d41d33
ded5be1
3d14216
3546b1e
d99cc5c
999af78
b3217ed
c8647f4
f7ab04a
d8c938f
9ee00ea
1702217
d61595d
bf10018
c1ca1eb
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
Sale Rental | ||
=========== | ||
|
||
With this module, you can rent products with Odoo. This module supports: | ||
|
||
* regular rentals, | ||
* rental extensions, | ||
* sale of rented products. | ||
|
||
Configuration | ||
============= | ||
|
||
In the menu *Sales > Products > Product Variants*, on the form view | ||
of a stockable product or consumable, in the *Rental* tab, there is a | ||
button *Create Rental Service* which starts a wizard to generate the | ||
corresponding rental service. | ||
|
||
In the menu *Warehouse > Configuration > Warehouses*, on the form view | ||
of the warehouse, in the *Technical Information* tab, you will see two | ||
additionnal stock locations: *Rental In* (stock of products to rent) and | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Replace "additionnal" with "additional". |
||
*Rental Out* (products currently rented). In the *Warehouse Configuration* tab, | ||
make sure that the option *Rental Allowed* is checked. | ||
|
||
To use the module, you need to have access to the form view of sale | ||
order lines. For that, you must add your user to one of these groups: | ||
|
||
* Manage Product Packaging | ||
* Properties on lines | ||
|
||
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*. | ||
|
||
Please refer to `this screencast <https://www.youtube.com/watch?v=9o0QrGryBn8>` | ||
to get a demo of the installation, configuration and use of this module | ||
(note that this screencast is for Odoo v7, not v8). | ||
|
||
Known issues / Roadmap | ||
====================== | ||
|
||
This module has the following limitations: | ||
|
||
* No support for planning/agenda of the rented products | ||
* the unit of measure of the rental services must be *Day* (the rental per hours / per week / per month is not supported for the moment) | ||
|
||
Credits | ||
======= | ||
|
||
Contributors | ||
------------ | ||
|
||
* Alexis de Lattre <alexis.delattre@akretion.com> | ||
|
||
Maintainer | ||
---------- | ||
|
||
.. image:: http://odoo-community.org/logo.png | ||
:alt: Odoo Community Association | ||
:target: http://odoo-community.org | ||
|
||
This module is maintained by the OCA. | ||
|
||
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. | ||
|
||
To contribute to this module, please visit http://odoo-community.org. |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# -*- encoding: utf-8 -*- | ||
############################################################################## | ||
# | ||
# Sale Rental module for Odoo | ||
# Copyright (C) 2014-2015 Akretion (http://www.akretion.com) | ||
# @author Alexis de Lattre <alexis.delattre@akretion.com> | ||
# | ||
# This program is free software: you can redistribute it and/or modify | ||
# it under the terms of the GNU Affero General Public License as | ||
# published by the Free Software Foundation, either version 3 of the | ||
# License, or (at your option) any later version. | ||
# | ||
# This program is distributed in the hope that it will be useful, | ||
# but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
# GNU Affero General Public License for more details. | ||
# | ||
# You should have received a copy of the GNU Affero General Public License | ||
# along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
# | ||
############################################################################## | ||
|
||
from . import rental | ||
from . import wizard | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. line 1 to 22 are not useful, just import no license mandatory, no explicit encoding, just ascii used |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# -*- encoding: utf-8 -*- | ||
############################################################################## | ||
# | ||
# Rental module for Odoo | ||
# Copyright (C) 2014-2015 Akretion (http://www.akretion.com) | ||
# @author Alexis de Lattre <alexis.delattre@akretion.com> | ||
# | ||
# This program is free software: you can redistribute it and/or modify | ||
# it under the terms of the GNU Affero General Public License as | ||
# published by the Free Software Foundation, either version 3 of the | ||
# License, or (at your option) any later version. | ||
# | ||
# This program is distributed in the hope that it will be useful, | ||
# but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
# GNU Affero General Public License for more details. | ||
# | ||
# You should have received a copy of the GNU Affero General Public License | ||
# along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
# | ||
############################################################################## | ||
|
||
|
||
{ | ||
'name': 'Rental', | ||
'version': '0.1', | ||
'category': 'Sales Management', | ||
'license': 'AGPL-3', | ||
'summary': 'Manage Rental of Products', | ||
'author': 'Akretion', | ||
'website': 'http://www.akretion.com', | ||
'depends': ['sale_start_end_dates', 'stock'], | ||
'data': [ | ||
'sale_view.xml', | ||
'stock_view.xml', | ||
'rental_view.xml', | ||
'rental_data.xml', | ||
'wizard/create_rental_product_view.xml', | ||
'product_view.xml', | ||
'security/ir.model.access.csv', | ||
], | ||
'demo': ['rental_demo.xml'], | ||
'installable': True, | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Those repositories should be added to oca_dependencies.txt and don't need to be added here, I think.