Contributors mailing list archives

contributors@odoo-community.org

Browse archives

Avatar

Re: Partner Hierarchy module

by "Richard deMeester" <richard.demeester@willdooit.com> - 04/03/2021 10:27:44

Morning,

Slightly off topic, but not entirely, we are looking at migrating the contact in several companies to v14, and it is not on the to be migrated list, does anyone know why?

Internally, we have created a "holding compamy" module, but would be interested in an OCA inspired solution.

We have a link between "branch" and "holding company", and then they can obvioulsy have their standard contacts beneath.  The nice things we added are:

Check boxes on "does the invoice accumulate with the branch or the holding company", "statements go to branch / holding company" (some franchises want them to behave differently) , meaning on a case by case basis the call can be made to send the invoice up the chain or to the holding company.  We also have mods in the purchasing side to allow holding companies to have purchase prices, and when a PO goes to a branch, it uses the holding company's pricelist to buy.

This has real use when dealing with "stores" from one chain, or "franchises".  These are common structures where two "company" entities need to be associated with each other.

Richard



Richard deMeester

Senior Development Analyst

WilldooIT Pty Ltd

E: richard.demeester@willdooit.com

M: +61 403 76 76 76

P: +61 3 9135 1900

A: 10/435 Williamstown Road, Port Melbourne, Vic 3207

 

 

Making growth through technology easy

 

 

DISCLAIMER | This electronic message together with any attachments is confidential. If you are not the recipient, do not copy, disclose, or use the contents in any way. Please also advise us by e-mail that you have received this message in error and then please destroy this email and any of its attachments. WilldooIT Pty. Ltd. is not responsible for any changes made to this message and/or any attachments after sending by WilldooIT Pty. Ltd. WilldooIT Pty. Ltd. use virus scanning software but exclude all liability for virus or anything similar in this email or attachment.



From: Holger Brunn <mail@hunki-enterprises.com>
Sent: Thursday, 4 March 2021 5:07 AM
To: Contributors <contributors@odoo-community.org>
Subject: Re: Partner Hierarchy module
 
> No hierarchy in the sense of parent_of though with 

> https://github.com/OCA/partner-contact/tree/13.0/partner_multi_relation [1]

> Only feedback, in environments with the granularity requested on the

> partners, we simultaneously have requests for qualifications of relations

> between partners without any parent relations as funders, investors,

> administrators ... and partner_multi_relation module is a good complement

when conceiving this originally, I did toy with a `transitive` checkbox, then 
you could use transitive relations just like parent_of. But as the customer 
lost interest in this feature, so did I. Maybe Daniel will add it?

OTOH this case sounds more like composite relations: When partner A has 
relation X with B, and B relation Y with C, then A and C have relation Z. This 
also sounds like a very useful feature to have, and I think will be much less 
computationally expensive to implement if you don't just store the transitive 
closure above.


-- 
Your partner for the hard Odoo problems
https://hunki-enterprises.com

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

Reference