lp://staging/~elbati/openobject-addons/7.0_fix_1181291_elbati

Created by Lorenzo Battistini and last modified
Get this branch:
bzr branch lp://staging/~elbati/openobject-addons/7.0_fix_1181291_elbati
Only Lorenzo Battistini can upload to this branch. If you are Lorenzo Battistini please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Lorenzo Battistini
Project:
Odoo Addons (MOVED TO GITHUB)
Status:
Development

Recent revisions

9572. By Lorenzo Battistini

[IMP] PEP8

9571. By Lorenzo Battistini

[MERGE]

9570. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9569. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9568. By Nicolas Vanhoren (OpenERP)

[FIX] problem with pads, the demo configuration doesn't work if the server is using https. I simply changed the url for the demo version.

9567. By Olivier Dony (Odoo)

[FIX] sale,sale_stock: sales analysis view using incorrect JOIN and group by clause

Similarly to the recent fixes in Purchase Analysis,
the Sales Analysis view must not group on the quantity
field. It is one of the columns that must be aggregated,
not used to fold PO lines into the same
result row.
The line count was also incorrect because of this, and
had to be corrected to actually count() the underlying
SO lines.

In addition, the JOINs were done in the wrong order,
which could cause problems (e.g. if an empty SO ever
landed in the database, all the SO line columns
would be empty in the JOIN, and cause errors)

9566. By Olivier Dony (Odoo)

[FIX] purchase: analysis view must not group by quantity, otherwise identical PO lines are counted only once

The product quantity is one of the columns that must be
aggregated, not used to fold PO lines into the same
result row.
This, combined with missing aggregation operators
was causing multiple identical PO lines from the
same PO to be merged together and only counted once
in some aggregations.

9565. By Olivier Dony (Odoo)

[FIX] stock: no early currency rounding when computing average price

It is a common need to set a higher decimal precision
for `Product Price` (i.e. the product cost field) for
high volume / low value items. This may typically
require up to 4-6 decimals for e.g. EUR/USD-based
companies where the currency has 2 decimals.
In that case the product cost should be stored with
full precision without applying the currency rounding.
The appropriate currency rounding will be applied
anyway as soon as a transaction actually uses that
product cost (typically in a SO/PO)

9564. By Olivier Dony (Odoo)

[FIX] stock: programming error in average price computation for multiple lines of the same product

While processing a picking we must keep track of
previously processed lines as they modify the
stock on hand but are not yet included in the
`qty_available` function.
Negative stock on hand is handled as if
the stock was zero as far as the average
price computation is concerned.

9563. By Olivier Dony (Odoo)

[FIX] stock: `product cost` field in partial picking wizard must respect decimal precision

Without the right precision the default rounding is
applied and causes a possible loss of precision when
the `Product Price` precision is increased.
This can in turn lead to incorrect average price
computations.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp://staging/openobject-addons
This branch contains Public information 
Everyone can see this information.