[FIX] account: import of invoice by csv gave wrong account Task 1961719
[FIX] account: import of invoice by csv gave wrong account
Task 1961719

type was set to False when called in the create method. This yielded
always the same account when importing invoices. Getting the value of
type from the context corrects that issue.

closes odoo/odoo#32579

Signed-off-by: Quentin De Paoli (qdp) <e3f4db239cf86136ad4659223e6cc0134ae205fb@openerp.com>
ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo