odoo/odoo#122426

Created by daonamutc1
label
daonamutc1:v16_account
head
7d9acd878da23ef3dae8b9316d2ff7856db63497
target
16.0
merged
1 year ago by Accounting, Laurent Smet (las)
forward-ports

[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