[FIX] account: fix send sample invoice
[FIX] account: fix send sample invoice

With company country and localization set to Peru
Go to invoice dashboard
Click on 'Send sample'

User will receive the warning
'If you want to use "Off-Balance Sheet" accounts, all the accounts of the
journal entry must be of this type'
and the action will abort because the first account fetched for the
operation is an 'Off Balance' account

opw-2300813

closes odoo/odoo#55506

X-original-commit: 27a9eb3083e7938199ff047060135e030496eec0
Signed-off-by: Simon Goffin (sig) <b3ed2cf313e7546085c3c50622143ff31e467d23@openerp.com>
Signed-off-by: agr-odoo <0d9dbc18047dd5bf8778df4717151d06ca4ead1e@users.noreply.github.com>

ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo