[IMP] account: add context in invoice onchange_partner_id method

(Manual rebase of PR #915)