Merge lp:~akretion-team/banking-addons/bank-statement-reconcile-70-multi-statement into lp:banking-addons/bank-statement-reconcile-70
Status: | Superseded |
---|---|
Proposed branch: | lp:~akretion-team/banking-addons/bank-statement-reconcile-70-multi-statement |
Merge into: | lp:banking-addons/bank-statement-reconcile-70 |
Diff against target: |
59 lines (+14/-4) (has conflicts) 2 files modified
account_statement_base_import/statement.py (+12/-2) account_statement_base_import/wizard/import_statement.py (+2/-2) Text conflict in account_statement_base_import/statement.py |
To merge this branch: | bzr merge lp:~akretion-team/banking-addons/bank-statement-reconcile-70-multi-statement |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Yannick Vaucher @ Camptocamp | Needs Resubmitting | ||
Guewen Baconnier @ Camptocamp | Needs Information | ||
Joël Grand-Guillaume @ camptocamp | code review, no tests | Approve | |
Sébastien BEAU - http://www.akretion.com | no test, code review | Approve | |
Nicolas Bessi - Camptocamp | Pending | ||
Frederic Clementi - Camptocamp | Pending | ||
Review via email: mp+197761@code.launchpad.net |
This proposal has been superseded by a proposal from 2014-03-07.
Description of the change
Hi,
In some case like the CFONB norme (French norme) many bank statement can be extracted from the same file.
So I need to change the signature in order to always work with a list of id, than in my can I am able to inherit everything and process all of my bank statement (http://
Unmerged revisions
- 106. By Florian da Costa
-
[FIX] Fix file type when calling the statement_import function
- 105. By Florian da Costa
-
[FIX] Call multi_statement
_import in importation wizard - 104. By Florian da Costa
-
[FIX] Permit to handle multi statement with other module whithout changing the function import_statement
- 103. By Sébastien BEAU - http://www.akretion.com
-
[IMP] give the possibility to return various bank statement. Indeed in some special case a file can containe various bank statement, like CFONB file which are the french standard for bank statement
Hi,
Thanks for the contribs !
My opinion on that one is that I prefer letting this method "def statement_import" as it is. His purpose is to import one single statement.
Why not simply adding a new method called "def multi_statement _import" that call the first one for each instance ?
This way, you reduce the risk of breaking others work by returning a dict instead of a int/long.
For this reason, I mark it as need fixing.
Regards,
Joël