[Openerp-community] OpenERP on Solaris
Hello all. Just a very quick question -- can OpenERP 7 run on Solaris? A definitive 'yes' or 'no' would be great. I haven't found anything on this on the net thus far. If anyone on the mailing list has gone down this path before, I will very much appreciate any pointers, help, resources, etc. they could share with me. I'll do the same if anyone is interested. Thanks in advance. Sam ___ Mailing list: https://launchpad.net/~openerp-community Post to : openerp-community@lists.launchpad.net Unsubscribe : https://launchpad.net/~openerp-community More help : https://help.launchpad.net/ListHelp
Re: [Openerp-community] OpenERP on Solaris
Hi Samir, As OpenERP is no more than running a python program, it should work normally, but here we tried to run OpenERP on RedHat and we got a problem with the Python 2.7 distribution, kind of a bug, as it wasn't supported a 4 level imbricated if. To make it run on RedHat we had to take the 2.6.x python version. Anyway it wasn't due to OpenERP. Things that you should take into account is to be sure that you have all the python dependencies that OpenERP will need to run on Solaris. And before make running anything on production ask OpenERP if the Entreprise support contract will support OpenERP on solaris otherwise you will be on your own. Kind regards, Houssine 2012/12/12 Samir Mishra s...@utmi.in Hello all. Just a very quick question -- can OpenERP 7 run on Solaris? A definitive 'yes' or 'no' would be great. I haven't found anything on this on the net thus far. If anyone on the mailing list has gone down this path before, I will very much appreciate any pointers, help, resources, etc. they could share with me. I'll do the same if anyone is interested. Thanks in advance. Sam ___ Mailing list: https://launchpad.net/~openerp-community Post to : openerp-community@lists.launchpad.net Unsubscribe : https://launchpad.net/~openerp-community More help : https://help.launchpad.net/ListHelp ___ Mailing list: https://launchpad.net/~openerp-community Post to : openerp-community@lists.launchpad.net Unsubscribe : https://launchpad.net/~openerp-community More help : https://help.launchpad.net/ListHelp
Re: [Openerp-community] OpenERP on Solaris
Hello Alexandre. I've been able to install/compile all of the python dependencies listed in the setup.py file of openerp-server, all except python-psutil, which does not support Solaris. How important is this module to OpenERP? Rgds. On 12 December 2012 16:23, Alexandre Fayolle alexandre.fayo...@camptocamp.com wrote: On mer. 12 déc. 2012 11:46:40 CET, Samir Mishra wrote: Hello all. Just a very quick question -- can OpenERP 7 run on Solaris? A definitive 'yes' or 'no' would be great. I haven't found anything on this on the net thus far. If anyone on the mailing list has gone down this path before, I will very much appreciate any pointers, help, resources, etc. they could share with me. I'll do the same if anyone is interested. There is nothing which prevents it, AFAIK: Postgresql runs on Solaris, and so do all the major dependencies. The Python code in OERP does not seem to be doing weird level stuff, so it should run on any POSIX-compliant platform. So I'm tempted to say yes (with 90% confidence ;-) ). This does not mean that getting all the dependencies right will be a breeze, and you may need to recompile stuff manually. -- Alexandre Fayolle Chef de Projet Tel : + 33 (0)4 79 26 57 94 Camptocamp France SAS Savoie Technolac, BP 352 73377 Le Bourget du Lac Cedex http://www.camptocamp.com ___ Mailing list: https://launchpad.net/~openerp-community Post to : openerp-community@lists.launchpad.net Unsubscribe : https://launchpad.net/~openerp-community More help : https://help.launchpad.net/ListHelp
Re: [Openerp-community] OpenERP on Solaris
On 12/12/2012 12:05 PM, Samir Mishra wrote: Hello Alexandre. I've been able to install/compile all of the python dependencies listed in the setup.py file of openerp-server, all except python-psutil, which does not support Solaris. How important is this module to OpenERP? Hi Samir, It seems only to be used here, to read the memory used by the workers. http://bazaar.launchpad.net/~openerp/openobject-server/trunk/view/head:/openerp/service/workers.py#L256 Should be doable to get this to work on Solaris. A quick google search turned up this for example: http://packages.python.org/Pympler/library/process.html Cheers, Stefan. -- Therp - Maatwerk in open ontwikkeling Stefan Rijnhart - Ontwerp en implementatie mail: ste...@therp.nl tel: +31 (0) 614478606 http://therp.nl https://twitter.com/therp_stefan ___ Mailing list: https://launchpad.net/~openerp-community Post to : openerp-community@lists.launchpad.net Unsubscribe : https://launchpad.net/~openerp-community More help : https://help.launchpad.net/ListHelp
[Openerp-community] facebook intergration OpenERP 7.0
Hi Could anybody help me with information on how to integrate Facebook Login with OpenERP 7.0. Thanks Dev ___ Mailing list: https://launchpad.net/~openerp-community Post to : openerp-community@lists.launchpad.net Unsubscribe : https://launchpad.net/~openerp-community More help : https://help.launchpad.net/ListHelp
Re: [Openerp-community] facebook intergration OpenERP 7.0
Le 12/12/2012 12:36, dev data a écrit : Hi Could anybody help me with information on how to integrate Facebook Login with OpenERP 7.0. Thanks Dev ___ Mailing list: https://launchpad.net/~openerp-community Post to : openerp-community@lists.launchpad.net Unsubscribe : https://launchpad.net/~openerp-community More help : https://help.launchpad.net/ListHelp Hi, Maybe you could use the module 'auth_oauth' with the OAuth Facebook provider. Regards, Quentin ___ Mailing list: https://launchpad.net/~openerp-community Post to : openerp-community@lists.launchpad.net Unsubscribe : https://launchpad.net/~openerp-community More help : https://help.launchpad.net/ListHelp
Re: [Openerp-community] facebook intergration OpenERP 7.0
Thanks Quentin I have configured that with the API information that I received from facebook, but it does not seem to work. How do I test it, does anyone have a working example or video? Regards On 12/12/2012 15:04, Quentin THEURET wrote: Le 12/12/2012 12:36, dev data a écrit : Hi Could anybody help me with information on how to integrate Facebook Login with OpenERP 7.0. Thanks Dev ___ Mailing list: https://launchpad.net/~openerp-community Post to : openerp-community@lists.launchpad.net Unsubscribe : https://launchpad.net/~openerp-community More help : https://help.launchpad.net/ListHelp Hi, Maybe you could use the module 'auth_oauth' with the OAuth Facebook provider. Regards, Quentin ___ Mailing list: https://launchpad.net/~openerp-community Post to : openerp-community@lists.launchpad.net Unsubscribe : https://launchpad.net/~openerp-community More help : https://help.launchpad.net/ListHelp ___ Mailing list: https://launchpad.net/~openerp-community Post to : openerp-community@lists.launchpad.net Unsubscribe : https://launchpad.net/~openerp-community More help : https://help.launchpad.net/ListHelp
Re: [Openerp-community] Multi-localization
Hi Eric For salling between company we have some prototype on it, I will push it next week and send you an email (and also to community). Hi Niels Yes handled automatically the view is cool, and I tryed to did the same thing for the method, but it's not so easy :( Indeed when the method have for args something like cr, uid, ids it's easy but sometime method can have specific arguments. In this case it's really hard et in some case impossible to test automatically the method. This is why I think we have to use a volunteering process in order to keep the posibility to use method with specific arguments and so specific testing, what do you think? Regarding the solution with a decorator. In my first POC (not the version push) I try to used a python decorator for all generic method (method starting by cr, uid, ids) The idea was to use the decorator : @only_for_module('module_name') and using it like that : @only_for_module('module_name') def ma_method_overwrited(self, cr, uid, ids, ): instead of : def ma_method_overwrited(self, cr, uid, ids, ): if self._check_module_allowed(...) else: return super(...) I finally chose the solution with self._check_module_allowed(..) in order to force the developper to take care about the args of the method, but we can change and use a decorator instead. Here my first prototype with a decorator, it's work but maybe it's not so clean === from osv import osv import functools def only_for_module(module): This decorator will check if the func of the current module should be apply for the current company def decorator(func): @functools.wraps(func) def wrapped(self, cr, uid, ids, *args, **kwargs): context = kwargs.get('context') if 'company_id' in self._columns: current_object = self.browse(cr, uid, ids[0], context=context) exclude = current_object.company_id.check_exclude_module(module, context=context) else: user = self.pool.get('res.users').browse(cr, uid, uid, context=context) exclude = user.company_id.check_exclude_module(module, context=context) if not exclude: return func(self, cr, uid, ids, *args, **kwargs) else: name = func.__name__ use_next_class = False for base in self.__class__.mro()[1:]: if use_next_class and hasattr(base, name): return getattr(base, name)(self, cr, uid, ids, *args, **kwargs) class_func = base.__dict__.get(name) if class_func: original_func = class_func.__dict__.get(_check_company_original_func_before_wrap) if original_func is func: use_next_class = True raise osv.except_osv(_(Not Implemented), _(Not parent method found)) wrapped._check_company_original_func_before_wrap = func return wrapped return decorator == Thanks for your feedback 2012/12/11 Niels Huylebroeck n...@agaplan.eu I like how you handled the view, for the method however I think a volunteering process is not the best solution. We might have to do some more introspection to actively deny executing overridden methods from localization modules (similar to how we intercept the view). One way to do this in python is overriding the __getattr__ method override (See [1]) on the osv.orm.Model object. The downside on this is possibly that it has a wide impact which would mean some (although minor) global performance loss. Should this not be possible the current process would have to be simplified by using decorators for example instead of using self._check_module_allowed(...) calls. Regards, Niels [1] http://docs.python.org/2/reference/datamodel.html#object.__getattribute__ 2012/12/11 Eric Caudal eric.cau...@elico-corp.com That sounds promising: we will test it! On our side we are working on refactoring completely the intercompany process (SO=PO, CI=SI, DN=IS) with 2 new projects (multi-company process is very common in China) and might come soon with a blueprint on this topic. Eric Caudal*CEO* --*Elico Corporation, Shanghai branchOpenERP Premium Certified Training Partner * Cell: + 86 186 2136 1670 Office: + 86 21 6211 8017/27/37 Skype: elico.corperic.caudal@elico-corp.comhttp://www.elico-corp.com [image: Elico Corp] On 12/11/2012 12:59 AM, sebastien beau wrote: Dear Community, As you know when you use OpenERP with multiple localizations you will face some problems. Indeed each localization can change the views, the menu and also overwrite the initial python method. For now there is no standard for making
Re: [Openerp-community] What to do about *_layout in 7?
On 12/12/2012 09:31 AM, Alan Lord wrote: On 08/10/12 17:46, Olivier Dony wrote: The plan is: - line ordering enabled by default without needing an extra module - line ordering propagates throughout the workflow by default - multi-line/complex description allowed for each line by default, reducing the need for notes/titles/etc - nothing planned to replace subtotals/title/etc. Hi again, I just did a quick test last night of the trunk build and my careful ordering of a sale.order was not propagated to a Delivery Note. I will assume in that case that it will also not get propagated to an Invoice. Thanks for the feedback. Let's see each case separately: = Invoices = I've just tested and the sequence and descriptions seem to propagate well between SO and Customer Invoice. On a side note the handle to reorder invoice lines is still missing, that will be fixed soon. = Delivery Orders = - Multiline descriptions - The long description *is* propagated to delivery orders, but it is currently not displayed unless you open the full form view of each line. It's a question of displaying the right information to the right person, and I'm not sure what is the best choice in the case of stock moves: - if we only display the multiline descriptions, it will be a waste of time and screen estate for warehouse officers, who are presumably more interested by product codes and names (at least in 90% of the cases, and they can open the full form view for the other cases) - if we only display multiline descriptions it will also be quite strange on all the reporting/analysis screens where you're querying the inventory content based on product names - if we display both the product column and the multi-line descriptions, the duplication of information will annoy everybody and waste even more screen estate - Line ordering - Lines are ordered based on the expected delivery date rather than the original sequence, because that's what warehouse officers will care about, especially for long delivery orders. Should we change that in favor of the sequence used on the SO, given that in many cases it will be completely arbitrary/random? I don't think it's a good idea. For the various Delivery Slip/Receipt Slip print reports we should indeed use the multiline description, but should it replace the product name? Probably yes, because if we use both we'll waste a lot of space again. And what about the line ordering? Should we use the order of the SO, and be inconsistent with the way we display it in list views? I'm not sure. What do you think? I'd also like to make an observation regarding the facility to add multi-line comments on a Quote... From my tests I could include markup, html or wiki, so this might be useful for an advanced reporting tool like Aeroo or Webkit. Well, the downside would be that it would look bad in the standard Delivery Slip of OpenERP. But then if you plan to use webkit or aeroo you might not care, so why not. One disappointing aspect though is that these notes/comment lines do not get propagated to the DN. If you are shipping a large order and need to make comments or identify blocks of products within a shipment this make OpenERP very hard to use for my customers. The information is propagated already, it's in the 'name' column of the stock moves, ready to be used in any report, including the built-in one. But the issues described above apply. Cheers, ___ Mailing list: https://launchpad.net/~openerp-community Post to : openerp-community@lists.launchpad.net Unsubscribe : https://launchpad.net/~openerp-community More help : https://help.launchpad.net/ListHelp
[Openerp-community] Newsletter or integration of any tool like campaignmonitor
Dear community, does someone has made any developments regarding newsletters in OpenERP or already integrates an online tool like campaignmonitor using their API? A client looks for a possibility to handle and send newsletters out of OpenERP on a smart way. I know well how it could be realized by using an e-mail template or the campaign module - but both are far away to be user friendly. J Thanks in advance! Kind regards, Christian Fast ___ Mailing list: https://launchpad.net/~openerp-community Post to : openerp-community@lists.launchpad.net Unsubscribe : https://launchpad.net/~openerp-community More help : https://help.launchpad.net/ListHelp
Re: [Openerp-community] Newsletter or integration of any tool like campaignmonitor
Hi list, I am want to know its possible install and run 2 instances of OpenERP (6.1 and 7.0) in Ubuntu 11.04 (GNU/Linux 2.6.18-028stab095.1 x86_64)? Any help will be appreciated. ___ Mailing list: https://launchpad.net/~openerp-community Post to : openerp-community@lists.launchpad.net Unsubscribe : https://launchpad.net/~openerp-community More help : https://help.launchpad.net/ListHelp
Re: [Openerp-community] [Merge] lp:~openerp-community/openerp-mgmtsystem/nc-extend into lp:openerp-mgmtsystem/6.1
Review: Needs Fixing Can you solve the conflicts and resubmit? -- https://code.launchpad.net/~openerp-community/openerp-mgmtsystem/nc-extend/+merge/139534 Your team OpenERP Community is subscribed to branch lp:~openerp-community/openerp-mgmtsystem/nc-extend. ___ Mailing list: https://launchpad.net/~openerp-community Post to : openerp-community@lists.launchpad.net Unsubscribe : https://launchpad.net/~openerp-community More help : https://help.launchpad.net/ListHelp
Re: [Openerp-community] Newsletter or integration of any tool like campaignmonitor
http://www.theopensourcerer.com/2012/02/how-to-install-openerp-6-1-on-ubuntu -10-04-lts/ Didierh, check out that link. It's a fairly detailed description how to install to specific path. Together with the standard instructions from OpenERP doc it will give you insight. ds From: openerp-community-bounces+daniel.h.schulz=gmx@lists.launchpad.net [mailto:openerp-community-bounces+daniel.h.schulz=gmx@lists.launchpad.ne t] On Behalf Of Didierh H.M Sent: Wednesday, December 12, 2012 13:25 To: openerp-community@lists.launchpad.net Subject: Re: [Openerp-community] Newsletter or integration of any tool like campaignmonitor Hi list, I am want to know its possible install and run 2 instances of OpenERP (6.1 and 7.0) in Ubuntu 11.04 (GNU/Linux 2.6.18-028stab095.1 x86_64)? Any help will be appreciated. ___ Mailing list: https://launchpad.net/~openerp-community Post to : openerp-community@lists.launchpad.net Unsubscribe : https://launchpad.net/~openerp-community More help : https://help.launchpad.net/ListHelp
Re: [Openerp-community] OpenERP on Solaris
Hello Samir, As a matter of fact, we helped a company install OpenERP on Solaris this week. Hence, I can give you a definitive 'Yes' about the feasibility of this. They took care of making sure that all the python dependencies were installed. But at server start, we got an error message with the DB because their install of Solaris had Postgres installed by default in an encoding and locale that is not supported by OpenERP. We then reinstalled a fresh Postgres in UTF-8 and it solved that problem. Best, __ Fabrice Henrion Director of Business Development Americas OpenERP Inc. 260 Main Street - Suite 203 Redwood City, CA 94063 Tel: +1 (650) 307-6736 http://www.openerp.com/ http://www.openerp.com From: openerp-community-bounces+fhe=openerp@lists.launchpad.net [mailto:openerp-community-bounces+fhe=openerp@lists.launchpad.net] On Behalf Of Samir Mishra Sent: Wednesday, December 12, 2012 2:47 AM To: openerp-community@lists.launchpad.net Subject: [Openerp-community] OpenERP on Solaris Hello all. Just a very quick question -- can OpenERP 7 run on Solaris? A definitive 'yes' or 'no' would be great. I haven't found anything on this on the net thus far. If anyone on the mailing list has gone down this path before, I will very much appreciate any pointers, help, resources, etc. they could share with me. I'll do the same if anyone is interested. Thanks in advance. Sam ___ Mailing list: https://launchpad.net/~openerp-community Post to : openerp-community@lists.launchpad.net Unsubscribe : https://launchpad.net/~openerp-community More help : https://help.launchpad.net/ListHelp
Re: [Openerp-community] OpenERP on Solaris
On Wed, Dec 12, 2012 at 4:37 PM, Fabrice Henrion f...@openerp.com wrote: Hello Samir, ** ** As a matter of fact, we helped a company install OpenERP on Solaris this week. Hence, I can give you a definitive ‘Yes’ about the feasibility of this. They took care of making sure that all the python dependencies were installed. But at server start, we got an error message with the DB because their install of Solaris had Postgres installed by default in an encoding and locale that is not supported by OpenERP. We then reinstalled a fresh Postgres in UTF-8 and it solved that problem. Hello Fabrice, psutils library was solved too ? http://code.google.com/p/psutil/ site dont report works in solaris but would be good gives some feedback. Regards, ** ** Best, __ Fabrice Henrion Director of Business Development Americas OpenERP Inc. 260 Main Street – Suite 203 Redwood City, CA 94063 Tel: +1 (650) 307-6736 http://www.openerp.com ** ** *From:* openerp-community-bounces+fhe=openerp@lists.launchpad.net[mailto: openerp-community-bounces+fhe=openerp@lists.launchpad.net] *On Behalf Of *Samir Mishra *Sent:* Wednesday, December 12, 2012 2:47 AM *To:* openerp-community@lists.launchpad.net *Subject:* [Openerp-community] OpenERP on Solaris ** ** Hello all. ** ** Just a very quick question -- can OpenERP 7 run on Solaris? A definitive 'yes' or 'no' would be great. I haven't found anything on this on the net thus far. ** ** If anyone on the mailing list has gone down this path before, I will very much appreciate any pointers, help, resources, etc. they could share with me. I'll do the same if anyone is interested. ** ** Thanks in advance. ** ** Sam ** ** ___ Mailing list: https://launchpad.net/~openerp-community Post to : openerp-community@lists.launchpad.net Unsubscribe : https://launchpad.net/~openerp-community More help : https://help.launchpad.net/ListHelp -- Cristian Salamea @ovnicraft ___ Mailing list: https://launchpad.net/~openerp-community Post to : openerp-community@lists.launchpad.net Unsubscribe : https://launchpad.net/~openerp-community More help : https://help.launchpad.net/ListHelp