TIP: You can type at any time to perform a new search.
Legal terms per product
website_sale_product_legal · OCA/e-commerce
Security findings
Migration considerations
- Imports from the old `openerp` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- Imports from the old `openerp` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- Imports from the old `openerp` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- For a target of Odoo 10.0+: use the `__manifest__.py` manifest name instead of `__openerp__.py`. The filename alone does not establish module age or compatibility. migration-openerp-manifest · source
legal_term_tree— View 'legal_term_tree' is defined with a `<tree>` root tag: renamed to `<list>` in Odoo 18.0. migration-view-tree-tag · sourcelegal_terms— Template 'legal_terms' uses `t-raw`, deprecated since Odoo 15.0. Prefer `t-out` for escaped output. For intentional HTML, verify sanitization at its source before marking it safe; Markup alone does not sanitize untrusted content. migration-template-t-raw · sourcelegal_terms_launcher— Template 'legal_terms_launcher' uses `t-raw`, deprecated since Odoo 15.0. Prefer `t-out` for escaped output. For intentional HTML, verify sanitization at its source before marking it safe; Markup alone does not sanitize untrusted content. migration-template-t-raw · 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/e-commerce · module folder · Try on Runboat
- Module version
- 2.0.0
- Category
- e-commerce
- Folder size
- 0.31 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- http://www.antiun.com
- Last tracking update
- 2026-08-07 07:03:08
- Authors
- Odoo Community Association (OCA), Antiun Ingeniería S.L.
- Maintainers
- Odoo Community Association (OCA), Antiun Ingeniería S.L.
- Committers
- Pedro M. Baeza, Jairo Llopis, Stéphane Bidoul (ACSONE), OCA Transbot, Rafael Blasco
Code Analysis
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.