Skip to content

Commit d2429a3

Browse files
committed
[FIX] base_external_dbsource_mssql: fix odoo.sh installation
1 parent 7eb498c commit d2429a3

File tree

4 files changed

+34
-52
lines changed

4 files changed

+34
-52
lines changed

base_external_dbsource_mssql/README.rst

Lines changed: 20 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
.. image:: https://odoo-community.org/readme-banner-image
2-
:target: https://odoo-community.org/get-involved?utm_source=readme
3-
:alt: Odoo Community Association
4-
51
================================
62
External Database Source - MSSQL
73
================================
@@ -17,7 +13,7 @@ External Database Source - MSSQL
1713
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
1814
:target: https://odoo-community.org/page/development-status
1915
:alt: Beta
20-
.. |badge2| image:: https://img.shields.io/badge/license-LGPL--3-blue.png
16+
.. |badge2| image:: https://img.shields.io/badge/licence-LGPL--3-blue.png
2117
:target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html
2218
:alt: License: LGPL-3
2319
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fserver--backend-lightgray.png?logo=github
@@ -45,9 +41,9 @@ Installation
4541

4642
To install this module, you need to:
4743

48-
- Install & configure FreeTDS driver (tdsodbc package)
49-
- Install ``sqlalchemy`` & ``pymssql`` python libraries
50-
- Install ``base_external_dbsource`` Odoo module
44+
- Install & configure FreeTDS driver (tdsodbc package)
45+
- Install ``sqlalchemy`` & ``pymssql`` python libraries
46+
- Install ``base_external_dbsource`` Odoo module
5147

5248
Configuration
5349
=============
@@ -62,17 +58,17 @@ Usage
6258

6359
To use this module:
6460

65-
- Go to Settings > Technical > Database Structure > Database Sources
66-
- Click on Create to enter the following information:
67-
- Datasource name 
68-
- Pasword
69-
- Connector: Choose the database to which you want to connect
70-
- Connection string: Specify how to connect to database
61+
- Go to Settings > Technical > Database Structure > Database Sources
62+
- Click on Create to enter the following information:
63+
- Datasource name 
64+
- Pasword
65+
- Connector: Choose the database to which you want to connect
66+
- Connection string: Specify how to connect to database
7167

7268
Known issues / Roadmap
7369
======================
7470

75-
- Add X.509 authentication
71+
- Add X.509 authentication
7672

7773
Bug Tracker
7874
===========
@@ -96,22 +92,22 @@ Authors
9692
Contributors
9793
------------
9894

99-
- Daniel Reis <dreis.pt@hotmail.com>
95+
- Daniel Reis <dreis.pt@hotmail.com>
10096

101-
- Maxime Chambreuil <maxime.chambreuil@savoirfairelinux.com>
97+
- Maxime Chambreuil <maxime.chambreuil@savoirfairelinux.com>
10298

103-
- Gervais Naoussi <gervaisnaoussi@gmail.com>
99+
- Gervais Naoussi <gervaisnaoussi@gmail.com>
104100

105-
- Dave Lasley <dave@laslabs.com>
101+
- Dave Lasley <dave@laslabs.com>
106102

107-
-
103+
-
108104

109-
- `Tecnativa <https://www.tecnativa.com>`__:
105+
- `Tecnativa <https://www.tecnativa.com>`__:
110106

111-
- Sergio Teruel
112-
- Carolina Fernandez
107+
- Sergio Teruel
108+
- Carolina Fernandez
113109

114-
- Andrea Cattalani (`Moduon <https://www.moduon.team/>`__)
110+
- Andrea Cattalani (`Moduon <https://www.moduon.team/>`__)
115111

116112
Maintainers
117113
-----------

base_external_dbsource_mssql/__manifest__.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,7 @@
1111
"website": "https://github.com/OCA/server-backend",
1212
"license": "LGPL-3",
1313
"depends": ["base_external_dbsource"],
14-
"external_dependencies": {
15-
"python": [
16-
"pymssql<=2.2.5 ; python_version <= '3.10'",
17-
"pymssql<=2.2.8 ; python_version > '3.10'",
18-
"sqlalchemy",
19-
]
20-
},
14+
"external_dependencies": {"python": ["sqlalchemy"]},
2115
"demo": ["demo/base_external_dbsource.xml"],
2216
"installable": True,
2317
}

base_external_dbsource_mssql/static/description/index.html

Lines changed: 13 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<head>
44
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
55
<meta name="generator" content="Docutils: https://docutils.sourceforge.io/" />
6-
<title>README.rst</title>
6+
<title>External Database Source - MSSQL</title>
77
<style type="text/css">
88

99
/*
@@ -360,21 +360,16 @@
360360
</style>
361361
</head>
362362
<body>
363-
<div class="document">
363+
<div class="document" id="external-database-source-mssql">
364+
<h1 class="title">External Database Source - MSSQL</h1>
364365

365-
366-
<a class="reference external image-reference" href="https://odoo-community.org/get-involved?utm_source=readme">
367-
<img alt="Odoo Community Association" src="https://odoo-community.org/readme-banner-image" />
368-
</a>
369-
<div class="section" id="external-database-source-mssql">
370-
<h1>External Database Source - MSSQL</h1>
371366
<!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
372367
!! This file is generated by oca-gen-addon-readme !!
373368
!! changes will be overwritten. !!
374369
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
375370
!! source digest: sha256:2ba068b9b5070aba3418c4fda6a9db61fd15dcda32f038d2aa04ffba29951845
376371
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
377-
<p><a class="reference external image-reference" 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 image-reference" href="http://www.gnu.org/licenses/lgpl-3.0-standalone.html"><img alt="License: LGPL-3" src="https://img.shields.io/badge/license-LGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/server-backend/tree/18.0/base_external_dbsource_mssql"><img alt="OCA/server-backend" src="https://img.shields.io/badge/github-OCA%2Fserver--backend-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/server-backend-18-0/server-backend-18-0-base_external_dbsource_mssql"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/server-backend&amp;target_branch=18.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
372+
<p><a class="reference external image-reference" 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 image-reference" 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 image-reference" href="https://github.com/OCA/server-backend/tree/18.0/base_external_dbsource_mssql"><img alt="OCA/server-backend" src="https://img.shields.io/badge/github-OCA%2Fserver--backend-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/server-backend-18-0/server-backend-18-0-base_external_dbsource_mssql"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/server-backend&amp;target_branch=18.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
378373
<p>This module extends <tt class="docutils literal">base_external_dbsource</tt>, allowing you to connect
379374
to foreign MSSQL databases using SQLAlchemy.</p>
380375
<p><strong>Table of contents</strong></p>
@@ -394,7 +389,7 @@ <h1>External Database Source - MSSQL</h1>
394389
</ul>
395390
</div>
396391
<div class="section" id="installation">
397-
<h2><a class="toc-backref" href="#toc-entry-1">Installation</a></h2>
392+
<h1><a class="toc-backref" href="#toc-entry-1">Installation</a></h1>
398393
<p>To install this module, you need to:</p>
399394
<ul class="simple">
400395
<li>Install &amp; configure FreeTDS driver (tdsodbc package)</li>
@@ -403,15 +398,15 @@ <h2><a class="toc-backref" href="#toc-entry-1">Installation</a></h2>
403398
</ul>
404399
</div>
405400
<div class="section" id="configuration">
406-
<h2><a class="toc-backref" href="#toc-entry-2">Configuration</a></h2>
401+
<h1><a class="toc-backref" href="#toc-entry-2">Configuration</a></h1>
407402
<p>To configure this module, you need to:</p>
408403
<ol class="arabic simple">
409404
<li>Database sources can be configured in Settings &gt; Technical &gt; Database
410405
Structure &gt; Database sources.</li>
411406
</ol>
412407
</div>
413408
<div class="section" id="usage">
414-
<h2><a class="toc-backref" href="#toc-entry-3">Usage</a></h2>
409+
<h1><a class="toc-backref" href="#toc-entry-3">Usage</a></h1>
415410
<p>To use this module:</p>
416411
<ul class="simple">
417412
<li>Go to Settings &gt; Technical &gt; Database Structure &gt; Database Sources</li>
@@ -423,30 +418,30 @@ <h2><a class="toc-backref" href="#toc-entry-3">Usage</a></h2>
423418
</ul>
424419
</div>
425420
<div class="section" id="known-issues-roadmap">
426-
<h2><a class="toc-backref" href="#toc-entry-4">Known issues / Roadmap</a></h2>
421+
<h1><a class="toc-backref" href="#toc-entry-4">Known issues / Roadmap</a></h1>
427422
<ul class="simple">
428423
<li>Add X.509 authentication</li>
429424
</ul>
430425
</div>
431426
<div class="section" id="bug-tracker">
432-
<h2><a class="toc-backref" href="#toc-entry-5">Bug Tracker</a></h2>
427+
<h1><a class="toc-backref" href="#toc-entry-5">Bug Tracker</a></h1>
433428
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/server-backend/issues">GitHub Issues</a>.
434429
In case of trouble, please check there if your issue has already been reported.
435430
If you spotted it first, help us to smash it by providing a detailed and welcomed
436431
<a class="reference external" href="https://github.com/OCA/server-backend/issues/new?body=module:%20base_external_dbsource_mssql%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
437432
<p>Do not contact contributors directly about support or help with technical issues.</p>
438433
</div>
439434
<div class="section" id="credits">
440-
<h2><a class="toc-backref" href="#toc-entry-6">Credits</a></h2>
435+
<h1><a class="toc-backref" href="#toc-entry-6">Credits</a></h1>
441436
<div class="section" id="authors">
442-
<h3><a class="toc-backref" href="#toc-entry-7">Authors</a></h3>
437+
<h2><a class="toc-backref" href="#toc-entry-7">Authors</a></h2>
443438
<ul class="simple">
444439
<li>Daniel Reis</li>
445440
<li>LasLabs</li>
446441
</ul>
447442
</div>
448443
<div class="section" id="contributors">
449-
<h3><a class="toc-backref" href="#toc-entry-8">Contributors</a></h3>
444+
<h2><a class="toc-backref" href="#toc-entry-8">Contributors</a></h2>
450445
<ul class="simple">
451446
<li>Daniel Reis &lt;<a class="reference external" href="mailto:dreis.pt&#64;hotmail.com">dreis.pt&#64;hotmail.com</a>&gt;</li>
452447
<li>Maxime Chambreuil &lt;<a class="reference external" href="mailto:maxime.chambreuil&#64;savoirfairelinux.com">maxime.chambreuil&#64;savoirfairelinux.com</a>&gt;</li>
@@ -464,7 +459,7 @@ <h3><a class="toc-backref" href="#toc-entry-8">Contributors</a></h3>
464459
</ul>
465460
</div>
466461
<div class="section" id="maintainers">
467-
<h3><a class="toc-backref" href="#toc-entry-9">Maintainers</a></h3>
462+
<h2><a class="toc-backref" href="#toc-entry-9">Maintainers</a></h2>
468463
<p>This module is maintained by the OCA.</p>
469464
<a class="reference external image-reference" href="https://odoo-community.org">
470465
<img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" />
@@ -479,6 +474,5 @@ <h3><a class="toc-backref" href="#toc-entry-9">Maintainers</a></h3>
479474
</div>
480475
</div>
481476
</div>
482-
</div>
483477
</body>
484478
</html>

requirements.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
11
# generated from manifests external_dependencies
22
mysqlclient
3-
pymssql<=2.2.5 ; python_version <= '3.10'
4-
pymssql<=2.2.8 ; python_version > '3.10'
53
sqlalchemy

0 commit comments

Comments
 (0)