Merge lp:~therp-nl/banking-addons/ba70-bank_statement_order into lp:banking-addons

Proposed by Stefan Rijnhart (Opener)
Status: Merged
Merged at revision: 194
Proposed branch: lp:~therp-nl/banking-addons/ba70-bank_statement_order
Merge into: lp:banking-addons
Diff against target: 31 lines (+10/-9)
1 file modified
account_banking/account_banking.py (+10/-9)
To merge this branch: bzr merge lp:~therp-nl/banking-addons/ba70-bank_statement_order
Reviewer Review Type Date Requested Status
Holger Brunn (Therp) code review Approve
Pedro Manuel Baeza Approve
Stéphane Bidoul (Acsone) (community) code review Approve
Review via email: mp+183278@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Pedro Manuel Baeza (pedro.baeza) wrote :

Of course!

review: Approve
Revision history for this message
Stéphane Bidoul (Acsone) (sbi) wrote :

A couple of line above, there is this comment "4. Ordering is based on auto generated id."
I suppose it should be suppressed too.

187. By Stefan Rijnhart (Opener)

[RFR] Update class doc

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

@stéphane good catch. Doc updated

Revision history for this message
Pedro Manuel Baeza (pedro.baeza) wrote :

Stefan, why the dashes in the middle of the sentence?

Revision history for this message
Stéphane Bidoul (Acsone) (sbi) :
review: Approve (code review)
Revision history for this message
Stefan Rijnhart (Opener) (stefan-opener) wrote :

I'm using it as a marker for an unordered list. Not sure if it renders correctly but given the lack of documentation in general there is no meaningful way to render a set of useful docs from these modules anyway.

Revision history for this message
Pedro Manuel Baeza (pedro.baeza) wrote :

Yeah, I mean this:

"- upon confirmation of a statement line"

This seems to be the continuation of the previous line ("Move lines are"), and you have put a leading dash, but don't worry, it's not too much important.

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

Sorry Pedro, had not noticed the particular error. Fixed it and improved the docs even more.

188. By Stefan Rijnhart (Opener)

[RFR] Improved doc

Revision history for this message
Pedro Manuel Baeza (pedro.baeza) :
review: Approve
Revision history for this message
Holger Brunn (Therp) (hbrunn) :
review: Approve (code review)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'account_banking/account_banking.py'
2--- account_banking/account_banking.py 2013-06-25 15:40:51 +0000
3+++ account_banking/account_banking.py 2013-09-09 09:23:25 +0000
4@@ -274,17 +274,18 @@
5
6 class account_bank_statement(orm.Model):
7 '''
8- Extensions from account_bank_statement:
9- 1. Removed period_id (transformed to optional boolean) - as it is no
10- longer needed.
11- NB! because of #1. changes required to account_voucher!
12- 2. Extended 'button_confirm' trigger to cope with the period per
13- statement_line situation.
14- 3. Added optional relation with imported statements file
15- 4. Ordering is based on auto generated id.
16+ Implement changes to this model for the following features:
17+
18+ * bank statement lines have their own period_id, derived from
19+ their effective date. The period and date are propagated to
20+ the move lines created from each statement line
21+ * bank statement lines have their own state. When a statement
22+ is confirmed, all lines are confirmed too. When a statement
23+ is reopened, lines remain confirmed until reopened individually.
24+ * upon confirmation of a statement line, the move line is
25+ created and reconciled according to the matched entry(/ies)
26 '''
27 _inherit = 'account.bank.statement'
28- _order = 'id'
29
30 _columns = {
31 'period_id': fields.many2one('account.period', 'Period',

Subscribers

People subscribed via source and target branches

to status/vote changes: