Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
Messaging Group
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Package Registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
XCG
Odoo modules
Messaging Group
Commits
edad20ec
Commit
edad20ec
authored
10 months ago
by
Vincent Hatakeyama
Browse files
Options
Downloads
Patches
Plain Diff
Migration to Odoo 17
parent
9a6bd44d
No related branches found
No related tags found
No related merge requests found
Pipeline
#102355
passed
10 months ago
Stage: build
Stage: test
Stage: deploy
Changes
6
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
.flake8
+0
-5
0 additions, 5 deletions
.flake8
.gitlab-ci.yml
+1
-4
1 addition, 4 deletions
.gitlab-ci.yml
NEWS.rst
+2
-3
2 additions, 3 deletions
NEWS.rst
README.rst
+4
-13
4 additions, 13 deletions
README.rst
__manifest__.py
+1
-1
1 addition, 1 deletion
__manifest__.py
pyproject.toml
+34
-20
34 additions, 20 deletions
pyproject.toml
with
42 additions
and
46 deletions
.flake8
deleted
100644 → 0
+
0
−
5
View file @
9a6bd44d
[flake8]
max-line-length = 88
per-file-ignores=
__init__.py:F401
__manifest__.py:B018
This diff is collapsed.
Click to expand it.
.gitlab-ci.yml
+
1
−
4
View file @
edad20ec
include
:
include
:
-
project
:
xcg/ci-templates
-
project
:
xcg/ci-templates
file
:
/odoo/15.0/gitlab-ci.yaml
file
:
/odoo/17.0/gitlab-ci.yaml
variables
:
CI_TEMPLATE_NO_INSTALL_MODULE
:
"
"
This diff is collapsed.
Click to expand it.
NEWS.rst
+
2
−
3
View file @
edad20ec
...
@@ -2,6 +2,6 @@
...
@@ -2,6 +2,6 @@
Changelog
Changelog
=========
=========
1
5
.0.1.0.0
1
7
.0.1.0.0
----------
----------
...
@@ -6,4 +6,3 @@
...
@@ -6,4 +6,3 @@
----------
----------
Port to Odoo 15
Port to Odoo 17.
This diff is collapsed.
Click to expand it.
README.rst
+
4
−
13
View file @
edad20ec
...
@@ -2,18 +2,9 @@
...
@@ -2,18 +2,9 @@
Messaging Group
Messaging Group
===============
===============
.. |pipeline| image:: https://orus.io/xcg/odoo-modules/mail_messaging_group/badges/branch/15.0/pipeline.svg
:target: https://orus.io/xcg/odoo-modules/mail_messaging_group/commits/branch/15.0
:alt: pipeline status
.. |coverage| image:: https://orus.io/xcg/odoo-modules/mail_messaging_group/badges/branch/15.0/coverage.svg
:target: https://orus.io/xcg/odoo-modules/mail_messaging_group/commits/branch/15.0
:alt: Coverage report
.. |pylint| image:: .badges/pylint.svg
:target: https://orus.io/xcg/odoo-modules/mail_messaging_group/-/pipelines?ref=branch/15.0
:alt: pylint score
.. |maturity| image:: .badges/maturity.svg
.. |maturity| image:: .badges/maturity.svg
:target: https://odoo-community.org/page/development-status
:target: https://odoo-community.org/page/development-status
:alt: Stable
:alt: Stable
.. |license| image:: .badges/licence-AGPL--3-blue.svg
.. |license| image:: .badges/licence-AGPL--3-blue.svg
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
:alt: License: AGPL-3
...
@@ -14,13 +5,13 @@
...
@@ -14,13 +5,13 @@
.. |maturity| image:: .badges/maturity.svg
.. |maturity| image:: .badges/maturity.svg
:target: https://odoo-community.org/page/development-status
:target: https://odoo-community.org/page/development-status
:alt: Stable
:alt: Stable
.. |license| image:: .badges/licence-AGPL--3-blue.svg
.. |license| image:: .badges/licence-AGPL--3-blue.svg
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
:alt: License: AGPL-3
.. |
black
| image:: .badges/code_style-
black-000000
.svg
.. |
ruff
| image:: .badges/code_style-
ruff
.svg
:target: https://github.com/
psf/black
:target: https://github.com/
astral-sh/ruff
:alt:
Black
:alt:
Ruff
.. |prettier| image:: .badges/code_style-prettier-ff69b4.svg
.. |prettier| image:: .badges/code_style-prettier-ff69b4.svg
:target: https://github.com/prettier/prettier
:target: https://github.com/prettier/prettier
:alt: Prettier
:alt: Prettier
...
@@ -23,8 +14,8 @@
...
@@ -23,8 +14,8 @@
.. |prettier| image:: .badges/code_style-prettier-ff69b4.svg
.. |prettier| image:: .badges/code_style-prettier-ff69b4.svg
:target: https://github.com/prettier/prettier
:target: https://github.com/prettier/prettier
:alt: Prettier
:alt: Prettier
|pipeline| |coverage| |pylint|
|maturity| |license| |
black
| |prettier|
|maturity| |license| |
ruff
| |prettier|
Introduce a new group, messaging, and only member of this group can see the messaging menu.
Introduce a new group, messaging, and only member of this group can see the messaging menu.
This diff is collapsed.
Click to expand it.
__manifest__.py
+
1
−
1
View file @
edad20ec
...
@@ -21,7 +21,7 @@
...
@@ -21,7 +21,7 @@
"
name
"
:
"
Messaging Group
"
,
"
name
"
:
"
Messaging Group
"
,
"
license
"
:
"
AGPL-3
"
,
"
license
"
:
"
AGPL-3
"
,
"
summary
"
:
"
New group to access discussions
"
,
"
summary
"
:
"
New group to access discussions
"
,
"
version
"
:
"
1
5
.0.1.0.0
"
,
"
version
"
:
"
1
7
.0.1.0.0
"
,
"
category
"
:
"
Extra Rights
"
,
"
category
"
:
"
Extra Rights
"
,
"
author
"
:
"
XCG Consulting
"
,
"
author
"
:
"
XCG Consulting
"
,
"
website
"
:
"
https://orbeet.io/
"
,
"
website
"
:
"
https://orbeet.io/
"
,
...
...
This diff is collapsed.
Click to expand it.
pyproject.toml
+
34
−
20
View file @
edad20ec
...
@@ -13,6 +13,6 @@
...
@@ -13,6 +13,6 @@
"Programming Language :: Python :: 3.10"
,
"Programming Language :: Python :: 3.10"
,
"Programming Language :: Python :: 3.11"
,
"Programming Language :: Python :: 3.11"
,
"Framework :: Odoo"
,
"Framework :: Odoo"
,
"Framework :: Odoo :: 1
5
.0"
,
"Framework :: Odoo :: 1
7
.0"
,
"License :: OSI Approved :: GNU Affero General Public License v3"
"License :: OSI Approved :: GNU Affero General Public License v3"
]
]
...
@@ -17,9 +17,9 @@
...
@@ -17,9 +17,9 @@
"License :: OSI Approved :: GNU Affero General Public License v3"
"License :: OSI Approved :: GNU Affero General Public License v3"
]
]
dependencies
=
["odoo=
=
1
5
.0
.*
"]
dependencies
=
["odoo=
=
1
7
.0
.*
"]
[project.optional-dependencies]
[project.optional-dependencies]
doc
=
[
"sphinx"
,
"sphinx-odoo-autodoc"
,
"odoo-scripts"
]
doc
=
[
"sphinx"
,
"sphinx-odoo-autodoc"
,
"odoo-scripts"
]
test
=
[]
test
=
[]
[project.urls]
[project.urls]
...
@@ -20,10 +20,9 @@
...
@@ -20,10 +20,9 @@
[project.optional-dependencies]
[project.optional-dependencies]
doc
=
[
"sphinx"
,
"sphinx-odoo-autodoc"
,
"odoo-scripts"
]
doc
=
[
"sphinx"
,
"sphinx-odoo-autodoc"
,
"odoo-scripts"
]
test
=
[]
test
=
[]
[project.urls]
[project.urls]
# TEMPLATE When using this template, update these values
repository
=
"https://orus.io/xcg/odoo-modules/mail_messaging_group"
repository
=
"https://orus.io/xcg/odoo-modules/mail_messaging_group"
changelog
=
"https://orus.io/xcg/odoo-modules/mail_messaging_group/-/blob/branch/15.0/NEWS.rst"
changelog
=
"https://orus.io/xcg/odoo-modules/mail_messaging_group/-/blob/branch/15.0/NEWS.rst"
...
@@ -36,7 +35,6 @@
...
@@ -36,7 +35,6 @@
"/doc/"
,
"/doc/"
,
"/.editorconfig"
,
"/.editorconfig"
,
"/.eslintrc.yml"
,
"/.eslintrc.yml"
,
"/.flake8"
,
"/.gitlab-ci.yml"
,
"/.gitlab-ci.yml"
,
"/.hgignore"
,
"/.hgignore"
,
"/.hgtags"
,
"/.hgtags"
,
...
@@ -62,7 +60,18 @@
...
@@ -62,7 +60,18 @@
[tool.hatch.version]
[tool.hatch.version]
source
=
"vcs"
source
=
"vcs"
[tool.black]
[tool.isort]
target-version
=
[
"py39"
,
"py310"
,
"py311"
]
section-order
=
[
required-version
=
"22"
"future"
,
"standard-library"
,
"third-party"
,
"odoo"
,
"odoo-addons"
,
"first-party"
,
"local-folder"
]
[tool.isort.sections]
"odoo"
=
[
"odoo"
]
"odoo-addons"
=
[
"odoo.addons"
]
...
@@ -68,15 +77,16 @@
...
@@ -68,15 +77,16 @@
[tool.isort]
[tool.ruff.lint.mccabe]
py_version
=
39
max-complexity
=
16
profile
=
"black"
known_odoo
=
[
'odoo'
]
[tool.ruff]
known_odoo_addons
=
[
'odoo.addons'
]
target-version
=
"py311"
sections
=
[
'FUTURE'
,
[tool.ruff.lint]
'STDLIB'
,
extend-select
=
[
'THIRDPARTY'
,
"B"
,
'ODOO'
,
"C90"
,
'ODOO_ADDONS'
,
"E501"
,
# line too long (default 88)
'FIRSTPARTY'
,
"I"
,
# isort
'LOCALFOLDER'
"UP"
,
# pyupgrade
]
]
...
@@ -82,1 +92,5 @@
...
@@ -82,1 +92,5 @@
]
]
[tool.ruff.lint.per-file-ignores]
"__init__.py"
=
[
"F401"
,
"I001"
]
# ignore unused and unsorted imports in __init__.py
"__manifest__.py"
=
[
"B018"
]
# useless expression
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment