summaryrefslogtreecommitdiff
path: root/doc/reference/javascript.rst
diff options
context:
space:
mode:
authorDenis Ledoux <dle@odoo.com>2015-02-04 20:22:07 +0100
committerDenis Ledoux <dle@odoo.com>2015-02-04 20:28:48 +0100
commitc331e963cd8f113a675940a528978fb149019b52 (patch)
treebd6a0808c90a47108dd39bf72d5896e2bc6e7efe /doc/reference/javascript.rst
parentb36908b6f8dd10519df33a462395b773abcda1e0 (diff)
[FIX] account: invoice analysis product quantity
This rev. is related to 6641c61ce6b12fcf77797f94a8b44c506b445940 During the above revision, a new jointure has been added with product_uom, on product template uom_id The join link was wrong, it was: - LEFT JOIN product_uom u2 ON u.id = pt.uom_id and it must be: - LEFT JOIN product_uom u2 ON u2.id = pt.uom_id as the alias 'u' is the previous jointure, not this new one. Besides, the uom_name is now the name of the product uom of this second jointure As the uom is now the product default uom instead of the category reference uom The groupby clause has been adapted, as the selection was slightly altered Besides, grouping by u.uom_type, u.category_id was pointless
Diffstat (limited to 'doc/reference/javascript.rst')
0 files changed, 0 insertions, 0 deletions