lp:~pexego/openobject-server/add_weighted_average_grouping_server

Created by Omar (Pexego) and last modified

Adds possibility of select a field as group operator to perform weighted average when grouping with four simple lines in orm.py.

example:

_columns = {
    ...
    'price_unit': fields.float('Unit price', digits=(16,2), group_operator='product_qty'),
    'product_qty': fields.float('Quantity', digits=(16,2)),
    ...
}

Get this branch:
bzr branch lp:~pexego/openobject-server/add_weighted_average_grouping_server
Members of Pexego can upload to this branch. Log in for directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Pexego
Project:
Odoo Server (MOVED TO GITHUB)
Status:
Mature

Recent revisions

4101. By Omar (Pexego)

[ADD] Adds possibility of select a field as group operator to perform weighted average when grouping

4100. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

4099. By Xavier (Open ERP)

[FIX] res.country name_search

* also returns name-matched countries when a country matches by code
* same for states
* extract almost-identical implementations of name_search in country and state
* remove useless explicit setting of context (also wrong)

4098. By Xavier (Open ERP)

[IMP] ignores file

4097. By Olivier Dony (Odoo)

[FIX] Fix broken creation of database in previous commit - d'oh

4096. By Olivier Dony (Odoo)

[IMP] tools.ustr: allow specific error-handling flags a la `unicode`

Also cleaned up docstrings

4095. By Olivier Dony (Odoo)

[IMP] attempt to dump uid performing operation along with thread stacks

4094. By Olivier Dony (Odoo)

[MERGE] dumpstacks fix from 6.1 branch

4093. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

4092. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

Branch metadata

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

Subscribers