Review: Needs Fixing If there is not journal_id in context as well as there is no move_id in context then you use "search_default_journal_id" to replace in context['journal_id']. I think this is not correct. Each time if you change the journal from search view and try to create entries. It pass old search_default_journal_id in context always.
And if you use Accounting/Journal Entries/Journal Items menu to create journal entries, you can see it will not work with your code. Thanks, Mustufa -- https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-834512-jap/+merge/85797 Your team OpenERP R&D Team is subscribed to branch lp:~openerp-dev/openobject-addons/trunk-bug-834512-jap. _______________________________________________ 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

