Community mailing list archives
Re: OCA and modules dependenciesby
AVANZOSC, S.L., Ana Juaristi Olalde
Taking the example of aeroo explained by Lorenzo... I think that one generic report engine should not have dependencies with specific reports depending on other modules like payroll.
Proposal could be cleaning this kind of dependencies, spliting module in 2 modules if necesary (I know it can be big work but if we want mantaining OCA modules quality it should be like that)
Goin on with example, hr_payroll_register_report module should depend on aeroo but not aeroo has to be dependant of hr_payroll_register_report since maybe people using aeroo could have even not installed hr_payroll.
I don't know if I'm explaining well.
IMHO if a module depending on any community module outside OCA, should only be accepted if reasons for being like that are clearly explained on module description and link to needed additional repository on github where module is located is included on it. I think OCA should not be accepting modules depending on private repositories or modules stored in other repositories but github.
Otherwise, would be complicated simply using OCA repositories and knowing what and how properly download everything to make some modules work.
@david and @community --> Sorry for my long disclaimer but it seems that is legal requirement in our country. I will try erasing it when I send something to this list. :)
Thank you everybody:
2014-09-11 10:23 GMT+02:00 Lorenzo Battistini <email@example.com>:
On 09/10/2014 06:25 PM, Ana Juaristi wrote:<blockquote cite="mid:CAMfyfibxoiPhh6nHjy6chCubF3AsS0yexL8GhZ3oxd6zO5F0pQ@mail.gmail.com" type="cite">
+1 OCA modules shouldn't have dependencies on other Odoo modules
I take the chance of this thread to bring to your attention the aeroo issue, that is already a dependency of some HR modules like hr_payroll_register_report. At the moment this dependency is making the tests fail.
I'm favourable to include the aeroo modules within the OCA (at https://github.com/OCA/reporting-engine), but I don't know if this has been discussed yet and I would like to know the opinions of Kaspar Vilkens and OCA members.
-- Lorenzo Battistini Tel (CH): +41 91 210 23 40 Tel (IT): +39 011 198 25481 http://www.agilebg.com https://github.com/eLBati