← Back to team overview

openerp-community-reviewer team mailing list archive

[Merge] lp:~camptocamp/account-invoice-report/account-invoice-webkit-line-description-vre into lp:account-invoice-report

 

Vincent Renaville@camptocamp has proposed merging lp:~camptocamp/account-invoice-report/account-invoice-webkit-line-description-vre into lp:account-invoice-report.

Requested reviews:
  Account Core Editors (account-core-editors)

For more details, see:
https://code.launchpad.net/~camptocamp/account-invoice-report/account-invoice-webkit-line-description-vre/+merge/217929

Hello,

My fix let the invoice line name instead of product code + name , the description is filed with the product description by default, so you can adapt you line description on each invoice.

-- 
https://code.launchpad.net/~camptocamp/account-invoice-report/account-invoice-webkit-line-description-vre/+merge/217929
Your team OpenERP Community Reviewer/Maintainer is subscribed to branch lp:account-invoice-report.
=== modified file 'invoice_webkit/report/account_invoice.mako'
--- invoice_webkit/report/account_invoice.mako	2014-03-05 10:38:09 +0000
+++ invoice_webkit/report/account_invoice.mako	2014-05-01 15:25:51 +0000
@@ -325,7 +325,7 @@
               <div class="nobreak">
                 <table style="width:100%">
                   <tr>
-                    <td class="main_col1">${line.product_id and line.product_id.code or ''} ${line.product_id and line.product_id.name or ''}</td>
+                    <td class="main_col1">${line.name.replace('\n','<br/>') or '' | n}</td>
                     <td class="amount main_col2">${formatLang(line.quantity or 0.0,digits=get_digits(dp='Account'))}</td>
                     <td class="amount main_col3">${line.uos_id and line.uos_id.name or ''}</td>
                     <td class="amount main_col4">${formatLang(line.price_unit)}</td>


Follow ups