| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/vertical-rental |
| GIT | |
| GIT | https://github.com/OCA/vertical-rental.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/vertical-rental/tree/16.0/rental_pricelist |
| VERSION | |
| VERSION | 1.0.1 |
| CATEGORY | |
| CATEGORY | Rental |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA), elego Software Solutions GmbH |
| MAINTAINERS | |
| MAINTAINERS | Odoo Community Association (OCA), elego Software Solutions GmbH |
| COMMITTERS | |
| COMMITTERS | Weblate, OCA-git-bot, oca-ci, Yu Weng |
| WEBSITE | |
| WEBSITE | https://github.com/OCA/vertical-rental |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-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_base - sale_rental odoo/odoo: - account - base_setup - base - web - product - 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 | |
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
product_normal_form_view |
view.product.product.form | product.product | xpath | Inherits product.product_normal_form_view |
view_company_rental_service_form |
res.company.form | res.company | notebook | Inherits base.view_company_form |
view_order_form |
rental_pricelist.view_order_form | sale.order | xpath | Inherits rental_base.view_order_form |
view_sales_order_filter |
view.sales.order.filter | sale.order | xpath | Inherits sale.view_sales_order_filter |
day_item_id
Many2one → product.product
comodel_name='product.product'
string='Rental Service (Day)'
hour_item_id
Many2one → product.product
comodel_name='product.product'
string='Rental Service (Hour)'
month_item_id
Many2one → product.product
comodel_name='product.product'
string='Rental Service (Month)'
week_item_id
Many2one → product.product
comodel_name='product.product'
string='Rental Service (Week)'
No public methods.
day_scale_pricelist_item_ids
One2many → product.pricelist.item
comodel_name='product.pricelist.item'
copy=False
inverse_name='day_item_id'
string='Day Scale Pricelist Items'
def_pricelist_id
Many2one → product.pricelist
comodel_name='product.pricelist'
default=<expr>
string='Default Pricelist'
hour_scale_pricelist_item_ids
One2many → product.pricelist.item
comodel_name='product.pricelist.item'
copy=False
inverse_name='hour_item_id'
string='Hour Scale Pricelist Items'
month_scale_pricelist_item_ids
One2many → product.pricelist.item
comodel_name='product.pricelist.item'
copy=False
inverse_name='month_item_id'
string='Month Scale Pricelist Items'
product_rental_day_id
Many2one → product.product
comodel_name='product.product'
copy=False
ondelete='set null'
string='Rental Service (Day)'
product_rental_hour_id
Many2one → product.product
comodel_name='product.product'
copy=False
ondelete='set null'
string='Rental Service (Hour)'
product_rental_month_id
Many2one → product.product
comodel_name='product.product'
copy=False
ondelete='set null'
string='Rental Service (Month)'
product_rental_week_id
Many2one → product.product
comodel_name='product.product'
copy=False
ondelete='set null'
string='Rental Service (Week)'
rental_of_day
Boolean
copy=False
string='Rented in days'
rental_of_hour
Boolean
copy=False
string='Rented in hours'
rental_of_month
Boolean
copy=False
string='Rented in months'
rental_of_week
Boolean
copy=False
string='Rented in weeks'
rental_price_day
Float
copy=False
readonly=False
related='product_rental_day_id.list_price'
store=True
string='Price / Day'
rental_price_hour
Float
copy=False
readonly=False
related='product_rental_hour_id.list_price'
store=True
string='Price / Hour'
rental_price_month
Float
copy=False
readonly=False
related='product_rental_month_id.list_price'
store=True
string='Price / Month'
rental_price_week
Float
copy=False
readonly=False
related='product_rental_week_id.list_price'
store=True
string='Price / Week'
week_scale_pricelist_item_ids
One2many → product.pricelist.item
comodel_name='product.pricelist.item'
copy=False
inverse_name='week_item_id'
string='Week Scale Pricelist Items'
create(self, vals_list)
write(self, vals)
rental_service_default_code_prefix_day
Char
default='RENT-D'
help="Define the default code of the daily rental service by setting a prefix code. The entire default code is built by adding the prefix code, the product's default code and the suffix code."
string='Prefix of Rental Service Internal Reference (Day)'
rental_service_default_code_prefix_hour
Char
default='RENT-H'
help="Define the default code of the hourly rental service by setting a prefix code. The entire default code is built by adding the prefix code, the product's default code and the suffix code."
string='Prefix of Rental Service Internal Reference (Hour)'
rental_service_default_code_prefix_month
Char
default='RENT-M'
help="Define the default code of the monthly rental service by setting a prefix code. The entire default code is built by adding the prefix code, the product's default code and the suffix code."
string='Prefix of Rental Service Internal Reference (Month)'
rental_service_default_code_prefix_week
Char
default='RENT-W'
help="Define the default code of the weekly rental service by setting a prefix code. The entire default code is built by adding the prefix code, the product's default code and the suffix code."
string='Prefix of Rental Service Internal Reference (Week)'
rental_service_default_code_suffix_day
Char
help="Define the default code of the daily rental service by setting a suffix code. The entire default code is built by adding the prefix code, the product's default code and the suffix code."
string='Suffix of Rental Service Internal Reference (Day)'
rental_service_default_code_suffix_hour
Char
help="Define the default code of the hourly rental service by setting a suffix code. The entire default code is built by adding the prefix code, the product's default code and the suffix code."
string='Suffix of Rental Service Internal Reference (Hour)'
rental_service_default_code_suffix_month
Char
help="Define the default code of the monthly rental service by setting a suffix code. The entire default code is built by adding the prefix code, the product's default code and the suffix code."
string='Suffix of Rental Service Internal Reference (Month)'
rental_service_default_code_suffix_week
Char
help="Define the default code of the weekly rental service by setting a suffix code. The entire default code is built by adding the prefix code, the product's default code and the suffix code."
string='Suffix of Rental Service Internal Reference (Week)'
rental_service_name_prefix_day
Char
default='Rental of'
help="Define the name of the daily rental service by setting a prefix. The entire name is built by adding the prefix, the product's name and the suffix."
string='Prefix of Rental Service Name (Day)'
translate=True
rental_service_name_prefix_hour
Char
default='Rental of'
help="Define the name of the hourly rental service by setting a prefix. The entire name is built by adding the prefix, the product's name and the suffix."
string='Prefix of Rental Service Name (Hour)'
translate=True
rental_service_name_prefix_month
Char
default='Rental of'
help="Define the name of the monthly rental service by setting a prefix. The entire name is built by adding the prefix, the product's name and the suffix."
string='Prefix of Rental Service Name (Month)'
translate=True
rental_service_name_prefix_week
Char
default='Rental of'
help="Define the name of the weekly rental service by setting a prefix. The entire name is built by adding the prefix, the product's name and the suffix."
string='Prefix of Rental Service Name (Week)'
translate=True
rental_service_name_suffix_day
Char
default='(Day(s))'
help="Define the name of the daily rental service by setting a suffix. The entire name is built by adding the prefix, the product's name and the suffix."
string='Suffix of Rental Service Name (Day)'
translate=True
rental_service_name_suffix_hour
Char
default='(Hour(s))'
help="Define the name of the hourly rental service by setting a suffix. The entire name is built by adding the prefix, the product's name and the suffix."
string='Suffix of Rental Service Name (Hour)'
translate=True
rental_service_name_suffix_month
Char
default='(Month(s))'
help="Define the name of the monthly rental service by setting a suffix. The entire name is built by adding the prefix, the product's name and the suffix."
string='Suffix of Rental Service Name (Month)'
translate=True
rental_service_name_suffix_week
Char
default='(Week(s))'
help="Define the name of the weekly rental service by setting a suffix. The entire name is built by adding the prefix, the product's name and the suffix."
string='Suffix of Rental Service Name (Week)'
translate=True
No public methods.
No new fields.
Public methods (1)action_confirm(self)
display_product_id
Many2one → product.product
comodel_name='product.product'
domain=<expr>
string='Product'
number_of_time_unit
Float
help='This is the time difference given by start and end date for this order line.'
string='Number of TU'
rental_ok
Boolean
related='display_product_id.rental'
string='Can be rented'
sale_ok
Boolean
related='display_product_id.sale_ok'
string='Can be Sold'
onchange_can_sell_rental(self)
onchange_display_product_id(self)
onchange_rental(self)
onchange_start_end_date(self)
product_id_change(self)
product_uom_change(self)
rental_product_id_change(self)
rental_qty_number_of_days_change(self)
start_end_dates_product_id_change(self)
| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/vertical-rental |
| GIT | |
| GIT | https://github.com/OCA/vertical-rental.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/vertical-rental/tree/14.0/rental_pricelist |
| VERSION | |
| VERSION | 1.0.2 |
| CATEGORY | |
| CATEGORY | Rental |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA), elego Software Solutions GmbH |
| MAINTAINERS | |
| MAINTAINERS | Odoo Community Association (OCA), elego Software Solutions GmbH |
| COMMITTERS | |
| COMMITTERS | GitHub, OCA Transbot, oca-travis, Weblate, OCA-git-bot, oca-ci, Yu Weng, chandni299, cpatel |
| WEBSITE | |
| WEBSITE | https://github.com/OCA/vertical-rental |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-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_base odoo/odoo: - account - base_setup - base - web - product - 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 | |
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
product_normal_form_view |
view.product.product.form | product.product | group | Inherits product.product_normal_form_view |
product_template_only_form_view |
view.product.template.form | product.template | group | Inherits product.product_template_only_form_view |
view_company_rental_service_form |
res.company.form | res.company | notebook | Inherits base.view_company_form |
view_order_form |
rental_pricelist.view_order_form | sale.order | xpath | Inherits rental_base.view_order_form |
view_sales_order_filter |
view.sales.order.filter | sale.order | xpath | Inherits sale.view_sales_order_filter |
day_item_id
Many2one → product.product
comodel_name='product.product'
string='Rental Service (Day)'
hour_item_id
Many2one → product.product
comodel_name='product.product'
string='Rental Service (Hour)'
month_item_id
Many2one → product.product
comodel_name='product.product'
string='Rental Service (Month)'
No public methods.
day_scale_pricelist_item_ids
One2many → product.pricelist.item
comodel_name='product.pricelist.item'
copy=False
inverse_name='day_item_id'
string='Day Scale Pricelist Items'
def_pricelist_id
Many2one → product.pricelist
comodel_name='product.pricelist'
default=<expr>
string='Default Pricelist'
hour_scale_pricelist_item_ids
One2many → product.pricelist.item
comodel_name='product.pricelist.item'
copy=False
inverse_name='hour_item_id'
string='Hour Scale Pricelist Items'
month_scale_pricelist_item_ids
One2many → product.pricelist.item
comodel_name='product.pricelist.item'
copy=False
inverse_name='month_item_id'
string='Month Scale Pricelist Items'
product_rental_day_id
Many2one → product.product
comodel_name='product.product'
copy=False
ondelete='set null'
string='Rental Service (Day)'
product_rental_hour_id
Many2one → product.product
comodel_name='product.product'
copy=False
ondelete='set null'
string='Rental Service (Hour)'
product_rental_month_id
Many2one → product.product
comodel_name='product.product'
copy=False
ondelete='set null'
string='Rental Service (Month)'
rental_of_day
Boolean
copy=False
string='Rented in days'
rental_of_hour
Boolean
copy=False
string='Rented in hours'
rental_of_month
Boolean
copy=False
string='Rented in months'
rental_price_day
Float
copy=False
readonly=False
related='product_rental_day_id.list_price'
store=True
string='Price / Day'
rental_price_hour
Float
copy=False
readonly=False
related='product_rental_hour_id.list_price'
store=True
string='Price / Hour'
rental_price_month
Float
copy=False
readonly=False
related='product_rental_month_id.list_price'
store=True
string='Price / Month'
create(self, vals_list)
write(self, vals)
rental_service_default_code_prefix_day
Char
default='RENT-D'
help="Define the default code of the daily rental service by setting a prefix code. The entire default code is built by adding the prefix code, the product's default code and the suffix code."
string='Prefix of Rental Service Internal Reference (Day)'
rental_service_default_code_prefix_hour
Char
default='RENT-H'
help="Define the default code of the hourly rental service by setting a prefix code. The entire default code is built by adding the prefix code, the product's default code and the suffix code."
string='Prefix of Rental Service Internal Reference (Hour)'
rental_service_default_code_prefix_month
Char
default='RENT-M'
help="Define the default code of the monthly rental service by setting a prefix code. The entire default code is built by adding the prefix code, the product's default code and the suffix code."
string='Prefix of Rental Service Internal Reference (Month)'
rental_service_default_code_suffix_day
Char
help="Define the default code of the daily rental service by setting a suffix code. The entire default code is built by adding the prefix code, the product's default code and the suffix code."
string='Suffix of Rental Service Internal Reference (Day)'
rental_service_default_code_suffix_hour
Char
help="Define the default code of the hourly rental service by setting a suffix code. The entire default code is built by adding the prefix code, the product's default code and the suffix code."
string='Suffix of Rental Service Internal Reference (Hour)'
rental_service_default_code_suffix_month
Char
help="Define the default code of the monthly rental service by setting a suffix code. The entire default code is built by adding the prefix code, the product's default code and the suffix code."
string='Suffix of Rental Service Internal Reference (Month)'
rental_service_name_prefix_day
Char
default='Rental of'
help="Define the name of the daily rental service by setting a prefix. The entire name is built by adding the prefix, the product's name and the suffix."
string='Prefix of Rental Service Name (Day)'
translate=True
rental_service_name_prefix_hour
Char
default='Rental of'
help="Define the name of the hourly rental service by setting a prefix. The entire name is built by adding the prefix, the product's name and the suffix."
string='Prefix of Rental Service Name (Hour)'
translate=True
rental_service_name_prefix_month
Char
default='Rental of'
help="Define the name of the monthly rental service by setting a prefix. The entire name is built by adding the prefix, the product's name and the suffix."
string='Prefix of Rental Service Name (Month)'
translate=True
rental_service_name_suffix_day
Char
default='(Day(s))'
help="Define the name of the daily rental service by setting a suffix. The entire name is built by adding the prefix, the product's name and the suffix."
string='Suffix of Rental Service Name (Day)'
translate=True
rental_service_name_suffix_hour
Char
default='(Hour(s))'
help="Define the name of the hourly rental service by setting a suffix. The entire name is built by adding the prefix, the product's name and the suffix."
string='Suffix of Rental Service Name (Hour)'
translate=True
rental_service_name_suffix_month
Char
default='(Month(s))'
help="Define the name of the monthly rental service by setting a suffix. The entire name is built by adding the prefix, the product's name and the suffix."
string='Suffix of Rental Service Name (Month)'
translate=True
No public methods.
No new fields.
Public methods (1)action_confirm(self)
display_product_id
Many2one → product.product
comodel_name='product.product'
domain=<expr>
string='Product'
number_of_time_unit
Float
help='This is the time difference given by start and end date for this order line.'
string='Number of TU'
rental_ok
Boolean
related='display_product_id.rental'
string='Can be rented'
onchange_can_sell_rental(self)
onchange_display_product_id(self)
onchange_rental(self)
onchange_start_end_date(self)
product_id_change(self)
product_uom_change(self)
rental_product_id_change(self)
rental_qty_number_of_days_change(self)
start_end_dates_product_id_change(self)
| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/vertical-rental |
| GIT | |
| GIT | https://github.com/OCA/vertical-rental.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/vertical-rental/tree/12.0/rental_pricelist |
| VERSION | |
| VERSION | 1.0.2 |
| CATEGORY | |
| CATEGORY | Rental |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA), Elego Software Solutions GmbH |
| MAINTAINERS | |
| MAINTAINERS | Odoo Community Association (OCA), Elego Software Solutions GmbH |
| COMMITTERS | |
| COMMITTERS | OCA Transbot, oca-travis, Weblate, OCA-git-bot, Yu Weng, Maria Sparenberg |
| WEBSITE | |
| WEBSITE | https://github.com/OCA/vertical-rental |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-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_base odoo/odoo: - account - base_setup - base - web - product - decimal_precision - 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 | |
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
product_normal_form_view |
view.product.product.form | product.product | xpath | Inherits product.product_normal_form_view |
view_company_rental_service_form |
res.company.form | res.company | notebook | Inherits base.view_company_form |
view_order_form |
rental_pricelist.view_order_form | sale.order | xpath | Inherits rental_base.view_order_form |
view_sales_order_filter |
view.sales.order.filter | sale.order | xpath | Inherits sale.view_sales_order_filter |
day_item_id
Many2one → product.product
comodel_name='product.product'
string='Rental Service (Day)'
hour_item_id
Many2one → product.product
comodel_name='product.product'
string='Rental Service (Hour)'
month_item_id
Many2one → product.product
comodel_name='product.product'
string='Rental Service (Month)'
week_item_id
Many2one → product.product
comodel_name='product.product'
string='Rental Service (Week)'
No public methods.
day_scale_pricelist_item_ids
One2many → product.pricelist.item
comodel_name='product.pricelist.item'
copy=False
inverse_name='day_item_id'
string='Day Scale Pricelist Items'
def_pricelist_id
Many2one → product.pricelist
comodel_name='product.pricelist'
default=<expr>
string='Default Pricelist'
hour_scale_pricelist_item_ids
One2many → product.pricelist.item
comodel_name='product.pricelist.item'
copy=False
inverse_name='hour_item_id'
string='Hour Scale Pricelist Items'
month_scale_pricelist_item_ids
One2many → product.pricelist.item
comodel_name='product.pricelist.item'
copy=False
inverse_name='month_item_id'
string='Month Scale Pricelist Items'
product_rental_day_id
Many2one → product.product
comodel_name='product.product'
copy=False
ondelete='set null'
string='Rental Service (Day)'
product_rental_hour_id
Many2one → product.product
comodel_name='product.product'
copy=False
ondelete='set null'
string='Rental Service (Hour)'
product_rental_month_id
Many2one → product.product
comodel_name='product.product'
copy=False
ondelete='set null'
string='Rental Service (Month)'
product_rental_week_id
Many2one → product.product
comodel_name='product.product'
copy=False
ondelete='set null'
string='Rental Service (Week)'
rental_of_day
Boolean
copy=False
string='Rented in days'
rental_of_hour
Boolean
copy=False
string='Rented in hours'
rental_of_month
Boolean
copy=False
string='Rented in months'
rental_of_week
Boolean
copy=False
string='Rented in weeks'
rental_price_day
Float
copy=False
readonly=False
related='product_rental_day_id.list_price'
store=True
string='Price / Day'
rental_price_hour
Float
copy=False
readonly=False
related='product_rental_hour_id.list_price'
store=True
string='Price / Hour'
rental_price_month
Float
copy=False
readonly=False
related='product_rental_month_id.list_price'
store=True
string='Price / Month'
rental_price_week
Float
copy=False
readonly=False
related='product_rental_week_id.list_price'
store=True
string='Price / Week'
week_scale_pricelist_item_ids
One2many → product.pricelist.item
comodel_name='product.pricelist.item'
copy=False
inverse_name='week_item_id'
string='Week Scale Pricelist Items'
create(self, vals)
write(self, vals)
rental_service_copy_image
Boolean
help='Copy the image from storable product to its rental service.'
string='Copy Image'
rental_service_default_code_prefix_day
Char
default='RENT-D'
help="Define the default code of the daily rental service by setting a prefix code. The entire default code is built by adding the prefix code, the product's default code and the suffix code."
string='Prefix of Rental Service Internal Reference (Day)'
rental_service_default_code_prefix_hour
Char
default='RENT-H'
help="Define the default code of the hourly rental service by setting a prefix code. The entire default code is built by adding the prefix code, the product's default code and the suffix code."
string='Prefix of Rental Service Internal Reference (Hour)'
rental_service_default_code_prefix_month
Char
default='RENT-M'
help="Define the default code of the monthly rental service by setting a prefix code. The entire default code is built by adding the prefix code, the product's default code and the suffix code."
string='Prefix of Rental Service Internal Reference (Month)'
rental_service_default_code_prefix_week
Char
default='RENT-W'
help="Define the default code of the weekly rental service by setting a prefix code. The entire default code is built by adding the prefix code, the product's default code and the suffix code."
string='Prefix of Rental Service Internal Reference (Week)'
rental_service_default_code_suffix_day
Char
help="Define the default code of the daily rental service by setting a suffix code. The entire default code is built by adding the prefix code, the product's default code and the suffix code."
string='Suffix of Rental Service Internal Reference (Day)'
rental_service_default_code_suffix_hour
Char
help="Define the default code of the hourly rental service by setting a suffix code. The entire default code is built by adding the prefix code, the product's default code and the suffix code."
string='Suffix of Rental Service Internal Reference (Hour)'
rental_service_default_code_suffix_month
Char
help="Define the default code of the monthly rental service by setting a suffix code. The entire default code is built by adding the prefix code, the product's default code and the suffix code."
string='Suffix of Rental Service Internal Reference (Month)'
rental_service_default_code_suffix_week
Char
help="Define the default code of the weekly rental service by setting a suffix code. The entire default code is built by adding the prefix code, the product's default code and the suffix code."
string='Suffix of Rental Service Internal Reference (Week)'
rental_service_name_prefix_day
Char
default='Rental of'
help="Define the name of the daily rental service by setting a prefix. The entire name is built by adding the prefix, the product's name and the suffix."
string='Prefix of Rental Service Name (Day)'
translate=True
rental_service_name_prefix_hour
Char
default='Rental of'
help="Define the name of the hourly rental service by setting a prefix. The entire name is built by adding the prefix, the product's name and the suffix."
string='Prefix of Rental Service Name (Hour)'
translate=True
rental_service_name_prefix_month
Char
default='Rental of'
help="Define the name of the monthly rental service by setting a prefix. The entire name is built by adding the prefix, the product's name and the suffix."
string='Prefix of Rental Service Name (Month)'
translate=True
rental_service_name_prefix_week
Char
default='Rental of'
help="Define the name of the weekly rental service by setting a prefix. The entire name is built by adding the prefix, the product's name and the suffix."
string='Prefix of Rental Service Name (Week)'
translate=True
rental_service_name_suffix_day
Char
default='(Day(s))'
help="Define the name of the daily rental service by setting a suffix. The entire name is built by adding the prefix, the product's name and the suffix."
string='Suffix of Rental Service Name (Day)'
translate=True
rental_service_name_suffix_hour
Char
default='(Hour(s))'
help="Define the name of the hourly rental service by setting a suffix. The entire name is built by adding the prefix, the product's name and the suffix."
string='Suffix of Rental Service Name (Hour)'
translate=True
rental_service_name_suffix_month
Char
default='(Month(s))'
help="Define the name of the monthly rental service by setting a suffix. The entire name is built by adding the prefix, the product's name and the suffix."
string='Suffix of Rental Service Name (Month)'
translate=True
rental_service_name_suffix_week
Char
default='(Week(s))'
help="Define the name of the weekly rental service by setting a suffix. The entire name is built by adding the prefix, the product's name and the suffix."
string='Suffix of Rental Service Name (Week)'
translate=True
No public methods.
No new fields.
Public methods (1)action_confirm(self)
display_product_id
Many2one → product.product
comodel_name='product.product'
domain=<expr>
string='Product'
number_of_time_unit
Float
help='This is the time difference given by start and end date for this order line.'
string='Number of TU'
rental_ok
Boolean
related='display_product_id.rental'
string='Can be rented'
sale_ok
Boolean
related='display_product_id.sale_ok'
string='Can be Sold'
onchange_can_sell_rental(self)
onchange_display_product_id(self)
onchange_rental(self)
onchange_start_end_date(self)
product_id_change(self)
product_uom_change(self)
rental_product_id_change(self)
rental_qty_number_of_days_change(self)
start_end_dates_product_id_change(self)
| STATUS | |
|---|---|
| STATUS | Open migration PR - not merged yet for this version |
| REPOSITORY | |
| REPOSITORY | OCA/vertical-rental |
| PULL REQUEST | |
| PULL REQUEST | [17.0][MIG] rental_pricelist (#54) |