On 08 Jul 16:22, Jesús Martín Jiménez wrote:
> 2014-07-08 16:20 GMT+02:00 Cédric Krier <cedric.kr...@b2ck.com>:
> 
> > On 08 Jul 06:52, Jesús Martín Jiménez wrote:
> > >
> > >
> > > El martes, 8 de julio de 2014 14:58:38 UTC+2, Cédric Krier escribió:
> > > >
> > > > On 08 Jul 04:51, Jesús Martín Jiménez wrote:
> > > > > Hi,
> > > > >
> > > > > I'm trying to fix a behavior in a custom modules we have developed
> > [1]
> > > > [2].
> > > > > We added a field on sale_line model in order to store the cost_price
> > of
> > > > the
> > > > > product to compute the margin of benefit.
> > > >
> > > > Why not use the stock move because they already have all the
> > > > information.
> > > >
> > > >
> > > We want to know  the margin before make the sale.
> >
> > Ok but it has no sense to store it at this moment.
> >
> >
> What do you suggest?

To not store it because it is a moving target
but I don't understand the requirements so I can not propose a solution.

-- 
Cédric Krier - B2CK SPRL
Email/Jabber: cedric.kr...@b2ck.com
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/

Attachment: pgpwoG_1MAiJ1.pgp
Description: PGP signature

Reply via email to