Legal terms per product
website_sale_product_legal · OCA/e-commerce
Health
45/100
poor
-
Security25/25No findings
-
Activity0/25Last human commit 124 months ago
-
Required by15/251 module depends on it
-
Maturity5/25In 1 Odoo series since 8.0
Heuristic over the facts below, not an audit · How it's computed
Required by
1
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.31 MB
Module directory on disk
Code analysis
6 migration notes
2 models
9 views
1 HTTP endpoint
Migration considerations
- Migrating to 19.0: only `__manifest__.py` is recognized: a module with `__openerp__.py` is not detected at all. migration-openerp-manifest · source
legal_term_tree— Migrating to 18.0: the `tree` view type was renamed to `list` (`<list>` roots, `view_mode`). migration-view-tree-tag · source- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) migration-openerp-import · source
- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) migration-openerp-import · source
- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) migration-openerp-import · source
legal_terms— Migrating to 15.0: QWeb `t-raw` is deprecated: use `t-out`; for intended HTML, sanitize it at its source, since `Markup` alone does not sanitize. (2 occurrences in this file) migration-view-t-raw · 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
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 9
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
assets_frontend |
assets_frontend | ir.ui.view | qweb | Inherits website.assets_frontend |
legal_term_form |
Legal term form | website_sale_product_legal.legal_term | form | New |
legal_term_search |
Legal term search | website_sale_product_legal.legal_term | search | New |
legal_term_tree |
Legal term tree | website_sale_product_legal.legal_term | tree | New |
legal_terms |
legal_terms | ir.ui.view | qweb | New |
legal_terms_launcher |
Legal terms dialog launcher | ir.ui.view | qweb | New |
legal_terms_modal |
Modal dialog for legal terms | ir.ui.view | qweb | New |
product_template_form |
Add legal terms | product.template | form | Inherits product.product_template_form_view |
website_product |
website_product | ir.ui.view | qweb | Inherits website_sale.product |
HTTP endpoints 1
| Route(s) | Handler | Auth | Type | Methods | Flags |
|---|---|---|---|---|---|
/website_sale_product_legal/<model('product.template'):product> |
ProductLegalTerms.by_product |
public | http | ALL | website |
Models touched 2
New fields (1)
-
legal_term_idsMany2many → website_sale_product_legal.legal_termhelp='Online customers will be informed of these legal terms before buying this product.'string='Legal terms' args: 'website_sale_product_legal.legal_term', 'website_sale_product_legal_rel'
No public methods.
New fields (3)
-
contentsHtmltranslate=True -
nameCharindex=Truerequired=Truetranslate=True -
product_template_idsMany2many → product.templatehelp='Products that require accepting this legal term.'string='Products' args: 'product.template', 'website_sale_product_legal_rel'
No public methods.