Rental Base
rental_base · OCA/vertical-rental
Health
80/100
good
-
Security25/25No findings
-
Activity25/25Last human commit 1 month ago
-
Required by5/250 modules depend on it
-
Maturity25/25In 4 Odoo series since 12.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.17 MB
Module directory on disk
Code analysis
0 migration notes
7 models
9 views
0 HTTP endpoints
Description
Dependencies
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 9
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
product_template_form_view |
product.template | form | Inherits product.product_template_form_view | |
rental_product_search_view |
product.product | search | Inherits product.product_search_form_view | |
res_config_settings_view_form |
res.config.settings | form | Inherits base.res_config_settings_view_form | |
sale_order_type |
rental_base.sale_order_type | sale.order | form | Inherits sale_order_type.sot_view_order_form |
sale_rental |
rental_base.sale_rental | sale.order | form | Inherits sale_rental.view_order_form |
sale_start_end_dates |
rental_base.sale_start_end_dates | sale.order | form | Inherits sale_start_end_dates.view_order_form |
sale_stock |
rental_base.sale_stock | sale.order | form | Inherits sale_stock.view_order_form_inherit_sale_stock |
update_sale_line_date_form |
update.sale.line.date.form | update.sale.line.date | form | New |
view_order_form |
rental_base.view_order_form | sale.order | form | Inherits sale.view_order_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 7
New fields (0)
No new fields.
Public methods (1)-
next_by_code(self, sequence_code, sequence_date=None)@api.model
New fields (1)
-
rentalBooleancompute='_compute_rental'inverse='_inverse_rental'store=True args: 'Can be Rent'
No public methods.
New fields (1)
-
rentalBooleanargs: 'Can be Rent'
No public methods.
New fields (2)
-
default_end_dateDatecompute='_compute_default_end_date'readonly=Falsestore=True -
default_start_dateDatecompute='_compute_default_start_date'readonly=Falsestore=True
-
unlink(self)
New fields (1)
-
rental_qty_uomMany2onerelated='product_id.rented_product_id.uom_id'string='Product Unit of Measure'
-
update_start_end_date(self, date_start, date_end) -
write(self, values)Both fields start_date and end_date were made editable in state draft, sent and sale, in order to allow the creation of new sale order lines with start and end dates. However, it is forbidden to write the dates of already existing sale order lines. To update these existing line, the method 'update_start_end_date' should be called. :param values: dictionary :return: Boolean
New fields (8)
-
all_lineBooleanhelp='If set, all order lines of this order are updated with the given dates.'string='All Lines' -
date_endDaterequired=True -
date_in_lineBooleanhelp='If set, you can set an individual date in every selected position.' -
date_startDaterequired=True -
from_lineIntegerhelp='In order to update one or several order lines, please set a number referring to the first order line that should to be changed.'string='From' -
line_idsOne2many → update.sale.line.date.linecomodel_name='update.sale.line.date.line'inverse_name='wizard_id'string='Positions' -
order_idMany2one → sale.ordercomodel_name='sale.order' -
to_lineIntegerhelp='In order to update one or several order lines, please set a number referring to the last order line that should to be changed.'string='To'
-
action_confirm(self) -
default_get(self, fields)@api.model -
onchange_date_in_line(self)@api.onchange('date_in_line') -
onchange_line(self)@api.onchange('from_line', 'to_line', 'all_line')
New fields (7)
-
changeBoolean -
date_endDate -
date_startDate -
order_line_idMany2one → sale.order.linecomodel_name='sale.order.line'required=True -
product_idMany2one → product.productcomodel_name='product.product' -
sequenceInteger -
wizard_idMany2one → update.sale.line.datecomodel_name='update.sale.line.date'required=True
No public methods.
Loading…
Loading…
Loading…
Loading…