odoo/odoo — pull request #3208 by bringsvor (2014-10-21 08:14:12+00:00)
Title: period_id in account_voucher was not multi company safe

Now set period_id and company_id according to the journal used.

Updated the default method for period_id and the onchange method for journal.