Browse Source

[MIG] Migrated to Odoo v 12

pull/400/head
Wolfgang Pichler 5 years ago
parent
commit
86f9e3b41d
  1. 4
      pos_report_session_summary/__manifest__.py
  2. 128
      pos_report_session_summary/i18n/de.po
  3. 48
      pos_report_session_summary/i18n/pos_report_session_summary.pot
  4. 16
      pos_report_session_summary/views/report_session_summary.xml
  5. 0
      pos_report_session_summary/views/session_summary_report.xml

4
pos_report_session_summary/__manifest__.py

@ -5,14 +5,14 @@
{
'name': 'POS report Session Summary',
'version': '10.0.1.0.0',
'version': '12.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': [
'session_summary_report.xml',
'views/session_summary_report.xml',
'views/report_session_summary.xml',
],
'installable': True,

128
pos_report_session_summary/i18n/de.po

@ -0,0 +1,128 @@
# 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"
"POT-Creation-Date: 2019-10-16 15:05+0000\n"
"PO-Revision-Date: 2019-10-16 15:05+0000\n"
"Last-Translator: <>\n"
"Language-Team: \n"
"Language: de\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 "<strong>Ende Datum</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>Währung</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>Differenz</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>Endbestand</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>Journal</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>Eröffnungs Datum</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>Kasse</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>Referenz</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>Verantwortlicher</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>Anfangsbestand</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>Status</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>Transaktionen insgesamt</strong>"
#. module: pos_report_session_summary
#: model_terms:ir.ui.view,arch_db:pos_report_session_summary.report_session_summary
msgid "Account"
msgstr "Konto"
#. module: pos_report_session_summary
#: model_terms:ir.ui.view,arch_db:pos_report_session_summary.report_session_summary
msgid "Amount"
msgstr "Betrag"
#. module: pos_report_session_summary
#: model_terms:ir.ui.view,arch_db:pos_report_session_summary.report_session_summary
msgid "Date"
msgstr "Datum"
#. module: pos_report_session_summary
#: model_terms:ir.ui.view,arch_db:pos_report_session_summary.report_session_summary
msgid "Description"
msgstr "Beschreibung"
#. module: pos_report_session_summary
#: model_terms:ir.ui.view,arch_db:pos_report_session_summary.report_session_summary
msgid "Partner"
msgstr "Kunde"
#. module: pos_report_session_summary
#: model_terms:ir.ui.view,arch_db:pos_report_session_summary.report_session_summary
msgid "Reference"
msgstr "Referenz"
#. module: pos_report_session_summary
#: model:ir.actions.report,name:pos_report_session_summary.action_report_pos_session_summary
msgid "Session Summary"
msgstr "Sitzungszusammenfassung "
#. module: pos_report_session_summary
#: model_terms:ir.ui.view,arch_db:pos_report_session_summary.report_session_summary
msgid "Session Summary:"
msgstr "Sitzungszusammenfassung:"
#. module: pos_report_session_summary
#: model_terms:ir.ui.view,arch_db:pos_report_session_summary.report_session_summary
msgid "Statement Details:"
msgstr "Zahlungsdetails:"
#. module: pos_report_session_summary
#: model_terms:ir.ui.view,arch_db:pos_report_session_summary.report_session_summary
msgid "Statement Summary"
msgstr "Zahlungsübersicht"

48
pos_report_session_summary/i18n/pos_report_session_summary.pot

@ -4,8 +4,10 @@
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Project-Id-Version: Odoo Server 12.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-10-16 15:45+0000\n"
"PO-Revision-Date: 2019-10-16 15:45+0000\n"
"Last-Translator: <>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
@ -14,112 +16,112 @@ msgstr ""
"Plural-Forms: \n"
#. module: pos_report_session_summary
#: model:ir.ui.view,arch_db:pos_report_session_summary.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:ir.ui.view,arch_db:pos_report_session_summary.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:ir.ui.view,arch_db:pos_report_session_summary.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:ir.ui.view,arch_db:pos_report_session_summary.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:ir.ui.view,arch_db:pos_report_session_summary.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:ir.ui.view,arch_db:pos_report_session_summary.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:ir.ui.view,arch_db:pos_report_session_summary.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:ir.ui.view,arch_db:pos_report_session_summary.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:ir.ui.view,arch_db:pos_report_session_summary.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:ir.ui.view,arch_db:pos_report_session_summary.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:ir.ui.view,arch_db:pos_report_session_summary.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:ir.ui.view,arch_db:pos_report_session_summary.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:ir.ui.view,arch_db:pos_report_session_summary.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:ir.ui.view,arch_db:pos_report_session_summary.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:ir.ui.view,arch_db:pos_report_session_summary.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:ir.ui.view,arch_db:pos_report_session_summary.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:ir.ui.view,arch_db:pos_report_session_summary.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:ir.ui.view,arch_db:pos_report_session_summary.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.xml,name:pos_report_session_summary.action_report_pos_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:ir.ui.view,arch_db:pos_report_session_summary.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:ir.ui.view,arch_db:pos_report_session_summary.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:ir.ui.view,arch_db:pos_report_session_summary.report_session_summary
#: model_terms:ir.ui.view,arch_db:pos_report_session_summary.report_session_summary
msgid "Statement Summary"
msgstr ""

16
pos_report_session_summary/views/report_session_summary.xml

@ -1,26 +1,26 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="report_session_summary">
<t t-call="report.html_container">
<t t-call="web.html_container">
<t t-foreach="docs" t-as="o">
<t t-call="report.internal_layout">
<t t-call="web.external_layout">
<div class="page">
<h2>Session Summary: <span t-field="o.name"/></h2>
<div class="row mt32 mb32">
<div class="col-xs-3">
<div class="col-auto mw-100 mb-3">
<strong>Responsible</strong>:<br/>
<span t-field="o.user_id"/>
</div>
<div class="col-xs-3">
<div class="col-auto mw-100 mb-3">
<strong>Point of Sale</strong>:<br/>
<span t-field="o.config_id"/>
</div>
<div class="col-xs-3">
<div class="col-auto mw-100 mb-3">
<strong>Opening Date</strong>:<br/>
<span t-field="o.start_at"/>
</div>
<div class="col-xs-3">
<div class="col-auto mw-100 mb-3">
<strong>Closing Date</strong>:<br/>
<span t-field="o.stop_at"/>
</div>
@ -28,7 +28,7 @@
<h4>Statement Summary</h4>
<table class="table table-condensed mb32">
<table class="table table-sm o_main_table">
<thead>
<tr>
<th>
@ -88,7 +88,7 @@
<t t-foreach="o.statement_ids" t-as="statement">
<h4 t-if="statement.line_ids">Statement Details: <span t-esc="statement.name"/></h4>
<table class="table table-condensed" t-if="statement.line_ids">
<table class="table table-sm o_main_table" t-if="statement.line_ids">
<thead>
<tr>
<th>Date</th>

0
pos_report_session_summary/session_summary_report.xml → pos_report_session_summary/views/session_summary_report.xml

Loading…
Cancel
Save