Point of Sale - Prevent closing sessions with stock errors

pos_session_closing_stock_error
REPOSITORY
REPOSITORYOCA/pos
GIT
GIThttps://github.com/OCA/pos.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/pos/tree/12.0/pos_session_closing_stock_error
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYPoint of Sale
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Druidoo
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Druidoo
COMMITTERS
COMMITTERSIvàn Todorovich, OCA Transbot, oca-travis, Weblate, OCA-git-bot
WEBSITE
WEBSITEhttps://github.com/OCA/pos
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:29:13
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - point_of_sale
    - stock_account
    - stock
    - product
    - base
    - decimal_precision
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
    - barcodes
    - account
    - analytic
    - portal
    - http_routing
    - digest
    - web_editor
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
pos_config_view_form pos.config div Inherits point_of_sale.pos_config_view_form
Models touched (2)

New fields (1)
  • allow_session_closing_with_stock_errors Boolean
    help='If disabled, closing a session that has stock errors will be blocked.' string='Allow closing sessions with stock errors'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • action_pos_session_close(self)