[Openerp-community] esale_joomla installation:

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

[Openerp-community] esale_joomla installation:

Jan Schorn
Dear all:
I can't install esales_joomla 6.0.1.0 in the actual debian package
version of OpenErp due to a ValueError error (No references to
sale.menu_sale_root).
Thanks in adance for any ideas how to resolve this!!
Jan



Traceback (most recent call last):
  File "/usr/share/pyshared/openerp-server/netsvc.py", line 489, in dispatch
    result = ExportService.getService(service_name).dispatch(method,
auth, params)
  File "/usr/share/pyshared/openerp-server/service/web_services.py",
line 599, in dispatch
    res = fn(db, uid, *params)
  File "/usr/share/pyshared/openerp-server/osv/osv.py", line 122, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/usr/share/pyshared/openerp-server/osv/osv.py", line 176, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/usr/share/pyshared/openerp-server/osv/osv.py", line 167, in
execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File
"/usr/lib/pymodules/python2.6/openerp-server/addons/base/module/wizard/base_module_upgrade.py",
line 98, in upgrade_module
    _db, pool = pooler.restart_pool(cr.dbname, update_module=True)
  File "/usr/share/pyshared/openerp-server/pooler.py", line 60, in
restart_pool
    return get_db_and_pool(db_name, force_demo, status,
update_module=update_module)
  File "/usr/share/pyshared/openerp-server/pooler.py", line 39, in
get_db_and_pool
    addons.load_modules(db, force_demo, status, update_module)
  File "/usr/share/pyshared/openerp-server/addons/__init__.py", line
883, in load_modules
    processed_modules.extend(load_module_graph(cr, graph, status,
report=report, skip_modules=processed_modules))
  File "/usr/share/pyshared/openerp-server/addons/__init__.py", line
748, in load_module_graph
    load_init_update_xml(cr, m, idref, mode, kind)
  File "/usr/share/pyshared/openerp-server/addons/__init__.py", line
641, in load_init_update_xml
    tools.convert_xml_import(cr, m, fp, idref, mode=mode, **kwargs)
  File "/usr/share/pyshared/openerp-server/tools/convert.py", line 975,
in convert_xml_import
    obj.parse(doc.getroot())
  File "/usr/share/pyshared/openerp-server/tools/convert.py", line 865,
in parse
    self._tags[rec.tag](self.cr, rec, n)
  File "/usr/share/pyshared/openerp-server/tools/convert.py", line 586,
in _tag_menuitem
    menu_parent_id = self.id_get(cr, rec.get('parent',''))
  File "/usr/share/pyshared/openerp-server/tools/convert.py", line 842,
in id_get
    res = self.model_id_get(cr, id_str)
  File "/usr/share/pyshared/openerp-server/tools/convert.py", line 851,
in model_id_get
    return model_data_obj.get_object_reference(cr, self.uid, mod, id_str)
  File "/usr/share/pyshared/openerp-server/tools/misc.py", line 823, in
cached_result
    result2 = fn(self2, cr, *args[:self.skiparg-2], **kwargs2)
  File
"/usr/lib/pymodules/python2.6/openerp-server/addons/base/ir/ir_model.py", line
609, in get_object_reference
    data_id = self._get_id(cr, uid, module, xml_id)
  File "/usr/share/pyshared/openerp-server/tools/misc.py", line 823, in
cached_result
    result2 = fn(self2, cr, *args[:self.skiparg-2], **kwargs2)
  File
"/usr/lib/pymodules/python2.6/openerp-server/addons/base/ir/ir_model.py", line
602, in _get_id
    raise ValueError('No references to %s.%s' % (module, xml_id))
ValueError: No references to sale.menu_sale_root

_______________________________________________
Mailing list: https://launchpad.net/~openerp-community
Post to     : [hidden email]
Unsubscribe : https://launchpad.net/~openerp-community
More help   : https://help.launchpad.net/ListHelp
Reply | Threaded
Open this post in threaded view
|

Re: [Openerp-community] esale_joomla installation:

Stefan Rijnhart (Therp)
On 01/13/2012 01:20 PM, Jan Schorn wrote:
> Dear all:
> I can't install esales_joomla 6.0.1.0 in the actual debian package
> version of OpenErp due to a ValueError error (No references to
> sale.menu_sale_root).
> Thanks in adance for any ideas how to resolve this!!
> Jan

Hi Jan,

Get the module from here:

https://code.launchpad.net/~openerp-community/openobject-addons/extra-trunk-esale_joomla

Daniel Stenlöv has been updating it over the last couple of days.

Cheers,
Stefan.


--
Therp - Maatwerk in open ontwikkeling

Stefan Rijnhart - Ontwerp en implementatie

mail: [hidden email]
tel: +31 (0) 614478606
http://therp.nl
https://twitter.com/therp_stefan


_______________________________________________
Mailing list: https://launchpad.net/~openerp-community
Post to     : [hidden email]
Unsubscribe : https://launchpad.net/~openerp-community
More help   : https://help.launchpad.net/ListHelp
Reply | Threaded
Open this post in threaded view
|

Re: [Openerp-community] esale_joomla installation:

Stefan Rijnhart (Therp)
On 01/13/2012 04:24 PM, Daniel Stenlöv wrote:

> Hi Jan and Stefan.
>
> I'm working on a new wizard for the esale_joomla module (it should
> really be called esale_virtuemart, since there are more then one
> eSales solution for joomla) and I'm writing a new plugin for
> ViruteMart. The Plugin should be ready on Monday and the wizard is
> actually ready, but untested and will do it on monday.
>
> The files will be uploaded to
> https://code.launchpad.net/~openerp-community/openobject-addons/extra-trunk-esale_joomla.
> I hope it will later be moved into the extra-trunk. The esale_joomla
> does really need to be updated.
>

Hi Daniel,

your work is much appreciated! How do you feel about starting up a small
community project on launchpad for this particular module with
team+mailinglist, bugs, branches, answers and translations? We can merge
with extra-addons from there, or simply add such a LP project to the
apps site and remove the module from extra-addons altogether.

Cheers,
Stefan.


> But the files I have modified should work for now. I haven't tested
> all features yet. I have only tested the import features, so far.
> There is a small warning. The vm database tables prefix need to be set
> to vm (default), if not the old plugin included will not work. You can
> wait for the plugin I'm writing and it should solve the issue. I have
> corrected the old plugin, so you can select any prefix for the joomla
> database tables.
>
> The new wizard will make it possible to import products from a
> VirtueMart 1.5 system, so you can map it up against the OpenERP
> products. Now the mapping isn't really good and I hope the added
> wizard will make it alot easier to setup a already running VirtueMart
> with a OpenERP.
>
> I'm also going to change the tree view for the web product categories
> menu, but I think I will do that later.
>
> Remember to pack the connector included into a zip file and install it
> in the joomla backend. I hope this helps. To update your installation
> Jan, just copy the trunk files over the files in your addons directory
> and do a "update/install" in OpenERP.
>
> Have a nice weekend.
> /Best wishes, Daniel

--
Therp - Maatwerk in open ontwikkeling

Stefan Rijnhart - Ontwerp en implementatie

mail: [hidden email]
tel: +31 (0) 614478606
http://therp.nl
https://twitter.com/therp_stefan


_______________________________________________
Mailing list: https://launchpad.net/~openerp-community
Post to     : [hidden email]
Unsubscribe : https://launchpad.net/~openerp-community
More help   : https://help.launchpad.net/ListHelp
Reply | Threaded
Open this post in threaded view
|

Re: [Openerp-community] esale_joomla installation:

Jan Schorn
Hi Stefan and Daniel,
thanks a lot for your fast answer and the informations related with
ViruteMart Plugin Project!
Jan

El 13/01/12 16:24, Stefan Rijnhart escribió:

> On 01/13/2012 04:24 PM, Daniel Stenlöv wrote:
>> Hi Jan and Stefan.
>>
>> I'm working on a new wizard for the esale_joomla module (it should
>> really be called esale_virtuemart, since there are more then one
>> eSales solution for joomla) and I'm writing a new plugin for
>> ViruteMart. The Plugin should be ready on Monday and the wizard is
>> actually ready, but untested and will do it on monday.
>>
>> The files will be uploaded to
>> https://code.launchpad.net/~openerp-community/openobject-addons/extra-trunk-esale_joomla.
>> I hope it will later be moved into the extra-trunk. The esale_joomla
>> does really need to be updated.
>>
>
> Hi Daniel,
>
> your work is much appreciated! How do you feel about starting up a
> small community project on launchpad for this particular module with
> team+mailinglist, bugs, branches, answers and translations? We can
> merge with extra-addons from there, or simply add such a LP project to
> the apps site and remove the module from extra-addons altogether.
>
> Cheers,
> Stefan.
>
>
>> But the files I have modified should work for now. I haven't tested
>> all features yet. I have only tested the import features, so far.
>> There is a small warning. The vm database tables prefix need to be
>> set to vm (default), if not the old plugin included will not work.
>> You can wait for the plugin I'm writing and it should solve the
>> issue. I have corrected the old plugin, so you can select any prefix
>> for the joomla database tables.
>>
>> The new wizard will make it possible to import products from a
>> VirtueMart 1.5 system, so you can map it up against the OpenERP
>> products. Now the mapping isn't really good and I hope the added
>> wizard will make it alot easier to setup a already running VirtueMart
>> with a OpenERP.
>>
>> I'm also going to change the tree view for the web product categories
>> menu, but I think I will do that later.
>>
>> Remember to pack the connector included into a zip file and install
>> it in the joomla backend. I hope this helps. To update your
>> installation Jan, just copy the trunk files over the files in your
>> addons directory and do a "update/install" in OpenERP.
>>
>> Have a nice weekend.
>> /Best wishes, Daniel
>

--
Jan Schorn
cenIT the geo company SLNE
www.cgeo.eu

Este mensaje y los ficheros anexos son confidenciales. Los mismos contienen información reservada que no puede ser difundida. Si usted ha recibido este correo por error, tenga la amabilidad de eliminarlo de su sistema y avisar al remitente mediante reenvío a su dirección electrónica; no deberá copiar el mensaje ni divulgar su contenido a ninguna persona.
Su dirección de correo electrónica junto con sus datos personales constan en un fichero titularidad de cenIT the geo company, SLNE. cuya finalidad es la de mantener el contacto con usted. Si quiere saber de qué información disponemos de usted, modificarla, y, en su caso, cancelarla, puede hacerlo enviando un escrito al efecto, acompañado de una fotocopia de su DNI a la siguiente dirección: cenIT the geo company SLNE, calle Jardina, 25, 38293, La Laguna.
Asimismo es su responsabilidad comprobar que este mensaje o sus archivos adjuntos no contengan virus informático.


_______________________________________________
Mailing list: https://launchpad.net/~openerp-community
Post to     : [hidden email]
Unsubscribe : https://launchpad.net/~openerp-community
More help   : https://help.launchpad.net/ListHelp
Reply | Threaded
Open this post in threaded view
|

Re: [Openerp-community] esale_joomla installation:

eLBatti
In reply to this post by Stefan Rijnhart (Therp)
2012/1/13 Stefan Rijnhart <[hidden email]>:
>
> Hi Daniel,
>
> your work is much appreciated! How do you feel about starting up a small
> community project on launchpad for this particular module with
> team+mailinglist, bugs, branches, answers and translations? We can merge
> with extra-addons from there, or simply add such a LP project to the apps
> site and remove the module from extra-addons altogether.

I support this option, as it would also avoid problems like this
https://lists.launchpad.net/openerp-community/msg00314.html

Daniel, the __openerp__.py is missing:
http://bazaar.launchpad.net/~openerp-community/openobject-addons/extra-trunk-esale_joomla/files/4662/esale_joomla/


--
Lorenzo Battistini
http://planet.domsense.com/en/author/elbati/

_______________________________________________
Mailing list: https://launchpad.net/~openerp-community
Post to     : [hidden email]
Unsubscribe : https://launchpad.net/~openerp-community
More help   : https://help.launchpad.net/ListHelp
Reply | Threaded
Open this post in threaded view
|

Re: [Openerp-community] esale_joomla installation:

eLBatti
2012/1/14 Daniel Stenlöv <[hidden email]>:
> Ok I will send it up on monday when I do got access to the server. It should
> have been included but something might have gone wrong.

Hello Daniel,
about https://launchpad.net/openobjects-esale , don't you think it's
better if we use the 'eSale Joomla' team as owner of the branches?

_______________________________________________
Mailing list: https://launchpad.net/~openerp-community
Post to     : [hidden email]
Unsubscribe : https://launchpad.net/~openerp-community
More help   : https://help.launchpad.net/ListHelp