Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
3649 Vizualizări

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?

Imagine profil
Abandonează
Cel mai bun răspuns

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.

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
2
aug. 25
150
0
aug. 25
270
1
aug. 25
675
1
aug. 25
519
4
iul. 25
1880