TIP: You can type at any time to perform a new search.
Rental Base
rental_base · OCA/vertical-rental
Security findings
Migration considerations
res_config_settings_view_form— For a target of Odoo 17.0+: view 'res_config_settings_view_form' uses `attrs=`/`states=`, which are no longer supported. Convert modifiers to direct Python boolean expressions in `invisible`/`readonly`/`required`; preserve the original AND/OR logic. migration-view-attrs-states · sourceupdate_sale_line_date_form— For a target of Odoo 17.0+: view 'update_sale_line_date_form' uses `attrs=`/`states=`, which are no longer supported. Convert modifiers to direct Python boolean expressions in `invisible`/`readonly`/`required`; preserve the original AND/OR logic. migration-view-attrs-states · sourceview_order_form— For a target of Odoo 17.0+: view 'view_order_form' uses `attrs=`/`states=`, which are no longer supported. Convert modifiers to direct Python boolean expressions in `invisible`/`readonly`/`required`; preserve the original AND/OR logic. migration-view-attrs-states · source
Migration review checklist, not a compatibility verdict. No target version is selected: apply version-specific advice only when migrating to that version or later.
- Repository
- OCA/vertical-rental · module folder · Try on Runboat
- Module version
- 1.0.2
- Category
- Rental
- Folder size
- 0.18 MB
- License
- AGPL-3
- Application
- Yes
- Auto-installable
- No
- Website
- https://github.com/OCA/vertical-rental
- Last tracking update
- 2026-08-07 08:09:33
- Authors
- Odoo Community Association (OCA), elego Software Solutions GmbH
- Maintainers
- Odoo Community Association (OCA), elego Software Solutions GmbH
- Committers
- Weblate, OCA-git-bot, oca-ci, Yu Weng, PicchiSeba, Adasat Torres de León, Edilio Escalona Almira
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- rental_pricelist, rental_product_pack
- Description
Code Analysis
Views touched (10)
| 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 |
view_sales_order_filter |
rental_base.sales_order_filter | sale.order | Inherits sale.view_sales_order_filter |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (6)
New fields (0)
No new fields.
Public methods (1)-
next_by_code(self, sequence_code, sequence_date=None)@api.model
New fields (1)
-
rentalBooleanargs: 'Can be Rent'
No public methods.
New fields (3)
-
default_end_dateDatecompute='_compute_default_end_date'readonly=Falsestore=True -
default_start_dateDatecompute='_compute_default_start_date'readonly=Falsestore=True -
is_rental_orderBooleancompute='_compute_is_rental_order'store=True
-
unlink(self)
New fields (4)
-
end_dateDatestates={'draft': [('readonly', False)], 'sent': [('readonly', False)], 'sale': [('readonly', False)]} -
order_typeSelectioncompute='_compute_order_type'inverse='_inverse_order_type'selection=[('normal', 'Normal'), ('rental', 'Rental')] -
rental_qty_uomMany2onerelated='product_id.rented_product_id.uom_id'string='Product Unit of Measure' -
start_dateDatestates={'draft': [('readonly', False)], 'sent': [('readonly', False)], 'sale': [('readonly', False)]}
-
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…
- Status
- Open migration PR — not merged yet for this version
- CI status
- checks failing
- Open since
- 676 days ago
- Last activity
- 219 days ago
- Repository
- OCA/vertical-rental
- Pull request
- [17.0][MIG] rental_base (#53)