Odoo Help

1 Answer

Yannick Vaucher

--Yannick Vaucher--

| 5 7 9
Lausanne, Switzerland
--Yannick Vaucher--

Yannick Vaucher
2/5/13, 9:17 AM

Here is a solution of my own: You can use the res_partner_affiliate community module.

This module is available in lp:partner-contact-management community branch.

To install this module follow instructions under: How to install openerp app from launchpad

Fabrice Henrion (fhe)
2/22/13, 4:57 AM

I think that installing a non-certified module to do this is overkill considering it is possible just with configuration. See http://help.openerp.com/question/2676/company-under-company/

Camptocamp SA
2/22/13, 5:29 AM

Well basically your are doing the same, in a module perhaps its overkill but it is reusable. In my module I also separated affiliates under an other tab than contacts.

Fabrice Henrion (fhe)
2/22/13, 8:23 AM

Yannick, yes if it's the only thing you have in that module, it's the same indeed.

Camptocamp SA, Guewen Baconnier
2/27/13, 6:09 AM

@Fabrice: I do not call changing the views from the view editor 'configuration'. What about the migrations? If you modify all your views from the client, are you sure they will be kept? That's always better to do that in addons, even if this 1 change in 1 view. I think that will never be overkill.

Fabrice Henrion (fhe)
2/27/13, 6:22 PM

@Guewen: I agree that it is a better practice to make the change in a separate module. But it is only possible for developers. This is why I said it is overkill: it is overkill to have to call a developer to make a field visible. And it is also completely possible to make this change from the view editor AND make sure that it will go through updates and migrations if you do it correctly (inherit and add fields "inside"). This way, you are sure they will be kept because an update will reset the original views, not the ones you have created.

3/29/13, 4:35 PM

An installation description would be nice

Camptocamp SA
4/2/13, 9:34 AM

@wjn please refers to this question How to install openerp app from launchpad

4/2/13, 9:38 AM

Thank you, that's a more extended and better approach then I did (I copied it directly to the addons path, on a test server of course).

Ask a Question
About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now