So please call all your questions, issues and pull request on https://github.com/aeroo.
Thanks for all your help!
Kind Regards
Renzo
Aeroo Reports for Odoo / OpenERP v8
So please call all your questions, issues and pull request on https://github.com/aeroo.
Thanks for all your help!
Kind Regards
Renzo
It would good if show the system libs necesaries for installation: Example unohelp, ...
Installing LibreOffice headless with Ubuntu 14.04 works. But when I install the module report_aeroo, I get this error:
Traceback (most recent call last):
File "/opt/odoo/odoo-server/openerp/http.py", line 526, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/opt/odoo/odoo-server/openerp/http.py", line 563, in dispatch
result = self._call_function(*_self.params)
File "/opt/odoo/odoo-server/openerp/http.py", line 303, 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 300, in checked_call
return self.endpoint(_a, *_kw)
File "/opt/odoo/odoo-server/openerp/http.py", line 792, in call
return self.method(_args, *_kw)
File "/opt/odoo/odoo-server/openerp/http.py", line 396, in response_wrap
response = f(_args, *_kw)
File "/opt/odoo/odoo-server/addons/web/controllers/main.py", line 953, in call_button
action = self._call_kw(model, method, args, {})
File "/opt/odoo/odoo-server/addons/web/controllers/main.py", line 941, 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/odoo-server/openerp/addons/base/module/module.py", line 450, in button_immediate_install
return self._button_immediate_function(cr, uid, ids, self.button_install, context=context)
File "/opt/odoo/odoo-server/openerp/api.py", line 241, in wrapper
return old_api(self, _args, *_kwargs)
File "/opt/odoo/odoo-server/openerp/addons/base/module/module.py", line 498, in _button_immediate_function
registry = openerp.modules.registry.RegistryManager.new(cr.dbname, update_module=True)
File "/opt/odoo/odoo-server/openerp/modules/registry.py", line 366, in new
openerp.modules.load_modules(registry._db, force_demo, status, update_module)
File "/opt/odoo/odoo-server/openerp/modules/loading.py", line 355, in load_modules
loaded_modules, update_module)
File "/opt/odoo/odoo-server/openerp/modules/loading.py", line 255, in load_marked_modules
loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules, perform_checks=perform_checks)
File "/opt/odoo/odoo-server/openerp/modules/loading.py", line 152, in load_module_graph
models = registry.load(cr, package)
File "/opt/odoo/odoo-server/openerp/modules/registry.py", line 162, in load
model = cls._build_model(self, cr)
File "/opt/odoo/odoo-server/openerp/models.py", line 651, in _build_model
model.init(pool, cr)
File "/opt/odoo/custom/addons/report_aeroo/report_xml.py", line 729, in init
self._columns['report_type'].selection.append(('aeroo', 'Aeroo'))
KeyError: 'report_type'
Hi guys, First of all thank you all for contribute this modules for odoo v8, i installed this module 1 month ago, it worked fine at that time, but due to some changes in odoo repository, now aeroo reports are not working :(. i found some errors, like
Need some help. Managed to install aeroo on Odoo 8.
I refer to this code here shared here
http://www.alistek.com/forum/viewtopic.php?f=11&t=365%20str(o.order_line.index(line)+1)
my version
<for each="ol in o.order_line">
<str(o.order_line.index(ol)+1)>
</for>
When I upload this odt to Odoo 8 and run it, I got these errors
http://i.imgur.com/dW2mYVF.png
or
Aeroo Reports: Error while generating the report.
sale.order.line(16, 17, 18, 19) has no member named "index"
sale.order.line(16, 17, 18, 19) has no member named "index"
For more reference inspect error logs.
<type 'exceptions.Exception'>,Aeroo Reports: Error while generating the report.
sale.order.line(16, 17, 18, 19) has no member named "index"
sale.order.line(16, 17, 18, 19) has no member named "index"
For more reference inspect error logs.,<traceback object at 0x7f43259a4d40>
How should I generate the row number in a table the right way?
Any help? Thanks.
In add_print_button.py
def do_action(self, cr, uid, ids, context):
this = self.browse(cr, uid, ids[0], context=context)
report = self.pool.get(context['active_model']).browse(cr, uid, context['active_id'], context=context)
event_id = self.pool.get('ir.values').set_action(cr, uid, report.report_name, 'client_print_multi', report.model, 'ir.actions.report.xml,%d' % context['active_id'])
if report.report_wizard:
report._set_report_wizard(report.id)
this.write({'state':'done'}, context=context)
this: this.write({'state':'done'}, context=context) get error
[FIX] can change to :this.write({'state':'done'})
Traceback (most recent call last):
File "/opt/odoo/odoo-server/openerp/http.py", line 500, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/opt/odoo/odoo-server/openerp/http.py", line 517, in dispatch
result = self._call_function(**self.params)
File "/opt/odoo/odoo-server/openerp/http.py", line 283, 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 280, in checked_call
return self.endpoint(*a, **kw)
File "/opt/odoo/odoo-server/openerp/http.py", line 733, in __call__
return self.method(*args, **kw)
File "/opt/odoo/odoo-server/openerp/http.py", line 376, in response_wrap
response = f(*args, **kw)
File "/opt/odoo/odoo-server/addons/web/controllers/main.py", line 948, in call_button
action = self._call_kw(model, method, args, {})
File "/opt/odoo/odoo-server/addons/web/controllers/main.py", line 936, 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 237, in wrapper
return old_api(self, *args, **kwargs)
File "/opt/odoo/odoo-server/openerp/api.py", line 391, in old_api
result = new_api(recs, *args, **kwargs)
File "/opt/odoo/odoo-server/openerp/api.py", line 395, in new_api
result = [method(rec, *args, **kwargs) for rec in self]
File "/opt/odoo/odoo-server/openerp/addons/base/module/wizard/base_module_update.py", line 15, in update_module
self.updated, self.added = self.env['ir.module.module'].update_list()
File "/opt/odoo/odoo-server/openerp/api.py", line 235, in wrapper
return new_api(self, *args, **kwargs)
File "/opt/odoo/odoo-server/openerp/api.py", line 464, in new_api
result = method(self._model, cr, uid, *args, **kwargs)
File "/opt/odoo/odoo-server/openerp/addons/base/module/module.py", line 654, in update_list
handler.load_addons()
File "/opt/odoo/odoo-server/openerp/http.py", line 1233, in load_addons
m = __import__('openerp.addons.' + module)
File "/opt/odoo/odoo-server/openerp/modules/module.py", line 77, in load_module
mod = imp.load_module('openerp.addons.' + module_part, f, path, descr)
File "/opt/odoo/custom/addons/report_aeroo/__init__.py", line 49, in <module>
import wizard
File "/opt/odoo/custom/addons/report_aeroo/wizard/__init__.py", line 34, in <module>
import report_print_actions
File "/opt/odoo/custom/addons/report_aeroo/wizard/report_print_actions.py", line 38, in <module>
class report_print_actions(osv.osv_memory):
File "/opt/odoo/odoo-server/openerp/models.py", line 243, in __init__
setattr(self, name, column.to_field())
File "/opt/odoo/odoo-server/openerp/osv/fields.py", line 131, in to_field
return Field.by_type[self._type](**self.to_field_args())
KeyError: 'serialized'
any ideas?
Hello,
I can get your code working with latest v8 version. I'm getting:
No module named unohelper
No module named com.sun.star.beans
No module named com.sun.star.uno
No module named com.sun.star.connection
No module named com.sun.star.beans
No module named com.sun.star.lang
No module named com.sun.star.io
No module named com.sun.star.io
Any hints?
Title says all - is this version from the master branch working with Odoo9?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.