[FIX] base_external_dbsource_sqlite: actually useful demo data

Previous demo data wasn't working nor showcasing a valid query string.
This commit is contained in:
Jairo Llopis
2023-04-06 12:07:23 +00:00
committed by David Alonso // Solvos
parent fdf6c4fc95
commit f9417aae63
12 changed files with 161 additions and 12 deletions

View File

@@ -14,13 +14,13 @@ External Database Source - SQLite
:target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html :target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html
:alt: License: LGPL-3 :alt: License: LGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fserver--backend-lightgray.png?logo=github .. |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 :alt: OCA/server-backend
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png .. |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 :alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png .. |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 :alt: Try me on Runbot
|badge1| |badge2| |badge3| |badge4| |badge5| |badge1| |badge2| |badge3| |badge4| |badge5|
@@ -72,7 +72,7 @@ Bug Tracker
Bugs are tracked on `GitHub Issues <https://github.com/OCA/server-backend/issues>`_. Bugs are tracked on `GitHub Issues <https://github.com/OCA/server-backend/issues>`_.
In case of trouble, please check there if your issue has already been reported. 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 If you spotted it first, help us smashing it by providing a detailed and welcomed
`feedback <https://github.com/OCA/server-backend/issues/new?body=module:%20base_external_dbsource_sqlite%0Aversion:%2015.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_. `feedback <https://github.com/OCA/server-backend/issues/new?body=module:%20base_external_dbsource_sqlite%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. Do not contact contributors directly about support or help with technical issues.
@@ -97,6 +97,8 @@ Contributors
* Sergio Teruel * Sergio Teruel
* Andrea Cattalani (`Moduon <https://www.moduon.team/>`__)
Maintainers 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 mission is to support the collaborative development of Odoo features and
promote its widespread use. promote its widespread use.
This module is part of the `OCA/server-backend <https://github.com/OCA/server-backend/tree/15.0/base_external_dbsource_sqlite>`_ project on GitHub. .. |maintainer-anddago78| image:: https://github.com/anddago78.png?size=40px
:target: https://github.com/anddago78
:alt: anddago78
Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:
|maintainer-anddago78|
This module is part of the `OCA/server-backend <https://github.com/OCA/server-backend/tree/16.0/base_external_dbsource_sqlite>`_ project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

View File

@@ -3,7 +3,7 @@
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). # License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl).
{ {
"name": "External Database Source - SQLite", "name": "External Database Source - SQLite",
"version": "16.0.1.0.0", "version": "16.0.1.0.1",
"category": "Tools", "category": "Tools",
"author": "Daniel Reis, LasLabs, Odoo Community Association (OCA)", "author": "Daniel Reis, LasLabs, Odoo Community Association (OCA)",
"maintainers": ["anddago78"], "maintainers": ["anddago78"],

View File

@@ -2,8 +2,8 @@
<odoo> <odoo>
<record model="base.external.dbsource" id="demo_sqlite"> <record model="base.external.dbsource" id="demo_sqlite">
<field name="name">SQLite Demo</field> <field name="name">SQLite Demo</field>
<field name="conn_string">Data Source=:memory:;Version=3;New=True;</field> <field name="conn_string">sqlite://</field>
<field name="password">password</field> <field name="password" />
<field name="connector">sqlite</field> <field name="connector">sqlite</field>
</record> </record>
</odoo> </odoo>

View File

@@ -4,7 +4,7 @@
# #
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Odoo Server 15.0\n" "Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: \n" "Language-Team: \n"
@@ -13,7 +13,24 @@ msgstr ""
"Content-Transfer-Encoding: \n" "Content-Transfer-Encoding: \n"
"Plural-Forms: \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 #. module: base_external_dbsource_sqlite
#: model:ir.model,name:base_external_dbsource_sqlite.model_base_external_dbsource #: model:ir.model,name:base_external_dbsource_sqlite.model_base_external_dbsource
msgid "External Database Sources" msgid "External Database Sources"
msgstr "" 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 ""

View File

@@ -18,7 +18,24 @@ msgstr ""
"Content-Transfer-Encoding: \n" "Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=(n != 1);\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 #. module: base_external_dbsource_sqlite
#: model:ir.model,name:base_external_dbsource_sqlite.model_base_external_dbsource #: model:ir.model,name:base_external_dbsource_sqlite.model_base_external_dbsource
msgid "External Database Sources" msgid "External Database Sources"
msgstr "Externe Datenbankquellen" 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 ""

View File

@@ -18,7 +18,24 @@ msgstr ""
"Content-Transfer-Encoding: \n" "Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=(n != 1);\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 #. module: base_external_dbsource_sqlite
#: model:ir.model,name:base_external_dbsource_sqlite.model_base_external_dbsource #: model:ir.model,name:base_external_dbsource_sqlite.model_base_external_dbsource
msgid "External Database Sources" msgid "External Database Sources"
msgstr "Fuentes externas de la base de datos" 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 ""

View File

@@ -19,7 +19,24 @@ msgstr ""
"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" "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" "%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 #. module: base_external_dbsource_sqlite
#: model:ir.model,name:base_external_dbsource_sqlite.model_base_external_dbsource #: model:ir.model,name:base_external_dbsource_sqlite.model_base_external_dbsource
msgid "External Database Sources" msgid "External Database Sources"
msgstr "Vanjske baze" 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 ""

View File

@@ -19,7 +19,24 @@ msgstr ""
"Content-Transfer-Encoding: \n" "Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=(n != 1);\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 #. module: base_external_dbsource_sqlite
#: model:ir.model,name:base_external_dbsource_sqlite.model_base_external_dbsource #: model:ir.model,name:base_external_dbsource_sqlite.model_base_external_dbsource
msgid "External Database Sources" msgid "External Database Sources"
msgstr "Externe databasebronnen" 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 ""

View File

@@ -19,7 +19,24 @@ msgstr ""
"Content-Transfer-Encoding: \n" "Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=(n > 1);\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 #. module: base_external_dbsource_sqlite
#: model:ir.model,name:base_external_dbsource_sqlite.model_base_external_dbsource #: model:ir.model,name:base_external_dbsource_sqlite.model_base_external_dbsource
msgid "External Database Sources" msgid "External Database Sources"
msgstr "Fontes Banco de Dados Externo" 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 ""

View File

@@ -19,7 +19,24 @@ msgstr ""
"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n" "Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n"
"%100==4 ? 2 : 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 #. module: base_external_dbsource_sqlite
#: model:ir.model,name:base_external_dbsource_sqlite.model_base_external_dbsource #: model:ir.model,name:base_external_dbsource_sqlite.model_base_external_dbsource
msgid "External Database Sources" msgid "External Database Sources"
msgstr "Viri zunanjih podatkovnih baz" 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 ""

View File

@@ -18,7 +18,24 @@ msgstr ""
"Content-Transfer-Encoding: \n" "Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=(n > 1);\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 #. module: base_external_dbsource_sqlite
#: model:ir.model,name:base_external_dbsource_sqlite.model_base_external_dbsource #: model:ir.model,name:base_external_dbsource_sqlite.model_base_external_dbsource
msgid "External Database Sources" msgid "External Database Sources"
msgstr "Dış veritabanı kaynakları" 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 ""

View File

@@ -367,7 +367,7 @@ ul.auto-toc {
!! This file is generated by oca-gen-addon-readme !! !! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !! !! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<p><a class="reference external" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external" href="http://www.gnu.org/licenses/lgpl-3.0-standalone.html"><img alt="License: LGPL-3" src="https://img.shields.io/badge/licence-LGPL--3-blue.png" /></a> <a class="reference external" href="https://github.com/OCA/server-backend/tree/15.0/base_external_dbsource_sqlite"><img alt="OCA/server-backend" src="https://img.shields.io/badge/github-OCA%2Fserver--backend-lightgray.png?logo=github" /></a> <a class="reference external" href="https://translation.odoo-community.org/projects/server-backend-15-0/server-backend-15-0-base_external_dbsource_sqlite"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external" href="https://runbot.odoo-community.org/runbot/253/15.0"><img alt="Try me on Runbot" src="https://img.shields.io/badge/runbot-Try%20me-875A7B.png" /></a></p> <p><a class="reference external" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external" href="http://www.gnu.org/licenses/lgpl-3.0-standalone.html"><img alt="License: LGPL-3" src="https://img.shields.io/badge/licence-LGPL--3-blue.png" /></a> <a class="reference external" href="https://github.com/OCA/server-backend/tree/16.0/base_external_dbsource_sqlite"><img alt="OCA/server-backend" src="https://img.shields.io/badge/github-OCA%2Fserver--backend-lightgray.png?logo=github" /></a> <a class="reference external" href="https://translation.odoo-community.org/projects/server-backend-16-0/server-backend-16-0-base_external_dbsource_sqlite"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external" href="https://runbot.odoo-community.org/runbot/253/16.0"><img alt="Try me on Runbot" src="https://img.shields.io/badge/runbot-Try%20me-875A7B.png" /></a></p>
<p>This module extends <tt class="docutils literal">base_external_dbsource</tt>, allowing you to connect to <p>This module extends <tt class="docutils literal">base_external_dbsource</tt>, allowing you to connect to
foreign SQLite databases using SQLAlchemy.</p> foreign SQLite databases using SQLAlchemy.</p>
<p><strong>Table of contents</strong></p> <p><strong>Table of contents</strong></p>
@@ -424,7 +424,7 @@ Data sources.</li>
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/server-backend/issues">GitHub Issues</a>. <p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/server-backend/issues">GitHub Issues</a>.
In case of trouble, please check there if your issue has already been reported. 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 If you spotted it first, help us smashing it by providing a detailed and welcomed
<a class="reference external" href="https://github.com/OCA/server-backend/issues/new?body=module:%20base_external_dbsource_sqlite%0Aversion:%2015.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p> <a class="reference external" href="https://github.com/OCA/server-backend/issues/new?body=module:%20base_external_dbsource_sqlite%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
<p>Do not contact contributors directly about support or help with technical issues.</p> <p>Do not contact contributors directly about support or help with technical issues.</p>
</div> </div>
<div class="section" id="credits"> <div class="section" id="credits">
@@ -447,6 +447,7 @@ If you spotted it first, help us smashing it by providing a detailed and welcome
<li>Sergio Teruel</li> <li>Sergio Teruel</li>
</ul> </ul>
</li> </li>
<li>Andrea Cattalani (<a class="reference external" href="https://www.moduon.team/">Moduon</a>)</li>
</ul> </ul>
</div> </div>
<div class="section" id="maintainers"> <div class="section" id="maintainers">
@@ -456,7 +457,9 @@ If you spotted it first, help us smashing it by providing a detailed and welcome
<p>OCA, or the Odoo Community Association, is a nonprofit organization whose <p>OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and mission is to support the collaborative development of Odoo features and
promote its widespread use.</p> promote its widespread use.</p>
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/server-backend/tree/15.0/base_external_dbsource_sqlite">OCA/server-backend</a> project on GitHub.</p> <p>Current <a class="reference external" href="https://odoo-community.org/page/maintainer-role">maintainer</a>:</p>
<p><a class="reference external" href="https://github.com/anddago78"><img alt="anddago78" src="https://github.com/anddago78.png?size=40px" /></a></p>
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/server-backend/tree/16.0/base_external_dbsource_sqlite">OCA/server-backend</a> project on GitHub.</p>
<p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p> <p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>
</div> </div>
</div> </div>