← Back to team overview

openerp-community-reviewer team mailing list archive

[Merge] lp:~camptocamp/account-invoice-report/vre_account_invoice_report into lp:account-invoice-report

 

Vincent Renaville@camptocamp has proposed merging lp:~camptocamp/account-invoice-report/vre_account_invoice_report 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/vre_account_invoice_report/+merge/224593

Hello,

Some customers are confused when they want to change a previously opened invoice, the print button always show the stored attachment instead of regenerate a new invoice report.
So my proposition is to remove this feature.


-- 
https://code.launchpad.net/~camptocamp/account-invoice-report/vre_account_invoice_report/+merge/224593
Your team OpenERP Community Reviewer/Maintainer is subscribed to branch lp:account-invoice-report.
=== modified file 'invoice_webkit/invoice_report.xml'
--- invoice_webkit/invoice_report.xml	2014-06-19 15:50:26 +0000
+++ invoice_webkit/invoice_report.xml	2014-06-26 11:24:00 +0000
@@ -9,8 +9,6 @@
             name="account.invoice"
             file="invoice_webkit/report/account_invoice.mako"
             string="Invoices"
-            attachment="(object.state in ('open','paid')) and ('INV'+(object.number or '').replace('/',''))"
-            attachment_use="1"
             multi="True"
             report_type="webkit"/>
     </data>


Follow ups