IRC logs of #tryton for Wednesday, 2010-12-22

chat.freenode.net #tryton log beginning Wed Dec 22 00:00:01 CET 2010
2010-12-22 01:54 -!- pepeu(~manuel@187.137.152.51) has joined #tryton
2010-12-22 03:51 -!- gremly(~gremly@190.25.33.40) has joined #tryton
2010-12-22 05:18 -!- yangoon(~mathiasb@p549F61C6.dip.t-dialin.net) has joined #tryton
2010-12-22 07:15 -!- lem0na(~lem0na@95.87.233.210) has joined #tryton
2010-12-22 07:26 -!- okko(~okko@dhcp-077-251-140-095.chello.nl) has joined #tryton
2010-12-22 07:33 -!- lem0na(~lem0na@95.87.233.210) has joined #tryton
2010-12-22 08:05 -!- vladimir_(~vladimir@213.151.246.136) has joined #tryton
2010-12-22 08:23 -!- plantian(~ian@206-211-209-202.utilitytelephone.net) has joined #tryton
2010-12-22 08:23 -!- paepke(~paepke@p4FEB369B.dip.t-dialin.net) has joined #tryton
2010-12-22 09:04 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2010-12-22 09:10 -!- mhi1(~mhi@pd95b104a.dip0.t-ipconnect.de) has joined #tryton
2010-12-22 09:11 <plantian> udono: Thanks for the help the other day. I think I finally figured out the problem. It was permissions. There is a new(at least in postgresql 8.2+) CONNECT privilege that is needed to be granted on template1 or at least that is fixing the problem. The server is unable to connect because my user did not have that privilege.
2010-12-22 09:25 -!- okko(~okko@92.67.138.81) has joined #tryton
2010-12-22 09:27 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2010-12-22 09:46 -!- pjstevns(~pjstevns@a83-163-46-103.adsl.xs4all.nl) has joined #tryton
2010-12-22 09:51 -!- bechamel(~user@cismwks02-virtual1.cism.ucl.ac.be) has joined #tryton
2010-12-22 11:23 -!- okko(~okko@92.67.138.81) has joined #tryton
2010-12-22 11:48 -!- pjstevns(~pjstevns@a83-163-46-103.adsl.xs4all.nl) has joined #tryton
2010-12-22 11:48 -!- pjstevns(~pjstevns@a83-163-46-103.adsl.xs4all.nl) has left #tryton
2010-12-22 12:08 -!- nicoe(~nicoe@193.200.42.57) has joined #tryton
2010-12-22 12:09 -!- nicoe(~nicoe@193.200.42.57) has left #tryton
2010-12-22 12:43 -!- okko(~okko@62.58.29.41) has joined #tryton
2010-12-22 14:13 -!- enlightx(~enlightx@static-217-133-61-144.clienti.tiscali.it) has joined #tryton
2010-12-22 14:27 -!- woakas(~woakas@200.106.202.91) has joined #tryton
2010-12-22 16:02 -!- woakas(~woakas@200.106.202.91) has joined #tryton
2010-12-22 16:17 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2010-12-22 16:40 -!- gremly(~gremly@200.106.202.91) has joined #tryton
2010-12-22 16:43 -!- vladimir__(~vladimir@213.151.246.136) has joined #tryton
2010-12-22 16:49 -!- marga(~marga@nereida.gnuservers.com.ar) has joined #tryton
2010-12-22 16:50 <marga> Hi! I've been doing an OpenERP customization for over 3 months now, and I'm becoming more and more tired of the whole thing...
2010-12-22 16:51 <marga> At many points in my frustration, people have suggested that I tried Tryton. So I come here to ask, can you give me an overview of how much work it would be to migrate my customization work to Tryton?
2010-12-22 16:51 <cedk> marga: it depends of your modules
2010-12-22 16:52 <marga> I have created around 10 customization modules, and I'm using around 20 of the official ones. Mainly accounting/invoicing.
2010-12-22 16:52 <cedk> marga: can you give a summary of what does your modules
2010-12-22 16:52 <marga> But, most importantly, multi company.
2010-12-22 16:52 <marga> I'm trying to make a multi company system, but in a different way of what OpenERP thinks as multi company.
2010-12-22 16:53 <marga> i.e. every user can make invoices/sales for every company, the accounting is the part that is done separatedly.
2010-12-22 16:53 <marga> cedk: the modules are mainly simplifications or customizations of the sale and account modules of OpenERP.
2010-12-22 16:54 <cedk> marga: sale and account are still quiet similar
2010-12-22 16:54 <marga> How about wizards?
2010-12-22 16:54 <cedk> marga: but with some differences
2010-12-22 16:55 <marga> Can you give me a link of the official list of modules, please?
2010-12-22 16:55 <cedk> marga: wizards look like the legacy wizards of OpenERP but they are customizable by other modules
2010-12-22 16:55 <cedk> marga: http://hg.tryton.org/modules/
2010-12-22 16:56 <marga> Uhm, I'm using a number of modules that are not listed there :-\
2010-12-22 16:57 <marga> For example, the delivery module is not there. Now, let's say I want to port the delivery module to Tryton... How much work would you estimate?
2010-12-22 16:58 <cedk> marga: don't remember what does delivery modules?
2010-12-22 16:59 <marga> Well, I only use it because it adds carriers to the stock.picking
2010-12-22 17:00 <marga> In any case, I just want a rough estimate, to really consider if I should just forgo openerp now, or not.
2010-12-22 17:01 <marga> What's the ORM like?
2010-12-22 17:01 <cedk> marga: I think about 2 days for a fast porting
2010-12-22 17:01 <marga> cedk: of 1 module?
2010-12-22 17:01 <cedk> marga: and perhaps 5 days, if you take care of rethinking some stuffs and add test case
2010-12-22 17:01 <cedk> marga: for delivery
2010-12-22 17:02 <marga> ok...
2010-12-22 17:02 <cedk> marga: the ORM is still the same than OE but with a lot of clean up
2010-12-22 17:02 <marga> Why?
2010-12-22 17:02 <cedk> marga: we try to go closer to Active Record
2010-12-22 17:02 <cedk> marga: Why what?
2010-12-22 17:03 <marga> I don't know Active Record, but I've used SQL Alchemy and SQLObject, and they are both nicer.
2010-12-22 17:03 <marga> Why stick with it when it's so ugly.
2010-12-22 17:03 <cedk> marga: others don't give us what we need
2010-12-22 17:04 <marga> Ok. Sorry. I'm just really frustrated at the moment :-\
2010-12-22 17:04 <marga> How about reports? Does it use rml2pdf?
2010-12-22 17:04 <cedk> marga: the ORM is very tied with the inheritance behavior
2010-12-22 17:04 <cedk> marga: no we use reportlab
2010-12-22 17:04 <marga> Directly?
2010-12-22 17:04 <cedk> marga: oops typo, we use relatorio
2010-12-22 17:04 <marga> Ah
2010-12-22 17:04 <marga> Never heard of it.
2010-12-22 17:05 <marga> Is it python code or xml or what?
2010-12-22 17:05 <cedk> marga: do you know the OE module report_opendocument/report_openoffice
2010-12-22 17:05 <cedk> http://relatorio.openhex.org/
2010-12-22 17:05 <cedk> marga: it is templating based on opendocument file
2010-12-22 17:06 <marga> No. I've done all my reports in rml. I had already done rml reports before OpenERP, so that part was easy for me.
2010-12-22 17:06 <cedk> marga: it takes odx and generate odx
2010-12-22 17:06 <marga> ok, I see. So that means I'd need to re-do all my reports :(
2010-12-22 17:07 <cedk> marga: so we don't change the format then we got wysiwyg
2010-12-22 17:07 <cedk> marga: the report engine a overridable so you can use an other templater if you want
2010-12-22 17:07 <marga> ok.
2010-12-22 17:07 <marga> Have you solved the on_change problem for inheritance?
2010-12-22 17:07 <cedk> marga: you can use reportlab or the rml parser of zope
2010-12-22 17:08 <cedk> marga: on_change are defined on fields and no more on view
2010-12-22 17:08 <marga> uhm...
2010-12-22 17:08 <marga> I don't see if that solves the inheritance problem.
2010-12-22 17:08 <cedk> marga: and you just give a list of field to pass as argument of the on_change method
2010-12-22 17:09 <cedk> marga: so all the on_change methods have the same signature
2010-12-22 17:09 <marga> When 2 modules inherit from 1, and the 3 of them want to do something on the on_change, it's currently not possible to do it.
2010-12-22 17:09 <marga> Well, that part is good.
2010-12-22 17:09 <cedk> marga: then you can override one field to make it pass more field values
2010-12-22 17:09 <marga> Right, that part is good, but it's not my point.
2010-12-22 17:09 <cedk> marga: it is possible in Tryton :-)
2010-12-22 17:10 <marga> How do you make the 3 modules on_change functions get executed?
2010-12-22 17:10 <cedk> marga: the order of module deps and if 2 modules depends on the same one, it is the alpha order of the module name
2010-12-22 17:10 <cedk> marga: so we get a determinist order
2010-12-22 17:11 <marga> uhm...
2010-12-22 17:11 <marga> I see. I'm not sure if that solves the problem I'm mentioning, but ok.
2010-12-22 17:12 <cedk> marga: I guess your issue in OE was that you add a new param in one module and add an other one in the second
2010-12-22 17:13 <marga> The issue is that when you call super() it calls the original super, but the "brother" module doesn't get called.
2010-12-22 17:13 <cedk> marga: it does in Tryton
2010-12-22 17:14 <cedk> marga: and the order of super calls is determinist
2010-12-22 17:14 <cedk> marga: depending of module dependencies and module name
2010-12-22 17:14 <marga> So, every on_change should call super, and it will call the super's in alphabetical order.
2010-12-22 17:14 <cedk> marga: no, the name of the on_change method is fixed
2010-12-22 17:15 <cedk> marga: like for the field party, it will be on_change_party
2010-12-22 17:15 <cedk> marga: then every module will use the same method name
2010-12-22 17:15 <cedk> marga: so it is the Python super solver that will be in charge of calling every parent methods
2010-12-22 17:16 <marga> Ok, that's good. Althought I don't see why you start with "no,"
2010-12-22 17:16 <marga> You mean that all the on_change_party are automatically called, in the correct order?
2010-12-22 17:16 <cedk> I worked a lot with OE and I know all the bad design stuffs in it
2010-12-22 17:16 <marga> No need to call super() ?
2010-12-22 17:16 <cedk> so I tried to solve them when we started Tryton
2010-12-22 17:17 <cedk> marga: you must call super() in the on_change method that you change in your custom module
2010-12-22 17:17 <marga> cedk: ok. Then I don't see why you started with "no," before.
2010-12-22 17:18 <cedk> marga: I though you mean "alphabetic order" of the method name
2010-12-22 17:19 <marga> ah, no, of the module name, as you had said.
2010-12-22 17:21 <cedk> marga: ok so I take back my "no" :-)
2010-12-22 17:22 <marga> ok :)
2010-12-22 17:22 <marga> Thanks for the answers.
2010-12-22 17:22 <marga> I'm going to consider it, although it looks like it would be a real lot of work.
2010-12-22 17:22 <marga> But I'm fearing that keeping up with OpenERP is going to drive me insane.
2010-12-22 17:23 <cedk> marga: it is your choice. But if you choose Tryton, you will find help here and on the mailing list
2010-12-22 17:24 <cedk> marga: and more often than in OE chan or forum
2010-12-22 17:28 <cedk> ACTION bbl
2010-12-22 17:30 -!- nicoe(~nicoe@193.200.42.57) has joined #tryton
2010-12-22 17:30 -!- nicoe(~nicoe@193.200.42.57) has left #tryton
2010-12-22 17:39 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2010-12-22 17:41 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2010-12-22 17:50 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2010-12-22 18:24 -!- enlightx(~enlightx@dynamic-adsl-94-34-177-190.clienti.tiscali.it) has joined #tryton
2010-12-22 19:39 -!- paepke(~paepke@p4FEB48A4.dip.t-dialin.net) has joined #tryton
2010-12-22 20:48 -!- zodman(~andres-va@204.93.174.54) has joined #tryton
2010-12-22 21:10 -!- vladimir(~vladimir@213.151.246.136) has joined #tryton
2010-12-22 21:49 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2010-12-22 22:05 -!- chrue(~chrue@host-091-097-001-190.ewe-ip-backbone.de) has joined #tryton
2010-12-22 22:14 -!- okko(~okko@dhcp-077-251-140-095.chello.nl) has joined #tryton

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!