Skip to content
Health
55/100
fair
  • Security25/25
    No findings
  • Activity20/25
    Last human commit 8 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity5/25
    In 1 Odoo series since 17.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
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

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 IDNameModelTypeStatus
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)HandlerAuthTypeMethodsFlags
/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_button Boolean
    readonly=False related='website_id.cart_import_button' string='Is the cart import button enabled?'
  • cart_import_button_file_limit Float
    readonly=False related='website_id.cart_import_button_file_limit' string='Cart import button file size limit (MB)'
Public methods (0)

No public methods.

New fields (2)
  • cart_import_button Boolean
    string='Is the cart import button enabled?'
  • cart_import_button_file_limit Float
    default=2 string='Cart import button file size limit (MB)'
Public methods (0)

No public methods.