Ajay Chauhan(OpenERP) has proposed merging
lp:~openerp-dev/openobject-addons/trunk-week_44_accounting-cha into
lp:openobject-addons.
Requested reviews:
Divyesh Makwana(OpenERP) (mdi-openerp)
OpenERP Core Team (openerp)
For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-week_44_accounting-cha/+merge/133635
Hello,
I have solved traceback when reconciliation in Accounting->Bank and
Cash->Journal Items.
Thanks,
Ajay Chauhan
--
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-week_44_accounting-cha/+merge/133635
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openobject-addons/trunk-week_44_accounting-cha.
=== modified file 'account/account_move_line.py'
--- account/account_move_line.py 2012-11-08 11:34:23 +0000
+++ account/account_move_line.py 2012-11-09 09:52:21 +0000
@@ -917,8 +917,9 @@
if lines and lines[0]:
partner_id = lines[0].partner_id and lines[0].partner_id.id or False
- if not partner_obj.has_something_to_reconcile(cr, uid, partner_id, context=context):
- partner_obj.mark_as_reconciled(cr, uid, [partner_id], context=context)
+ if partner_id:
+ if not partner_obj.has_something_to_reconcile(cr, uid, partner_id, context=context):
+ partner_obj.mark_as_reconciled(cr, uid, [partner_id], context=context)
return r_id
def view_header_get(self, cr, user, view_id, view_type, context=None):
_______________________________________________
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