Merge lp:~mikel-martin/account-payment/6.1-fix-1199076 into lp:~account-payment-team/account-payment/6.1
Proposed by
mikel
Status: | Merged | ||||
---|---|---|---|---|---|
Merged at revision: | 105 | ||||
Proposed branch: | lp:~mikel-martin/account-payment/6.1-fix-1199076 | ||||
Merge into: | lp:~account-payment-team/account-payment/6.1 | ||||
Diff against target: |
65 lines (+10/-40) 1 file modified
account_payment_extension/account_move_line.py (+10/-40) |
||||
To merge this branch: | bzr merge lp:~mikel-martin/account-payment/6.1-fix-1199076 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Guewen Baconnier @ Camptocamp | code review, no test | Approve | |
Pedro Manuel Baeza | Approve | ||
Review via email: mp+173833@code.launchpad.net |
Description of the change
To post a comment you must log in.
Hi, Mikel,
Indeed, this bug is very annoying, but I have found one problem in the SQL statement. In the line
left join account_move_line r on l.reconcile_ id=r.reconcile_ id and l.id<>l.id '
it compares l.id with l.id instead of l.id with r.id.
For the rest, I'm not sure what is the original purpose of this piece of code. Can you explain to me to be able to give a proper review?
Anyways, thanks for the patch :)