Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
Accounting Periods
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
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
Accounting Periods
Merge requests
!26
Create branch 16.0
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Create branch 16.0
topic/16.0/migration-16.0
into
branch/16.0
Overview
0
Commits
2
Pipelines
35
Changes
7
Merged
arthur.mayer
requested to merge
topic/16.0/migration-16.0
into
branch/16.0
1 year ago
Overview
0
Commits
2
Pipelines
35
Changes
7
Expand
--HG-- branch : 16.0
0
0
Merge request reports
Viewing commit
85997b9c
Show latest version
7 files
+
110
−
53
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
7
Search (e.g. *.vue) (Ctrl+P)
85997b9c
fix pipeline requirements
· 85997b9c
arthur.mayer
authored
1 year ago
doc/autotodo.py
+
5
−
4
Options
@@ -2,7 +2,7 @@
##############################################################################
#
# OpenERP, Open Source Management Solution
# Copyright
(C)
2014, 2018, 2022 XCG Consulting
# Copyright
©
2014, 2018, 2022 XCG Consulting
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
@@ -22,7 +22,7 @@
import
os
import
os.path
import
sys
from
typing
import
Dict
,
Mapping
,
Tuple
from
collections.abc
import
Mapping
def
main
():
@@ -99,8 +99,9 @@
res
[
tag
].
extend
(
info
)
def
scan_file
(
filename
,
tags
)
->
Tuple
[
Dict
[
str
,
Tuple
[
str
,
int
,
str
]],
int
]:
res
=
{
tag
:
[]
for
tag
in
tags
}
def
scan_file
(
filename
,
tags
)
->
tuple
[
dict
[
str
,
list
[
tuple
[
str
,
int
,
str
]]],
int
]:
res
:
dict
[
str
,
list
[
tuple
[
str
,
int
,
str
]]]
=
{
tag
:
[]
for
tag
in
tags
}
line_num
:
int
=
0
with
open
(
filename
,
"
r
"
)
as
f
:
for
line_num
,
line
in
enumerate
(
f
):
for
tag
in
tags
:
Loading