TIP: You can type at any time to perform a new search.
Product seasonality
product_seasonality · OCA/product-attribute
Security findings
Migration considerations
view_partner_form— For a target of Odoo 17.0+: view 'view_partner_form' uses `attrs=`/`states=`, which are no longer supported. Convert modifiers to direct Python boolean expressions in `invisible`/`readonly`/`required`; preserve the original AND/OR logic. migration-view-attrs-states · sourceseasonal_config_line_view_tree— View 'seasonal_config_line_view_tree' is defined with a `<tree>` root tag: renamed to `<list>` in Odoo 18.0. migration-view-tree-tag · sourceseasonal_config_view_tree— View 'seasonal_config_view_tree' is defined with a `<tree>` root tag: renamed to `<list>` in Odoo 18.0. migration-view-tree-tag · source
Migration review checklist, not a compatibility verdict. No target version is selected: apply version-specific advice only when migrating to that version or later.
- Repository
- OCA/product-attribute · module folder · Try on Runboat
- Module version
- 1.3.0
- Category
- Others
- Folder size
- 0.08 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/product-attribute
- Last tracking update
- 2026-08-07 07:47:36
- Authors
- Camptocamp, Odoo Community Association (OCA)
- Maintainers
- Camptocamp, Odoo Community Association (OCA)
- Committers
- Simone Orsi, Ivàn Todorovich, jcoux, Weblate, OCA Transbot, OCA-git-bot, oca-travis
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- sale_product_seasonality
- Description
Code Analysis
Views touched (7)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
seasonal_config_line_view_form |
seasonal.config.line.form | seasonal.config.line | form | New |
seasonal_config_line_view_search |
seasonal.config.line.search | seasonal.config.line | search | New |
seasonal_config_line_view_tree |
seasonal.config.line.tree | seasonal.config.line | tree | New |
seasonal_config_view_tree |
seasonal.config.tree | seasonal.config | tree | New |
view_company_form |
res.company | form | Inherits base.view_company_form | |
view_partner_form |
res.partner | form | Inherits base.view_partner_form | |
view_seasonal_config_view_form |
seasonal.config.form | seasonal.config | form | New |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (4)
New fields (1)
-
default_seasonal_config_idMany2one → seasonal.configcomodel_name='seasonal.config'string='Default product seasonal configuration'
-
create(self, vals)@api.model -
write(self, vals)
New fields (1)
-
seasonal_config_idMany2one → seasonal.configcomodel_name='seasonal.config'string='Product seasonal configuration'
No public methods.
New fields (2)
-
line_idsOne2many → seasonal.config.linecomodel_name='seasonal.config.line'copy=Trueinverse_name='seasonal_config_id'string='Lines' -
nameCharrequired=True
-
config_for_product(self, prod)Retrieve current configuration for given product.
New fields (13)
-
date_endDatetime -
date_startDatetimerequired=True -
display_nameCharcompute='_compute_display_name' -
fridayBooleandefault=True -
mondayBooleandefault=True -
product_idMany2one → product.productcomodel_name='product.product'domain="[('product_tmpl_id', '=', product_template_id)]"index=True -
product_template_idMany2one → product.templatecomodel_name='product.template'domain=[('sale_ok', '=', True)]index=Truerequired=True -
saturdayBooleandefault=True -
seasonal_config_idMany2one → seasonal.configcomodel_name='seasonal.config'index=Truerequired=Truestring='Product seasonal configuration' -
sundayBooleandefault=True -
thursdayBooleandefault=True -
tuesdayBooleandefault=True -
wednesdayBooleandefault=True
-
find_for_product(self, prod, config=None) -
is_sale_ok(self, date)