forked from akretion/vertical-rental
-
Notifications
You must be signed in to change notification settings - Fork 0
/
__manifest__.py
60 lines (54 loc) · 2.34 KB
/
__manifest__.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# Part of rental-vertical See LICENSE file for full copyright and licensing details.
{
"name": "Rental Pricelist",
"summary": 'Enables the user to define different rental prices with time uom ("Month", "Day" and "Hour").', # noqa: B950
"usage": """
Create a rentable product:
* Go to Rentals > Configuration > Settings.
* Please activate the checkbox for using 'Product Variants'.
* Go to Rentals > Products > Products.
* Create a new storable product.
* Active the checkbox 'Can be Rented'.
Configure the naming of rental services:
* Go to Settings > Users & Companies > Companies.
* To to page 'Rental Services'.
* Configure the rental service names by providing a prefix
and suffix for the name and default code.
Create the rental services:
* Go to the previously created rentable storable product.
* Go to page 'Rental Price'.
* Activate the boolean fields for hourly, daily or monthly rental as needed.
* Save the product, which creates the related rental services for the given time units.
* Add a usual price for one hour, one day or one month.
* Add bulk prices, e.g. one day costs 300 €, 7 days 290 €, 21 days 250 €, and so on.
Hint: The (bulk) prices are added in the product form view of the storable, rentable product
but are actually used for its related rental services!
Create a rental order:
* Go to Rentals > Customer > Rental Quotations.
* Create a new order and choose the type 'Rental Order'.
* Choose the storable rental product (not the rental service!).
* Choose the rental time unit, which actually loads the correct related rental service.
* Set the quantity to rent out one or several storable rentable products.
* Choose start and end date.
* Confirm the order.
* Check out the two deliveries, one for outgoing and one for incoming delivery.
Please also see the usage section of sale_rental and rental_base module.
""",
"version": "12.0.1.0.2",
"category": "Rental",
"author": "Odoo Community Association (OCA), Elego Software Solutions GmbH",
"website": "https://github.com/OCA/vertical-rental",
"depends": [
"rental_base",
],
"data": [
"views/sale_view.xml",
"views/product_view.xml",
"views/res_company_view.xml",
],
"demo": [],
"qweb": [],
"post_init_hook": "set_multi_sales_price",
"application": False,
"license": "AGPL-3",
}