Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Rafael Monnerat
erp5
Commits
62ad8abf
Commit
62ad8abf
authored
Jul 05, 2017
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
accounting: update TODO comments
parent
d32caa26
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_getAccountListForTrialBalance.py
...accounting/AccountModule_getAccountListForTrialBalance.py
+2
-1
No files found.
bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_getAccountListForTrialBalance.py
View file @
62ad8abf
...
@@ -304,7 +304,7 @@ if node_uid_of_strict_account_type_to_group_by_payment:
...
@@ -304,7 +304,7 @@ if node_uid_of_strict_account_type_to_group_by_payment:
# include all accounts, even those not selected before (no movements in the
# include all accounts, even those not selected before (no movements in the
# period)
# period)
for
node
in
LazyFilter
(
portal
.
account_module
.
contentValues
(),
skip
=
''
):
# XXX: context should already be account_module
for
node
in
LazyFilter
(
portal
.
account_module
.
contentValues
(),
skip
=
''
):
if
node
.
getRelativeUrl
()
not
in
account_used
:
if
node
.
getRelativeUrl
()
not
in
account_used
:
getAccountProps
(
getAccountProps
(
{
{
...
@@ -724,6 +724,7 @@ if per_account_class_summary:
...
@@ -724,6 +724,7 @@ if per_account_class_summary:
for
gap
in
account
.
getGapList
():
for
gap
in
account
.
getGapList
():
if
gap
.
startswith
(
current_gap
):
if
gap
.
startswith
(
current_gap
):
gap_part_list
=
gap
.
split
(
'/'
)
gap_part_list
=
gap
.
split
(
'/'
)
# TODO: this should not be ID
# country / accounting principle / ${class}
# country / accounting principle / ${class}
if
len
(
gap_part_list
)
>
2
:
if
len
(
gap_part_list
)
>
2
:
return
gap_part_list
[
2
]
return
gap_part_list
[
2
]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment