Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
Accounting Reports
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Package Registry
Model registry
Operate
Terraform modules
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 Reports
Commits
87f77421
Commit
87f77421
authored
4 years ago
by
Houzefa Abbasbhay
Browse files
Options
Downloads
Patches
Plain Diff
Fix dynamic values in statement reports
parent
fe4a5869
No related branches found
Branches containing commit
Tags
18.0.2.0.2
No related merge requests found
Pipeline
#5879
failed
4 years ago
Stage: build
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
reports/account_statement.py
+4
-4
4 additions, 4 deletions
reports/account_statement.py
with
4 additions
and
4 deletions
reports/account_statement.py
+
4
−
4
View file @
87f77421
...
...
@@ -31,10 +31,10 @@
credit_sum
=
0.0
balance_sum
=
0.0
for
doc
in
docids
:
debit_sum
+=
doc
.
debit
credit_sum
+=
doc
.
credit
balance_sum
+=
doc
.
reporting_balance
for
aml
in
self
.
env
[
"
account.move.line
"
].
browse
(
docids
)
:
debit_sum
+=
aml
.
debit
credit_sum
+=
aml
.
credit
balance_sum
+=
aml
.
reporting_balance
return
{
"
debit_sum
"
:
debit_sum
,
...
...
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