Kirti Savalia(OpenERP) has proposed merging 
lp:~openerp-dev/openobject-addons/6.1-opw-576610-ksa into 
lp:openobject-addons/6.1.

Requested reviews:
  Naresh(OpenERP) (nch-openerp)

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/6.1-opw-576610-ksa/+merge/114140

Hello,

With knowledge module
------------------------
Before logo change, there is 1 invoice printed leading to 1 attachment.
After logo change, clicking the attachment on the invoice opens the original 
invoice with old logo, so that’s ok.
when clicking print invoice, this creates a new invoice, with new logo and 
replaces the attachment with a new one. 
So the old attachment and original invoice are lost.

Without knowledge module
--------------------------
Follow the above scenario when attachemnt is already exists then print that 
invoice instead of create new invoice.
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/6.1-opw-576610-ksa/+merge/114140
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/6.1-opw-576610-ksa.
=== modified file 'account/account_report.xml'
--- account/account_report.xml	2012-02-03 14:53:20 +0000
+++ account/account_report.xml	2012-07-10 09:43:21 +0000
@@ -20,6 +20,7 @@
             rml="account/report/account_print_invoice.rml"
             string="Invoices"
             attachment="(object.state in ('open','paid')) and ('INV'+(object.number or '').replace('/','')+'.pdf')"
+            attachment_use="1"
             usage="default"
             multi="True"/>
         <report id="account_transfers" model="account.transfer" name="account.transfer" string="Transfers" xml="account/report/transfer.xml" xsl="account/report/transfer.xsl"/>

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to