Skip to content

Commit

Permalink
[IMP] point_of_sale: add product variants in reporting
Browse files Browse the repository at this point in the history
Closes odoo#1322
  • Loading branch information
avo-odoo authored and rim-odoo committed Jul 23, 2014
1 parent c291a04 commit 87ad6d5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion addons/point_of_sale/report/pos_order_report.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,8 @@ def init(self, cr):
l.product_id as product_id
from pos_order_line as l
left join pos_order s on (s.id=l.order_id)
left join product_template pt on (pt.id=l.product_id)
left join product_product p on (l.product_id=p.id)
left join product_template pt on (p.product_tmpl_id=pt.id)
left join product_uom u on (u.id=pt.uom_id)
group by
s.date_order, s.partner_id,s.state,
Expand Down

0 comments on commit 87ad6d5

Please sign in to comment.