Website Sale Cart Add Product Xlsx Csv
website_sale_cart_add_product_xlsx_csv · OCA/e-commerce
Health
55/100
fair
-
Security25/25No findings
-
Activity20/25Last human commit 8 months ago
-
Required by5/250 modules depend on it
-
Maturity5/25In 1 Odoo series since 17.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
Modules depending on it
External deps
2 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.12 MB
Module directory on disk
Code analysis
1 migration note
2 models
2 views
2 HTTP endpoints
Migration considerations
Website— Migrating to 19.0: `_sql_constraints` is ignored and its constraints are silently not created: declare `models.Constraint` attributes instead. migration-sql-constraints · 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
This module adds a button in the website cart that let users import a xlsx or csv file with the products and quantities that he wants to add.
This button is only shown on empty carts, and the file must contain the product's internal reference and the quantity to buy.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 2
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
cart_lines_import |
cart_lines_import | ir.ui.view | qweb | Inherits website_sale.cart_lines |
res_config_settings_view_form |
res.config.settings.view.form.inherit.website.sale | res.config.settings | form | Inherits website.res_config_settings_view_form |
HTTP endpoints 2
| Route(s) | Handler | Auth | Type | Methods | Flags |
|---|---|---|---|---|---|
/shop/cart |
WebsiteSaleAddProductXlsxCsv.cart |
public | http | ALL | website |
/shop/cart/import/example |
WebsiteSaleAddProductXlsxCsv.cart_import_example |
public | http | ALL | sudo |
Models touched 2
New fields (2)
-
cart_import_buttonBooleanreadonly=Falserelated='website_id.cart_import_button'string='Is the cart import button enabled?' -
cart_import_button_file_limitFloatreadonly=Falserelated='website_id.cart_import_button_file_limit'string='Cart import button file size limit (MB)'
No public methods.
New fields (2)
-
cart_import_buttonBooleanstring='Is the cart import button enabled?' -
cart_import_button_file_limitFloatdefault=2string='Cart import button file size limit (MB)'
No public methods.