e-Commerce B2C mode

website_sale_b2c
REPOSITORY
REPOSITORYOCA/e-commerce
GIT
GIThttps://github.com/OCA/e-commerce.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/e-commerce/tree/9.0/website_sale_b2c
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYWebsite
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSPedro M. Baeza, OCA Transbot
WEBSITE
WEBSITEhttps://www.tecnativa.com/
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:15:19
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - website_sale
    - website
    - web
    - base
    - web_editor
    - web_planner
    - sale
    - sales_team
    - mail
    - base_setup
    - web_kanban
    - bus
    - account
    - product
    - decimal_precision
    - report
    - analytic
    - web_tip
    - procurement
    - payment
    - website_payment
    - website_portal
    - website_portal_sale
    - website_mail
    - rating
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
cart_lines cart_lines ir.ui.view qweb Inherits website_sale.cart_lines
view_sales_config Add options on B2B vs B2C sale.config.settings xpath Inherits sale.view_sales_config
Models touched (5)

New fields (0)

No new fields.

Public methods (1)
  • price_rule_get_multi(self, products_by_qty_by_partner)
    @api.multi

New fields (2)
  • lst_price Float
    compute='_product_lst_price'
  • price_extra Float
    compute='_get_price_extra'
Public methods (0)

No public methods.

New fields (1)
  • price Float
    compute='_product_template_price'
Public methods (0)

No public methods.

New fields (3)
  • group_show_price_subtotal Boolean
    group='base.group_portal,base.group_user,base.group_public' implied_group='website_sale_b2c.group_show_price_subtotal' args: 'Show subtotal'
  • group_show_price_total Boolean
    group='base.group_portal,base.group_user,base.group_public' implied_group='website_sale_b2c.group_show_price_total' args: 'Show total'
  • sale_show_tax Selection
    default='subtotal' required=True args: [('subtotal', 'Show line subtotals without taxes (B2B)'), ('total', 'Show line subtotals with taxes included (B2C)')], 'Tax Display'
Public methods (1)
  • set_sale_tax_defaults(self)
    @api.multi

New fields (1)
  • discounted_price Float
    compute='_fnct_get_discounted_price'
Public methods (0)

No public methods.