-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error while installing Aeroo Direct Printing #3
Comments
@mittel , Thanks for your issue submission. So just to clarify with you the steps to reproduce this issue are as follows:
is that correct? I'll try to reproduce the error on my end and will provide you with some configuration instructions from my end when I can find time. The report_aeroo_direct_print module requires the installation and configuration of CUPS to connect with a printer on your local network. Do you have a network printer within the same network as the Odoo server? |
And yes I have a network printer |
could you give me the IP address on your local network for the network printer along with the model? I may need to see if I can find a suitable CUPS driver for you (Linux printer driver compatible with your model). |
Sure But this is not so important, I just wanted to test this module, I can get pdf files and print them after saving them. |
@mittel , No problem. I would suggest leaving the aeroo_reports_direct_print module alone until i've had time to write a tutorial on the subject, as I have not actually started properly playing around with it yet. I believe there may be some slight bugs in that particular module due to API changes. These API changes will be fixed over time by PR's to the aeroo_reports repository here: The purpose of that module is only to provide an interface to CUPS which will allow you to print a document directly to a selected printer (eg. a barcode label printer) from an Odoo document screen (eg. print quotation from print dropdown menu in Odoo directly to printer rather than to PDF then to printer). I'm not sure if you're on the community mailing lists, but I posted some instructions there recently. Send me your email to [email protected] and i'll forward a copy with a demo/template file for your reference to get you started. |
OK |
@mittel , I've forwarded it over to you. |
got it |
@mittel , If you run into have questions about building reports in Aeroo please post to this forum thread: https://www.odoo.com/forum/help-1/question/8-0-how-to-build-a-report-in-aeroo-reports-85994 I've started a thread where I will eventually post a detailed tutorial on building reports in Aeroo. In the meantime I will leave this github issue open until we've figured out the error message from aeroo_reports_direct_print that you mentioned above. |
ok thanks |
@lukebranch Did you find a solution of this? |
I installed Odoo and Aeroo report on a fresh Ubuntu 14.040 server installation.
Everything went fine, I updated the module list and installed Aeroo report with no error.
I only encountered an error while trying to install Aero Direct Printing
Traceback (most recent call last):
File "/opt/odoo/odoo-server/openerp/http.py", line 536, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/opt/odoo/odoo-server/openerp/http.py", line 573, in dispatch
result = self._call_function(*_self.params)
File "/opt/odoo/odoo-server/openerp/http.py", line 309, in _call_function
return checked_call(self.db, *args, *_kwargs)
File "/opt/odoo/odoo-server/openerp/service/model.py", line 113, in wrapper
return f(dbname, _args, *_kwargs)
File "/opt/odoo/odoo-server/openerp/http.py", line 306, in checked_call
return self.endpoint(_a, *_kw)
File "/opt/odoo/odoo-server/openerp/http.py", line 802, in call
return self.method(_args, *_kw)
File "/opt/odoo/odoo-server/openerp/http.py", line 402, in response_wrap
response = f(_args, *_kw)
File "/opt/odoo/odoo-server/addons/web/controllers/main.py", line 937, in call_kw
return self._call_kw(model, method, args, kwargs)
File "/opt/odoo/odoo-server/addons/web/controllers/main.py", line 929, in _call_kw
return getattr(request.registry.get(model), method)(request.cr, request.uid, _args, *_kwargs)
File "/opt/odoo/odoo-server/openerp/api.py", line 241, in wrapper
return old_api(self, _args, *_kwargs)
File "/opt/odoo/custom/addons/report_aeroo_direct_print/installer.py", line 83, in default_get
conn = cups.Connection()
RuntimeError: failed to connect to server
By the way I am Fabrice from the Odoo community
The text was updated successfully, but these errors were encountered: