← Back to team overview

openerp-india team mailing list archive

[Bug 1222825] [NEW] [7.0] point_of_sale wrong report Order Analysis

 

Public bug reported:

the query called in the init method of the object report.pos.order is not right.
there is a wrong join in the file point_of_sale/report/pos_order_report.py at row 78

left join product_template pt on (pt.id=l.product_id)

it should be:

left join product_product p on (p.id=l.product_id)
left join product_template pt on (pt.id=p.product_tmpl_id)

** Affects: openobject-addons
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1222825

Title:
  [7.0] point_of_sale wrong report Order Analysis

Status in OpenERP Addons (modules):
  New

Bug description:
  the query called in the init method of the object report.pos.order is not right.
  there is a wrong join in the file point_of_sale/report/pos_order_report.py at row 78

  left join product_template pt on (pt.id=l.product_id)

  it should be:

  left join product_product p on (p.id=l.product_id)
  left join product_template pt on (pt.id=p.product_tmpl_id)

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1222825/+subscriptions


Follow ups

References