Rental Off-Day

rental_offday
REPOSITORY
REPOSITORYOCA/vertical-rental
GIT
GIThttps://github.com/OCA/vertical-rental.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/vertical-rental/tree/16.0/rental_offday
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYRental
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), elego Software Solutions GmbH
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), elego Software Solutions GmbH
COMMITTERS
COMMITTERSWeblate, oca-ci, Yu Weng
WEBSITE
WEBSITEhttps://github.com/OCA/vertical-rental
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:54:00
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/account-analytic:
    - product_analytic
OCA/account-closing:
    - account_invoice_start_end_dates
OCA/sale-workflow:
    - sale_order_type
    - sale_start_end_dates
OCA/vertical-rental:
    - rental_pricelist
    - rental_base
    - sale_rental
odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - sale
    - sales_team
    - account_payment
    - payment
    - utm
    - sale_stock
    - stock_account
    - stock
    - barcodes_gs1_nomenclature
    - barcodes
    - sale_management
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_order_form rental_offday.view_order_form sale.order xpath Inherits rental_base.view_order_form
Models touched (2)

New fields (4)
  • add_order_line_id Many2one → sale.order.line
    comodel_name='sale.order.line' ondelete='set null' string='Order Line (of additional off-day)'
  • date Date
    required=True
  • fixed_order_line_id Many2one → sale.order.line
    comodel_name='sale.order.line' ondelete='set null' string='Order Line (of fixed off-day)'
  • name Char
    string='Description'
Public methods (0)

No public methods.

New fields (8)
  • add_additional_offdays Boolean
    string='Add'
  • add_offday_ids One2many → rental.offday
    comodel_name='rental.offday' inverse_name='add_order_line_id' string='Additional Off-Days'
  • fixed_offday_ids One2many → rental.offday
    comodel_name='rental.offday' inverse_name='fixed_order_line_id' string='Fixed Off-Days'
  • fixed_offday_type Selection
    default='none' selection=[('none', 'none'), ('weekend', 'Weekend')] string='Off-Day Type'
  • offday_date_end Date
    string='Offday End Date'
  • offday_date_start Date
    string='Offday Start Date'
  • offday_number Float
    compute='_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_offday Boolean
    compute='_compute_show_offday' string='Show Off-Days'
Public methods (8)
  • 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')
REPOSITORY
REPOSITORYOCA/vertical-rental
GIT
GIThttps://github.com/OCA/vertical-rental.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/vertical-rental/tree/15.0/rental_offday
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYRental
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), elego Software Solutions GmbH
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), elego Software Solutions GmbH
COMMITTERS
COMMITTERSpwitte
WEBSITE
WEBSITEhttps://github.com/OCA/vertical-rental
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:46:44
ODOO DEPENDENCIES
ODOO DEPENDENCIES
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_order_form rental_offday.view_order_form sale.order xpath Inherits rental_base.view_order_form
Models touched (2)

New fields (4)
  • add_order_line_id Many2one → sale.order.line
    comodel_name='sale.order.line' ondelete='set null' string='Order Line (of additional off-day)'
  • date Date
    required=True
  • fixed_order_line_id Many2one → sale.order.line
    comodel_name='sale.order.line' ondelete='set null' string='Order Line (of fixed off-day)'
  • name Char
    string='Description'
Public methods (0)

No public methods.

New fields (8)
  • add_additional_offdays Boolean
    string='Add'
  • add_offday_ids One2many → rental.offday
    comodel_name='rental.offday' inverse_name='add_order_line_id' string='Additional Off-Days'
  • fixed_offday_ids One2many → rental.offday
    comodel_name='rental.offday' inverse_name='fixed_order_line_id' string='Fixed Off-Days'
  • fixed_offday_type Selection
    default='none' selection=[('none', 'none'), ('weekend', 'Weekend')] string='Off-Day Type'
  • offday_date_end Date
    string='Offday End Date'
  • offday_date_start Date
    string='Offday Start Date'
  • offday_number Float
    compute='_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_offday Boolean
    compute='_compute_show_offday' string='Show Off-Days'
Public methods (8)
  • 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')
REPOSITORY
REPOSITORYOCA/vertical-rental
GIT
GIThttps://github.com/OCA/vertical-rental.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/vertical-rental/tree/14.0/rental_offday
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYRental
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), elego Software Solutions GmbH
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), elego Software Solutions GmbH
COMMITTERS
COMMITTERSoca-travis, Weblate, chandni299, cpatel
WEBSITE
WEBSITEhttps://github.com/OCA/vertical-rental
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:41:13
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/account-analytic:
    - product_analytic
OCA/account-closing:
    - account_invoice_start_end_dates
OCA/sale-workflow:
    - sale_order_type
    - sale_rental
    - sale_start_end_dates
OCA/vertical-rental:
    - rental_pricelist
    - rental_base
odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - sale
    - sales_team
    - payment
    - utm
    - sale_stock
    - stock_account
    - stock
    - barcodes
    - sale_management
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_order_form rental_offday.view_order_form sale.order xpath Inherits rental_base.view_order_form
Models touched (2)

New fields (4)
  • add_order_line_id Many2one → sale.order.line
    comodel_name='sale.order.line' ondelete='set null' string='Order Line (of additional off-day)'
  • date Date
    required=True string='Date'
  • fixed_order_line_id Many2one → sale.order.line
    comodel_name='sale.order.line' ondelete='set null' string='Order Line (of fixed off-day)'
  • name Char
    string='Description'
Public methods (0)

No public methods.

New fields (8)
  • add_additional_offdays Boolean
    string='Add'
  • add_offday_ids One2many → rental.offday
    comodel_name='rental.offday' inverse_name='add_order_line_id' string='Additional Off-Days'
  • fixed_offday_ids One2many → rental.offday
    comodel_name='rental.offday' inverse_name='fixed_order_line_id' string='Fixed Off-Days'
  • fixed_offday_type Selection
    default='none' selection=[('none', 'none'), ('weekend', 'Weekend')] string='Off-Day Type'
  • offday_date_end Date
    string='Offday End Date'
  • offday_date_start Date
    string='Offday Start Date'
  • offday_number Float
    compute='_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_offday Boolean
    compute='_compute_show_offday' string='Show Off-Days'
Public methods (8)
  • 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')
REPOSITORY
REPOSITORYOCA/vertical-rental
GIT
GIThttps://github.com/OCA/vertical-rental.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/vertical-rental/tree/12.0/rental_offday
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYRental
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), elego Software Solutions GmbH
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), elego Software Solutions GmbH
COMMITTERS
COMMITTERSOCA Transbot, oca-travis, OCA-git-bot, Yu Weng, Maria Sparenberg
WEBSITE
WEBSITEhttps://github.com/OCA/vertical-rental
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:29:26
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/account-analytic:
    - product_analytic
OCA/account-closing:
    - account_invoice_start_end_dates
OCA/sale-workflow:
    - sale_order_type
    - sale_rental
    - sale_start_end_dates
OCA/vertical-rental:
    - rental_pricelist
    - rental_base
odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - product
    - decimal_precision
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - http_routing
    - digest
    - sale_stock
    - sale
    - sales_team
    - payment
    - stock_account
    - stock
    - barcodes
    - sale_management
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_order_form rental_offday.view_order_form sale.order xpath Inherits rental_base.view_order_form
Models touched (2)

New fields (4)
  • add_order_line_id Many2one → sale.order.line
    comodel_name='sale.order.line' ondelete='set null' string='Order Line (of additional off-day)'
  • date Date
    required=True string='Date'
  • fixed_order_line_id Many2one → sale.order.line
    comodel_name='sale.order.line' ondelete='set null' string='Order Line (of fixed off-day)'
  • name Char
    string='Description'
Public methods (0)

No public methods.

New fields (8)
  • add_additional_offdays Boolean
    string='Add'
  • add_offday_ids One2many → rental.offday
    comodel_name='rental.offday' inverse_name='add_order_line_id' string='Additional Off-Days'
  • fixed_offday_ids One2many → rental.offday
    comodel_name='rental.offday' inverse_name='fixed_order_line_id' string='Fixed Off-Days'
  • fixed_offday_type Selection
    default='none' selection=[('none', 'none'), ('weekend', 'Weekend')] string='Off-Day Type'
  • offday_date_end Date
    string='Offday End Date'
  • offday_date_start Date
    string='Offday Start Date'
  • offday_number Float
    compute='_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_offday Boolean
    compute='_compute_show_offday' string='Show Off-Days'
Public methods (8)
  • 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')
STATUS
STATUSOpen migration PR - not merged yet for this version
REPOSITORY
REPOSITORYOCA/vertical-rental
PULL REQUEST
PULL REQUEST[17.0][MIG] rental_offday (#56)