跳至內容
選單
此問題已被標幟
2 回覆
2294 瀏覽次數
最佳答案

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
2160
2
2月 19
2264
4
1月 24
3224
2
3月 24
2507
3
2月 25
2366