clearcorp team mailing list archive
-
clearcorp team
-
Mailing list archive
-
Message #00590
[Branch ~banking-addons-team/banking-addons/6.1] Rev 156: [FIX] Syntax error when iterating over a list of ids
Merge authors:
Stefan Rijnhart (Therp) (stefan-therp)
Related merge proposals:
https://code.launchpad.net/~therp-nl/banking-addons/ba61-fix_syntax_error_in_iteration/+merge/144680
proposed by: Stefan Rijnhart (Therp) (stefan-therp)
review: Approve - Guewen Baconnier @ Camptocamp (gbaconnier-c2c)
review: Approve - Alexandre Fayolle @ camptocamp (alexandre-fayolle-c2c)
------------------------------------------------------------
revno: 156 [merge]
author: Stefan Rijnhart <stefan@xxxxxxxx>
committer: Guewen Baconnier <guewen.baconnier@xxxxxxxxxxxxxx>
branch nick: banking-addons
timestamp: Mon 2013-01-28 10:43:23 +0100
message:
[FIX] Syntax error when iterating over a list of ids
modified:
account_direct_debit/model/account_move_line.py
--
lp:banking-addons
https://code.launchpad.net/~banking-addons-team/banking-addons/6.1
Your team CLEARCORP development team is subscribed to branch lp:banking-addons.
To unsubscribe from this branch go to https://code.launchpad.net/~banking-addons-team/banking-addons/6.1/+edit-subscription
=== modified file 'account_direct_debit/model/account_move_line.py'
--- account_direct_debit/model/account_move_line.py 2012-01-12 10:58:49 +0000
+++ account_direct_debit/model/account_move_line.py 2013-01-24 11:04:21 +0000
@@ -89,7 +89,7 @@
def _dummy(self, cr, user, ids, name, arg, context=None):
res = {}
if ids:
- res = dict([(x.id, False) for x in ids])
+ res = dict([(x, False) for x in ids])
return res
def _invoice_payment_term_id_search(