Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
2 Replies
2600 Tampilan
Jawaban Terbai

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
Buang
Jawaban Terbai

Hi,

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


Avatar
Buang
Penulis

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

Penulis

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

Post Terkait Replies Tampilan Aktivitas
1
Jul 23
2400
2
Feb 19
2554
4
Jan 24
3726
2
Mar 24
2958
3
Feb 25
2999