[FIX] prevent entering a blank amount_currency in an account.move.line

This is a fix for https://github.com/odoo/odoo/issues/4242 
Upstream PR: https://github.com/odoo/odoo/pull/4457