[FIX] account: fix "account.bank.statement.cashbox" export with data update
[FIX] account: fix "account.bank.statement.cashbox" export with data update

- Go to Point of Sale
- Switch to View list
- Select a POS and click on Action\Export
- On Export wizard:
  * check "I want to update data (import-compatible export)" option
  * expand "Default Balance" section
A KeyError is triggered while trying to access undefined field referred by "_rec_name"
of "account.bank.statement.cashbox".

opw-2309064

closes odoo/odoo#55477

X-original-commit: 7e3143b93ffd7162c90e0c50758a4f44b0645cd6
Signed-off-by: Nicolas Martinelli (nim) <771435c469f83f6aa9c405ac5e1ed06314a94f2d@odoo.com>

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