Merge lp://staging/~therp-nl/banking-addons/ba70-lp1295163-refactor_period_lookup into lp://staging/banking-addons

Proposed by Stefan Rijnhart (Opener)
Status: Merged
Approved by: Holger Brunn (Therp)
Approved revision: 236
Merged at revision: 250
Proposed branch: lp://staging/~therp-nl/banking-addons/ba70-lp1295163-refactor_period_lookup
Merge into: lp://staging/banking-addons
Diff against target: 167 lines (+45/-42)
2 files modified
account_banking/account_banking.py (+44/-41)
account_banking/banking_import_transaction.py (+1/-1)
To merge this branch: bzr merge lp://staging/~therp-nl/banking-addons/ba70-lp1295163-refactor_period_lookup
Reviewer Review Type Date Requested Status
Ruchir Shukla(BizzAppDev) (community) Needs Information
Lara (Therp) test Approve
Holger Brunn (Therp) code review Approve
Pedro Manuel Baeza code review Approve
Review via email: mp+211970@code.staging.launchpad.net
To post a comment you must log in.
Revision history for this message
Pedro Manuel Baeza (pedro.baeza) wrote :

LGTM

Regards.

review: Approve (code review)
236. By Stefan Rijnhart (Opener)

[FIX] Workaround for lp:1296229, defaults functions are passed context
 as a positional argument

Revision history for this message
Holger Brunn (Therp) (hbrunn) :
review: Approve (code review)
Revision history for this message
Lara (Therp) (lfreeke) :
review: Approve (test)
Revision history for this message
Ruchir Shukla(BizzAppDev) (ruchir.shukla) wrote :

+ except except_osv:
59 + if date:
60 + raise

This is something not needed .
as there date field is already required field for statement and statement lines .
Can you specify in which condition it will not have value date variable?

review: Needs Information
Revision history for this message
Stefan Rijnhart (Opener) (stefan-opener) wrote :

@ruchir thanks for the review! The answer to your question is: the date is not specified when called as a default function.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches

to status/vote changes: