openerp-community-reviewer team mailing list archive
-
openerp-community-reviewer team
-
Mailing list archive
-
Message #04047
[Merge] lp:~camptocamp/stock-logistic-flows/add-variant-dispach-report-jge into lp:stock-logistic-flows
Joël Grand-Guillaume @ camptocamp has proposed merging lp:~camptocamp/stock-logistic-flows/add-variant-dispach-report-jge into lp:stock-logistic-flows.
Commit message:
[IMP] Add the variant in the dispatch report
Requested reviews:
Stock and Logistic Core Editors (stock-logistic-core-editors)
For more details, see:
https://code.launchpad.net/~camptocamp/stock-logistic-flows/add-variant-dispach-report-jge/+merge/207961
Hi,
This add the variant in the dispatch report.
--
https://code.launchpad.net/~camptocamp/stock-logistic-flows/add-variant-dispach-report-jge/+merge/207961
Your team Stock and Logistic Core Editors is requested to review the proposed merge of lp:~camptocamp/stock-logistic-flows/add-variant-dispach-report-jge into 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-02-24 16:00:56 +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