跳至內容
選單
此問題已被標幟
2 回覆
5018 瀏覽次數

I created (my mistake) two invoices for the same client in OpenERP v7.0 so I cancelled one of them and changed partner, lines... Now it is a completly different invoice for a different client.

The point is, while in draft mode, the invoice is printed with no problems, but once I change its status to Open, whenever I try to print the invoice, it stills prints de previous client data on it, it doesn't change the content of the pdf. The data in the database and on screen is changed correctly but not in the printed version.

I'm completly lost. I thought about cache configuration and stuff like that, but even trying to print it from a different computer for the first time it stills print the previous client data. Is there any way to re-generate invoices? How can I re-use that invoice and print it?

頭像
捨棄
作者

The invoice doesn't have any attchment. I've changed it and waited a couple of days to print it again just in case it were some cache stuff, but it keeps printing the first one.

最佳答案

Check the attachments. In previous version (6 and before at least) OpenERP first checks if any attachment still exists. If it does, it will show you that instead of generating a new invoice. Delete any attachment report and try again.

頭像
捨棄
作者 最佳答案

I found the answer in a previous question here:

https://www.odoo.com/forum/help-1/question/customer-invoice-pdf-not-changing-after-modifications-to-header-9571

I misunderstood the attachment reference from Ludo, but he was right, I thought he was talking about file attachments into the invoice.

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
2
3月 15
4813
3
8月 24
3258
1
7月 23
2561
1
10月 21
3283
2
12月 20
3270