Members mailing list archives

Re: [V8][PORT] margin-analysis (product_get_cost_field / product_standard_margin)

Sébastien LANGE
- 22/07/2015 12:28:18
Hi community,

Alexis, the history cost is in product_price_history table and in the quants.


Le mer. 22 juil. 2015 à 15:07, Alexis de Lattre <> a écrit :
Dear community friends,

I plan to port the module product_historical_margin to v8 (and it's 2 dependancies product_get_cost_field and product_standard_margin) if someone hasn't already started to work on it ; Sylvain, could you tell me exactly which modules of OCA/margin-analysis you plan to port to v8 ?

2015-07-22 10:23 GMT+02:00 Frédéric Clementi <>:
Not obsolete but need to be adapted to v8 since cost history now exists in std. So the rational will probably different.

Frederic, what do you mean exactly by "cost history now exists in std" ? On a standard Odoo v8 DB, I do not see any information about cost price in the account.invoice.line ; so, when you say "cost history new exists in v8", could you tell me where the history is stored ?


Alexis de Lattre
Akretion France - 35B rue Montgolfier - 69100 Villeurbanne - France
Mail :
Tel : +33 4 82 53 84 58
Mobile : +33 6 99 08 92 45
Jabber/Gtalk :

Post to:

Sébastien LANGE
Gold Partner Odoo
27 Avenue Jean Mantelet
61000 Alençon
Tél : +33 (0) 2 33 31 22 10

Ce message et toutes les pièces jointes (ci-après le "message") sont établis à
l'intention exclusive de ses destinataires et sont confidentiels. Si vous
recevez ce message par erreur, merci de le détruire et d'en avertir
immédiatement l'expéditeur. Toute utilisation de ce message non conforme à sa
destination, toute diffusion ou toute publication, totale ou partielle, est
interdite, sauf autorisation expresse. L'internet ne permettant pas d'assurer
l'intégrité de ce message, SYLEAM décline toute responsabilité au titre de ce
message, dans l'hypothèse où il aurait été modifié.

This message and any attachments (the "message") is intended solely for the
addressees and is confidential. If you receive this message in error, please
delete it and immediately notify the sender. Any use not in accord with its
purpose, any dissemination or disclosure, either whole or partial, is prohibited
except after formal approval. The internet can not guarantee the integrity of
this message. SYLEAM cannot therefore be liable for the message if modified.