TIP: You can type at any time to perform a new search.
Rental Off-Day
rental_offday · OCA/vertical-rental
- Repository
- OCA/vertical-rental · module folder · Try on Runboat
- Module version
- 1.0.0
- Category
- Rental
- Folder size
- 0.06 MB
- License
- AGPL-3
- Application
- No
- 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-ci, Yu Weng
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
- Description
Code Analysis ⓘ
Views touched (1)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_order_form |
rental_offday.view_order_form | sale.order | form | Inherits rental_base.view_order_form |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (2)
New fields (4)
-
add_order_line_idMany2one → sale.order.linecomodel_name='sale.order.line'ondelete='set null'string='Order Line (of additional off-day)' -
dateDaterequired=True -
fixed_order_line_idMany2one → sale.order.linecomodel_name='sale.order.line'ondelete='set null'string='Order Line (of fixed off-day)' -
nameCharstring='Description'
No public methods.
New fields (8)
-
add_additional_offdaysBooleanstring='Add' -
add_offday_idsOne2many → rental.offdaycomodel_name='rental.offday'inverse_name='add_order_line_id'string='Additional Off-Days' -
fixed_offday_idsOne2many → rental.offdaycomodel_name='rental.offday'inverse_name='fixed_order_line_id'string='Fixed Off-Days' -
fixed_offday_typeSelectiondefault='none'selection=[('none', 'none'), ('weekend', 'Weekend')]string='Off-Day Type' -
offday_date_endDatestring='Offday End Date' -
offday_date_startDatestring='Offday Start Date' -
offday_numberFloatcompute='_compute_offday_number'help='This is the number of days, the product is not used by the customer during the rental period.\nFixed off-days, e.g. for the weekend, can be created automatically but you can also add manually more off-days.'string='Number of Off-Days' -
show_offdayBooleancompute='_compute_show_offday'string='Show Off-Days'
-
get_rental_offdays(self, date_from, date_to)@api.model -
is_weekend(self, date)@api.model -
onchange_add_additional_offdays(self)@api.onchange('add_additional_offdays') -
onchange_add_offday_ids(self)@api.onchange('add_offday_ids', 'start_date', 'end_date') -
onchange_fixed_offday_type(self)@api.onchange('fixed_offday_type', 'start_date', 'end_date') -
onchange_offday_number(self)@api.onchange('offday_number') -
product_uom_change(self)@api.onchange('product_uom', 'product_uom_qty') -
rental_qty_number_of_days_change(self)@api.onchange('rental_qty', 'number_of_time_unit', 'product_id')
Loading…
Loading…
Loading…
- Status
- Open migration PR — not merged yet for this version
- CI status
- checks running
- Open since
- 630 days ago
- Last activity
- 427 days ago
- Repository
- OCA/vertical-rental
- Pull request
- [17.0][MIG] rental_offday (#56)