Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 510948 - app-office/openerp - OpenERP is now called Odoo
Summary: app-office/openerp - OpenERP is now called Odoo
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Yixun Lan
URL: https://www.odoo.com/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-21 14:44 UTC by Vicente Jiménez Aguilar
Modified: 2018-11-07 12:20 UTC (History)
6 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
odoo-8.0.0.ebuild (odoo-8.0.0.ebuild,4.10 KB, application/x-extension-ebuild)
2014-10-22 20:00 UTC, Martin Andres Gomez Gimenez
Details
files/odoo (odoo,528 bytes, text/plain)
2014-10-22 20:03 UTC, Martin Andres Gomez Gimenez
Details
files/odoo.cfg (odoo.cfg,1.00 KB, text/plain)
2014-10-22 20:05 UTC, Martin Andres Gomez Gimenez
Details
files/odoo.confd (odoo.confd,73 bytes, text/plain)
2014-10-22 20:06 UTC, Martin Andres Gomez Gimenez
Details
files/odoo.logrotate (odoo.logrotate,213 bytes, text/plain)
2014-10-22 20:08 UTC, Martin Andres Gomez Gimenez
Details
ebuild (file_510948.txt,4.22 KB, text/plain)
2015-05-12 01:39 UTC, A. Person
Details
files/odoo (file_510948.txt,552 bytes, text/plain)
2015-05-12 01:42 UTC, A. Person
Details
files/odoo.cfg (file_510948.txt,1.06 KB, text/plain)
2015-05-12 01:43 UTC, A. Person
Details
files/odoo.confd (file_510948.txt,74 bytes, text/plain)
2015-05-12 01:44 UTC, A. Person
Details
files/odoo.logrotate (file_510948.txt,222 bytes, text/plain)
2015-05-12 01:45 UTC, A. Person
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vicente Jiménez Aguilar 2014-05-21 14:44:20 UTC
OpenERP is now called Odoo

This could be a simple change of ebuild's name but they have also changed development source code reference.

Before development was done on launchpad and a daily source tarball was available at http://nightly.openerp.com/trunk/nightly/src/.

Now code is hosted at GitHub so maybe future source code downloads will be only available at GitHub.

Reproducible: Always
Comment 1 Vicente Jiménez Aguilar 2014-05-21 14:57:22 UTC
I suggest to keep using OpenERP name on current ebuilds and only start using the new Odoo name for the masked development version 8.
Comment 2 A. Person 2014-06-11 14:05:35 UTC
The last v8 tarball was posted on 4/17.  It looks like there won't be any more of those so we need a git ebuild for v8.  I posted some info on getting instant messaging working (which is a v8-only feature) here:

https://bugs.gentoo.org/show_bug.cgi?id=499238

I tried using the 4/17 tarball and I get various runtime errors (although things seem to be useable) so I'm not sure it's production-ready.  One key change made sometime between 2/23 and 4/17 is that the openerp-server process needs to create ~/.local/share/OpenERP/.  The openerp user created by the ebuild has the HOME dir set to /dev/null so starting openerp-server fails with a /dev/null/.local error.  Setting a real HOME dir for that user fixes it.
Comment 3 Mathy Vanvoorden 2014-08-07 11:56:20 UTC
FYI: I tried using a newer 7.0 tarball:

* cp openerp-7.0.20140125.ebuild openerp-7.0.20140804.ebuild
* Changed FNAME="${PN}-${MY_PV}-231303" in the ebuild

Installed like a charm, still have to do thorough testing though.
Comment 4 Mathy Vanvoorden 2014-08-07 11:57:24 UTC
Also, it looks like they have 8.0rc1 nightlies available:

http://nightly.openerp.com/8.0/nightly/src/
Comment 5 Martin Andres Gomez Gimenez 2014-10-22 20:00:22 UTC
Created attachment 387226 [details]
odoo-8.0.0.ebuild

Odoo ebuild to install from GitHub, using the tag 8.0.0.
Comment 6 Martin Andres Gomez Gimenez 2014-10-22 20:03:47 UTC
Created attachment 387230 [details]
files/odoo

/etc/init.d/odoo script
Comment 7 Martin Andres Gomez Gimenez 2014-10-22 20:05:10 UTC
Created attachment 387232 [details]
files/odoo.cfg

/etc/odoo/odoo.cfg configuration file.
Comment 8 Martin Andres Gomez Gimenez 2014-10-22 20:06:55 UTC
Created attachment 387234 [details]
files/odoo.confd

/etc/conf.d/odoo configuration file.
Comment 9 Martin Andres Gomez Gimenez 2014-10-22 20:08:19 UTC
Created attachment 387236 [details]
files/odoo.logrotate

/etc/logrotate.d/odoo file for logrotate.
Comment 10 Hedin Ejdesgaard Møller 2014-10-25 21:29:15 UTC
I just tested this ebuild and I found a few minor issues.

The init script tries to start odoo-server, but the executable is still called openerp-server

I also had some problems getting odoo and postgres to communicate, but i'm not sure if it was a postgres or odoo problem, because i'm not familiar with postgres. (I got around the problem by creating a postgres user named 'odoo' and assigning 'superuser' permissions.

To reproduce it:
1. Download the ebuild and associated files in this ticket.
2. Emerge odoo with out of the box settings (you have to edit keywords and use flags.
3. Run emerge --config on postgresql-9.3 and afterwards on odoo.
4. Edit the init script as described above.
5. Service odoo start && tail -n 20 -f /var/log/odoo/odoo-server.log
Comment 11 Vladimir Datsevich 2014-12-16 21:39:32 UTC
Are there any news on this?

Will gentoo get any odoo-8 ebuilds in portage?
Comment 12 Yixun Lan archtester gentoo-dev 2014-12-19 13:41:27 UTC
sorry, I'm not using openerp myself anymore, and it's a rather complicated ebuild.
so if there is anyone willing to step up to help maintain this, I'd be happy to  proxy it. see [1], thanks

[1] http://wiki.gentoo.org/wiki/Project:Proxy_Maintainers
Comment 13 Vladimir Datsevich 2014-12-23 22:27:19 UTC
Hey,

I took the files attached here in this bug and changed the problem with odoo-server/openerp-server: they seem to work.


So, a tlast until the nex release they seem to be "stable" enough - at least I had no problems with them...

I could maintain the ebauilds until the 9er version, yet I have no clue wht and how to do that....
Comment 14 A. Person 2015-05-12 01:32:28 UTC
Odoo 8.0 has been stable since 9/18/2014:

https://www.odoo.com/forum/help-1/question/2014-09-18-final-version-released-release-date-of-odoo-8-stable-version-on-github-56109

I made some changes to the previously-attached files and everything is working well with the latest 8.0 nightly.  I had the same problem described by Hedin above so I changed the ebuild to create the new database user as a superuser.  Be sure to edit /etc/odoo/odoo.cfg and at least change db_password so the database user you created with emerge --config can connect.

I will attach all of the updated files which should work out of the box.
Comment 15 A. Person 2015-05-12 01:39:49 UTC
Created attachment 403084 [details]
ebuild

odoo-8.0.20150511.ebuild
Comment 16 A. Person 2015-05-12 01:42:29 UTC
Created attachment 403086 [details]
files/odoo
Comment 17 A. Person 2015-05-12 01:43:37 UTC
Created attachment 403088 [details]
files/odoo.cfg
Comment 18 A. Person 2015-05-12 01:44:27 UTC
Created attachment 403090 [details]
files/odoo.confd
Comment 19 A. Person 2015-05-12 01:45:25 UTC
Created attachment 403092 [details]
files/odoo.logrotate
Comment 20 Yixun Lan archtester gentoo-dev 2015-05-15 05:36:04 UTC
(In reply to A. Person from comment #19)

as I and patrick are not on this package, so I'd ask would you like to maintain this ebuild (via @proxy-maint), see my comment #12
Comment 21 A. Person 2015-05-15 13:49:48 UTC
Yixun, I'm willing to try.
Comment 22 Thomas Capricelli 2015-11-08 22:04:09 UTC
It's been a long time since the name change has occured. And still, there are updated packages for openerp in portage (last on in august it seems). Isn't that weird ??
Comment 23 zasire 2016-03-20 12:55:36 UTC
Any progress on this? There is version 9 out there already. Thanks
Comment 24 Harold Anderson 2016-09-29 15:53:45 UTC
I have written an ebuild for Odoo 9.0c.  It is in my overlay hnaparst.