Point of Sale Daily Sales Reports

pos_daily_sales_reports
REPOSITORY
REPOSITORYodoo/odoo
GIT
GIThttps://github.com/odoo/odoo.git
GIT FOLDER
GIT FOLDERhttps://github.com/odoo/odoo/tree/16.0/pos_daily_sales_reports
VERSION
VERSION 1.0
CATEGORY
CATEGORYPoint of Sale
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORS
MAINTAINERS
MAINTAINERS
COMMITTERS
COMMITTERSOdoo Translation Bot, Martin Trigaux, roen-odoo, niyasraphy, Adrien Guilliams (adgu), Martin Trigaux (mat)
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:40:49
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - point_of_sale
    - stock_account
    - stock
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
    - barcodes_gs1_nomenclature
    - barcodes
    - digest
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - resource
    - account
    - analytic
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

This module allows the cashier to quickly print a X and a Z sale report
for a given session or a Sales Details for multiple sessions
and configs.

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
pos_daily_report pos_daily_report ir.ui.view qweb Inherits point_of_sale.report_saledetails
view_pos_daily_sales_reports_wizard pos.daily.sales.reports.wizard.form pos.daily.sales.reports.wizard form New
Models touched (3)

New fields (1)
  • pos_session_id Many2one → pos.session
    required=True args: 'pos.session'
Public methods (1)
  • generate_report(self)

New fields (1)
  • closing_notes Text
    string='Closing Notes'
Public methods (3)
  • get_total_discount(self)
  • get_total_sold_refund_per_category(self, group_by_user_id=None)
  • update_closing_control_state_session(self, notes)

New fields (0)

No new fields.

Public methods (1)
  • get_sale_details(self, date_start=False, date_stop=False, config_ids=False, session_ids=False)
    @api.model
    Serialise the orders of the requested time period, configs and sessions. :param date_start: The dateTime to start, default today 00:00:00. :type date_start: str. :param date_stop: The dateTime to stop, default date_start + 23:59:59. :type date_stop: str. :param config_ids: Pos Config id's to include. :type config_ids: list of numbers. :param session_ids: Pos Config id's to include. :type session_ids: list of numbers. :returns: dict -- Serialised sales.