← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 715470] Re: [PS] sale margin module : wrong computation

 

francois,

The problem is that margin field on sale order is function field and
margin field on sale.order.line is also function field.

So when we create the sale order first time and make one line on it and
save the sale order it first calls margin field function field on sale
order and then called margin field on sale.order.line.

So we get null value for margin (sale.order.line) in margin(sale.order).

so the problem you describe is not real problem but its due to store
functionality on server.

thanks,
mra


** Changed in: openobject-addons
    Milestone: None => 6.1

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/715470

Title:
  [PS] sale margin module :  wrong computation

Status in OpenERP Modules (addons):
  Fix Committed

Bug description:
  6.0.1
  gtk client
  linux

  Sale Margin module: the margin computed in the Sale Order form is not
  correct. It doesn't take into account the first line of the basket. If
  two or more lines are presents, the margin is computed using lines 2
  to x but never the first line.

  Francois Pietquin
  Professional services





References