Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
3631 Переглядів

As a developper, I sometimes have the need to define two different addons which cannot be installed at the same time on a given instance. The __openerp__.py file has the depends declaration, but there is no conflicts declaration as far as I can tell.

How is such a case usually handled?

Аватар
Відмінити
Найкраща відповідь

As far as I know, there is no mean to prevent an addon to be installed if it conflicts with another.

I can't find the discussion but if I remember, OpenERP SA considers that all the modules should be compatible between them.

I think that's not realistic, we'll always have edge cases where an addon will be conflicting with another.

The least we can do is to indicate the conflict in the addon's manifest (__openerp__.py) for informational purposes. The better would have OpenERP to be able to handle a conflicts declaration in the manifest as you said.

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
0
серп. 25
151
1
серп. 25
574
Change position chatter Вирішено
1
серп. 25
488
4
лип. 25
1821
1
лип. 25
1037