Rifakat (OpenERP) has proposed merging 
lp:~openerp-dev/openobject-addons/6.1-opw-574176-rha into 
lp:openobject-addons/6.1.

Requested reviews:
  Naresh(OpenERP) (nch-openerp)

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/6.1-opw-574176-rha/+merge/104344

Hello,

Fixed cash register creation problem, it was raising error when we create any 
cash register and try to save it, it was due to wrong return type for o2m field 
from the function which evaluates the value.

Please review it.

Thanks,
Rifakat Haradwala
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/6.1-opw-574176-rha/+merge/104344
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/6.1-opw-574176-rha.
=== modified file 'account/account_cash_statement.py'
--- account/account_cash_statement.py	2012-03-22 11:39:59 +0000
+++ account/account_cash_statement.py	2012-05-02 08:17:19 +0000
@@ -136,7 +136,7 @@
                 'pieces': rs,
                 'number': 0
             }
-            res.append(dct)
+            res.append((0, 0, dct))
         journal_ids = self.pool.get('account.journal').search(cr, uid, [('type', '=', 'cash')], context=context)
         if journal_ids:
             results = self.search(cr, uid, [('journal_id', 'in', journal_ids),('state', '=', 'confirm')], context=context)

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to