[IMP] Show product_uom_qty instead of normalized quantity in mrp order report
authorJosse Colpaert <jco@odoo.com>
Fri, 21 Nov 2014 12:10:02 +0000 (13:10 +0100)
committerJosse Colpaert <jco@odoo.com>
Fri, 21 Nov 2014 13:55:40 +0000 (14:55 +0100)
addons/mrp/views/report_mrporder.xml

index 3aa77ba..c941897 100644 (file)
@@ -91,7 +91,7 @@
                                         <span t-field="line.product_id.name"/>
                                     </td>
                                     <td class="text-right">
-                                        <span t-field="line.product_qty"/>
+                                        <span t-field="line.product_uom_qty"/>
                                         <span t-field="line.product_uom.name" groups="product.group_uom"/>
                                     </td>
                                     <td class="text-center" groups="stock.group_locations">
                                         <span t-field="line2.product_id.name"/>
                                     </td>
                                     <td class="text-right">
-                                        <span t-field="line2.product_qty"/>
+                                        <span t-field="line2.product_uom_qty"/>
                                         <span t-field="line2.product_uom.name"/>
                                     </td>
                                     <td class="text-center" groups="stock.group_locations">