Point of Sale Daily Sales Reports
pos_daily_sales_reports · odoo/odoo
Merged into point_of_sale in 17.0
Health
51/100
fair
-
Security25/25No findings
-
Activity6/25Last human commit 33 months ago
-
Required by15/251 module depends on it
-
Maturity5/25In 1 Odoo series since 16.0
Heuristic over the facts below, not an audit · How it's computed
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
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 2
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
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_idMany2one → pos.sessionrequired=True args: 'pos.session'
-
generate_report(self)
New fields (1)
-
closing_notesTextstring='Closing Notes'
-
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.modelSerialise 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.