Have you tested it?  I cannot believe it works without crashing...

Read carefully the spec of method read.  data['journal_id'] should be a tuple 
like (id, name); this is why the domain was initially wrong.  But invoking 
int() on it is not better: it will simply raise an exception (cannot convert 
tuple to int).

I will fix this.
Raphael

-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-871684-bde/+merge/79377
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/trunk-bug-871684-bde.

_______________________________________________
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