Ir al contenido
Menú
Se marcó esta pregunta
2 Respuestas
2734 Vistas
Mejor respuesta

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
Mejor respuesta

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

Publicaciones relacionadas Respuestas Vistas Actividad
1
jul 23
2515
2
feb 19
2715
4
ene 24
3984
2
mar 24
3230
3
feb 25
3241