On 08/20/2012 11:18 PM, Ana Juaristi wrote:

I think I mentioned already erlier

if the 7.0 partner model is extended to redesign the provided tree
structure I could imagine the following structure

Group (like Aldi/Hofer in Germany/Austria - each store is a separate
legal entity sarl/GmbH)
* company ( unique info for company like VAT etc )
**  company addresses (multiple for office, invoice, shipping, stock
locations....)
*** contacts

a query of an address must return the resource values and use default
values from the tree structure if null in the resource.

this would allow to easily "move" contacts to a new address or change
web site etc.

another point is how to code the fetching of default values in a
performant way as a name_get call is necessary for each field which
travles up the tree until reaching a value or top company level.

a lot of research has to be done to make this efficient and universaly
usable and to write constraints for the various legal conditions (mainly
tax driven)


ferdinand

_______________________________________________
Mailing list: https://launchpad.net/~openerp-community
Post to     : openerp-community@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openerp-community
More help   : https://help.launchpad.net/ListHelp

Reply via email to