Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
Converter
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Model experiments
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
Converter
Commits
ce2b2a31d539
Commit
ce2b2a31d539
authored
4 months ago
by
Vincent Hatakeyama
Browse files
Options
Downloads
Patches
Plain Diff
More typing and default version for hatch
parent
0328cc5e29b2
No related branches found
Branches containing commit
Tags
18.0.2.0.2
Tags containing commit
1 merge request
!51
More typing and default version for hatch
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
models/ir_model_data.py
+2
-1
2 additions, 1 deletion
models/ir_model_data.py
pyproject.toml
+1
-0
1 addition, 0 deletions
pyproject.toml
with
3 additions
and
1 deletion
models/ir_model_data.py
+
2
−
1
View file @
ce2b2a31
...
...
@@ -19,7 +19,8 @@
##############################################################################
import
uuid
from
typing
import
Final
from
odoo
import
api
,
models
# type: ignore[import-untyped]
# Xrefs are stored within "ir.model.data" with this module name.
...
...
@@ -22,8 +23,8 @@
from
odoo
import
api
,
models
# type: ignore[import-untyped]
# Xrefs are stored within "ir.model.data" with this module name.
_XREF_IMD_MODULE
=
"
__converter__
"
_XREF_IMD_MODULE
:
Final
[
str
]
=
"
__converter__
"
class
IrModelData
(
models
.
BaseModel
):
...
...
This diff is collapsed.
Click to expand it.
pyproject.toml
+
1
−
0
View file @
ce2b2a31
...
...
@@ -58,6 +58,7 @@
[tool.hatch.version]
source
=
"vcs"
fallback-version
=
"18.0.0.0.0"
[tool.ruff]
target-version
=
"py310"
...
...
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