Rental Pricelist (Interval)
rental_pricelist_interval · OCA/vertical-rental
Health
48/100
poor
-
Security25/25No findings
-
Activity6/25Last human commit 34 months ago
-
Required by5/250 modules depend on it
-
Maturity12/25In 2 Odoo series since 12.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.07 MB
Module directory on disk
Code analysis
1 migration note
6 models
4 views
0 HTTP endpoints
Migration considerations
product_normal_form_view— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping the original AND/OR logic. migration-view-attrs-states · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
Description
Dependencies
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 4
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
product_normal_form_view |
view.product.product.form | product.product | form | Inherits rental_pricelist.product_normal_form_view |
product_pricelist_view |
product.pricelist.form | product.pricelist | form | Inherits product.product_pricelist_view |
view_company_form |
res.company.form | res.company | form | Inherits base.view_company_form |
view_company_rental_service_form |
res.company.form | res.company | form | Inherits rental_pricelist.view_company_rental_service_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 6
New fields (1)
-
is_interval_pricelistBooleanargs: 'Interval Pricelist'
No public methods.
New fields (1)
-
interval_item_idMany2one → product.productstring='Rental Service (Interval)' args: 'product.product'
No public methods.
New fields (6)
-
def_interval_pricelist_idMany2one → product.pricelistdefault=<expr> args: 'product.pricelist', 'Default Interval Pricelist' -
interval_scale_pricelist_item_idsOne2many → product.pricelist.itemcopy=Falsestring='Interval Scale Pricelist Items' args: 'product.pricelist.item', 'interval_item_id' -
product_rental_interval_idMany2one → product.productcopy=Falseondelete='set null' args: 'product.product', 'Rental Service (Interval)' -
rental_interval_maxIntegercopy=False args: 'Interval days (Max)' -
rental_of_intervalBooleancopy=False args: 'Rented in interval' -
rental_price_intervalFloatstring='Interval Price'
-
action_reset_rental_price_interval_items(self) -
create(self, vals_list)@api.model_create_multi -
write(self, vals)
New fields (4)
-
company_idMany2one → res.companyargs: 'res.company', 'Company' -
factorFloatargs: 'Factor' -
min_quantityIntegerargs: 'Interval (days)' -
nameCharargs: 'Name'
No public methods.
New fields (5)
-
rental_price_interval_rule_idsOne2many → rental.price.interval.rulestring='Rental Interval Price Rules' args: 'rental.price.interval.rule', 'company_id' -
rental_service_default_code_prefix_intervalChardefault='RENT-I' args: 'Prefix of Rental Service Internal Reference (Interval)' -
rental_service_default_code_suffix_intervalCharargs: 'Suffix of Rental Service Internal Reference (Interval)' -
rental_service_name_prefix_intervalChardefault='Rental of'translate=True args: 'Prefix of Rental Service Name (Interval)' -
rental_service_name_suffix_intervalChardefault='(Interval(s))'translate=True args: 'Suffix of Rental Service Name (Interval)'
No public methods.
New fields (3)
-
rental_interval_nameCharstring='Rental Interval' -
rental_interval_priceBooleanstring='Use Interval Price' -
show_rental_interval_priceBooleanstring='Show Option Interval Price'
-
onchange_start_end_date(self)@api.onchange('start_date', 'end_date', 'product_uom') -
product_id_change(self)@api.onchange('product_id') -
product_uom_change(self)@api.onchange('product_uom', 'product_uom_qty') -
rental_product_id_change(self)@api.onchange('product_id', 'rental_qty') -
rental_qty_number_of_days_change(self)@api.onchange('rental_qty', 'number_of_time_unit', 'product_id')
Loading…
Loading…