← Back to team overview

openerp-community-reviewer team mailing list archive

[Merge] lp:~camptocamp/stock-logistic-flows/7.0-add-variant-dispach-report-resubmit into lp:stock-logistic-flows

 

Yannick Vaucher @ Camptocamp has proposed merging lp:~camptocamp/stock-logistic-flows/7.0-add-variant-dispach-report-resubmit into lp:stock-logistic-flows.

Requested reviews:
  Yannick Vaucher @ Camptocamp (yvaucher-c2c)
  Pedro Manuel Baeza (pedro.baeza)

For more details, see:
https://code.launchpad.net/~camptocamp/stock-logistic-flows/7.0-add-variant-dispach-report-resubmit/+merge/210599

Hi,

This add the variant in the dispatch report.
-- 
https://code.launchpad.net/~camptocamp/stock-logistic-flows/7.0-add-variant-dispach-report-resubmit/+merge/210599
Your team Stock and Logistic Core Editors is subscribed to branch lp:stock-logistic-flows.
=== modified file 'picking_dispatch/report/dispatch.html.mako'
--- picking_dispatch/report/dispatch.html.mako	2012-12-10 10:51:23 +0000
+++ picking_dispatch/report/dispatch.html.mako	2014-03-12 13:13:00 +0000
@@ -39,6 +39,7 @@
   <tr align="left">
     <th>${_('Product Code')}</th>
     <th>${_('Product')}</th>
+    <th>${_('Variant')}</th>
     <th>${_('Carrier')}</th>
     <th>${_('QTY')}</th>
     <th>${_('Explanation')}</th>
@@ -47,6 +48,13 @@
       <tr align="left">
         <td>${product.default_code}</td>
         <td>${product.name}</td>
+        <td>
+            %if product.variants:
+              ${product.variants}
+            %else:
+              ${'-'}
+            %endif
+        </td>
         <td>${carrier}</td>
         <td>${qty}</td>
         <td>${_('stock error')}<br/>${_('breakage')}</td>


Follow ups