forked from OCA/vertical-rental
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* selectively add some files from the v12 branch * initial add of several rental modules * [UPD] Update rental_base.pot * Update translation files Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: vertical-rental-12.0/vertical-rental-12.0-rental_base Translate-URL: https://translation.odoo-community.org/projects/vertical-rental-12-0/vertical-rental-12-0-rental_base/ * [IMP] rental_base: black, isort, prettier * [MIG] rental_base: Migration to 14.0 Co-authored-by: Maria Sparenberg <maria.sparenberg@elegosoft.com> Co-authored-by: oca-travis <oca+oca-travis@odoo-community.org> Co-authored-by: OCA Transbot <transbot@odoo-community.org> Co-authored-by: cpatel <cpatel@elegosoft.com>
- Loading branch information
1 parent
ba0838e
commit 9fa8782
Showing
30 changed files
with
3,878 additions
and
0 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
|
||
Contributors | ||
------------ | ||
|
||
elego Software Solutions GmbH, Odoo Community Association (OCA) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
Rental Base | ||
==================================================== | ||
|
||
*This file has been generated on 2021-10-25-10-18-19. Changes to it will be overwritten.* | ||
|
||
Summary | ||
------- | ||
|
||
Manage Rental of Products | ||
|
||
Description | ||
----------- | ||
|
||
Base Module for Rental Management | ||
|
||
This module provides a new menu for rental management. | ||
It is based on the sale_rental module that currently can be found in sale-workflow repository. |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
|
||
Usage | ||
----- | ||
|
||
Create a rentable product and its rental service. | ||
* Go to Rentals > Configuration > Settings. | ||
* Please activate the checkbox for using 'Product Variants'. | ||
* Go to Rentals > Products > Products. | ||
* Create a new storable product. | ||
* Activate the checkbox 'Can be Rented'. | ||
* Go to page 'Sales & Purchase'. | ||
* Create the rental service and configure its name and price. | ||
|
||
Create a rental order: | ||
* Go to Rentals > Customer > Rental Quotations. | ||
* Create a new order and choose the type 'Rental Order'. | ||
* Add the rental service as an order line. | ||
* 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 module. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Part of rental-vertical See LICENSE file for full copyright and licensing details. | ||
from . import models | ||
from . import tests | ||
from . import wizard |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# Part of rental-vertical See LICENSE file for full copyright and licensing details. | ||
|
||
{ | ||
"name": "Rental Base", | ||
"version": "14.0.1.0.0", | ||
"category": "Rental", | ||
"summary": "Manage Rental of Products", | ||
"author": "elego Software Solutions GmbH, Odoo Community Association (OCA)", | ||
"website": "https://github.com/OCA/vertical-rental", | ||
"depends": [ | ||
"account", | ||
"product_analytic", | ||
"sale", | ||
"sale_order_type", | ||
"sale_rental", | ||
"sale_start_end_dates", | ||
"sale_stock", | ||
"sales_team", | ||
], | ||
"data": [ | ||
"security/ir.model.access.csv", | ||
"data/ir_sequence_data.xml", | ||
"data/order_type_data.xml", | ||
"data/product_uom_data.xml", | ||
"wizard/update_sale_line_date_view.xml", | ||
"views/res_config_settings_view.xml", | ||
"views/stock_picking_views.xml", | ||
"views/product_views.xml", | ||
"views/menu_view.xml", | ||
"views/sale_view.xml", | ||
], | ||
"demo": [], | ||
"qweb": [], | ||
"installable": True, | ||
"application": True, | ||
"license": "AGPL-3", | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<odoo> | ||
<data noupdate="1"> | ||
|
||
<!-- Sequences for sale.order for rental--> | ||
<record id="seq_rental_order" model="ir.sequence"> | ||
<field name="name">Rental Order</field> | ||
<field name="code">sale.order</field> | ||
<field name="prefix">RO</field> | ||
<field name="padding">3</field> | ||
<field name="company_id" eval="False" /> | ||
</record> | ||
|
||
</data> | ||
</odoo> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?xml version="1.0" encoding="UTF-8" ?> | ||
<odoo noupdate="1"> | ||
<record id="rental_sale_type" model="sale.order.type"> | ||
<field name="name">Rental Order</field> | ||
<field name="warehouse_id" ref="stock.warehouse0" /> | ||
<field name="sequence_id" ref="seq_rental_order" /> | ||
</record> | ||
</odoo> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<odoo> | ||
<data> | ||
<record id="product_uom_month" model="uom.uom"> | ||
<field name="name">Month(s)</field> | ||
<field name="uom_type">bigger</field> | ||
<field ref="uom.uom_categ_wtime" name="category_id" /> | ||
<field name="factor" eval="0.033" /> | ||
</record> | ||
</data> | ||
</odoo> |
Oops, something went wrong.