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
dec1275e
Commit
dec1275e
authored
2 years ago
by
Houzefa Abbasbhay
Browse files
Options
Downloads
Patches
Plain Diff
Code formatting updates
parent
708f4062
No related branches found
No related tags found
3 merge requests
!37
Merge 15.0 (15.0.3.2.0 with fastjsonschema)
,
!36
Merge 13.0 (13.0.3.2.0 with fastjsonschema)
,
!34
``jsonschema`` ➔ ``fastjsonschema``
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
.flake8
+1
-0
1 addition, 0 deletions
.flake8
doc/conf.py
+2
-2
2 additions, 2 deletions
doc/conf.py
field.py
+2
-2
2 additions, 2 deletions
field.py
relation.py
+1
-2
1 addition, 2 deletions
relation.py
with
6 additions
and
6 deletions
.flake8
+
1
−
0
View file @
dec1275e
[flake8]
per-file-ignores=
__init__.py:F401
__manifest__.py:B018
This diff is collapsed.
Click to expand it.
doc/conf.py
+
2
−
2
View file @
dec1275e
...
...
@@ -12,5 +12,5 @@
import
os
import
sys
from
odoo_scripts.config
import
Configuration
import
odoo
...
...
@@ -16,5 +16,5 @@
import
odoo
from
odoo_scripts.config
import
Configuration
# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
...
...
This diff is collapsed.
Click to expand it.
field.py
+
2
−
2
View file @
dec1275e
...
...
@@ -21,9 +21,7 @@
import
datetime
from
typing
import
Any
,
Callable
,
Dict
,
Optional
import
pytz
from
odoo
import
api
,
models
from
.base
import
PHASE_POSTCREATE
,
Converter
,
Newinstance
,
Skip
...
...
@@ -26,7 +24,9 @@
from
odoo
import
api
,
models
from
.base
import
PHASE_POSTCREATE
,
Converter
,
Newinstance
,
Skip
import
pytz
class
Field
(
Converter
):
"""
Converter linked to a single field
"""
...
...
This diff is collapsed.
Click to expand it.
relation.py
+
1
−
2
View file @
dec1275e
...
...
@@ -257,8 +257,7 @@
return
converter
# using noqa due to case
def
Relation
(
path
,
converter
):
# noqa # pylint: disable=invalid-name
def
Relation
(
path
,
converter
):
# pylint: disable=invalid-name
"""
Kept for compatibility but will be removed
.. deprecated:: 1.2.0
Use :func:`relation` instead, that uses PEP8 defined function case.
...
...
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