Skip to Content
Menú
This question has been flagged
2 Respostes
2435 Vistes
Best Answer

Hi,

In the account module, the "_render_qweb_pdf" function triggers a check to verify if the invoice type is designated as an "entry". If any of the invoices fall into this category, it prompts a pop-up notification displaying a UserError message stating, "Only invoices can be printed."

 if any(x.move_type == 'entry' for x in invoices):

    raise UserError(_("Only invoices could be printed."))


Hope it helps

Avatar
Descartar
Best Answer

Hi,

This error raised when you try to print invoice from journal entry record.


Avatar
Descartar
Autor

im getting same message at the time of clicking on "create payment" button

Autor

how do i solve this, why im getting this message. can you please help me

Related Posts Respostes Vistes Activitat
1
de jul. 23
2252
2
de febr. 19
2409
4
de gen. 24
3470
2
de març 24
2697
3
de febr. 25
2762