Help

0

Where is declared an external id like "analytic.model_account_analytic_line"?

Avatar
Pascal Tremblay

Hello there,

We are on odoo 10.

I know that the model named account.analytic.line has analytic.model_account_analytic_line for external identifier.

But I don't find the place where is declared this external ID... I  searched the code, but I don't find the exact place...

Could you help?

Avatar
Discard
1 Jawaban
1
Best Answer

Hi pascal,


It is automatically generated during the registry Loading

https://github.com/odoo/odoo/blob/7c5291ff5c320f08502518402b0a8c4365584e0c/openerp/models.py#L402

1 Komentar
Avatar
Discard
Avatar
Pascal Tremblay
-

it is what I thought.... An automatic process. Thanks for this answer. Really nice from you.