Activity log for bug #1186938

Date Who What changed Old value New value Message
2013-06-03 09:50:46 Arif bug added bug
2013-06-03 09:50:46 Arif attachment added Screendumps https://bugs.launchpad.net/bugs/1186938/+attachment/3693520/+files/Sreendumps.zip
2013-06-03 09:53:25 Arif description To see the issue - Create a product with default UoM having value 'Greater' that 'Reference UoM of the Category' - Set Sales Price and Cost Price - Update some stock and goto sales. In Sale order line, select this Product, then change 'Unit of Measure' in sales line to a Smaller or Greater UoM of products default UoM and the Margin value still remains same. Actually margin calculation need to consider the select UoM in sales line instead of always finding difference between the 'Sale Price' and 'Cost Price' set in Product configuration. See my screenshots, it may help you to get a close look on issue. To see the issue - Create a product with default UoM having value 'Greater' than 'Reference UoM of the Category' - Set Sales Price and Cost Price - Update some stock and goto sales. In Sale order line, select this Product, then change 'Unit of Measure' in sales line to a Smaller or Greater UoM of products default UoM and the Margin value still remains same. Actually margin calculation need to consider the select UoM in sales line instead of always finding difference between the 'Sale Price' and 'Cost Price' set in Product configuration. See my screenshots, it may help you to get a close look on issue.
2013-06-03 12:08:30 Arif bug added subscriber mjabirk
2013-06-03 12:14:27 Amit Parik openobject-addons: importance Undecided Low
2013-06-03 12:14:27 Amit Parik openobject-addons: status New Confirmed
2013-06-03 12:14:27 Amit Parik openobject-addons: assignee OpenERP R&D Addons Team 3 (openerp-dev-addons3)
2013-06-06 06:17:16 Arif attachment added sale_margin_patch.txt https://bugs.launchpad.net/openobject-addons/+bug/1186938/+attachment/3695980/+files/sale_margin_patch.txt
2013-06-11 05:42:57 Launchpad Janitor branch linked lp:~openerp-dev/openobject-addons/trunk-bug-1186938-Shahin
2013-11-26 06:50:55 Jitendra Prajapati(OpenERP) branch linked lp:~openerp-dev/openobject-addons/trunk-bug-1186938-jpr
2013-11-26 12:23:57 Jitendra Prajapati(OpenERP) openobject-addons: status Confirmed In Progress
2013-11-26 12:37:41 Jitendra Prajapati(OpenERP) openobject-addons: status In Progress Fix Committed