Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
weboob
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
135
Issues
135
List
Boards
Labels
Milestones
Merge Requests
41
Merge Requests
41
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
weboob
weboob
Commits
7fbe556a
Commit
7fbe556a
authored
Aug 08, 2016
by
Edouard Lambert
Committed by
Romain Bignon
Jan 06, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixing apivie : portfolio_share
parent
f5751f18
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
pages.py
modules/apivie/pages.py
+1
-2
No files found.
modules/apivie/pages.py
View file @
7fbe556a
...
...
@@ -51,7 +51,6 @@ class AccountsPage(Page):
account
.
label
=
self
.
parser
.
tocleanstring
(
tds
[
self
.
COL_LABEL
])
# It's safe to assume that apivie does only life insurance
account
.
type
=
Account
.
TYPE_LIFE_INSURANCE
balance_str
=
self
.
parser
.
tocleanstring
(
tds
[
self
.
COL_AMOUNT
])
account
.
balance
=
Decimal
(
FrenchTransaction
.
clean_amount
(
balance_str
))
account
.
currency
=
account
.
get_currency
(
balance_str
)
...
...
@@ -75,7 +74,7 @@ class InvestmentsPage(Page):
inv
.
valuation
=
Decimal
(
FrenchTransaction
.
clean_amount
(
\
self
.
parser
.
tocleanstring
(
tds
[
self
.
COL_VALUATION
])))
inv
.
portfolio_share
=
Decimal
(
FrenchTransaction
.
clean_amount
(
\
self
.
parser
.
tocleanstring
(
tds
[
self
.
COL_PORTFOLIO_SHARE
])))
self
.
parser
.
tocleanstring
(
tds
[
self
.
COL_PORTFOLIO_SHARE
])))
/
100
yield
inv
...
...
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