From 3997a38c602a61304308885291114c26a65676f9 Mon Sep 17 00:00:00 2001
From: Victor Champonnois
Date: Fri, 12 May 2023 14:01:07 +0200
Subject: [PATCH 01/11] [REF] rename beesdoo_website_posorder_amount to
portal_posorder_amount
Signed-off-by: Carmen Bianca BAKKER
---
portal_pos_order_amount/README.rst | 58 +++
portal_pos_order_amount/__init__.py | 1 +
portal_pos_order_amount/__manifest__.py | 16 +
.../controllers/__init__.py | 1 +
portal_pos_order_amount/controllers/main.py | 49 +++
portal_pos_order_amount/i18n/fr.po | 37 ++
.../i18n/portal_pos_order_amount.pot | 35 ++
.../readme/CONTRIBUTORS.rst | 2 +
.../readme/DESCRIPTION.rst | 1 +
portal_pos_order_amount/readme/ROADMAP.rst | 1 +
.../static/description/index.html | 415 ++++++++++++++++++
.../templates/portal_pos_order_amount.xml | 52 +++
12 files changed, 668 insertions(+)
create mode 100644 portal_pos_order_amount/README.rst
create mode 100644 portal_pos_order_amount/__init__.py
create mode 100644 portal_pos_order_amount/__manifest__.py
create mode 100644 portal_pos_order_amount/controllers/__init__.py
create mode 100644 portal_pos_order_amount/controllers/main.py
create mode 100644 portal_pos_order_amount/i18n/fr.po
create mode 100644 portal_pos_order_amount/i18n/portal_pos_order_amount.pot
create mode 100644 portal_pos_order_amount/readme/CONTRIBUTORS.rst
create mode 100644 portal_pos_order_amount/readme/DESCRIPTION.rst
create mode 100644 portal_pos_order_amount/readme/ROADMAP.rst
create mode 100644 portal_pos_order_amount/static/description/index.html
create mode 100644 portal_pos_order_amount/templates/portal_pos_order_amount.xml
diff --git a/portal_pos_order_amount/README.rst b/portal_pos_order_amount/README.rst
new file mode 100644
index 000000000..ba826915f
--- /dev/null
+++ b/portal_pos_order_amount/README.rst
@@ -0,0 +1,58 @@
+===============================
+Portal Website POS order amount
+===============================
+
+.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+ !! This file is generated by oca-gen-addon-readme !!
+ !! changes will be overwritten. !!
+ !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+
+.. |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-AGPL--3-blue.png
+ :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
+ :alt: License: AGPL-3
+.. |badge3| image:: https://img.shields.io/badge/github-beescoop%2FObeesdoo-lightgray.png?logo=github
+ :target: https://github.com/beescoop/Obeesdoo/tree/12.0/beesdoo_website_posorder_amount
+ :alt: beescoop/Obeesdoo
+
+|badge1| |badge2| |badge3|
+
+Show the total amount of pos order in the website portal.
+
+**Table of contents**
+
+.. contents::
+ :local:
+
+Bug Tracker
+===========
+
+Bugs are tracked on `GitHub Issues `_.
+In case of trouble, please check there if your issue has already been reported.
+If you spotted it first, help us smashing it by providing a detailed and welcomed
+`feedback `_.
+
+Do not contact contributors directly about support or help with technical issues.
+
+Credits
+=======
+
+Authors
+~~~~~~~
+
+* Coop IT Easy SC
+
+Contributors
+~~~~~~~~~~~~
+
+* BEES coop - Cellule IT
+* Coop IT Easy SC
+
+Maintainers
+~~~~~~~~~~~
+
+This module is part of the `beescoop/Obeesdoo `_ project on GitHub.
+
+You are welcome to contribute.
diff --git a/portal_pos_order_amount/__init__.py b/portal_pos_order_amount/__init__.py
new file mode 100644
index 000000000..e046e49fb
--- /dev/null
+++ b/portal_pos_order_amount/__init__.py
@@ -0,0 +1 @@
+from . import controllers
diff --git a/portal_pos_order_amount/__manifest__.py b/portal_pos_order_amount/__manifest__.py
new file mode 100644
index 000000000..09bdcb14a
--- /dev/null
+++ b/portal_pos_order_amount/__manifest__.py
@@ -0,0 +1,16 @@
+# Copyright 2019 Coop IT Easy SC
+# Rémy Taymans
+# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
+{
+ "name": "Portal POS order amount",
+ "summary": """
+ Show the total amount of pos order in the website portal.
+ """,
+ "author": "Coop IT Easy SC",
+ "license": "AGPL-3",
+ "version": "12.0.1.0.0",
+ "website": "https://github.com/beescoop/Obeesdoo",
+ "category": "Website",
+ "depends": ["portal", "point_of_sale"],
+ "data": ["templates/portal_pos_order_amount.xml"],
+}
diff --git a/portal_pos_order_amount/controllers/__init__.py b/portal_pos_order_amount/controllers/__init__.py
new file mode 100644
index 000000000..12a7e529b
--- /dev/null
+++ b/portal_pos_order_amount/controllers/__init__.py
@@ -0,0 +1 @@
+from . import main
diff --git a/portal_pos_order_amount/controllers/main.py b/portal_pos_order_amount/controllers/main.py
new file mode 100644
index 000000000..f5389d1b0
--- /dev/null
+++ b/portal_pos_order_amount/controllers/main.py
@@ -0,0 +1,49 @@
+# Copyright 2018 Rémy Taymans
+# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
+
+
+from itertools import groupby
+
+from odoo.http import request
+from odoo.tools import float_repr
+
+from odoo.addons.portal.controllers.portal import CustomerPortal
+
+
+class PortalPosOrderAmount(CustomerPortal):
+ def _prepare_portal_layout_values(self):
+ values = super(PortalPosOrderAmount, self)._prepare_portal_layout_values()
+ user = request.env.user
+ owned_pos_order = (
+ request.env["pos.order"]
+ .sudo()
+ .search(
+ [
+ (
+ "partner_id",
+ "=",
+ user.partner_id.commercial_partner_id.id,
+ ),
+ ("state", "!=", "cancel"),
+ ]
+ )
+ )
+ values["pos_order_amount"] = float_repr(
+ sum(po.amount_total for po in owned_pos_order), 2
+ )
+ values["pos_order_amount_by_year"] = [
+ {
+ "year": year,
+ "amount": float_repr(
+ sum(pos_order.amount_total for pos_order in grouped_pos_orders),
+ 2,
+ ),
+ }
+ for year, grouped_pos_orders in groupby(
+ owned_pos_order, key=lambda pos_order: pos_order.date_order.year
+ )
+ ]
+ values["company_currency"] = (
+ request.env["res.company"]._company_default_get().currency_id
+ )
+ return values
diff --git a/portal_pos_order_amount/i18n/fr.po b/portal_pos_order_amount/i18n/fr.po
new file mode 100644
index 000000000..369025602
--- /dev/null
+++ b/portal_pos_order_amount/i18n/fr.po
@@ -0,0 +1,37 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+# * portal_pos_order_amount
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: Odoo Server 12.0\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2023-05-12 09:42+0000\n"
+"PO-Revision-Date: 2023-05-12 09:42+0000\n"
+"Last-Translator: <>\n"
+"Language-Team: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Plural-Forms: \n"
+
+#. module: portal_pos_order_amount
+#: model_terms:ir.ui.view,arch_db:portal_pos_order_amount.total_pos_order_amount
+msgid "Amount"
+msgstr "Montant"
+
+#. module: portal_pos_order_amount
+#: model_terms:ir.ui.view,arch_db:portal_pos_order_amount.total_pos_order_amount
+msgid "Purchases"
+msgstr "Achats"
+
+#. module: portal_pos_order_amount
+#: model_terms:ir.ui.view,arch_db:portal_pos_order_amount.total_pos_order_amount
+msgid "Year"
+msgstr "Année"
+
+#. module: portal_pos_order_amount
+#: model_terms:ir.ui.view,arch_db:portal_pos_order_amount.total_pos_order_amount
+msgid "You have purchased a total amount of"
+msgstr "Vous avez dépensé un total de"
+
diff --git a/portal_pos_order_amount/i18n/portal_pos_order_amount.pot b/portal_pos_order_amount/i18n/portal_pos_order_amount.pot
new file mode 100644
index 000000000..6c762c465
--- /dev/null
+++ b/portal_pos_order_amount/i18n/portal_pos_order_amount.pot
@@ -0,0 +1,35 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+# * portal_pos_order_amount
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: Odoo Server 12.0\n"
+"Report-Msgid-Bugs-To: \n"
+"Last-Translator: <>\n"
+"Language-Team: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Plural-Forms: \n"
+
+#. module: portal_pos_order_amount
+#: model_terms:ir.ui.view,arch_db:portal_pos_order_amount.total_pos_order_amount
+msgid "Amount"
+msgstr ""
+
+#. module: portal_pos_order_amount
+#: model_terms:ir.ui.view,arch_db:portal_pos_order_amount.total_pos_order_amount
+msgid "Purchases"
+msgstr ""
+
+#. module: portal_pos_order_amount
+#: model_terms:ir.ui.view,arch_db:portal_pos_order_amount.total_pos_order_amount
+msgid "Year"
+msgstr ""
+
+#. module: portal_pos_order_amount
+#: model_terms:ir.ui.view,arch_db:portal_pos_order_amount.total_pos_order_amount
+msgid "You have purchased a total amount of"
+msgstr ""
+
diff --git a/portal_pos_order_amount/readme/CONTRIBUTORS.rst b/portal_pos_order_amount/readme/CONTRIBUTORS.rst
new file mode 100644
index 000000000..5cf09c295
--- /dev/null
+++ b/portal_pos_order_amount/readme/CONTRIBUTORS.rst
@@ -0,0 +1,2 @@
+* BEES coop - Cellule IT
+* Coop IT Easy SC
diff --git a/portal_pos_order_amount/readme/DESCRIPTION.rst b/portal_pos_order_amount/readme/DESCRIPTION.rst
new file mode 100644
index 000000000..5082f97ba
--- /dev/null
+++ b/portal_pos_order_amount/readme/DESCRIPTION.rst
@@ -0,0 +1 @@
+Show the total amount of pos order in the website portal.
diff --git a/portal_pos_order_amount/readme/ROADMAP.rst b/portal_pos_order_amount/readme/ROADMAP.rst
new file mode 100644
index 000000000..f6adc9574
--- /dev/null
+++ b/portal_pos_order_amount/readme/ROADMAP.rst
@@ -0,0 +1 @@
+Add currency in the template
diff --git a/portal_pos_order_amount/static/description/index.html b/portal_pos_order_amount/static/description/index.html
new file mode 100644
index 000000000..10e21a64c
--- /dev/null
+++ b/portal_pos_order_amount/static/description/index.html
@@ -0,0 +1,415 @@
+
+
+
+
+
+
+Portal Website POS order amount
+
+
+
+
+
Portal Website POS order amount
+
+
+
+
Show the total amount of pos order in the website portal.
+
Table of contents
+
+
+
+
Bugs are tracked on GitHub Issues.
+In case of trouble, please check there if your issue has already been reported.
+If you spotted it first, help us smashing it by providing a detailed and welcomed
+feedback.
+
Do not contact contributors directly about support or help with technical issues.
+
+
+
+
+
+
+
+- Beescoop - Cellule IT
+- Coop IT Easy SC
+
+
+
+
+
This module is part of the beescoop/obeesdoo project on GitHub.
+
You are welcome to contribute.
+
+
+
+
+
diff --git a/portal_pos_order_amount/templates/portal_pos_order_amount.xml b/portal_pos_order_amount/templates/portal_pos_order_amount.xml
new file mode 100644
index 000000000..64af3ad78
--- /dev/null
+++ b/portal_pos_order_amount/templates/portal_pos_order_amount.xml
@@ -0,0 +1,52 @@
+
+
+
+
+
+
+
+
+
+
+
+ You have purchased a total amount of
+
+ .
+
+
+
+
+ Year
+ |
+
+ Amount
+ |
+
+
+
+
+ |
+
+
+ |
+
+
+
+
+
+
+
From 70e493afa68767f860edeaf719af87528b2318cf Mon Sep 17 00:00:00 2001
From: Github GRAP Bot
Date: Wed, 24 May 2023 15:22:15 +0000
Subject: [PATCH 02/11] [UPD] README.rst
Signed-off-by: Carmen Bianca BAKKER
---
portal_pos_order_amount/README.rst | 17 +++++++++++------
1 file changed, 11 insertions(+), 6 deletions(-)
diff --git a/portal_pos_order_amount/README.rst b/portal_pos_order_amount/README.rst
index ba826915f..4fa50a2e0 100644
--- a/portal_pos_order_amount/README.rst
+++ b/portal_pos_order_amount/README.rst
@@ -1,6 +1,6 @@
-===============================
-Portal Website POS order amount
-===============================
+=======================
+Portal POS order amount
+=======================
.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
@@ -14,7 +14,7 @@ Portal Website POS order amount
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-beescoop%2FObeesdoo-lightgray.png?logo=github
- :target: https://github.com/beescoop/Obeesdoo/tree/12.0/beesdoo_website_posorder_amount
+ :target: https://github.com/beescoop/Obeesdoo/tree/12.0/portal_pos_order_amount
:alt: beescoop/Obeesdoo
|badge1| |badge2| |badge3|
@@ -26,13 +26,18 @@ Show the total amount of pos order in the website portal.
.. contents::
:local:
+Known issues / Roadmap
+======================
+
+Add currency in the template
+
Bug Tracker
===========
Bugs are tracked on `GitHub Issues `_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us smashing it by providing a detailed and welcomed
-`feedback `_.
+`feedback `_.
Do not contact contributors directly about support or help with technical issues.
@@ -53,6 +58,6 @@ Contributors
Maintainers
~~~~~~~~~~~
-This module is part of the `beescoop/Obeesdoo `_ project on GitHub.
+This module is part of the `beescoop/Obeesdoo `_ project on GitHub.
You are welcome to contribute.
From 9eced9958deaf245eeed08ac6a4b8311277d84c1 Mon Sep 17 00:00:00 2001
From: Carmen Bianca BAKKER
Date: Tue, 30 May 2023 11:35:51 +0200
Subject: [PATCH 03/11] [FIX] portal_pos_order_amount: Display currency
correctly
Signed-off-by: Carmen Bianca BAKKER
---
portal_pos_order_amount/controllers/main.py | 10 +++-------
.../templates/portal_pos_order_amount.xml | 7 +++----
2 files changed, 6 insertions(+), 11 deletions(-)
diff --git a/portal_pos_order_amount/controllers/main.py b/portal_pos_order_amount/controllers/main.py
index f5389d1b0..0ec84b26e 100644
--- a/portal_pos_order_amount/controllers/main.py
+++ b/portal_pos_order_amount/controllers/main.py
@@ -5,7 +5,6 @@
from itertools import groupby
from odoo.http import request
-from odoo.tools import float_repr
from odoo.addons.portal.controllers.portal import CustomerPortal
@@ -28,15 +27,12 @@ def _prepare_portal_layout_values(self):
]
)
)
- values["pos_order_amount"] = float_repr(
- sum(po.amount_total for po in owned_pos_order), 2
- )
+ values["pos_order_amount"] = sum(po.amount_total for po in owned_pos_order)
values["pos_order_amount_by_year"] = [
{
"year": year,
- "amount": float_repr(
- sum(pos_order.amount_total for pos_order in grouped_pos_orders),
- 2,
+ "amount": sum(
+ pos_order.amount_total for pos_order in grouped_pos_orders
),
}
for year, grouped_pos_orders in groupby(
diff --git a/portal_pos_order_amount/templates/portal_pos_order_amount.xml b/portal_pos_order_amount/templates/portal_pos_order_amount.xml
index 64af3ad78..83fdc41f2 100644
--- a/portal_pos_order_amount/templates/portal_pos_order_amount.xml
+++ b/portal_pos_order_amount/templates/portal_pos_order_amount.xml
@@ -20,9 +20,8 @@
You have purchased a total amount of
- .
+ t-options='{"widget": "monetary", "display_currency": company_currency}'
+ />.
@@ -40,7 +39,7 @@
|
From e191553eb6ddbc0cdd82174f3c0877b42712d4a7 Mon Sep 17 00:00:00 2001
From: Github GRAP Bot
Date: Tue, 30 May 2023 21:54:37 +0000
Subject: [PATCH 04/11] portal_pos_order_amount 12.0.1.0.1
Signed-off-by: Carmen Bianca BAKKER
---
portal_pos_order_amount/__manifest__.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/portal_pos_order_amount/__manifest__.py b/portal_pos_order_amount/__manifest__.py
index 09bdcb14a..b6cf7686c 100644
--- a/portal_pos_order_amount/__manifest__.py
+++ b/portal_pos_order_amount/__manifest__.py
@@ -8,7 +8,7 @@
""",
"author": "Coop IT Easy SC",
"license": "AGPL-3",
- "version": "12.0.1.0.0",
+ "version": "12.0.1.0.1",
"website": "https://github.com/beescoop/Obeesdoo",
"category": "Website",
"depends": ["portal", "point_of_sale"],
From 5fffc566cdb7e9575101387305496743e6fbb133 Mon Sep 17 00:00:00 2001
From: Carmen Bianca BAKKER
Date: Mon, 9 Oct 2023 11:55:18 +0200
Subject: [PATCH 05/11] [IMP] portal_pos_order_amount: black, isort, prettier
---
.../odoo/addons/portal_pos_order_amount | 1 +
setup/portal_pos_order_amount/setup.py | 6 ++++++
2 files changed, 7 insertions(+)
create mode 120000 setup/portal_pos_order_amount/odoo/addons/portal_pos_order_amount
create mode 100644 setup/portal_pos_order_amount/setup.py
diff --git a/setup/portal_pos_order_amount/odoo/addons/portal_pos_order_amount b/setup/portal_pos_order_amount/odoo/addons/portal_pos_order_amount
new file mode 120000
index 000000000..356d565e9
--- /dev/null
+++ b/setup/portal_pos_order_amount/odoo/addons/portal_pos_order_amount
@@ -0,0 +1 @@
+../../../../portal_pos_order_amount
\ No newline at end of file
diff --git a/setup/portal_pos_order_amount/setup.py b/setup/portal_pos_order_amount/setup.py
new file mode 100644
index 000000000..28c57bb64
--- /dev/null
+++ b/setup/portal_pos_order_amount/setup.py
@@ -0,0 +1,6 @@
+import setuptools
+
+setuptools.setup(
+ setup_requires=['setuptools-odoo'],
+ odoo_addon=True,
+)
From 2a309a8dc333c8334dc72ee24b90e1ab5277c683 Mon Sep 17 00:00:00 2001
From: Carmen Bianca BAKKER
Date: Mon, 9 Oct 2023 11:58:41 +0200
Subject: [PATCH 06/11] [MIG] portal_pos_order_amount: Migration to 13.0
Signed-off-by: Carmen Bianca BAKKER
---
portal_pos_order_amount/__manifest__.py | 2 +-
portal_pos_order_amount/controllers/main.py | 4 +---
2 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/portal_pos_order_amount/__manifest__.py b/portal_pos_order_amount/__manifest__.py
index b6cf7686c..cbc28f5d6 100644
--- a/portal_pos_order_amount/__manifest__.py
+++ b/portal_pos_order_amount/__manifest__.py
@@ -8,7 +8,7 @@
""",
"author": "Coop IT Easy SC",
"license": "AGPL-3",
- "version": "12.0.1.0.1",
+ "version": "13.0.1.0.0",
"website": "https://github.com/beescoop/Obeesdoo",
"category": "Website",
"depends": ["portal", "point_of_sale"],
diff --git a/portal_pos_order_amount/controllers/main.py b/portal_pos_order_amount/controllers/main.py
index 0ec84b26e..c1d7ba8f9 100644
--- a/portal_pos_order_amount/controllers/main.py
+++ b/portal_pos_order_amount/controllers/main.py
@@ -39,7 +39,5 @@ def _prepare_portal_layout_values(self):
owned_pos_order, key=lambda pos_order: pos_order.date_order.year
)
]
- values["company_currency"] = (
- request.env["res.company"]._company_default_get().currency_id
- )
+ values["company_currency"] = request.env.company.currency_id
return values
From 26c1e4a52f16531a941c7849b479cca5acd99ea0 Mon Sep 17 00:00:00 2001
From: Carmen Bianca BAKKER
Date: Mon, 9 Oct 2023 13:43:14 +0200
Subject: [PATCH 07/11] [MIG] portal_pos_order_amount: Migration to 14.0
Signed-off-by: Carmen Bianca BAKKER
---
portal_pos_order_amount/__manifest__.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/portal_pos_order_amount/__manifest__.py b/portal_pos_order_amount/__manifest__.py
index cbc28f5d6..26cdb5cc6 100644
--- a/portal_pos_order_amount/__manifest__.py
+++ b/portal_pos_order_amount/__manifest__.py
@@ -8,7 +8,7 @@
""",
"author": "Coop IT Easy SC",
"license": "AGPL-3",
- "version": "13.0.1.0.0",
+ "version": "14.0.1.0.0",
"website": "https://github.com/beescoop/Obeesdoo",
"category": "Website",
"depends": ["portal", "point_of_sale"],
From c22966577738287d4637c0a9e8c5fc7e95f1b8ae Mon Sep 17 00:00:00 2001
From: Carmen Bianca BAKKER
Date: Mon, 9 Oct 2023 13:43:56 +0200
Subject: [PATCH 08/11] [MIG] portal_pos_order_amount: Migration to 15.0
Signed-off-by: Carmen Bianca BAKKER
---
portal_pos_order_amount/__manifest__.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/portal_pos_order_amount/__manifest__.py b/portal_pos_order_amount/__manifest__.py
index 26cdb5cc6..390e9af05 100644
--- a/portal_pos_order_amount/__manifest__.py
+++ b/portal_pos_order_amount/__manifest__.py
@@ -8,7 +8,7 @@
""",
"author": "Coop IT Easy SC",
"license": "AGPL-3",
- "version": "14.0.1.0.0",
+ "version": "15.0.1.0.0",
"website": "https://github.com/beescoop/Obeesdoo",
"category": "Website",
"depends": ["portal", "point_of_sale"],
From 29f4be8b37bbc2fe580ad79efa8e93fb7877e855 Mon Sep 17 00:00:00 2001
From: Carmen Bianca BAKKER
Date: Mon, 9 Oct 2023 13:44:35 +0200
Subject: [PATCH 09/11] [MIG] portal_pos_order_amount: Migration to 16.0
Signed-off-by: Carmen Bianca BAKKER
---
portal_pos_order_amount/__manifest__.py | 2 +-
portal_pos_order_amount/templates/portal_pos_order_amount.xml | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/portal_pos_order_amount/__manifest__.py b/portal_pos_order_amount/__manifest__.py
index 390e9af05..b4eaffbff 100644
--- a/portal_pos_order_amount/__manifest__.py
+++ b/portal_pos_order_amount/__manifest__.py
@@ -8,7 +8,7 @@
""",
"author": "Coop IT Easy SC",
"license": "AGPL-3",
- "version": "15.0.1.0.0",
+ "version": "16.0.1.0.0",
"website": "https://github.com/beescoop/Obeesdoo",
"category": "Website",
"depends": ["portal", "point_of_sale"],
diff --git a/portal_pos_order_amount/templates/portal_pos_order_amount.xml b/portal_pos_order_amount/templates/portal_pos_order_amount.xml
index 83fdc41f2..99f0c30e5 100644
--- a/portal_pos_order_amount/templates/portal_pos_order_amount.xml
+++ b/portal_pos_order_amount/templates/portal_pos_order_amount.xml
@@ -13,8 +13,8 @@
inherit_id="portal.portal_layout"
>
-
-
+
+
Purchases
You have purchased a total amount of
From d5b45aa17c7d8e444b2a2208882e3237821f5aab Mon Sep 17 00:00:00 2001
From: Carmen Bianca BAKKER
Date: Wed, 31 Jan 2024 18:20:06 +0100
Subject: [PATCH 10/11] [IMP] portal_pos_order_amount: Make the title more
explicit
Signed-off-by: Carmen Bianca BAKKER
---
portal_pos_order_amount/templates/portal_pos_order_amount.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/portal_pos_order_amount/templates/portal_pos_order_amount.xml b/portal_pos_order_amount/templates/portal_pos_order_amount.xml
index 99f0c30e5..84d55c2e8 100644
--- a/portal_pos_order_amount/templates/portal_pos_order_amount.xml
+++ b/portal_pos_order_amount/templates/portal_pos_order_amount.xml
@@ -14,7 +14,7 @@
>
-
Purchases
+
Point of Sale Purchases
You have purchased a total amount of
From 31633999573353c2dd07ae283ba420113ee6fc8b Mon Sep 17 00:00:00 2001
From: Carmen Bianca BAKKER
Date: Wed, 31 Jan 2024 18:20:51 +0100
Subject: [PATCH 11/11] [IMP] portal_pos_order_amount: Update roadmap
Signed-off-by: Carmen Bianca BAKKER
---
portal_pos_order_amount/README.rst | 17 +++---
portal_pos_order_amount/readme/ROADMAP.rst | 2 +-
.../static/description/index.html | 54 +++++++++++--------
3 files changed, 42 insertions(+), 31 deletions(-)
diff --git a/portal_pos_order_amount/README.rst b/portal_pos_order_amount/README.rst
index 4fa50a2e0..1c7263c72 100644
--- a/portal_pos_order_amount/README.rst
+++ b/portal_pos_order_amount/README.rst
@@ -2,10 +2,13 @@
Portal POS order amount
=======================
-.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+..
+ !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+ !! source digest: sha256:b974534b073516b491e4a8654a41d349cec7ef822a8683195e2eaa4337796692
+ !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
@@ -14,10 +17,10 @@ Portal POS order amount
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-beescoop%2FObeesdoo-lightgray.png?logo=github
- :target: https://github.com/beescoop/Obeesdoo/tree/12.0/portal_pos_order_amount
+ :target: https://github.com/beescoop/Obeesdoo/tree/16.0/portal_pos_order_amount
:alt: beescoop/Obeesdoo
-|badge1| |badge2| |badge3|
+|badge1| |badge2| |badge3|
Show the total amount of pos order in the website portal.
@@ -29,15 +32,15 @@ Show the total amount of pos order in the website portal.
Known issues / Roadmap
======================
-Add currency in the template
+- Move the table from the side bar to the main content area.
Bug Tracker
===========
Bugs are tracked on `GitHub Issues `_.
In case of trouble, please check there if your issue has already been reported.
-If you spotted it first, help us smashing it by providing a detailed and welcomed
-`feedback `_.
+If you spotted it first, help us to smash it by providing a detailed and welcomed
+`feedback `_.
Do not contact contributors directly about support or help with technical issues.
@@ -58,6 +61,6 @@ Contributors
Maintainers
~~~~~~~~~~~
-This module is part of the `beescoop/Obeesdoo `_ project on GitHub.
+This module is part of the `beescoop/Obeesdoo `_ project on GitHub.
You are welcome to contribute.
diff --git a/portal_pos_order_amount/readme/ROADMAP.rst b/portal_pos_order_amount/readme/ROADMAP.rst
index f6adc9574..e89d47119 100644
--- a/portal_pos_order_amount/readme/ROADMAP.rst
+++ b/portal_pos_order_amount/readme/ROADMAP.rst
@@ -1 +1 @@
-Add currency in the template
+- Move the table from the side bar to the main content area.
diff --git a/portal_pos_order_amount/static/description/index.html b/portal_pos_order_amount/static/description/index.html
index 10e21a64c..b976ccd81 100644
--- a/portal_pos_order_amount/static/description/index.html
+++ b/portal_pos_order_amount/static/description/index.html
@@ -1,20 +1,19 @@
-
-
-Portal Website POS order amount
+
+Portal POS order amount
-
-
Portal Website POS order amount
+
+
Portal POS order amount
-
+
Show the total amount of pos order in the website portal.
Table of contents
+
+
+
+- Move the table from the side bar to the main content area.
+
+
-
-
Bugs are tracked on GitHub Issues.
+
+
Bugs are tracked on GitHub Issues.
In case of trouble, please check there if your issue has already been reported.
-If you spotted it first, help us smashing it by providing a detailed and welcomed
-feedback.
+If you spotted it first, help us to smash it by providing a detailed and welcomed
+
feedback.
Do not contact contributors directly about support or help with technical issues.
-
+
-
+
-- Beescoop - Cellule IT
+- BEES coop - Cellule IT
- Coop IT Easy SC
-
-
This module is part of the beescoop/obeesdoo project on GitHub.
+
+
This module is part of the beescoop/Obeesdoo project on GitHub.
You are welcome to contribute.