Skip to content
Health
51/100
fair
  • Security25/25
    No findings
  • Activity6/25
    Last human commit 33 months ago
  • Required by15/25
    1 module depends on it
  • Maturity5/25
    In 1 Odoo series since 16.0

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

Security findings
Grave / minor (static analysis)
Required by
1
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
LGPL-3
No conflicts with its dependencies
Folder size
0.58 MB
Module directory on disk
Code analysis 0 migration notes 3 models 2 views 0 HTTP endpoints

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.

Dependencies

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
pos_daily_sales_reports_category_only

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

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

HTTP endpoints 0

No HTTP endpoints found for this module.

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.