Rental Base

rental_base
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_base
VERSION
VERSION 1.0.2
CATEGORY
CATEGORYRental
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONYes
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-git-bot, oca-ci, Yu Weng, PicchiSeba, Adasat Torres de León, Edilio Escalona Almira
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:
    - 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 (10)
XML IDNameModelTypeStatus
product_template_form_view product.template xpath Inherits product.product_template_form_view
rental_product_search_view product.product xpath Inherits product.product_search_form_view
res_config_settings_view_form res.config.settings xpath Inherits base.res_config_settings_view_form
sale_order_type rental_base.sale_order_type sale.order xpath Inherits sale_order_type.sot_view_order_form
sale_rental rental_base.sale_rental sale.order xpath Inherits sale_rental.view_order_form
sale_start_end_dates rental_base.sale_start_end_dates sale.order field Inherits sale_start_end_dates.view_order_form
sale_stock rental_base.sale_stock sale.order xpath 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 xpath Inherits sale.view_order_form
view_sales_order_filter rental_base.sales_order_filter sale.order xpath Inherits sale.view_sales_order_filter
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)
  • rental Boolean
    args: 'Can be Rent'
Public methods (0)

No public methods.

New fields (3)
  • default_end_date Date
    compute='_compute_default_end_date' readonly=False store=True
  • default_start_date Date
    compute='_compute_default_start_date' readonly=False store=True
  • is_rental_order Boolean
    compute='_compute_is_rental_order' store=True
Public methods (1)
  • unlink(self)

New fields (4)
  • end_date Date
    states={'draft': [('readonly', False)], 'sent': [('readonly', False)], 'sale': [('readonly', False)]}
  • order_type Selection
    compute='_compute_order_type' inverse='_inverse_order_type' selection=[('normal', 'Normal'), ('rental', 'Rental')]
  • rental_qty_uom Many2one
    related='product_id.rented_product_id.uom_id' string='Product Unit of Measure'
  • start_date Date
    states={'draft': [('readonly', False)], 'sent': [('readonly', False)], 'sale': [('readonly', False)]}
Public methods (2)
  • 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_line Boolean
    help='If set, all order lines of this order are updated with the given dates.' string='All Lines'
  • date_end Date
    required=True
  • date_in_line Boolean
    help='If set, you can set an individual date in every selected position.'
  • date_start Date
    required=True
  • from_line Integer
    help='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_ids One2many → update.sale.line.date.line
    comodel_name='update.sale.line.date.line' inverse_name='wizard_id' string='Positions'
  • order_id Many2one → sale.order
    comodel_name='sale.order'
  • to_line Integer
    help='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'
Public methods (4)
  • 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)
  • change Boolean
  • date_end Date
  • date_start Date
  • order_line_id Many2one → sale.order.line
    comodel_name='sale.order.line' required=True
  • product_id Many2one → product.product
    comodel_name='product.product'
  • sequence Integer
  • wizard_id Many2one → update.sale.line.date
    comodel_name='update.sale.line.date' required=True
Public methods (0)

No public methods.

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_base
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYRental
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONYes
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), elego Software Solutions GmbH
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), elego Software Solutions GmbH
COMMITTERS
COMMITTERSGitHub, OCA Transbot, oca-travis, Weblate, OCA-git-bot, oca-ci, Yu Weng, 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
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 (10)
XML IDNameModelTypeStatus
product_template_form_view product.template xpath Inherits product.product_template_form_view
rental_product_search_view product.product xpath Inherits product.product_search_form_view
res_config_settings_view_form res.config.settings xpath Inherits base.res_config_settings_view_form
sale_order_type rental_base.sale_order_type sale.order xpath Inherits sale_order_type.sot_view_order_form
sale_rental rental_base.sale_rental sale.order xpath Inherits sale_rental.view_order_form
sale_start_end_dates rental_base.sale_start_end_dates sale.order field Inherits sale_start_end_dates.view_order_form
sale_stock rental_base.sale_stock sale.order xpath 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 xpath Inherits sale.view_order_form
view_sales_order_filter rental_base.sales_order_filter sale.order xpath Inherits sale.view_sales_order_filter
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)
  • rental Boolean
    args: 'Can be Rent'
Public methods (0)

No public methods.

New fields (3)
  • default_end_date Date
    compute='_compute_default_end_date' readonly=False store=True string='Default End Date'
  • default_start_date Date
    compute='_compute_default_start_date' readonly=False store=True string='Default Start Date'
  • is_rental_order Boolean
    compute='_compute_is_rental_order' store=True string='Is Rental Order'
Public methods (1)
  • unlink(self)

New fields (3)
  • end_date Date
    states={'draft': [('readonly', False)], 'sent': [('readonly', False)], 'sale': [('readonly', False)]}
  • rental_qty_uom Many2one
    related='product_id.rented_product_id.uom_id' string='Product Unit of Measure'
  • start_date Date
    states={'draft': [('readonly', False)], 'sent': [('readonly', False)], 'sale': [('readonly', False)]}
Public methods (2)
  • 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_line Boolean
    help='If set, all order lines of this order are updated with the given dates.' string='All Lines'
  • date_end Date
    required=True string='Date End'
  • date_in_line Boolean
    help='If set, you can set an individual date in every selected position.' string='Date in Lines'
  • date_start Date
    required=True string='Date Start'
  • from_line Integer
    help='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_ids One2many → update.sale.line.date.line
    comodel_name='update.sale.line.date.line' inverse_name='wizard_id' string='Positions'
  • order_id Many2one → sale.order
    comodel_name='sale.order' string='Sale Order'
  • to_line Integer
    help='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'
Public methods (4)
  • 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)
  • change Boolean
    string='Change'
  • date_end Date
    string='Date End'
  • date_start Date
    string='Date Start'
  • order_line_id Many2one → sale.order.line
    comodel_name='sale.order.line' required=True
  • product_id Many2one → product.product
    comodel_name='product.product' string='Product'
  • sequence Integer
    string='Sequence'
  • wizard_id Many2one → update.sale.line.date
    comodel_name='update.sale.line.date' required=True
Public methods (0)

No public methods.

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_base
VERSION
VERSION 1.0.2
CATEGORY
CATEGORYRental
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONYes
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, Weblate, 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
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 (10)
XML IDNameModelTypeStatus
product_template_form_view product.template xpath Inherits product.product_template_form_view
rental_product_search_view product.product xpath Inherits product.product_search_form_view
res_config_settings_view_form res.config.settings xpath Inherits base.res_config_settings_view_form
sale_order_type rental_base.sale_order_type sale.order xpath Inherits sale_order_type.sot_view_order_form
sale_rental rental_base.sale_rental sale.order xpath Inherits sale_rental.view_order_form
sale_start_end_dates rental_base.sale_start_end_dates sale.order xpath Inherits sale_start_end_dates.view_order_form
sale_stock rental_base.sale_stock sale.order xpath 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 xpath Inherits sale.view_order_form
view_sales_order_filter rental_base.sales_order_filter sale.order xpath Inherits sale.view_sales_order_filter
Models touched (5)

New fields (0)

No new fields.

Public methods (1)
  • next_by_code(self, sequence_code)
    @api.model

New fields (3)
  • default_end_date Date
    compute='_compute_default_end_date' readonly=False string='Default End Date'
  • default_start_date Date
    compute='_compute_default_start_date' readonly=False string='Default Start Date'
  • is_rental_order Boolean
    compute='_compute_is_rental_order' store=True string='Is Rental Order'
Public methods (1)
  • unlink(self)
    @api.multi

New fields (4)
  • end_date Date
    states={'draft': [('readonly', False)], 'sent': [('readonly', False)], 'sale': [('readonly', False)]}
  • order_type Selection
    compute='_compute_order_type' inverse='_inverse_order_type' selection=[('normal', 'Normal'), ('rental', 'Rental')] string='Order Type'
  • rental_qty_uom Many2one
    related='product_id.rented_product_id.uom_id' string='Product Unit of Measure'
  • start_date Date
    states={'draft': [('readonly', False)], 'sent': [('readonly', False)], 'sale': [('readonly', False)]}
Public methods (2)
  • update_start_end_date(self, date_start, date_end)
    @api.multi
  • write(self, values)
    @api.multi
    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_line Boolean
    help='If set, all order lines of this order are updated with the given dates.' string='All Lines'
  • date_end Date
    required=True string='Date End'
  • date_in_line Boolean
    help='If set, you can set an individual date in every selected position.' string='Date in Lines'
  • date_start Date
    required=True string='Date Start'
  • from_line Integer
    help='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_ids One2many → update.sale.line.date.line
    comodel_name='update.sale.line.date.line' inverse_name='wizard_id' string='Positions'
  • order_id Many2one → sale.order
    comodel_name='sale.order' string='Sale Order'
  • to_line Integer
    help='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'
Public methods (4)
  • 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)
  • change Boolean
    string='Change'
  • date_end Date
    string='Date End'
  • date_start Date
    string='Date Start'
  • order_line_id Many2one → sale.order.line
    comodel_name='sale.order.line' required=True
  • product_id Many2one → product.product
    comodel_name='product.product' string='Product'
  • sequence Integer
    string='Sequence'
  • wizard_id Many2one → update.sale.line.date
    comodel_name='update.sale.line.date' required=True
Public methods (0)

No public methods.

STATUS
STATUSOpen migration PR - not merged yet for this version
REPOSITORY
REPOSITORYOCA/vertical-rental
PULL REQUEST
PULL REQUEST[17.0][MIG] rental_base (#53)