Sales, Purchase and Invoice Analysis Problem

Bug #673835 reported by Michael Aldrin Villamar (FS3)
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Medium
OpenERP R&D Addons Team 3

Bug Description

For OpenERP v6.0 rc1, there are problems regarding the columns of UoM, Qty and Average Price in Sales Analysis and Purchase Analysis while Qty and Ave. Price in Invoice Analysis.

For concrete example in sales analysis:
I confirmed an order with these products:

item1: apple juice with default UoM CSE (1 CSE = 4 PCE)
UoM: CSE
Qty: 20
price: 520
tax: none

item2: orange juice with default UoM CSE (1CSE = 4 PCE)
UoM: PCE
Qty: 20
price: 520
tax: none

If I open Sales >> Reporting >> Sales Analysis
item1: apple juice
Default UoM: CSE (correct)
Qty: 5 (wrong. It must be 20 for CSE or 80 for PCE)
Average Price: 2080 (wrong. It must be 520 for CSE or 130 for PCE)

item2: orange juice
Default UoM: PCE (wrong. The default UoM is CSE. Maybe changing the column name Default UoM to UoM only would be better)
Qty: 20 (correct if UoM is PCE)
Average Price: 130 (correct if UoM is PCE)

Same problems apply with the Product UoM, Quantity and Average Price in Purchase >> Reporting >> Purchase Analysis, and Qty and Average Price in Accounting >> Reporting >> Statistic Reports >> Invoice Analysis.
where:
PCE is the reference UoM with
CSE is bigger than the reference UoM

Related branches

Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3)
importance: Undecided → Medium
status: New → Confirmed
qdp (OpenERP) (qdp)
Changed in openobject-addons:
milestone: none → 6.0-rc2
Changed in openobject-addons:
status: Confirmed → In Progress
Revision history for this message
Priyesh (OpenERP) (pso-openerp) wrote :

Hello,

For sales and purchases analysis, here i attached patch.

Kindly check it and revert back.

For invoices, I didn't get any problem with qty and average price. If i have misunderstood you, can you provide more information about invoice analysis problem?

Thanks.

Revision history for this message
Priyesh (OpenERP) (pso-openerp) wrote :

Hello,

Its fixed in https://code.launchpad.net/~openerp-dev/openobject-addons/pso-dev-addons3.
Rev-id: <email address hidden>
Rev-no: 4615

It will be merged soon with Addons3 branch.

Thanks for notifying us.

Changed in openobject-addons:
status: In Progress → Fix Committed
Changed in openobject-addons:
status: Fix Committed → Fix Released
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.