odoo/odoo#122694

Created by fw-bot
label
odoo-dev:saas-16.1-v16_account-w7yw-fw
head
a8a404e7f2aba553beb6ca2deb1b96d5b021c4bb
target
saas-16.1 (inactive)
merged
1 year ago by Accounting, Laurent Smet (las)
forward-port of
odoo/odoo#122426

[FW][REF] account: Create function _get_aml_default_display_map to allow other modules to inherit and add new key pairs

- display_map is hard-assigned in the _get_aml_default_display_name_list function.
When a certain module adds a new partner_type, an error occurs
- This PR creates the _get_aml_default_display_map function, allowing other modules to inherit and add new key pairs.



---
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr

Forward-Port-Of: odoo/odoo#122426