V6.03. All analysis do not take discount into account

Bug #897319 reported by Corinne Cobbel
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Confirmed
Low
OpenERP Publisher's Warranty Team

Bug Description

Hello,

All the analysis on sales or invoices do not take discount into account. They show the price before discount and not after discount.

Place an Order and generate an invoice :
Product A: Price 100$ Discount 20%
Total order without tax = 80$

In all analysis the price is 100$
- Invoices analysis
- Sales analysis
- Sales by month ....

100$ is the price before discount, the real sale price is 80$
Analysis should show the price after discount 80$

Thanks

Revision history for this message
Amit Parik (amit-parik) wrote :

Hello,

I have checked this issue in to both trunk as well as stable, but only problem occurs into stable6.

So I am assigning this to OPW team.

I have attached a video for both trunk and stable which described the problem of stablev6.

Thank you!

Revision history for this message
Amit Parik (amit-parik) wrote :
Revision history for this message
Amit Parik (amit-parik) wrote :
Changed in openobject-addons:
assignee: nobody → OpenERP Publisher's Warranty Team (openerp-opw)
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
Antoine (antoine-suj) wrote :

In ~openerp/openobject-addons/6.0
Report don't use price_subtotal of invoice_line

 /account/report/account_invoice_report.py (revision 5099)
                    sum(case when ai.type in ('out_refund','in_invoice') then
                         ail.quantity*ail.price_unit * -1
                        else
                         ail.quantity*ail.price_unit
                        end) / cr.rate as price_total,

~openerp/openobject-addons/6.1 : /account/report/account_invoice_report.py (revision 6639)
                    sum(case when ai.type in ('out_refund','in_invoice') then
                         -ail.price_subtotal
                        else
                          ail.price_subtotal
                        end) / cr.rate as price_total,

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.