Contributors mailing list archives

contributors@odoo-community.org

Browse archives

Avatar

Re: Odoo-test-helper

by
Acsone SA/NV, Laurent Mignon
- 09/11/2020 12:09:01
Great!
IMO this lib must be put into its own repository. As for Odoo addons, I prefer a lib with a well defined functional scope than a big one mixing unrelated things.. Maintenance and release management will be easier.

Regards. 

On Mon, Nov 9, 2020 at 11:46 AM Pedro M. Baeza (Tecnativa) <pedro.baeza@tecnativa.com> wrote:
It's useful indeed, thanks. Note that a similar technique was already used in modules like `base_multi_company`: https://github.com/OCA/multi-company/blob/12.0/base_multi_company/tests/test_multi_company_abstract.py#L19

I think this should be included in https://github.com/OCA/oca-decorators (and maybe change its name to ocalib or similar), or convert it to a decorator over a class. If we split a lot the number of helpers libraries across OCA, it would be impossible to follow them. Having grouped in one library, will help the discovering and also to join efforts in the maintenance.

Regards.

_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe

Reference