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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
erp5
Commits
eb74578c
Commit
eb74578c
authored
Nov 23, 2017
by
Vincent Pelletier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
AccountingTransactionModule_getDetailedAgedBalanceLineList: Stop using Query.
Also, drop whitespaces at end of line.
parent
15d4b9dd
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransactionModule_getDetailedAgedBalanceLineList.py
...untingTransactionModule_getDetailedAgedBalanceLineList.py
+4
-4
No files found.
bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransactionModule_getDetailedAgedBalanceLineList.py
View file @
eb74578c
from
Products.ZSQLCatalog.SQLCatalog
import
Query
,
ComplexQuery
from
Products.ZSQLCatalog.SQLCatalog
import
Simple
Query
,
ComplexQuery
from
Products.PythonScripts.standard
import
Object
from
Products.PythonScripts.standard
import
Object
portal
=
context
.
getPortalObject
()
portal
=
context
.
getPortalObject
()
...
@@ -13,8 +13,8 @@ section_uid = portal.Base_getSectionUidListForSectionCategory(
...
@@ -13,8 +13,8 @@ section_uid = portal.Base_getSectionUidListForSectionCategory(
section_category
,
section_category_strict
)
section_category
,
section_category_strict
)
grouping_query
=
ComplexQuery
(
grouping_query
=
ComplexQuery
(
Query
(
grouping_reference
=
None
),
Simple
Query
(
grouping_reference
=
None
),
Query
(
grouping_date
=
at_date
,
range
=
"min
"
),
SimpleQuery
(
grouping_date
=
at_date
,
comparison_operator
=
">=
"
),
logical_operator
=
"OR"
)
logical_operator
=
"OR"
)
account_number_memo
=
{}
account_number_memo
=
{}
...
...
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