Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
2 Răspunsuri
7333 Vizualizări

There used to be a button on a completed invoice for printing it (or was it in the More menu?). Now that's disappeared, and I'm left with no way to print an invoice.

I've recently been experimenting with changes to account_print_invoice.rml, and that was working OK. Then I tried installing the webkit engine and associated modules -- I couldn't get that to work, so I uninstalled those modules again. But I still can't print the invoices.

Any suggestions for how to fix this?

I'm running OpenERP 7.0-20130111-002202 on 64-bit Linux.

Imagine profil
Abandonează

Try to check in other database maybe there you can get invoice print button.

Autor

Yes, the Print button is there in my test database, but not in the production database. Which is interesting, but not helpful!

Autor Cel mai bun răspuns

Keyur's comment did give me a clue where to look though.

In Settings / Technical / Actions / Reports the account.invoice object still had a report type of 'webkit'. I set it back to 'pdf' and set the other fields to be the same as in the test database. After restarting the server, the Print button is back!

Imagine profil
Abandonează
Cel mai bun răspuns

I run into the same problem after installing report_webkit and invoice_webkit and Openerp v7. The print invoice button disappears for paid invoices.

I managed to solve the problem by adding a button into the view for those states where the print button disappears.

Try this:

- Go to Admin --> UI --> Views (Enable first technical features) and search for "account.invoice.form" view.

- Edit the view and add the below code before closing the header tag </header>

<button name="invoice_print" string="Print" type="object" attrs="{'invisible':['|', ('state', '=', 'open'), ('state', '=', 'draft')]}" groups="base.group_user"/>

 

Hope this can fix it.

For the Print link in the dropdown I've tried to go to Admin --> Actions --> Reports --> Invoices report and try to re-generate the print button, but it doesn't work.

 

 

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
0
mar. 15
3978
1
mar. 15
4557
1
mar. 15
5457
4
mar. 15
7130
0
mar. 15
4101