In https://github.com/odoo/odoo/pull/78652 a fix was made in the layout designer guaranteeing that the company_details field followed the correct address format set by the company. However, this fix didn't take into account all company data, making some `format_address`es raise a `KeyError`. This PR fixes that by using the company_date defined in `_display_address`. Fixes https://github.com/odoo/odoo/issues/78942 closes odoo/odoo#79097 X-original-commit: 3cdc770c4966cef88362f8119a96de5501d21b18 Signed-off-by: Leonardo Pavan Rocha <lpr@odoo.com>