Merge lp:~openerp-dev/openobject-addons/7.0-opw-599727-fka into lp:openobject-addons/7.0
Status: | Needs review |
---|---|
Proposed branch: | lp:~openerp-dev/openobject-addons/7.0-opw-599727-fka |
Merge into: | lp:openobject-addons/7.0 |
Diff against target: |
53 lines (+14/-6) 3 files modified
product/pricelist.py (+5/-1) product_visible_discount/product_visible_discount.py (+3/-3) sale_margin/sale_margin.py (+6/-2) |
To merge this branch: | bzr merge lp:~openerp-dev/openobject-addons/7.0-opw-599727-fka |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Vinay Rana (OpenERP) | Pending | ||
Naresh(OpenERP) | Pending | ||
Review via email: mp+194788@code.launchpad.net |
Description of the change
Hello,
I have fixed the issue of Unit of Measures is not work properly for pricelist in sale.order.line in sale.
When changing the Unit of Measure for a line in a Sales Order, the conversions are not respected.
For example: one product unit price is 10 and the price list is defined as (-.50) from Public price list, the price on the sales order line returns 9.50, but if the Case of 4 UOM is selected the price returns $39.50,It should be $38.00 (9.50*4).
The cost price is also incorrect and it does not reflect the correct cost, it returns the sales UOM not the actual UOM from the sales order line.
Thanks,
FKA
Unmerged revisions
- 9577. By Foram Katharotiya (OpenERP)
-
[MERGE] with 7.0
- 9576. By Foram Katharotiya (OpenERP)
-
[IMP] incorrect margin
- 9575. By Foram Katharotiya (OpenERP)
-
[MERGE] with 7.0
- 9574. By Foram Katharotiya (OpenERP)
-
[IMP] calculate unit price in sale.order.line when installed discount module
- 9573. By Foram Katharotiya (OpenERP)
-
[IMP] calculate cost price in sale.order.line
- 9572. By Foram Katharotiya (OpenERP)
-
[IMP] improve code
- 9571. By Foram Katharotiya (OpenERP)
-
[IMP] improve code
- 9570. By Foram Katharotiya (OpenERP)
-
[FIX] bug of pricelist which returns incorrect total in sale.order.line
Hello,
This bug was reported by me, an OpenERP partner and verified by a senior developer at OpenERP. The status should be changed to important since the issue involved every product that the UOS and the purchase UOM are different. Any module that using that inherits the fields is also effected.
I now fixing bzr branch lp:margin-analysis since the calculated BOM is incorrect due to this bug. I cannot believe this is still sitting around