Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odpovědi
2393 Zobrazení
Nejlepší odpověď

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
Zrušit
Nejlepší odpověď

Hi,

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


Avatar
Zrušit
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 Odpovědi Zobrazení Aktivita
1
čvc 23
2248
2
úno 19
2370
4
led 24
3423
2
bře 24
2681
3
úno 25
2709