跳至内容
菜单
此问题已终结
2 回复
2301 查看
最佳答案

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

形象
丢弃
最佳答案

Hi,

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


形象
丢弃
编写者

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

编写者

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

相关帖文 回复 查看 活动
1
7月 23
2175
2
2月 19
2278
4
1月 24
3256
2
3月 24
2540
3
2月 25
2425