Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
weboob
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ludovic LANGE
weboob
Commits
95322730
Commit
95322730
authored
Feb 25, 2019
by
Sylvie Ye
Committed by
Romain Bignon
Feb 27, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[bnp] id recipient can change, don't check the full recipient id
check only iban part of recipient id
parent
f8afc178
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
modules/bnporc/module.py
modules/bnporc/module.py
+11
-0
No files found.
modules/bnporc/module.py
View file @
95322730
...
...
@@ -132,6 +132,17 @@ class BNPorcModule(Module, CapBankWealth, CapBankTransferAddRecipient, CapMessag
def
execute_transfer
(
self
,
transfer
,
**
params
):
return
self
.
browser
.
execute_transfer
(
transfer
)
def
transfer_check_recipient_id
(
self
,
old
,
new
):
# external recipient id can change, check the iban in recipient id
iban
=
re
.
search
(
r'([A-Z]{2}[A-Z\d]+)'
,
old
)
if
iban
:
# external recipients id
iban
=
iban
.
group
(
1
)
return
iban
in
new
else
:
# iternal recipients id
return
old
==
new
def
iter_contacts
(
self
):
if
not
hasattr
(
self
.
browser
,
'get_advisor'
):
raise
NotImplementedError
()
...
...
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