Hi,
I am trying to validate my GRN, but unable to do so.
The error "
Only invoices could be printed.
" is generated.
My control policy is received quantity.
thanks
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Comptabilitat
- Inventari
- PoS
- Project
- MRP
This question has been flagged
Hi,
The above message is expected to raise only when a journal entry is tried to print using the Print invoice option. Are you getting this on trying to print or on clicking the validate/post button in the entry ?
Thanks
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
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Registrar-seRelated Posts | Respostes | Vistes | Activitat | |
---|---|---|---|---|
|
2
de febr. 25
|
1482 | ||
|
1
de juny 24
|
2963 | ||
|
0
de jul. 23
|
1407 | ||
|
1
de juny 23
|
2010 | ||
|
0
de juny 23
|
1215 |