Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[16.0][MIG] pos_report_session_summary: Migration to version 16.0 #1229

Merged
merged 18 commits into from
Aug 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
89 changes: 89 additions & 0 deletions pos_report_session_summary/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
==========================
POS report Session Summary
==========================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:d49558e733ac71495012dec9c58b904a851fb3d7215a1cd56bba7813ac257eeb
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |badge2| image:: https://img.shields.io/badge/licence-LGPL--3-blue.png
:target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html
:alt: License: LGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fpos-lightgray.png?logo=github
:target: https://github.com/OCA/pos/tree/16.0/pos_report_session_summary
:alt: OCA/pos
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/pos-16-0/pos-16-0-pos_report_session_summary
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/pos&target_branch=16.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

Add the POS Session Summary report removed in 10.0

see : https://github.com/odoo/odoo/commit/e741de8b0c152279eb2d20faa77d06df8e50b91a

**Table of contents**

.. contents::
:local:

Usage
=====

In a POS Session use Print -> Session Summary

Known issues / Roadmap
======================

Different treatments exist between 'pos.payment' and 'account.bank.statement.line',
so this report will only display transactions from cash-type journals. However, there are the following limitations:

Cash In/Out transactions do not generate a 'pos.payment', only an 'account.bank.statement.line'.
For cash-type journals, 'pos.payment' entries create a single consolidated 'account.bank.statement.line' when the session is closed,
but other payment methods are not included.

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/pos/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/pos/issues/new?body=module:%20pos_report_session_summary%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
~~~~~~~

* Akretion
* Odoo SA

Maintainers
~~~~~~~~~~~

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.

This module is part of the `OCA/pos <https://github.com/OCA/pos/tree/16.0/pos_report_session_summary>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Empty file.
18 changes: 18 additions & 0 deletions pos_report_session_summary/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# copyright Odoo SA
# copyright OCA
# Licence : LGPL-3

{
"name": "POS report Session Summary",
"version": "16.0.1.0.0",
"category": "Point Of Sale",
"summary": "Adds a Session Summary PDF report on the POS session",
"author": "Akretion, Odoo SA, Odoo Community Association (OCA)",
"license": "LGPL-3",
"depends": ["point_of_sale"],
"data": ["views/session_summary_report.xml", "views/report_session_summary.xml"],
"installable": True,
"application": False,
"website": "https://github.com/OCA/pos",
"auto_install": False,
}
127 changes: 127 additions & 0 deletions pos_report_session_summary/i18n/ca.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,127 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * pos_report_session_summary
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2019-12-04 19:04+0000\n"
"Last-Translator: mtbochaca <[email protected]>\n"
"Language-Team: none\n"
"Language: ca\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 3.9.1\n"

#. module: pos_report_session_summary
#: model_terms:ir.ui.view,arch_db:pos_report_session_summary.report_session_summary
msgid "<strong>Closing Date</strong>:<br/>"
msgstr "<strong>Data de tancament</strong>:<br/>"

#. module: pos_report_session_summary
#: model_terms:ir.ui.view,arch_db:pos_report_session_summary.report_session_summary
msgid "<strong>Currency</strong>"
msgstr "<strong>Moneda</strong>"

#. module: pos_report_session_summary
#: model_terms:ir.ui.view,arch_db:pos_report_session_summary.report_session_summary
msgid "<strong>Difference</strong>"
msgstr "<strong>Diferència</strong>"

#. module: pos_report_session_summary
#: model_terms:ir.ui.view,arch_db:pos_report_session_summary.report_session_summary
msgid "<strong>Ending Balance</strong>"
msgstr "<strong>Balanç Final</strong>"

#. module: pos_report_session_summary
#: model_terms:ir.ui.view,arch_db:pos_report_session_summary.report_session_summary
msgid "<strong>Journal</strong>"
msgstr "<strong>Diari</strong>"

#. module: pos_report_session_summary
#: model_terms:ir.ui.view,arch_db:pos_report_session_summary.report_session_summary
msgid "<strong>Opening Date</strong>:<br/>"
msgstr "<strong>Data d'obertura</strong>:<br/>"

#. module: pos_report_session_summary
#: model_terms:ir.ui.view,arch_db:pos_report_session_summary.report_session_summary
msgid "<strong>Point of Sale</strong>:<br/>"
msgstr "<strong>Punt de Venda</strong>:<br/>"

#. module: pos_report_session_summary
#: model_terms:ir.ui.view,arch_db:pos_report_session_summary.report_session_summary
msgid "<strong>Reference</strong>"
msgstr "<strong>Referència</strong>"

#. module: pos_report_session_summary
#: model_terms:ir.ui.view,arch_db:pos_report_session_summary.report_session_summary
msgid "<strong>Responsible</strong>:<br/>"
msgstr "<strong>Responsable</strong>:<br/>"

#. module: pos_report_session_summary
#: model_terms:ir.ui.view,arch_db:pos_report_session_summary.report_session_summary
msgid "<strong>Starting Balance</strong>"
msgstr "<strong>Balanç d'inici</strong>"

#. module: pos_report_session_summary
#: model_terms:ir.ui.view,arch_db:pos_report_session_summary.report_session_summary
msgid "<strong>Status</strong>"
msgstr "<strong>Estat</strong>"

#. module: pos_report_session_summary
#: model_terms:ir.ui.view,arch_db:pos_report_session_summary.report_session_summary
msgid "<strong>Total Transactions</strong>"
msgstr "<strong>Transaccions Total</strong>"

#. module: pos_report_session_summary
#: model_terms:ir.ui.view,arch_db:pos_report_session_summary.report_session_summary
msgid "Account"
msgstr "Compte"

#. module: pos_report_session_summary
#: model_terms:ir.ui.view,arch_db:pos_report_session_summary.report_session_summary
msgid "Amount"
msgstr "Import"

#. module: pos_report_session_summary
#: model_terms:ir.ui.view,arch_db:pos_report_session_summary.report_session_summary
msgid "Date"
msgstr "Data"

#. module: pos_report_session_summary
#: model_terms:ir.ui.view,arch_db:pos_report_session_summary.report_session_summary
msgid "Description"
msgstr "Descripció"

#. module: pos_report_session_summary
#: model_terms:ir.ui.view,arch_db:pos_report_session_summary.report_session_summary
msgid "Partner"
msgstr "Client"

#. module: pos_report_session_summary
#: model_terms:ir.ui.view,arch_db:pos_report_session_summary.report_session_summary
msgid "Reference"
msgstr "Referència"

#. module: pos_report_session_summary
#: model:ir.actions.report,name:pos_report_session_summary.action_report_pos_session_summary
msgid "Session Summary"
msgstr "Resum de la Sessió"

#. module: pos_report_session_summary
#: model_terms:ir.ui.view,arch_db:pos_report_session_summary.report_session_summary
msgid "Session Summary:"
msgstr "Resum de la Sessió:"

#. module: pos_report_session_summary
#: model_terms:ir.ui.view,arch_db:pos_report_session_summary.report_session_summary
msgid "Statement Details:"
msgstr "Detalls del declarat:"

#. module: pos_report_session_summary
#: model_terms:ir.ui.view,arch_db:pos_report_session_summary.report_session_summary
msgid "Statement Summary"
msgstr "Resum de la Declaració"
125 changes: 125 additions & 0 deletions pos_report_session_summary/i18n/ca_ES.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,125 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * pos_report_session_summary
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
"Language: ca_ES\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"

#. module: pos_report_session_summary
#: model_terms:ir.ui.view,arch_db:pos_report_session_summary.report_session_summary
msgid "<strong>Closing Date</strong>:<br/>"
msgstr ""

#. module: pos_report_session_summary
#: model_terms:ir.ui.view,arch_db:pos_report_session_summary.report_session_summary
msgid "<strong>Currency</strong>"
msgstr ""

#. module: pos_report_session_summary
#: model_terms:ir.ui.view,arch_db:pos_report_session_summary.report_session_summary
msgid "<strong>Difference</strong>"
msgstr ""

#. module: pos_report_session_summary
#: model_terms:ir.ui.view,arch_db:pos_report_session_summary.report_session_summary
msgid "<strong>Ending Balance</strong>"
msgstr ""

#. module: pos_report_session_summary
#: model_terms:ir.ui.view,arch_db:pos_report_session_summary.report_session_summary
msgid "<strong>Journal</strong>"
msgstr ""

#. module: pos_report_session_summary
#: model_terms:ir.ui.view,arch_db:pos_report_session_summary.report_session_summary
msgid "<strong>Opening Date</strong>:<br/>"
msgstr ""

#. module: pos_report_session_summary
#: model_terms:ir.ui.view,arch_db:pos_report_session_summary.report_session_summary
msgid "<strong>Point of Sale</strong>:<br/>"
msgstr ""

#. module: pos_report_session_summary
#: model_terms:ir.ui.view,arch_db:pos_report_session_summary.report_session_summary
msgid "<strong>Reference</strong>"
msgstr ""

#. module: pos_report_session_summary
#: model_terms:ir.ui.view,arch_db:pos_report_session_summary.report_session_summary
msgid "<strong>Responsible</strong>:<br/>"
msgstr ""

#. module: pos_report_session_summary
#: model_terms:ir.ui.view,arch_db:pos_report_session_summary.report_session_summary
msgid "<strong>Starting Balance</strong>"
msgstr ""

#. module: pos_report_session_summary
#: model_terms:ir.ui.view,arch_db:pos_report_session_summary.report_session_summary
msgid "<strong>Status</strong>"
msgstr ""

#. module: pos_report_session_summary
#: model_terms:ir.ui.view,arch_db:pos_report_session_summary.report_session_summary
msgid "<strong>Total Transactions</strong>"
msgstr ""

#. module: pos_report_session_summary
#: model_terms:ir.ui.view,arch_db:pos_report_session_summary.report_session_summary
msgid "Account"
msgstr ""

#. module: pos_report_session_summary
#: model_terms:ir.ui.view,arch_db:pos_report_session_summary.report_session_summary
msgid "Amount"
msgstr ""

#. module: pos_report_session_summary
#: model_terms:ir.ui.view,arch_db:pos_report_session_summary.report_session_summary
msgid "Date"
msgstr ""

#. module: pos_report_session_summary
#: model_terms:ir.ui.view,arch_db:pos_report_session_summary.report_session_summary
msgid "Description"
msgstr ""

#. module: pos_report_session_summary
#: model_terms:ir.ui.view,arch_db:pos_report_session_summary.report_session_summary
msgid "Partner"
msgstr ""

#. module: pos_report_session_summary
#: model_terms:ir.ui.view,arch_db:pos_report_session_summary.report_session_summary
msgid "Reference"
msgstr ""

#. module: pos_report_session_summary
#: model:ir.actions.report,name:pos_report_session_summary.action_report_pos_session_summary
msgid "Session Summary"
msgstr ""

#. module: pos_report_session_summary
#: model_terms:ir.ui.view,arch_db:pos_report_session_summary.report_session_summary
msgid "Session Summary:"
msgstr ""

#. module: pos_report_session_summary
#: model_terms:ir.ui.view,arch_db:pos_report_session_summary.report_session_summary
msgid "Statement Details:"
msgstr ""

#. module: pos_report_session_summary
#: model_terms:ir.ui.view,arch_db:pos_report_session_summary.report_session_summary
msgid "Statement Summary"
msgstr ""
Loading
Loading