IRC logs of #tryton for Wednesday, 2011-02-23

chat.freenode.net #tryton log beginning Wed Feb 23 00:00:02 CET 2011
2011-02-23 03:31 -!- ikks_(~ikks@190.158.101.218) has joined #tryton
2011-02-23 05:17 -!- yangoon(~mathiasb@p549F6A74.dip.t-dialin.net) has joined #tryton
2011-02-23 06:23 -!- predatell(~werty@195.189.234.248) has joined #tryton
2011-02-23 07:13 -!- LordVan(~lordvan@93.82.207.62) has joined #tryton
2011-02-23 07:14 -!- LordVan(~lordvan@gentoo/developer/LordVan) has joined #tryton
2011-02-23 07:43 -!- LordVan(~lordvan@93.82.207.62) has joined #tryton
2011-02-23 07:43 -!- LordVan(~lordvan@gentoo/developer/LordVan) has joined #tryton
2011-02-23 07:58 -!- LordVan(~lordvan@93.82.207.62) has joined #tryton
2011-02-23 07:59 -!- LordVan(~lordvan@gentoo/developer/LordVan) has joined #tryton
2011-02-23 07:59 -!- enlightx(~enlightx@static-217-133-61-144.clienti.tiscali.it) has joined #tryton
2011-02-23 08:11 -!- hoRn(~chatzilla@dslb-094-222-136-117.pools.arcor-ip.net) has joined #tryton
2011-02-23 08:18 -!- okko(~okko@62.58.29.41) has joined #tryton
2011-02-23 08:47 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2011-02-23 08:51 -!- irclog(~irclog@tycho.b2ck.com) has joined #tryton
2011-02-23 08:52 -!- dba(~daniel@178.63.150.30) has joined #tryton
2011-02-23 08:52 <hoRn> I wonder that the invoice_state and shipment_state in sale isn't set since my last update. Where to check this?
2011-02-23 08:53 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2011-02-23 09:11 <hoRn> cedk or anybody else with intimate knowledge: all my sales do not show invoice_state and shipment_state right. What am I doing wrong?
2011-02-23 09:29 -!- gavinf(~gavinf@196-210-191-20.dynamic.isadsl.co.za) has joined #tryton
2011-02-23 09:29 -!- klando(~klando@acidenitrix.villemain.org) has joined #tryton
2011-02-23 09:29 -!- slef(~mjr@serene.ttllp.co.uk) has joined #tryton
2011-02-23 09:35 -!- dba(~daniel@178.63.150.30) has joined #tryton
2011-02-23 09:42 <hoRn> where is this triggred: I only find some entries in sale.xml - but never something like write({'invoice_state': 'open'})
2011-02-23 09:46 <plantian> I don't know much about it but I think there is some work flow that does it.
2011-02-23 09:47 <cedk> ati drivers
2011-02-23 09:52 <hoRn> plantian: i' still searching this workflow. there is a begin in sale.xml > create_invoice > state waiting. but if I change the invoice, no action on sale is done or I don't see it.
2011-02-23 09:55 <hoRn> unless I am mistaken there should be a reference to sale_workflow in the invoice_workflow?
2011-02-23 09:56 <hoRn> client is dissing me for this issue ;)
2011-02-23 09:59 -!- bechamel(~user@cismwks02-virtual1.cism.ucl.ac.be) has joined #tryton
2011-02-23 10:02 <plantian> hoRn: Do you mean its never set or its just not change in tryton client? I think there is case where UI might not reflect change until refresh. I'm not sure that still exists.
2011-02-23 10:04 <plantian> OR do you mean state does not change in database ?
2011-02-23 10:04 <hoRn> plantian: is never changed in the sale. If I go to a Invoice and set it from draft to open, the field invoice_state in sale is not changed
2011-02-23 10:05 -!- paepke(~paepke@pD9545531.dip0.t-ipconnect.de) has joined #tryton
2011-02-23 10:07 -!- nicoe(~nicoe@2001:6f8:3aa:0:217:f2ff:fef3:4e9) has joined #tryton
2011-02-23 10:19 -!- Timitos(~kp@88.217.184.172) has joined #tryton
2011-02-23 10:27 <Timitos> cedk: hi
2011-02-23 10:28 <Timitos> cedk: i have a problem with proteus. it seems that with xmlrpc values of type datetime.date are converted into datetime.datetime
2011-02-23 10:29 <Timitos> and the server does not seem to reconvert it into datetime.date
2011-02-23 10:40 <hoRn> don't know what has changed with invoice_state: is since updating my modules
2011-02-23 10:53 <hoRn> sorry, mental aberration. looking for non existent issues ;)
2011-02-23 11:02 <plantian> hoRn: It stopped happening ?
2011-02-23 11:03 <hoRn> plantian: no ;[ there is no state 'open' in the field invoice_state of the sale. it changes only if an invoice is paid
2011-02-23 11:15 <plantian> hoRn: Ha, I hate when that happens.
2011-02-23 11:17 <hoRn> plantian: need a coffee. searching for nonexistent stuff is a hard business ;)
2011-02-23 11:18 <cedk> Timitos: yes, XML-RPC doesn't have date format
2011-02-23 11:19 <Timitos> cedk: the problem is that i have a on_change which does have an date value in it. the server gets a datetime value. this crashes my on_change function
2011-02-23 11:19 -!- ikks_(~ikks@190.158.101.218) has joined #tryton
2011-02-23 11:20 <cedk> Timitos: change your method to works with datetime also
2011-02-23 11:21 <Timitos> cedk: yes. it seems that there is no other way
2011-02-23 11:21 <cedk> Timitos: it is the flaw of XML-RPC
2011-02-23 11:22 <Timitos> cedk: yes. this means that when date fields are used always a check for datetime.datetime must done if the module should work with xmlrpc?
2011-02-23 11:23 <Timitos> cedk: for the moment xmlrpc is the only way to use proteus from a remote location. right?
2011-02-23 11:23 <cedk> Timitos: but datetime inherit of date so it should be transparent
2011-02-23 12:27 -!- okko(~okko@62.58.29.41) has joined #tryton
2011-02-23 12:44 <cedk> Timitos: I just found that proteus doesn't allow to set None in Date/DateTime fields
2011-02-23 12:45 <Timitos> cedk: i found that for numeric fields when xmlrpc is used the value must be converted to decimal in __set__
2011-02-23 12:46 <Timitos> i will provide a patch
2011-02-23 13:06 <Timitos> cedk: bugs.tryton.org seems to be down
2011-02-23 13:06 -!- svaksha(~svaksha@unaffiliated/svaksha) has joined #tryton
2011-02-23 13:16 -!- paepke(~paepke@pD9545531.dip0.t-ipconnect.de) has left #tryton
2011-02-23 13:30 -!- pjstevns(~pjstevns@a83-163-46-103.adsl.xs4all.nl) has joined #tryton
2011-02-23 13:32 -!- ikks_(~ikks@190.158.101.218) has joined #tryton
2011-02-23 14:00 -!- paepke(~paepke@pD9545531.dip0.t-ipconnect.de) has joined #tryton
2011-02-23 14:10 -!- irclog(~irclog@tycho.b2ck.com) has joined #tryton
2011-02-23 14:10 <cedk> Timitos: restarted
2011-02-23 14:11 <cedk> Timitos: I bought a new server yesterday to migrate tryton.org on it
2011-02-23 14:11 <Timitos> cedk: this sounds great
2011-02-23 14:38 -!- gavinf(~gavinf@196-210-191-20.dynamic.isadsl.co.za) has left #tryton
2011-02-23 15:12 -!- gremly(~gremly@200.106.202.91) has joined #tryton
2011-02-23 15:37 -!- paepke(~paepke@pD9545531.dip0.t-ipconnect.de) has left #tryton
2011-02-23 15:37 -!- paepke(~paepke@pD9545531.dip0.t-ipconnect.de) has joined #tryton
2011-02-23 15:39 -!- paepke(~paepke@pD9545531.dip0.t-ipconnect.de) has joined #tryton
2011-02-23 16:50 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2011-02-23 17:08 <Timitos> cedk: what do you think about supporting schemas of postgresql in tryton?
2011-02-23 17:12 <cedk> Timitos: don't know what is schemas ?
2011-02-23 17:12 <Timitos> cedk: http://sql-info.de/postgresql/schemas.html
2011-02-23 17:13 -!- woakas(~woakas@200.106.202.91) has joined #tryton
2011-02-23 17:13 <Timitos> cedk: http://www.postgresql.org/docs/9.0/static/ddl-schemas.html
2011-02-23 17:15 <cedk> Timitos: I don't see real advantage
2011-02-23 17:16 <Timitos> cedk: it is interesting for bigger installations to share some tables between the schemata for read access
2011-02-23 17:17 <cedk> Timitos: don't see real advantage
2011-02-23 17:18 <Timitos> cedk: will dive a little bit more into it when i have some time for it
2011-02-23 17:19 <cedk> Timitos: for me it is a convienent for SQL user but for programs it changes nothing
2011-02-23 17:21 <Timitos> cedk: think of a situation where tryton needs to access tables of another solution that does not provide a service. with a schemata you do not need to create a connection for the other database. you can use the same connection
2011-02-23 17:22 <cedk> Timitos: if it is on the same database
2011-02-23 17:23 <cedk> Timitos: which will be strange
2011-02-23 17:23 <Timitos> cedk: schemata are created within one database
2011-02-23 17:23 <cedk> Timitos: yes so it is strange that an other application will use the same database then trytond
2011-02-23 17:24 <Timitos> especially for oracle it seems to be common
2011-02-23 17:25 <cedk> Timitos: oracle is not a business application ???
2011-02-23 17:28 <paepke> you can use a schema as kind of environment. having tables, indexes and so on with the same name, but different data in it.
2011-02-23 17:29 <paepke> for example having a "production" environment and a "testing" environment. Just switch the schema, everything else is the same.
2011-02-23 17:29 <cedk> paepke: I think it is a bad idea
2011-02-23 17:30 <cedk> schema are in the same database
2011-02-23 17:30 <cedk> it is just like if you add a prefix on every tables
2011-02-23 17:30 <paepke> cedk, only want to show a possibility to use it.
2011-02-23 17:31 <paepke> cedk, if you connect to the other scheme, you don't see the other tables.
2011-02-23 17:31 <cedk> paepke: to see if we should manage it in trytond we need to have a valid example
2011-02-23 17:32 <cedk> paepke: it is not what says the documentation
2011-02-23 17:33 -!- paepke(~paepke@pD9545531.dip0.t-ipconnect.de) has left #tryton
2011-02-23 17:34 <Timitos> cedk: i think it is for creating something like a namespace to define which table is managed by which application when more than one application is accessing the database.
2011-02-23 17:34 <cedk> Timitos: I don't think
2011-02-23 17:34 <cedk> Timitos: it doesn't provide any access rules
2011-02-23 17:35 <cedk> I really see it as a prefix
2011-02-23 17:35 <Timitos> cedk: this is not correct. you can define rights be schema
2011-02-23 17:36 <cedk> Timitos: ho yes
2011-02-23 17:37 <cedk> Timitos: but in any case, I think tryton should be in only one schema
2011-02-23 17:37 <Timitos> cedk: yes. but why not allow to set a schema different to public schema ?
2011-02-23 17:38 -!- paepke(~paepke@pD9545531.dip0.t-ipconnect.de) has joined #tryton
2011-02-23 17:39 <cedk> Timitos: why not in the database connection configuration
2011-02-23 17:39 <paepke> sry
2011-02-23 17:39 <cedk> Timitos: but should it not be possible to configure the default schema on the database user
2011-02-23 17:40 <Timitos> cedk: it would be great to have the possibility to set the schema in the database connection. for this a new config entry would be helpful i think
2011-02-23 17:41 <paepke> cedk, i meant it by structure. timitos said it in a better way.
2011-02-23 17:43 <cedk> Timitos: I think it is better to set the search_path
2011-02-23 17:43 <cedk> it is the advice of Postgres doc
2011-02-23 17:43 <Timitos> cedk: yes. you can do this by connection. this is what i mean
2011-02-23 17:45 <cedk> Timitos: it is not on the connection but on the database user
2011-02-23 17:46 <Timitos> cedk: i only saw this by connection
2011-02-23 17:47 <Timitos> cedk: this would be my prefered solution because it is more flexible
2011-02-23 17:48 -!- gremly(~gremly@200.106.202.91) has joined #tryton
2011-02-23 17:49 <cedk> Timitos: don't see it but I find PostgreSQL should allow to define a default search_path per user
2011-02-23 17:50 <cedk> Timitos: ALTER USER test SET search_path TO bar,foo;
2011-02-23 17:56 <Timitos> cedk: there is a django example: http://code.djangoproject.com/attachment/ticket/1051/django-postgresql-schemas.diff
2011-02-23 17:58 <cedk> Timitos: ok but why polluate trytond code with parameter that can be stored in database
2011-02-23 18:06 <Timitos> i will try if i can handle it this way.
2011-02-23 18:10 -!- nicoe(~nicoe@2001:6f8:3aa:0:217:f2ff:fef3:4e9) has joined #tryton
2011-02-23 18:16 -!- Timitos(~kp@88.217.184.172) has left #tryton
2011-02-23 18:46 -!- FWiesing(~franz@mail.tryton.at) has joined #tryton
2011-02-23 20:21 -!- okko(~okko@dhcp-077-251-140-095.chello.nl) has joined #tryton
2011-02-23 21:54 -!- elbenfreund(~elbenfreu@p54B95A32.dip.t-dialin.net) has joined #tryton
2011-02-23 22:43 -!- cedk_(~ced@ced.homedns.org) has joined #tryton
2011-02-23 22:46 -!- yangoon1(~mathiasb@p549F6A74.dip.t-dialin.net) has joined #tryton
2011-02-23 22:53 -!- cedk_(~ced@ced.homedns.org) has joined #tryton
2011-02-23 22:53 -!- elbenfreund(~elbenfreu@p54B95A32.dip.t-dialin.net) has joined #tryton
2011-02-23 22:53 -!- okko(~okko@dhcp-077-251-140-095.chello.nl) has joined #tryton
2011-02-23 22:53 -!- FWiesing(~franz@mail.tryton.at) has joined #tryton
2011-02-23 22:53 -!- gremly(~gremly@200.106.202.91) has joined #tryton
2011-02-23 22:53 -!- woakas(~woakas@200.106.202.91) has joined #tryton
2011-02-23 22:53 -!- svaksha(~svaksha@unaffiliated/svaksha) has joined #tryton
2011-02-23 22:53 -!- dba(~daniel@178.63.150.30) has joined #tryton
2011-02-23 22:53 -!- slef(~mjr@serene.ttllp.co.uk) has joined #tryton
2011-02-23 22:53 -!- klando(~klando@acidenitrix.villemain.org) has joined #tryton
2011-02-23 22:53 -!- plantian(~ian@c-67-169-72-36.hsd1.ca.comcast.net) has joined #tryton
2011-02-23 22:53 -!- cheche(cheche@46.25.80.67) has joined #tryton
2011-02-23 22:53 -!- sharkcz(~sharkcz@2001:15c0:6747:160:250:43ff:fe3c:3b5d) has joined #tryton
2011-02-23 22:53 -!- heffer(~felix@fedora/heffer) has joined #tryton
2011-02-23 22:53 -!- kwmiebach(~kwmiebach@46-38-160-122.static.cloud-ips.co.uk) has joined #tryton
2011-02-23 22:53 -!- blast_hardcheese(~blast_har@dsl092-043-124.lax1.dsl.speakeasy.net) has joined #tryton
2011-02-23 22:53 -!- jcm(~jcm@cxr69-10-88-172-230-130.fbx.proxad.net) has joined #tryton
2011-02-23 22:53 -!- mhi1(~mhi@pd95b104a.dip0.t-ipconnect.de) has joined #tryton
2011-02-23 22:53 -!- ready(ready@sitea.cc) has joined #tryton
2011-02-23 23:11 -!- under__(~under@81.184.3.75.static.user.ono.com) has joined #tryton
2011-02-23 23:11 -!- marc0s(~marc0s@unaffiliated/marc0s) has joined #tryton
2011-02-23 23:11 -!- udono(~udono@ip-62-143-253-84.unitymediagroup.de) has joined #tryton
2011-02-23 23:11 -!- marga(~marga@nereida.gnuservers.com.ar) has joined #tryton
2011-02-23 23:11 -!- ChanServ(ChanServ@services.) has joined #tryton
2011-02-23 23:17 -!- ready_(ready@sitea.cc) has joined #tryton
2011-02-23 23:20 -!- elbenfreund(~elbenfreu@p54B95A32.dip.t-dialin.net) has left #tryton
2011-02-23 23:26 -!- yangoon(~mathiasb@p549F6A74.dip.t-dialin.net) has joined #tryton
2011-02-23 23:35 -!- 84XAAABPZ(~elbenfreu@p54B96EFA.dip.t-dialin.net) has joined #tryton
2011-02-23 23:38 -!- udono(~udono@ip-62-143-253-84.unitymediagroup.de) has joined #tryton
2011-02-23 23:42 <cedk> any one has tested the new windows exe ?

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