We are using Odoo 9 community at present which is running on a ubuntu 14.04 server.
I am in the process of getting aeroo reports running on Odoo community V9.
I have currently installed the scripts provided by yenthe666 at github and also installed his ported report_aeroo module into odoo. The addon has been installed however when i configure to work with aeroo docs, i get the success message, however when i click finish something doesn't work and i am sent to the odoo.com log in page asking me to log in to install applications.
I also get a traceback error when i try and install the Aeroo reports - direct printing to printing module.
What could be the cause of this?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project management
- MRP
This question has been flagged
Hi FTK,
Thanks for your response,
Odoo Server ErrorTraceback (most recent call last):File "/odoo/odoo-server/openerp/http.py", line 643, in _handle_exceptionreturn super(JsonRequest, self)._handle_exception(exception)File "/odoo/odoo-server/openerp/http.py", line 680, in dispatchresult = self._call_function(**self.params)File "/odoo/odoo-server/openerp/http.py", line 316, in _call_functionreturn checked_call(self.db, *args, **kwargs)File "/odoo/odoo-server/openerp/service/model.py", line 118, in wrapperreturn f(dbname, *args, **kwargs)File "/odoo/odoo-server/openerp/http.py", line 309, in checked_callresult = self.endpoint(*a, **kw)File "/odoo/odoo-server/openerp/http.py", line 959, in __call__return self.method(*args, **kw)File "/odoo/odoo-server/openerp/http.py", line 509, in response_wrapresponse = f(*args, **kw)File "/odoo/odoo-server/addons/web/controllers/main.py", line 896, in call_buttonaction = self._call_kw(model, method, args, {})File "/odoo/odoo-server/addons/web/controllers/main.py", line 884, in _call_kwreturn getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs)File "/odoo/odoo-server/openerp/api.py", line 238, in wrapperreturn old_api(self, *args, **kwargs)File "/odoo/odoo-server/openerp/addons/base/module/module.py", line 459, in button_immediate_installreturn self._button_immediate_function(cr, uid, ids, self.button_install, context=context)File "/odoo/odoo-server/openerp/api.py", line 238, in wrapperreturn old_api(self, *args, **kwargs)File "/odoo/odoo-server/openerp/addons/base/module/module.py", line 533, in _button_immediate_functionregistry = openerp.modules.registry.RegistryManager.new(cr.dbname, update_module=True)File "/odoo/odoo-server/openerp/modules/registry.py", line 385, in newopenerp.modules.load_modules(registry._db, force_demo, status, update_module)File "/odoo/odoo-server/openerp/modules/loading.py", line 338, in load_modulesloaded_modules, update_module)File "/odoo/odoo-server/openerp/modules/loading.py", line 237, in load_marked_modulesloaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules, perform_checks=perform_checks)File "/odoo/odoo-server/openerp/modules/loading.py", line 156, in load_module_graph_load_data(cr, module_name, idref, mode, kind='data')File "/odoo/odoo-server/openerp/modules/loading.py", line 98, in _load_datatools.convert_file(cr, module_name, filename, idref, mode, noupdate, kind, report)File "/odoo/odoo-server/openerp/tools/convert.py", line 852, in convert_fileconvert_xml_import(cr, module, fp, idref, mode, noupdate, report)File "/odoo/odoo-server/openerp/tools/convert.py", line 939, in convert_xml_importobj.parse(doc.getroot(), mode=mode)File "/odoo/odoo-server/openerp/tools/convert.py", line 802, in parseself.parse(rec, mode)File "/odoo/odoo-server/openerp/tools/convert.py", line 805, in parseself._tags[rec.tag](self.cr, rec, de, mode=mode)File "/odoo/odoo-server/openerp/tools/convert.py", line 709, in _tag_recordid = self.pool['ir.model.data']._update(cr, self.uid, rec_model, self.module, res, rec_id or False, not self.isnoupdate(data_node), noupdate=self.isnoupdate(data_node), mode=self.mode, context=rec_context )File "/odoo/odoo-server/openerp/api.py", line 238, in wrapperreturn old_api(self, *args, **kwargs)File "/odoo/odoo-server/openerp/addons/base/ir/ir_model.py", line 1101, in _updateres_id = model_obj.create(cr, uid, values, context=context)File "/odoo/odoo-server/openerp/api.py", line 238, in wrapperreturn old_api(self, *args, **kwargs)File "/odoo/odoo-server/openerp/addons/base/ir/ir_ui_view.py", line 351, in createcontext=context)File "/odoo/odoo-server/openerp/api.py", line 238, in wrapperreturn old_api(self, *args, **kwargs)File "/odoo/odoo-server/openerp/api.py", line 342, in old_apiresult = method(recs, *args, **kwargs)File "/odoo/odoo-server/openerp/models.py", line 4132, in createrecord = self.browse(self._create(old_vals))File "/odoo/odoo-server/openerp/api.py", line 236, in wrapperreturn new_api(self, *args, **kwargs)File "/odoo/odoo-server/openerp/api.py", line 478, in new_apiresult = method(self._model, cr, uid, *args, **old_kwargs)File "/odoo/odoo-server/openerp/models.py", line 4323, in _createrecs._validate_fields(vals)File "/odoo/odoo-server/openerp/api.py", line 236, in wrapperreturn new_api(self, *args, **kwargs)File "/odoo/odoo-server/openerp/models.py", line 1272, in _validate_fieldsraise ValidationError('\n'.join(errors))ParseError: "Invalid view definitionError details:View inheritance may not use attribute 'string' as a selector.Error context:View aeroo_printer.installer.view[view_id: 1574, xml_id: n/a, model: aeroo_printer.installer, parent_id: 3]None" while parsing /odoo/odoo-server/addons/report_aeroo_direct_print/installer.xml:4, near<record id="view_aeroo_printer_installer" model="ir.ui.view"><field name="name">aeroo_printer.installer.view</field><field name="model">aeroo_printer.installer</field><field name="inherit_id" ref="base.res_config_installer"/><field name="arch" type="xml"><data><form position="attributes"><attribute name="string">Install New Printers</attribute></form><footer position="replace"><footer><button name="process" type="object" string="Install" class="oe_highlight" states="init"/><button name="action_next" type="object" string="Continue" class="oe_highlight" states="done"/>or<button special="cancel" string="Close" class="oe_link"/></footer></footer><separator string="title" position="replace"><p class="oe_grey">Here you can connect printers for Aeroo direct print to printer.</p><group><group width="25%%"><field name="config_logo" widget="image" nolabel="1" colspan="2"/></group><group width="75%%"><group states="init"><field name="printer_ids" colspan="4" nolabel="1" readonly="1"/></group><group colspan="4" states="done"><label string="New printers has been connected for Aeroo printing." colspan="4"/></group><newline/><field name="state" invisible="1"/></group></group></separator></data></field></record>
Many Thanks
Liam
Did you still get errors ? You have to change xml's file where you get error. In you example, it's "/report_aeroo_direct_print/installer.xml".
The problem is inherit modification, for example <separator string="title" position="replace"> : you can't use string identification, you should always use name.
Now you have to adapt the script to work: to help you, check "/addons/account/views/account_view.xml" and the record "view_wizard_multi_chart".
Regards
Hello Liam,
Can you post an extract of your log when you get that error ?
Regards,
FTK
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up