Skip to content

Commit 92d442f

Browse files
committed
[MIG] github_connector_odoo: Migration to 17.0
TT51639
1 parent 24817f5 commit 92d442f

17 files changed

+109
-103
lines changed

github_connector_odoo/README.rst

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ Connector' Module if your repositories contain Odoo Modules.
3434
It extends 'Analysis' features to parse code files (readme / manifest
3535
files) and add new models and menus.
3636

37-
|image|
37+
|menu|
3838

39-
.. |image| image:: https://raw.githubusercontent.com/github_connector_odoo/static/description/menu.png
39+
.. |menu| image:: https://raw.githubusercontent.com/OCA/interface-github/17.0/github_connector_odoo/static/description/menu.png
4040

4141
**Table of contents**
4242

@@ -53,52 +53,52 @@ Configuration
5353
2. The URL of the file that contains IDs of your repositories for the
5454
runbot
5555

56-
|image|
56+
|github_organization_form|
5757

5858
If you had analyzed previously your repositories with the 'github
5959
Connector' module, you should launch again the Analysis Process for all
6060
your Repository Branches.
6161

62-
.. |image| image:: https://raw.githubusercontent.com/OCA/interface-github/17.0/github_connector_odoo/static/description/github_organization_form.png
62+
.. |github_organization_form| image:: https://raw.githubusercontent.com/OCA/interface-github/17.0/github_connector_odoo/static/description/github_organization_form.png
6363

6464
Usage
6565
=====
6666

6767
**Odoo Modules**
6868

69-
|image|
69+
|odoo_module_kanban|
7070

7171
In each module, you can see the description of the module, the authors,
7272
the available series, and the list of the modules that depend on the
7373
current module.
7474

75-
|image1|
75+
|odoo_module_form|
7676

7777
**Odoo Authors**
7878

79-
|image2|
79+
|odoo_author|
8080

8181
This list is based on the 'author' key of the manifest file.
8282

8383
**Odoo License**
8484

8585
This list is based on the 'license' key of the manifest file.
8686

87-
|image3|
87+
|odoo_license|
8888

8989
**Odoo Bin Libs**
9090

9191
This list is based on the 'external_dependencies' / 'bin' key of the
9292
manifest file.
9393

94-
|image4|
94+
|odoo_bin_libs|
9595

9696
**Odoo Python Libs**
9797

9898
This list is based on the 'external_dependencies' / 'python' key of the
9999
manifest file.
100100

101-
|image5|
101+
|odoo_python_libs|
102102

103103
**Analysis source code**
104104

@@ -121,15 +121,15 @@ This module provide a new reporting.
121121

122122
**Modules by Serie (and Licenses)**
123123

124-
|image6|
124+
|reporting_module_by_serie|
125125

126-
.. |image| image:: https://raw.githubusercontent.com/github_connector_odoo/static/description/odoo_module_kanban.png
127-
.. |image1| image:: https://raw.githubusercontent.com/github_connector_odoo/static/description/odoo_module_form.png
128-
.. |image2| image:: https://raw.githubusercontent.com/github_connector_odoo/static/description/odoo_author.png
129-
.. |image3| image:: https://raw.githubusercontent.com/github_connector_odoo/static/description/odoo_license.png
130-
.. |image4| image:: https://raw.githubusercontent.com/github_connector_odoo/static/description/odoo_bin_libs.png
131-
.. |image5| image:: https://raw.githubusercontent.com/github_connector_odoo/static/description/odoo_python_libs.png
132-
.. |image6| image:: https://raw.githubusercontent.com/github_connector_odoo/static/description/reporting_module_by_serie.png
126+
.. |odoo_module_kanban| image:: https://raw.githubusercontent.com/OCA/interface-github/17.0/github_connector_odoo/static/description/odoo_module_kanban.png
127+
.. |odoo_module_form| image:: https://raw.githubusercontent.com/OCA/interface-github/17.0/github_connector_odoo/static/description/odoo_module_form.png
128+
.. |odoo_author| image:: https://raw.githubusercontent.com/OCA/interface-github/17.0/github_connector_odoo/static/description/odoo_author.png
129+
.. |odoo_license| image:: https://raw.githubusercontent.com/OCA/interface-github/17.0/github_connector_odoo/static/description/odoo_license.png
130+
.. |odoo_bin_libs| image:: https://raw.githubusercontent.com/OCA/interface-github/17.0/github_connector_odoo/static/description/odoo_bin_libs.png
131+
.. |odoo_python_libs| image:: https://raw.githubusercontent.com/OCA/interface-github/17.0/github_connector_odoo/static/description/odoo_python_libs.png
132+
.. |reporting_module_by_serie| image:: https://raw.githubusercontent.com/OCA/interface-github/17.0/github_connector_odoo/static/description/reporting_module_by_serie.png
133133

134134
Known issues / Roadmap
135135
======================

github_connector_odoo/__manifest__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
{
66
"name": "Github Connector - Odoo",
77
"summary": "Analyze Odoo modules information from Github repositories",
8-
"version": "16.0.1.1.1",
8+
"version": "17.0.1.0.0",
99
"category": "Connector",
1010
"license": "AGPL-3",
1111
"author": "Odoo Community Association (OCA), Sylvain LE GAL, GRAP",

github_connector_odoo/models/odoo_module_version.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -420,9 +420,9 @@ def get_module_category(self, info):
420420
@api.model
421421
def manifest_2_odoo(self, info, repository_branch, module):
422422
author_list = (
423-
(type(info["author"]) == list)
423+
isinstance(info["author"], list)
424424
and info["author"]
425-
or (type(info["author"]) == tuple)
425+
or (isinstance(info["author"], tuple))
426426
and [x for x in info["author"]]
427427
or info["author"].split(",")
428428
)

github_connector_odoo/readme/CONFIGURE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
2. The URL of the file that contains IDs of your repositories for the
66
runbot
77

8-
![image](./static/description/github_organization_form.png)
8+
![github_organization_form](static/description/github_organization_form.png)
99

1010
If you had analyzed previously your repositories with the 'github
1111
Connector' module, you should launch again the Analysis Process for all

github_connector_odoo/readme/DESCRIPTION.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ Connector' Module if your repositories contain Odoo Modules.
44
It extends 'Analysis' features to parse code files (readme / manifest
55
files) and add new models and menus.
66

7-
![image](/github_connector_odoo/static/description/menu.png)
7+
![menu](static/description/menu.png)

github_connector_odoo/readme/USAGE.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,38 @@
11
**Odoo Modules**
22

3-
![image](/github_connector_odoo/static/description/odoo_module_kanban.png)
3+
![odoo_module_kanban](static/description/odoo_module_kanban.png)
44

55
In each module, you can see the description of the module, the authors,
66
the available series, and the list of the modules that depend on the
77
current module.
88

9-
![image](/github_connector_odoo/static/description/odoo_module_form.png)
9+
![odoo_module_form](static/description/odoo_module_form.png)
1010

1111
**Odoo Authors**
1212

13-
![image](/github_connector_odoo/static/description/odoo_author.png)
13+
![odoo_author](static/description/odoo_author.png)
1414

1515
This list is based on the 'author' key of the manifest file.
1616

1717
**Odoo License**
1818

1919
This list is based on the 'license' key of the manifest file.
2020

21-
![image](/github_connector_odoo/static/description/odoo_license.png)
21+
![odoo_license](static/description/odoo_license.png)
2222

2323
**Odoo Bin Libs**
2424

2525
This list is based on the 'external_dependencies' / 'bin' key of the
2626
manifest file.
2727

28-
![image](/github_connector_odoo/static/description/odoo_bin_libs.png)
28+
![odoo_bin_libs](static/description/odoo_bin_libs.png)
2929

3030
**Odoo Python Libs**
3131

3232
This list is based on the 'external_dependencies' / 'python' key of the
3333
manifest file.
3434

35-
![image](/github_connector_odoo/static/description/odoo_python_libs.png)
35+
![odoo_python_libs](static/description/odoo_python_libs.png)
3636

3737
**Analysis source code**
3838

@@ -55,4 +55,4 @@ This module provide a new reporting.
5555

5656
**Modules by Serie (and Licenses)**
5757

58-
![image](/github_connector_odoo/static/description/reporting_module_by_serie.png)
58+
![reporting_module_by_serie](static/description/reporting_module_by_serie.png)
Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
2-
access_odoo_author_reader,odoo_author reader,model_odoo_author,,1,0,0,0
2+
access_odoo_author_reader,odoo_author reader,model_odoo_author,base.group_user,1,0,0,0
33
access_odoo_author_manager,odoo_author manager,model_odoo_author,github_connector.group_github_connector_manager,1,1,1,1
4-
access_odoo_lib_bin_reader,odoo_lib_bin reader,model_odoo_lib_bin,,1,0,0,0
4+
access_odoo_lib_bin_reader,odoo_lib_bin reader,model_odoo_lib_bin,base.group_user,1,0,0,0
55
access_odoo_lib_bin_manager,odoo_lib_bin manager,model_odoo_lib_bin,github_connector.group_github_connector_manager,1,1,1,1
6-
access_odoo_lib_python_reader,odoo_lib_python reader,model_odoo_lib_python,,1,0,0,0
6+
access_odoo_lib_python_reader,odoo_lib_python reader,model_odoo_lib_python,base.group_user,1,0,0,0
77
access_odoo_lib_python_manager,odoo_lib_python manager,model_odoo_lib_python,github_connector.group_github_connector_manager,1,1,1,1
8-
access_odoo_license_reader,odoo_license reader,model_odoo_license,,1,0,0,0
8+
access_odoo_license_reader,odoo_license reader,model_odoo_license,base.group_user,1,0,0,0
99
access_odoo_license_manager,odoo_license manager,model_odoo_license,github_connector.group_github_connector_manager,1,1,1,1
10-
access_odoo_module_reader,odoo_module reader,model_odoo_module,,1,0,0,0
10+
access_odoo_module_reader,odoo_module reader,model_odoo_module,base.group_user,1,0,0,0
1111
access_odoo_module_manager,odoo_module manager,model_odoo_module,github_connector.group_github_connector_manager,1,1,1,1
12-
access_odoo_module_version_reader,odoo_module_version reader,model_odoo_module_version,,1,0,0,0
12+
access_odoo_module_version_reader,odoo_module_version reader,model_odoo_module_version,base.group_user,1,0,0,0
1313
access_odoo_module_version_manager,odoo_module_version manager,model_odoo_module_version,github_connector.group_github_connector_manager,1,1,1,1
1414
access_odoo_module_version_rule_info_reader,access_odoo_module_version_rule_info_reader,model_odoo_module_version_rule_info,base.group_user,1,0,0,0
1515
access_odoo_module_version_rule_info_manager,access_odoo_module_version_rule_info_manager,model_odoo_module_version_rule_info,github_connector.group_github_connector_manager,1,1,1,1
16-
access_odoo_module_version_rule_info_report_reader,odoo_module_version_rule_info_report reader,model_odoo_module_version_rule_info_report,,1,0,0,0
17-
access_odoo_category_reader,odoo_category reader,model_odoo_category,,1,0,0,0
16+
access_odoo_module_version_rule_info_report_reader,odoo_module_version_rule_info_report reader,model_odoo_module_version_rule_info_report,base.group_user,1,0,0,0
17+
access_odoo_category_reader,odoo_category reader,model_odoo_category,base.group_user,1,0,0,0
1818
access_odoo_category_manager,odoo_category manager,model_odoo_category,github_connector.group_github_connector_manager,1,1,1,1
19-
access_odoo_manifest_key_reader,odoo_manifest_key reader,model_odoo_manifest_key,,1,0,0,0
19+
access_odoo_manifest_key_reader,odoo_manifest_key reader,model_odoo_manifest_key,base.group_user,1,0,0,0
2020
access_odoo_manifest_key_manager,odoo_manifest_key manager,model_odoo_manifest_key,github_connector.group_github_connector_manager,1,1,1,1

0 commit comments

Comments
 (0)