[FIX] account: return format of function field
authordhr-odoo <dhr@tinyerp.com>
Fri, 19 Sep 2014 09:38:46 +0000 (15:08 +0530)
committerMartin Trigaux <mat@openerp.com>
Fri, 3 Oct 2014 07:59:38 +0000 (09:59 +0200)
commitb2cb31c0fbb049e56cdd3bf7f092e014e76e8038
tree9ff3017cd3befe133a55c7795f739385f72059a1
parenteb9113c04d66627fbe04b473b9010e5de973c6aa
[FIX] account: return format of function field

When no result is found on the function field 'invoice' (account.move.line), instead of returning {move_id: (False, '')}, return {move_id: False} (expected for m2o fields)
Fixes #2138, opw 613096
addons/account/account_move_line.py