Hello,
I have noticed difference behavior in external id generation during module installation in enterprise and community editions of odoo 10.
In my custom module I have following data record in separate .xml file account_types.xml:
<record model="account.account.type" id="account_type_immaterial_rights">
<field name="name">Aineettomat oikeudet</field>
<field name="include_initial_balance" eval="True"/>
</record>
I include account_types.xml in my module manifest file __openerp__.py
'data': [
'account_types.xml '
]
When I install this module in Odoo 10 Community edition in
Settings -> Sequences & Identifiers -> External Identifiers menu I see
Complete ID Display name Model name
l10n_fi.account_type_immaterial_rights Aineettomat oikeudet account.account.type
When I install the same module into Odoo 10 Enterprise edition I get
Complete ID Display name Model name
l10n_fi.account_type_Aineettomat_oikeudet Aineettomat oikeudet account.account.type
For some reason Enterprise Edition decided not to use id I have provided in my file, but to generate it automatically using model name and name attribute of the record. Why did this happen?