From f9417aae635b00cf4a2b959f40f50b63b7834485 Mon Sep 17 00:00:00 2001
From: Jairo Llopis
Date: Thu, 6 Apr 2023 12:07:23 +0000
Subject: [PATCH] [FIX] base_external_dbsource_sqlite: actually useful demo
data
Previous demo data wasn't working nor showcasing a valid query string.
---
base_external_dbsource_sqlite/README.rst | 20 ++++++++++++++-----
base_external_dbsource_sqlite/__manifest__.py | 2 +-
.../demo/base_external_dbsource.xml | 4 ++--
.../i18n/base_external_dbsource_sqlite.pot | 19 +++++++++++++++++-
base_external_dbsource_sqlite/i18n/de.po | 17 ++++++++++++++++
base_external_dbsource_sqlite/i18n/es.po | 17 ++++++++++++++++
base_external_dbsource_sqlite/i18n/hr.po | 17 ++++++++++++++++
base_external_dbsource_sqlite/i18n/nl_NL.po | 17 ++++++++++++++++
base_external_dbsource_sqlite/i18n/pt_BR.po | 17 ++++++++++++++++
base_external_dbsource_sqlite/i18n/sl.po | 17 ++++++++++++++++
base_external_dbsource_sqlite/i18n/tr.po | 17 ++++++++++++++++
.../static/description/index.html | 9 ++++++---
12 files changed, 161 insertions(+), 12 deletions(-)
diff --git a/base_external_dbsource_sqlite/README.rst b/base_external_dbsource_sqlite/README.rst
index 06fc7155..56647c9b 100644
--- a/base_external_dbsource_sqlite/README.rst
+++ b/base_external_dbsource_sqlite/README.rst
@@ -14,13 +14,13 @@ External Database Source - SQLite
:target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html
:alt: License: LGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fserver--backend-lightgray.png?logo=github
- :target: https://github.com/OCA/server-backend/tree/15.0/base_external_dbsource_sqlite
+ :target: https://github.com/OCA/server-backend/tree/16.0/base_external_dbsource_sqlite
:alt: OCA/server-backend
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
- :target: https://translation.odoo-community.org/projects/server-backend-15-0/server-backend-15-0-base_external_dbsource_sqlite
+ :target: https://translation.odoo-community.org/projects/server-backend-16-0/server-backend-16-0-base_external_dbsource_sqlite
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
- :target: https://runbot.odoo-community.org/runbot/253/15.0
+ :target: https://runbot.odoo-community.org/runbot/253/16.0
:alt: Try me on Runbot
|badge1| |badge2| |badge3| |badge4| |badge5|
@@ -72,7 +72,7 @@ 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.
@@ -97,6 +97,8 @@ Contributors
* Sergio Teruel
+* Andrea Cattalani (`Moduon `__)
+
Maintainers
~~~~~~~~~~~
@@ -110,6 +112,14 @@ 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/server-backend `_ project on GitHub.
+.. |maintainer-anddago78| image:: https://github.com/anddago78.png?size=40px
+ :target: https://github.com/anddago78
+ :alt: anddago78
+
+Current `maintainer `__:
+
+|maintainer-anddago78|
+
+This module is part of the `OCA/server-backend `_ project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
diff --git a/base_external_dbsource_sqlite/__manifest__.py b/base_external_dbsource_sqlite/__manifest__.py
index 02b60d8e..0211c599 100644
--- a/base_external_dbsource_sqlite/__manifest__.py
+++ b/base_external_dbsource_sqlite/__manifest__.py
@@ -3,7 +3,7 @@
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl).
{
"name": "External Database Source - SQLite",
- "version": "16.0.1.0.0",
+ "version": "16.0.1.0.1",
"category": "Tools",
"author": "Daniel Reis, LasLabs, Odoo Community Association (OCA)",
"maintainers": ["anddago78"],
diff --git a/base_external_dbsource_sqlite/demo/base_external_dbsource.xml b/base_external_dbsource_sqlite/demo/base_external_dbsource.xml
index 94764eaf..d69baea4 100644
--- a/base_external_dbsource_sqlite/demo/base_external_dbsource.xml
+++ b/base_external_dbsource_sqlite/demo/base_external_dbsource.xml
@@ -2,8 +2,8 @@
SQLite Demo
- Data Source=:memory:;Version=3;New=True;
- password
+ sqlite://
+
sqlite
diff --git a/base_external_dbsource_sqlite/i18n/base_external_dbsource_sqlite.pot b/base_external_dbsource_sqlite/i18n/base_external_dbsource_sqlite.pot
index 4ecc28d4..4429f013 100644
--- a/base_external_dbsource_sqlite/i18n/base_external_dbsource_sqlite.pot
+++ b/base_external_dbsource_sqlite/i18n/base_external_dbsource_sqlite.pot
@@ -4,7 +4,7 @@
#
msgid ""
msgstr ""
-"Project-Id-Version: Odoo Server 15.0\n"
+"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: \n"
"Language-Team: \n"
@@ -13,7 +13,24 @@ msgstr ""
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"
+#. module: base_external_dbsource_sqlite
+#: model:ir.model.fields,field_description:base_external_dbsource_sqlite.field_base_external_dbsource__connector
+msgid "Connector"
+msgstr ""
+
#. module: base_external_dbsource_sqlite
#: model:ir.model,name:base_external_dbsource_sqlite.model_base_external_dbsource
msgid "External Database Sources"
msgstr ""
+
+#. module: base_external_dbsource_sqlite
+#: model:ir.model.fields,help:base_external_dbsource_sqlite.field_base_external_dbsource__connector
+msgid ""
+"If a connector is missing from the list, check the server log to confirm "
+"that the required components were detected."
+msgstr ""
+
+#. module: base_external_dbsource_sqlite
+#: model:ir.model.fields.selection,name:base_external_dbsource_sqlite.selection__base_external_dbsource__connector__sqlite
+msgid "SQLite"
+msgstr ""
diff --git a/base_external_dbsource_sqlite/i18n/de.po b/base_external_dbsource_sqlite/i18n/de.po
index 0b865e9f..f6bcab45 100644
--- a/base_external_dbsource_sqlite/i18n/de.po
+++ b/base_external_dbsource_sqlite/i18n/de.po
@@ -18,7 +18,24 @@ msgstr ""
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+#. module: base_external_dbsource_sqlite
+#: model:ir.model.fields,field_description:base_external_dbsource_sqlite.field_base_external_dbsource__connector
+msgid "Connector"
+msgstr ""
+
#. module: base_external_dbsource_sqlite
#: model:ir.model,name:base_external_dbsource_sqlite.model_base_external_dbsource
msgid "External Database Sources"
msgstr "Externe Datenbankquellen"
+
+#. module: base_external_dbsource_sqlite
+#: model:ir.model.fields,help:base_external_dbsource_sqlite.field_base_external_dbsource__connector
+msgid ""
+"If a connector is missing from the list, check the server log to confirm "
+"that the required components were detected."
+msgstr ""
+
+#. module: base_external_dbsource_sqlite
+#: model:ir.model.fields.selection,name:base_external_dbsource_sqlite.selection__base_external_dbsource__connector__sqlite
+msgid "SQLite"
+msgstr ""
diff --git a/base_external_dbsource_sqlite/i18n/es.po b/base_external_dbsource_sqlite/i18n/es.po
index 3e5026b9..43e45d04 100644
--- a/base_external_dbsource_sqlite/i18n/es.po
+++ b/base_external_dbsource_sqlite/i18n/es.po
@@ -18,7 +18,24 @@ msgstr ""
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+#. module: base_external_dbsource_sqlite
+#: model:ir.model.fields,field_description:base_external_dbsource_sqlite.field_base_external_dbsource__connector
+msgid "Connector"
+msgstr ""
+
#. module: base_external_dbsource_sqlite
#: model:ir.model,name:base_external_dbsource_sqlite.model_base_external_dbsource
msgid "External Database Sources"
msgstr "Fuentes externas de la base de datos"
+
+#. module: base_external_dbsource_sqlite
+#: model:ir.model.fields,help:base_external_dbsource_sqlite.field_base_external_dbsource__connector
+msgid ""
+"If a connector is missing from the list, check the server log to confirm "
+"that the required components were detected."
+msgstr ""
+
+#. module: base_external_dbsource_sqlite
+#: model:ir.model.fields.selection,name:base_external_dbsource_sqlite.selection__base_external_dbsource__connector__sqlite
+msgid "SQLite"
+msgstr ""
diff --git a/base_external_dbsource_sqlite/i18n/hr.po b/base_external_dbsource_sqlite/i18n/hr.po
index 1bb28b7f..bcdf8942 100644
--- a/base_external_dbsource_sqlite/i18n/hr.po
+++ b/base_external_dbsource_sqlite/i18n/hr.po
@@ -19,7 +19,24 @@ msgstr ""
"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
+#. module: base_external_dbsource_sqlite
+#: model:ir.model.fields,field_description:base_external_dbsource_sqlite.field_base_external_dbsource__connector
+msgid "Connector"
+msgstr ""
+
#. module: base_external_dbsource_sqlite
#: model:ir.model,name:base_external_dbsource_sqlite.model_base_external_dbsource
msgid "External Database Sources"
msgstr "Vanjske baze"
+
+#. module: base_external_dbsource_sqlite
+#: model:ir.model.fields,help:base_external_dbsource_sqlite.field_base_external_dbsource__connector
+msgid ""
+"If a connector is missing from the list, check the server log to confirm "
+"that the required components were detected."
+msgstr ""
+
+#. module: base_external_dbsource_sqlite
+#: model:ir.model.fields.selection,name:base_external_dbsource_sqlite.selection__base_external_dbsource__connector__sqlite
+msgid "SQLite"
+msgstr ""
diff --git a/base_external_dbsource_sqlite/i18n/nl_NL.po b/base_external_dbsource_sqlite/i18n/nl_NL.po
index 88ca312c..46362e35 100644
--- a/base_external_dbsource_sqlite/i18n/nl_NL.po
+++ b/base_external_dbsource_sqlite/i18n/nl_NL.po
@@ -19,7 +19,24 @@ msgstr ""
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+#. module: base_external_dbsource_sqlite
+#: model:ir.model.fields,field_description:base_external_dbsource_sqlite.field_base_external_dbsource__connector
+msgid "Connector"
+msgstr ""
+
#. module: base_external_dbsource_sqlite
#: model:ir.model,name:base_external_dbsource_sqlite.model_base_external_dbsource
msgid "External Database Sources"
msgstr "Externe databasebronnen"
+
+#. module: base_external_dbsource_sqlite
+#: model:ir.model.fields,help:base_external_dbsource_sqlite.field_base_external_dbsource__connector
+msgid ""
+"If a connector is missing from the list, check the server log to confirm "
+"that the required components were detected."
+msgstr ""
+
+#. module: base_external_dbsource_sqlite
+#: model:ir.model.fields.selection,name:base_external_dbsource_sqlite.selection__base_external_dbsource__connector__sqlite
+msgid "SQLite"
+msgstr ""
diff --git a/base_external_dbsource_sqlite/i18n/pt_BR.po b/base_external_dbsource_sqlite/i18n/pt_BR.po
index 0d9bb8b9..b5000b27 100644
--- a/base_external_dbsource_sqlite/i18n/pt_BR.po
+++ b/base_external_dbsource_sqlite/i18n/pt_BR.po
@@ -19,7 +19,24 @@ msgstr ""
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+#. module: base_external_dbsource_sqlite
+#: model:ir.model.fields,field_description:base_external_dbsource_sqlite.field_base_external_dbsource__connector
+msgid "Connector"
+msgstr ""
+
#. module: base_external_dbsource_sqlite
#: model:ir.model,name:base_external_dbsource_sqlite.model_base_external_dbsource
msgid "External Database Sources"
msgstr "Fontes Banco de Dados Externo"
+
+#. module: base_external_dbsource_sqlite
+#: model:ir.model.fields,help:base_external_dbsource_sqlite.field_base_external_dbsource__connector
+msgid ""
+"If a connector is missing from the list, check the server log to confirm "
+"that the required components were detected."
+msgstr ""
+
+#. module: base_external_dbsource_sqlite
+#: model:ir.model.fields.selection,name:base_external_dbsource_sqlite.selection__base_external_dbsource__connector__sqlite
+msgid "SQLite"
+msgstr ""
diff --git a/base_external_dbsource_sqlite/i18n/sl.po b/base_external_dbsource_sqlite/i18n/sl.po
index 36bd6a78..b501d353 100644
--- a/base_external_dbsource_sqlite/i18n/sl.po
+++ b/base_external_dbsource_sqlite/i18n/sl.po
@@ -19,7 +19,24 @@ msgstr ""
"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n"
"%100==4 ? 2 : 3);\n"
+#. module: base_external_dbsource_sqlite
+#: model:ir.model.fields,field_description:base_external_dbsource_sqlite.field_base_external_dbsource__connector
+msgid "Connector"
+msgstr ""
+
#. module: base_external_dbsource_sqlite
#: model:ir.model,name:base_external_dbsource_sqlite.model_base_external_dbsource
msgid "External Database Sources"
msgstr "Viri zunanjih podatkovnih baz"
+
+#. module: base_external_dbsource_sqlite
+#: model:ir.model.fields,help:base_external_dbsource_sqlite.field_base_external_dbsource__connector
+msgid ""
+"If a connector is missing from the list, check the server log to confirm "
+"that the required components were detected."
+msgstr ""
+
+#. module: base_external_dbsource_sqlite
+#: model:ir.model.fields.selection,name:base_external_dbsource_sqlite.selection__base_external_dbsource__connector__sqlite
+msgid "SQLite"
+msgstr ""
diff --git a/base_external_dbsource_sqlite/i18n/tr.po b/base_external_dbsource_sqlite/i18n/tr.po
index d57a58b9..13b13096 100644
--- a/base_external_dbsource_sqlite/i18n/tr.po
+++ b/base_external_dbsource_sqlite/i18n/tr.po
@@ -18,7 +18,24 @@ msgstr ""
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+#. module: base_external_dbsource_sqlite
+#: model:ir.model.fields,field_description:base_external_dbsource_sqlite.field_base_external_dbsource__connector
+msgid "Connector"
+msgstr ""
+
#. module: base_external_dbsource_sqlite
#: model:ir.model,name:base_external_dbsource_sqlite.model_base_external_dbsource
msgid "External Database Sources"
msgstr "Dış veritabanı kaynakları"
+
+#. module: base_external_dbsource_sqlite
+#: model:ir.model.fields,help:base_external_dbsource_sqlite.field_base_external_dbsource__connector
+msgid ""
+"If a connector is missing from the list, check the server log to confirm "
+"that the required components were detected."
+msgstr ""
+
+#. module: base_external_dbsource_sqlite
+#: model:ir.model.fields.selection,name:base_external_dbsource_sqlite.selection__base_external_dbsource__connector__sqlite
+msgid "SQLite"
+msgstr ""
diff --git a/base_external_dbsource_sqlite/static/description/index.html b/base_external_dbsource_sqlite/static/description/index.html
index 5a6ebbf1..0a3f08b4 100644
--- a/base_external_dbsource_sqlite/static/description/index.html
+++ b/base_external_dbsource_sqlite/static/description/index.html
@@ -367,7 +367,7 @@ ul.auto-toc {
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
-

+

This module extends base_external_dbsource, allowing you to connect to
foreign SQLite databases using SQLAlchemy.
Table of contents
@@ -424,7 +424,7 @@ Data sources.
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.
@@ -447,6 +447,7 @@ If you spotted it first, help us smashing it by providing a detailed and welcome
Sergio Teruel
+
Andrea Cattalani (Moduon)
@@ -456,7 +457,9 @@ If you spotted it first, help us smashing it by providing a detailed and welcome
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/server-backend project on GitHub.
+
Current maintainer:
+

+
This module is part of the OCA/server-backend project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.