IRC logs of #tryton for Sunday, 2009-11-01

chat.freenode.net #tryton log beginning Sun Nov 1 00:00:02 CET 2009
2009-11-01 00:00 -!- shiningfm(n=shiningf@hy183-2-88-165-176-243.fbx.proxad.net) has joined #tryton
2009-11-01 00:26 -!- ikks_(n=ikks@190.158.120.230) has joined #tryton
2009-11-01 00:28 -!- shiningfm(n=shiningf@hy183-2-88-165-176-243.fbx.proxad.net) has joined #tryton
2009-11-01 00:36 -!- udono1(n=udono@dynamic-unidsl-85-197-17-104.westend.de) has joined #tryton
2009-11-01 04:05 -!- vengfulsquirrel(n=ian@c-69-181-194-95.hsd1.ca.comcast.net) has joined #tryton
2009-11-01 05:18 -!- yangoon(n=mathiasb@p549F5586.dip.t-dialin.net) has joined #tryton
2009-11-01 05:53 -!- ikks(n=ikks@190.158.120.230) has joined #tryton
2009-11-01 08:54 -!- carlos(n=carlos@196.157.221.87.dynamic.jazztel.es) has joined #tryton
2009-11-01 09:46 -!- gour(n=Gour@87.252.138.113) has joined #tryton
2009-11-01 09:58 -!- cedk(n=ced@gentoo/developer/cedk) has joined #tryton
2009-11-01 10:21 -!- Timitos(n=timitos@88.217.184.172) has joined #tryton
2009-11-01 10:25 <gour> morning
2009-11-01 10:26 <gour> is tryton suited to serve non-python apps?
2009-11-01 10:35 <carlos> you mean as a client?
2009-11-01 10:40 <gour> yeah...e.g. non-python app to access party data in tryton
2009-11-01 10:45 <carlos> yeah, it's possible
2009-11-01 10:45 <carlos> however, you cannot use netrpc
2009-11-01 10:45 <carlos> but xml-rpc
2009-11-01 10:45 <gour> ahh. ok
2009-11-01 10:46 <carlos> netrpc is python specific
2009-11-01 10:46 <gour> is it much better than xmlrpc?
2009-11-01 10:46 <carlos> it's faster, because it's a binary protocol
2009-11-01 10:48 <gour> what about json-rpc?
2009-11-01 10:49 <carlos> what happens with it?
2009-11-01 10:49 <carlos> I think json is also XML based
2009-11-01 10:49 <gour> how it compares with xml-rpc?
2009-11-01 10:49 <gour> i.e. tryton will stay with netrpc/xmlrpc?
2009-11-01 10:50 <carlos> it doesn't mean is bad, is just that it needs more information to be exchanged, so it's slower in some situations
2009-11-01 10:50 <carlos> I don't know
2009-11-01 10:50 <carlos> that's something to be asked on the mailing list
2009-11-01 10:50 <carlos> I guess is ok to add a new protocol if someone provides a patch
2009-11-01 10:51 <gour> and dbus?
2009-11-01 10:52 -!- LordVan(n=lordvan@gentoo/developer/LordVan) has joined #tryton
2009-11-01 10:52 <carlos> for dbus I think is better to write a client for tryton that exposes the API over dbus
2009-11-01 10:52 <carlos> so we don't add the dependency on dbus always
2009-11-01 10:55 <gour> hmm
2009-11-01 12:51 -!- carlos(n=carlos@88.148.7.66) has joined #tryton
2009-11-01 13:12 -!- shiningfm(n=shiningf@hy183-2-88-165-176-243.fbx.proxad.net) has joined #tryton
2009-11-01 13:21 -!- ikks(n=ikks@190.158.120.197) has joined #tryton
2009-11-01 13:25 -!- carlos(n=carlos@88.148.7.66) has joined #tryton
2009-11-01 13:31 -!- shiningfm(n=shiningf@hy183-2-88-165-176-243.fbx.proxad.net) has joined #tryton
2009-11-01 13:42 -!- LordVan(n=lordvan@gentoo/developer/LordVan) has joined #tryton
2009-11-01 14:07 <carlos> cedk, http://softlibre.barrapunto.com/article.pl?sid=09/11/01/1248204
2009-11-01 14:08 <carlos> cedk, they just published it
2009-11-01 14:13 <cedk> carlos: great
2009-11-01 15:26 -!- carlos(n=carlos@88.148.7.66) has joined #tryton
2009-11-01 16:25 -!- gour(n=Gour@188.125.7.45) has joined #tryton
2009-11-01 17:14 -!- gour(n=Gour@87.252.132.218) has joined #tryton
2009-11-01 17:26 -!- carlos(n=carlos@88.148.7.66) has joined #tryton
2009-11-01 17:46 -!- ikks_(n=ikks@190.158.120.197) has joined #tryton
2009-11-01 18:54 <gour> hmm, strange thing...restarting trytond-1.4.1 has effect on deskbar-applet, i.e. killing it. anyone running gnome-2.28 can confirm?
2009-11-01 19:02 <cedk> gour: I don't see how it could be possible
2009-11-01 19:07 <gour> cedk: well, it's reproducible here
2009-11-01 19:08 <gour> every invoking of trytond restart, brings dialog with: Deskbar" has quit unexpectedly and option to reload/dont_reload
2009-11-01 19:09 <cedk> gour: trytond has nothing to do with deskbar nor gnome nor X
2009-11-01 19:10 <gour> cedk: yeah...still i figure it out by accident...are you on gnome?
2009-11-01 19:11 <cedk> gour: no, I don't use bloated application
2009-11-01 19:13 <gour> cedk: he he...i had plain xmonad+xmobar setup for quite a long time, but not being the only desktop-user on the machine, switched to gnome
2009-11-01 19:29 -!- shiningfm(n=shiningf@hy183-2-88-165-176-243.fbx.proxad.net) has joined #tryton
2009-11-01 19:32 <carlos> cedk, Is there any reason for not being able to remove account.tax.rule.templates with an upgrade from 1.2 to 1.4 ?
2009-11-01 19:33 <cedk> carlos: don't understand
2009-11-01 19:33 <carlos> cedk, I removed some tax rule templates for the 1.4 version of the spanish chart of accounts but I get an error saying that is not able to remove it because there are still some references to it
2009-11-01 19:34 <carlos> cedk, which is true, but with a delete on cascade, and a regular delete SQL command it's removed without complains
2009-11-01 19:34 <carlos> This is the error I get:
2009-11-01 19:34 <carlos> [Sun Nov 01 19:30:05 2009] ERROR:convert:Could not delete id: 3 of model account.tax.rule.template
2009-11-01 19:34 <carlos> There should be some relation that points to this resource
2009-11-01 19:34 <carlos> You should manually fix this and restart --update=module
2009-11-01 19:34 <carlos> Exception: Traceback (most recent call last):
2009-11-01 19:34 <carlos> File "/opt/tryton-1.4/trytond/trytond/tools/convert.py", line 983, in post_import
2009-11-01 19:34 <carlos> model_obj.delete(cursor, user, db_id)
2009-11-01 19:34 <carlos> File "/opt/tryton-1.4/trytond/trytond/model/modelsql.py", line 1076, in delete
2009-11-01 19:34 <carlos> }, context=context)
2009-11-01 19:34 <carlos> File "/opt/tryton-1.4/trytond/trytond/model/modelsql.py", line 940, in write
2009-11-01 19:34 <carlos> self._validate(cursor, user, ids, context=context)
2009-11-01 19:35 <carlos> File "/opt/tryton-1.4/trytond/trytond/model/modelsql.py", line 2170, in _validate
2009-11-01 19:35 <cedk> carlos: don' copy pqste
2009-11-01 19:35 <carlos> super(ModelSQL, self)._validate(cursor, user, ids, context=context)
2009-11-01 19:35 <carlos> File "/opt/tryton-1.4/trytond/trytond/model/modelstorage.py", line 972, in _validate
2009-11-01 19:35 <carlos> context=context)
2009-11-01 19:35 <carlos> File "/opt/tryton-1.4/trytond/trytond/model/model.py", line 444, in raise_user_error
2009-11-01 19:35 <carlos> raise Exception('UserError', error)
2009-11-01 19:35 <carlos> Exception: ('UserError', u'The value of the field "Company" on "Tax Rule" is not valid according to its domain.')
2009-11-01 19:35 <carlos> I thought it was short enough to not use a pastebin. Sorry...
2009-11-01 19:35 <cedk> carlos: it is unreadable
2009-11-01 19:36 <carlos> http://pastebin.com/m6c8d42a5
2009-11-01 19:36 <gour> whatever you say, trytond crashes deskbar-applet here...strange
2009-11-01 19:36 <cedk> gour: so it is a bug of deskbar
2009-11-01 19:39 <gour> cedk: yeah. it could be...i'm not using it normally, just wanted to try something and then restarted trytond...anyway, will take a look at it later...now preparing tryton*-1.4 stuff for arch
2009-11-01 19:49 <cedk> carlos: could you try with this patch: http://dpaste.com/115082/
2009-11-01 19:50 <carlos> sure, let me reset the database
2009-11-01 19:54 <carlos> cedk, it works now, or at least I don't get any complain for it
2009-11-01 19:55 <carlos> cedk, thanks. I need to leave now, should I file a bug about this with a link to your patch? or are you going to submit the patch right now?
2009-11-01 19:56 <cedk> carlos: i will fix
2009-11-01 19:57 <carlos> ok, thank you
2009-11-01 19:57 <carlos> see you later!
2009-11-01 19:59 -!- shiningfm(n=shiningf@hy183-2-88-165-176-243.fbx.proxad.net) has joined #tryton
2009-11-01 20:24 -!- FWiesing(n=FWiesing@194-208-185-012.tele.net) has joined #tryton
2009-11-01 20:39 -!- vengfulsquirrel(n=ian@c-69-181-194-95.hsd1.ca.comcast.net) has joined #tryton
2009-11-01 20:44 -!- panthera(n=daniel@88.198.196.34) has joined #tryton
2009-11-01 20:44 -!- ChanServ(ChanServ@services.) has joined #tryton
2009-11-01 20:44 -!- CIA-3(n=CIA@208.69.182.149) has joined #tryton
2009-11-01 20:45 -!- FWiesing(n=FWiesing@194-208-185-012.tele.net) has joined #tryton
2009-11-01 20:45 -!- cedk(n=ced@213.49.144.172) has joined #tryton
2009-11-01 20:46 -!- ChanServ(ChanServ@services.) has joined #tryton
2009-11-01 20:46 -!- ChanServ(ChanServ@services.) has joined #tryton
2009-11-01 20:48 -!- panthera(n=daniel@static.88-198-196-34.clients.your-server.de) has joined #tryton
2009-11-01 20:52 -!- ChanServ(ChanServ@services.) has joined #tryton
2009-11-01 20:54 -!- shiningfm(n=shiningf@hy183-2-88-165-176-243.fbx.proxad.net) has joined #tryton
2009-11-01 21:07 <gour> party module does not require country module any longer?
2009-11-01 21:08 <cedk> gour: why do you say that?
2009-11-01 21:10 <gour> cedk: preparing pkgs for arch
2009-11-01 21:11 <gour> oops, misreading
2009-11-01 21:12 <gour> mea culpa :-/
2009-11-01 21:32 -!- carlos(n=carlos@68.157.221.87.dynamic.jazztel.es) has joined #tryton
2009-11-01 22:35 <cedk> https://blueprints.launchpad.net/openobject-addons/+spec/security-rule-improvement
2009-11-01 22:35 <cedk> OpenERP plans to imple;ent the same way then us for the rules
2009-11-01 22:40 <cedk> http://openobject.com/irc/%23openobject.2009-11-01.log.html#t2009-11-01T22:20:43
2009-11-01 22:40 <cedk> also adding CalDAV :-)
2009-11-01 22:42 <cedk> funny thing is that 1 year ago: http://openobject.com/forum/post27568.html#27568
2009-11-01 22:42 <cedk> WebDAV was too slow :-)
2009-11-01 22:48 -!- ikks(n=ikks@190.158.102.209) has joined #tryton
2009-11-01 22:53 -!- shiningfm(n=shiningf@hy183-2-88-165-176-243.fbx.proxad.net) has joined #tryton
2009-11-01 23:18 <carlos> cedk, that's a confirmation that Tryton it's doing it quite good in some fields ;-)
2009-11-01 23:18 <cedk> carlos: yes of course
2009-11-01 23:19 <cedk> carlos: but I will be curious on how it will be done
2009-11-01 23:20 <cedk> carlos: and if they will use PyWebDAV
2009-11-01 23:20 <carlos> I guess they will reuse most Tryton modules
2009-11-01 23:21 <carlos> related with caldav
2009-11-01 23:22 <carlos> they are short of resources so unless someone pays them for it, I doubt they will write it from scratch, which I don't think is a bad thing, the idea is to reuse as much as possible
2009-11-01 23:23 <cedk> carlos: I don't think
2009-11-01 23:23 <carlos> cedk, btw, I had to apply the same patch you provide me this evening for the Tax model's company field
2009-11-01 23:24 <cedk> carlos: I think they will want to have the copyright on the code
2009-11-01 23:24 <cedk> carlos: yes, I will push tomorow a complet patch because there is some module with the same issue
2009-11-01 23:24 <carlos> maybe, I guess it makes sense for their plan to move to AGPL
2009-11-01 23:25 <carlos> and I'm still looking for another one, but I'm not sure whether this one is a bug or bad data from an alpha chart of accounts module
2009-11-01 23:25 <cedk> carlos: AGPL doesn't require that all the code is under it to apply
2009-11-01 23:25 <cedk> carlos: it extend to GPL code included in it
2009-11-01 23:25 <carlos> http://dpaste.com/115161/
2009-11-01 23:26 <cedk> but it seems they don't understand well the license
2009-11-01 23:26 <cedk> see: https://bugs.launchpad.net/bugs/453463
2009-11-01 23:27 <carlos> cedk, sure, but that means that some parts would remain under GPLv3, so they will not be able to block the SaaS usage
2009-11-01 23:28 <cedk> carlos: false, AGPL extend GPL code
2009-11-01 23:29 <cedk> carlos: you delete tax group ?
2009-11-01 23:29 <carlos> Yes
2009-11-01 23:29 <cedk> carlos: it is normal that it doesn't work
2009-11-01 23:29 <carlos> my previous module was using a set of groups to workaround the missing field we added for tax substitution on 1.4
2009-11-01 23:30 <carlos> but all accounts are moved to the new tax groups
2009-11-01 23:30 <carlos> or at least that should be the case
2009-11-01 23:30 <cedk> carlos: it is not account the issue
2009-11-01 23:31 <cedk> carlos: you have current tax rule line that are linked to the group
2009-11-01 23:31 <carlos> and I modified also the tax rules
2009-11-01 23:31 <carlos> well, in fact... I just did a manual removal of all tax rules
2009-11-01 23:31 <carlos> after taking care that no sensible information is lost
2009-11-01 23:33 <carlos> I know it's not a usual use case, that's why I'm not sure it's a bug in Tryton, but bad data in my database
2009-11-01 23:35 <cedk> carlos: I think you can not delete tax group
2009-11-01 23:36 <cedk> carlos: or it must be an improvement to use template or a custom set null
2009-11-01 23:38 <carlos> I'm removing two tax group templates, and thus, the two tax groups associated with them
2009-11-01 23:42 <carlos> ACTION is confused and debugging
2009-11-01 23:42 <carlos> I think I'm getting lost in terminology
2009-11-01 23:51 <carlos> I found the problem
2009-11-01 23:51 <carlos> some tax rule lines left behind without a template (I guess a remove using NULL instead of CASCADE)

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