Open PDF Reports and PDF Attachments in Browser
by Ivan Sokolov https://cetmix.com , Cetmix https://cetmix.comAvailability |
Odoo Online
Odoo.sh
On Premise
|
Lines of code | 134 |
Technical Name |
prt_report_attachment_preview |
License | LGPL-3 |
Website | https://cetmix.com |
Versions | 10.0 11.0 12.0 13.0 14.0 15.0 16.0 17.0 |
Open PDF Reports in browser
Main features
- Preview PDF reports in browser instead of downloading
- Download reports later from browser if you need (filename will be preserved)
- Note: you must enable pop-up windows for Odoo when prompted!
Other useful apps
- Manage all Odoo messages easily and much more effective using free Mail Messages Easy module
- Manage reordering rules easily using free Advanced Auto Reordering Rules Control module
- Manage multiple email addresses and phone number for Contact using Improved Contacts module
- Manage multiple internal reference product code SKU using Multiple SKU module
- Automatically generate internal reference product code SKU using Auto Generate SKU module
Support
- Tested on Odoo Community v14.0
- Russian language translation
- English, German and Russian language support
- Click to contact us for support or any custom app you need
Need support, customization or interested in collaboration?
Try our Apps
In Odoo App Store
Contact Us
cetmix.com
Run demo
demo.cetmix.com
Search for "cetmix" in social networks
Please log in to comment on this module
Report comment
Any abuse of this reporting system will be penalizedodoo16 version
wait odoo16
Re: odoo16 version
Is on he way already
Very useful
One of the must-have modules, especially when developing new report templates.
Hi Okeleke Mike,
Issue is fixed, please download the latest version and try again.
Is this compatible with Odoo Enterprise?
Re:
Yes
Its seems good
but it keeps disconnecting and restore connection every time i click on print i don't understand what is it
Re: Its seems good
hi, in which models does it happen ?
Version 16
Thanks for reply most addon upgrade v16 i wish as soon as possible u upgrade :)
16 version
Hi tahanks for your addon its perfect when upgrade 16. Thanks
Re: 16 version
Hi, thank you for your feedback! Work is in progress already. Odoo 16 is still buggy and unstable so I think we will release the module end of this month earliest.
connection lost trying to reconnect - with odoo mate accounting and report
Hello
I had exactly the same problem. I had to remove the mod.
odoo 15 today version test error
lost connection
you asking me to tell you the installed app
i test it today
just install sales
and invoicing
and sales
and purchase
the sales order print working good
but any pdf from invoicing full
not working
lost connection
please fix it
connection lost trying to reconnect - with odoo mate accounting and report
connection lost trying to reconnect - with odoo mate accounting and report
Re: connection lost trying to reconnect - with odoo mate accounting and report
Hi, could you please provide more details regarding the issue.
1. Module version installed
2. third party modules installed
3. steps to reproduce
connection lost trying to reconnect
the problem stil in journal audit report - v15
Re:
Thank you for the feedback, will check
[BUG REPORT] Open PDF Reports has conflict with py3o
it will cause the print label failed
Odoo Message: Connection lost
I figured this out for2 days searching on internet, and uninstall all third-party modules and install one by one to test, after install "Open PDF Reports" print label failed, but uninstall it, print label back to work.
related thread on github py3o not working · Issue #419 · OCA/reporting-engine · GitHub Keywords: Conflict
Thanks for contributed this awesome module.
Connection lost
odoo 15
Latest version
print labels
Connection lost. Trying to reconnect...
https://watch.screencastify.com/v/cKCPtGxdnV7a3jBiaCDr
error on all reports printing
says:
connection lost trying to reconnect
Re:
Thank you for the feedback! Please send detailed so we could checkt it:
You report must contain the following information:
- Odoo version
- Operating system
- List of third-party modules installed
- Screen video done with a screen video recorder (NOT a mobile phone)
Best regards,
Ivan
It's not also allowing "Print Labels" when installed
Re:
Thank you for the feedback! Please send detailed report including the screen video.
Best regards,
Ivan
It's not allowing 'Sales Details' report to work in POS reports
Re:
Thank you for the feedback! Please send detailed report including the screen video.
Best regards,
Ivan
Is it compatible with multicompany? I think not. We tried to use in an other company, but we get this message:
403: Forbidden
The page you were looking for could not be authorized.
Error message:
Re:
Hello Adél,
It should have no issues with multi-company while it does not affect any user right or access rules. However you can send detailed information by email and I will check.
Best regards,
Ivan
after installing this module, when we try to post an invoice, it try to post twice and getting a warning message invoice already posted. why is that happening.please fix that problem
thank you
Re:
Hello Muhsin,
Thank you for your feedback! We will check and fix it asap.
Best regards,
Ivan
sale invoice and quotation
Re:
Just checked both reports on Odoo 15.0-20211220 and they are working fine. Please check your instance and ensure that you are using the latest version of the module,
Re: still there is problem in badge print under employee module
Re: still there is problem in badge print under employee module
on 1/1/22, 7:06 PM Hi, which report exactly are you trying to print?
Reply -
Under Employee Module > Go to Employees > Go To HR Settings > Right Side > Pin Code / Badge ID > Click on Print Badge
When Print Badge you click it show same error as previous.
Kindly Check.
Re: Re: still there is problem in badge print under employee moduleRe: still there is problem in badge print under employee module
Hi, please update the module to the latest version and check again.
WBR, Ivan
still there is problem in badge print under employee module
on 28/12/2021 you wrote that - Issue is fixed, please download the latest version and try again.
product label print is working fine , but problem still present when you print badge under employee module
this show error as below :-
UncaughtClientError > TypeError
Uncaught Javascript Error > invalid type format
TypeError: invalid type format
at parse (https://www.desimomo.in/web/assets/2483-61b4458/web.assets_backend.min.js:541:65)
at XMLHttpRequest.xhr.onload (https://www.desimomo.in/web/assets/2483-61b4458/web.assets_backend.min.js:569:222)
Please fix this problem and update ,
many thanks.
Re: still there is problem in badge print under employee module
Hi, which report exactly are you trying to print?
odoo 15
error
connection lost trying to reconnect
Re:
Hi, which report exactly are you trying to print?
App not working in Odoo 15
Report Type: print labels (product)
RPC_ERROR
Odoo Server Error
Traceback (most recent call last):
File "C:\Odoo\App\15\server\odoo\addons\base\models\qweb.py", line 219, in render_template
yield from compiled_fn(self, values, log)
File "<template_433>", line 127, in template_433
File "<template_433>", line 79, in t_call_content
TypeError: 'int' object is not subscriptable
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Odoo\App\15\server\odoo\addons\web\controllers\main.py", line 2008, in report_download
response = self.report_routes(reportname, converter=converter, context=context, **data)
File "C:\Odoo\App\15\server\odoo\http.py", line 535, in response_wrap
response = f(*args, **kw)
File "C:\Odoo\App\15\server\odoo\addons\web\controllers\main.py", line 1934, in report_routes
pdf = report.with_context(context)._render_qweb_pdf(docids, data=data)[0]
File "C:\Odoo\App\15\server\odoo\addons\account\models\ir_actions_report.py", line 47, in _render_qweb_pdf
return super()._render_qweb_pdf(res_ids=res_ids, data=data)
File "C:\Odoo\App\15\server\odoo\addons\base\models\ir_actions_report.py", line 819, in _render_qweb_pdf
html = self_sudo.with_context(context)._render_qweb_html(res_ids, data=data)[0]
File "C:\Odoo\App\15\server\odoo\addons\base\models\ir_actions_report.py", line 863, in _render_qweb_html
return self._render_template(self.report_name, data), 'html'
File "C:\Odoo\App\15\server\odoo\addons\base\models\ir_actions_report.py", line 600, in _render_template
return view_obj._render_template(template, values).encode()
File "C:\Odoo\App\15\server\odoo\addons\base\models\ir_ui_view.py", line 1976, in _render_template
return self.browse(self.get_view_id(template))._render(values, engine)
File "C:\Odoo\App\15\server\odoo\addons\web_editor\models\ir_ui_view.py", line 29, in _render
return super(IrUiView, self)._render(values=values, engine=engine, minimal_qcontext=minimal_qcontext)
File "C:\Odoo\App\15\server\odoo\addons\base\models\ir_ui_view.py", line 1984, in _render
return self.env[engine]._render(self.id, qcontext)
File "C:\Odoo\App\15\server\odoo\tools\profiler.py", line 289, in _tracked_method_render
return method_render(self, template, values, **options)
File "C:\Odoo\App\15\server\odoo\addons\base\models\ir_qweb.py", line 74, in _render
result = super()._render(template, values=values, **compile_options)
File "C:\Odoo\App\15\server\odoo\addons\base\models\qweb.py", line 134, in _render
result = ''.join(rendering)
File "C:\Odoo\App\15\server\odoo\addons\base\models\qweb.py", line 221, in render_template
raise e
File "C:\Odoo\App\15\server\odoo\addons\base\models\qweb.py", line 219, in render_template
yield from compiled_fn(self, values, log)
File "<template_435>", line 27, in template_435
File "<template_435>", line 24, in t_call_content
File "C:\Odoo\App\15\server\odoo\addons\base\models\qweb.py", line 224, in render_template
error=e, template=template, path=log.get('last_path_node'), code=code)
odoo.addons.base.models.qweb.QWebException: 'int' object is not subscriptable
Traceback (most recent call last):
File "C:\Odoo\App\15\server\odoo\addons\base\models\qweb.py", line 219, in render_template
yield from compiled_fn(self, values, log)
File "<template_433>", line 127, in template_433
File "<template_433>", line 79, in t_call_content
TypeError: 'int' object is not subscriptable
Error when render the template
TypeError: 'int' object is not subscriptable
Template: product.report_productlabel_dymo
Path: /t/t/t[4]/t[2]/t[1]
Node: <t t-set="barcode" t-value="barcode_and_qty[0]"/>
Re: App not working in Odoo 15
Hi, thank you for reporting! We will check and issue a fix.
App not working in Odoo 15
Re: App not working in Odoo 15
Hi, could you please clarify what does "not working" exactly mean?
Also please provide the following information:
- Which document are you trying to print?
- Error message and error log if any
- Which third party modules are installed?
Best regards,
Ivan