Add patch for fixing auto-reconciliation with moves with zero amount in debit/credit.

This commit is contained in:
Albert Cervera i Areny 2014-03-13 10:05:34 +01:00
parent d7d8dac478
commit b4d2c881a7
2 changed files with 18 additions and 0 deletions

17
issue4331002_1.diff Normal file
View File

@ -0,0 +1,17 @@
Index: move.py
===================================================================
--- ./modules/account/move.py
+++ ./modules/account/move.py
@@ -358,8 +358,8 @@
cls.write([move], values)
to_reconcile = [l for l in move.lines
- if ((line.debit == line.credit == Decimal('0'))
- and line.account.reconcile)]
+ if ((l.debit == l.credit == Decimal('0'))
+ and l.account.reconcile)]
if to_reconcile:
Line.reconcile(to_reconcile)

1
series
View File

@ -14,6 +14,7 @@ issue101_226.diff
issue3781003_1_10001.diff
issue4271002_1.diff
issue3111002_1.diff
issue4331002_1.diff
issue3481002_1.diff
issue2731002_20001.diff
issue134_399.diff