[FIX] account: crash if no default journal be set on invoice creation from PO
[FIX] account: crash if no default journal be set on invoice creation from PO

When creating an invoice from Purchase Order(stat button) if you do not have a journal of type 'Purchase' defined for current user's company, it will crash.

Elico-Corp/odoo_OCB,hip-odoo/odoo,ygol/odoo,Elico-Corp/odoo_OCB,ygol/odoo,ygol/odoo,bplancher/odoo,ygol/odoo,Elico-Corp/odoo_OCB,bplancher/odoo,ygol/odoo,laslabs/odoo,bplancher/odoo,Elico-Corp/odoo_OCB,ygol/odoo,hip-odoo/odoo,bplancher/odoo,Elico-Corp/odoo_OCB,laslabs/odoo,hip-odoo/odoo,bplancher/odoo,laslabs/odoo,bplancher/odoo,Elico-Corp/odoo_OCB,laslabs/odoo,hip-odoo/odoo,laslabs/odoo,ygol/odoo,laslabs/odoo,hip-odoo/odoo,hip-odoo/odoo