Website Sale Cart Add Product Xlsx Csv

website_sale_cart_add_product_xlsx_csv
REPOSITORY
REPOSITORYOCA/e-commerce
GIT
GIThttps://github.com/OCA/e-commerce.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/e-commerce/tree/17.0/website_sale_cart_add_product_xlsx_csv
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Sygel
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Sygel
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, pilarvargas-tecnativa, sygel
WEBSITE
WEBSITEhttps://github.com/OCA/e-commerce
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:20:03
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - website_sale_stock
    - website_sale
    - website
    - digest
    - mail
    - base
    - base_setup
    - web
    - bus
    - web_tour
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - resource
    - social_media
    - google_recaptcha
    - utm
    - sale
    - sales_team
    - account_payment
    - account
    - onboarding
    - product
    - uom
    - analytic
    - payment
    - website_payment
    - website_mail
    - portal_rating
    - rating
    - delivery
    - sale_stock
    - stock_account
    - stock
    - barcodes_gs1_nomenclature
    - barcodes
    - stock_delivery
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES openpyxl
geoip2
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
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.

Code Analysis

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 block Inherits website.res_config_settings_view_form
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.