IRC logs of #tryton for Wednesday, 2011-08-24

chat.freenode.net #tryton log beginning Wed Aug 24 00:00:02 CEST 2011
-!- okko1(~okko@dhcp-077-251-140-095.chello.nl) has joined #tryton00:12
version2betacedk: Here's a preview of the updated post. I'm going out for coffee with Barbara (@lageekitude) but I thought you might like to review, possibly comment. Please feel free - I'll be back in an hour or so. http://version2beta.com/blog/2011/a-new-openerp-product-and-license.html00:24
cedkversion2beta: looks good, except for the point where all OE module shoulb be (A)GPL00:40
cedkversion2beta: For me it is not sure that any module will be a derivative work00:41
cedkversion2beta: but it is perhaps nitpicking00:42
bechamelcedk: but it's a crucial point00:44
cedkbechamel: not for the post00:44
-!- ccomb(~ccomb@vau75-2-81-57-244-84.fbx.proxad.net) has joined #tryton01:08
-!- cheche(cheche@46.25.80.67) has joined #tryton01:37
-!- ciupicri(~ciupicri@81.180.234.249) has joined #tryton01:37
version2betacedk: Thank you. I'd like to hear more about that sometime and will add it to my list of potential blog posts. I agree it's not crucial to the post, except perhaps to acknowledge that my statement that all oerp modules must be licensed agpl is a debatable, and something I'd like to explore in more detail later.02:30
-!- sharoon(~sharoon@c-75-74-126-176.hsd1.fl.comcast.net) has joined #tryton04:31
-!- sharoon_(~sharoon@204-232-205-248.static.cloud-ips.com) has joined #tryton04:31
-!- sharoon(~sharoon@204-232-205-248.static.cloud-ips.com) has left #tryton04:36
-!- okko1(~okko@62.58.29.41) has joined #tryton08:04
-!- pjstevns(~pjstevns@helpoort.xs4all.nl) has joined #tryton08:07
-!- pjstevns(~pjstevns@helpoort.xs4all.nl) has left #tryton08:08
-!- vladimirek(~vladimire@adsl-dyn18.91-127-76.t-com.sk) has joined #tryton08:12
-!- lem0na(~lem0na@95.87.233.210) has joined #tryton08:13
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton08:17
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton08:20
-!- pjstevns(~pjstevns@a83-163-46-103.adsl.xs4all.nl) has joined #tryton08:47
-!- elbenfreund(~elbenfreu@f055241037.adsl.alicedsl.de) has joined #tryton09:04
-!- nicoe(~nicoe@ced.homedns.org) has joined #tryton09:27
-!- ndn_pit(~ndn_pit@95.56.115.213) has joined #tryton09:41
ndn_pithello!09:41
ndn_pithow can I set date value from xml? i mean when i create static data from xml file...09:42
cedkndn_pit: it is a little bit strange but there is time module in the eval09:46
cedkndn_pit: see in modules/currency/currency.xml09:46
ndn_pitwhy is it strange?09:46
cedkndn_pit: because time change09:47
ndn_pitoh no, it's for test ))09:48
ndn_pitis that time equal to datetime.datetime?09:52
ndn_pit<field name="date" eval="time.strptime('01.01.2011', '%d.%m.%Y')"/> - it's wrong...09:57
ndn_pitcan you give me example?09:57
cedkndn_pit: indeed you just have to pass a string09:57
cedkin modules/currency/currency.xml09:58
ndn_pitthere is <field name="date" eval="time.strftime('%Y-01-01')"/> in modules/currency/currency.xml09:58
cedkndn_pit: yes it is the example09:58
ndn_pitunderstood thaanks09:59
ndn_pitso I am forced to use %Y-%m-%d format, but if I want to use another format?10:02
cedkndn_pit: but it is internal10:02
ndn_pitok10:03
ndn_pitis there way to create model without creating table in db?10:09
ndn_pitjust to visualisation10:09
cedkndn_pit: ModelView10:12
ndn_pithave you example?10:13
cedkndn_pit: in almost every Wizard10:15
ndn_pitif fount what i want in product_cost_history/product.py -> class ProductCostHistory(ModelSQL, ModelView)10:21
ndn_pitbut if i want to have fields.One2Many in that model?10:21
cedkndn_pit: you must use a Function fields or if it is possible have the right id in the target Model10:23
ndn_pitof course, but how must look my query in table_query method?10:26
-!- okko1(~okko@62.58.29.41) has joined #tryton10:27
cedkndn_pit: for One2Many you have nothing to do in the table_query10:27
ndn_pitso solution is to use Function field, right?10:30
cedkndn_pit: most of the time10:32
ndn_pitthank you!10:33
-!- ndn_pit(~ndn_pit@95.56.115.213) has left #tryton10:33
-!- bechamel(~user@cismwks02-virtual1.cism.ucl.ac.be) has joined #tryton10:33
-!- ccomb(~ccomb@anj75-1-82-226-210-96.fbx.proxad.net) has joined #tryton10:34
-!- ndn_pit(~ndn_pit@95.56.115.213) has joined #tryton10:35
ndn_pitI have the opinion that only I am interested in Tryton... why is there so silent?10:53
bechamelndn_pit: by definition every person on this chan is interested in tryton :)10:54
ndn_pitbut why is there so silent?10:55
ndn_pitjust be here is nothing, i think...10:55
bechamelndn_pit: I have nothing to say, but I try to answer people questions when I have time10:56
cedkndn_pit: I guess almost everybody works for their customers10:58
cedkmost of the time people speak only when they have troubles10:59
ndn_pitthat mean that i am trouble-man :)11:00
nicoendn_pit: you're only starting with tryton11:01
-!- okko1(~okko@62.58.29.41) has joined #tryton11:01
cedkndn_pit: like any new comers11:02
ndn_pitunderstood...11:03
-!- okko2(~okko@62.58.29.41) has joined #tryton11:04
-!- reichlich(~reichlich@p578E952B.dip.t-dialin.net) has joined #tryton11:04
-!- reichlich_(~reichlich@p5793DCBB.dip.t-dialin.net) has joined #tryton11:13
ndn_pitshould i set "X" in "fields.Function(One2Many('tmodel', X, 'TModel'), getter, setter, searcher)"?11:35
cedkndn_pit: put None11:37
-!- sharkcz(~sharkcz@2001:15c0:6747:160::7) has joined #tryton12:28
-!- okko1(~okko@62.58.29.41) has joined #tryton12:39
-!- okko2(~okko@62.58.29.41) has joined #tryton12:41
-!- sharoon(~sharoon@204-232-205-248.static.cloud-ips.com) has joined #tryton13:43
-!- sharkcz(~sharkcz@2001:15c0:6747:160::7) has joined #tryton14:16
-!- sharoon(~sharoon@173-9-190-185-miami.txt.hfc.comcastbusiness.net) has joined #tryton15:08
-!- sharoon_(~sharoon@204-232-205-248.static.cloud-ips.com) has joined #tryton15:09
-!- smarro(~sebastian@host12.190-136-181.telecom.net.ar) has joined #tryton15:13
-!- bvillasanti(~bvillasan@190.105.89.122) has joined #tryton15:32
sharooncedk: ping15:34
cedksharoon: pong15:36
sharooncedk: what would be a possible workflow for canceling purchase orders (which are confirmed)15:37
sharooncedk: at the moment this aint possible15:37
cedksharoon: none :-)15:38
sharooncedk: really ? can we not cancel the PO itself and also the moves to `cancel` state ?15:38
cedksharoon: you must cancel or invert shipments, cancel or credit invoices15:38
-!- saxa(~sasa@189.26.255.43) has joined #tryton15:38
cedksharoon: I think it is bad to consider in the system that anything can be cancelled15:39
cedksharoon: the best is just to do the opposite operation15:39
-!- alimon(alimon@189.154.55.187) has joined #tryton15:39
cedksharoon: if you received products, you must send it back15:39
sharooncedk: got it15:40
cedksharoon: indeed purchase manage this, if you cancel shipments and invoice it will go in exception state15:42
cedksharoon: where you can just stop it there15:42
sharooncedk: cancel shipment ?15:49
cedksharoon: yes15:49
sharooncedk: it doesn't create draft shipment, only supplier -> inout moves15:50
cedksharoon: create the shipment to cancel :-)15:51
sharooncedk: got it15:52
-!- pjstevns(~pjstevns@a83-163-46-103.adsl.xs4all.nl) has left #tryton16:54
-!- smarro(~sebastian@200.81.250.221) has joined #tryton16:58
-!- sharoon(~sharoon@204-232-205-248.static.cloud-ips.com) has joined #tryton17:15
-!- gremly(~gremly@200.106.218.64) has joined #tryton17:57
-!- bvillasanti(~bvillasan@186-129-248-247.static.speedy.com.ar) has joined #tryton18:29
-!- sharoon(~sharoon@173-9-190-185-miami.txt.hfc.comcastbusiness.net) has joined #tryton19:30
-!- sharoon_(~sharoon@2001:470:5:630:313e:5a42:13bc:3d8d) has joined #tryton19:31
-!- smarro(~sebastian@host100.190-136-175.telecom.net.ar) has joined #tryton19:44
-!- pjstevns(~pjstevns@helpoort.xs4all.nl) has joined #tryton20:17
-!- pjstevns(~pjstevns@helpoort.xs4all.nl) has left #tryton20:17
-!- vladimirek(~vladimire@adsl-dyn18.91-127-76.t-com.sk) has joined #tryton20:27
-!- zodman(~zodman@foresight/developer/zodman) has joined #tryton20:32
-!- pjstevns(~pjstevns@helpoort.xs4all.nl) has joined #tryton20:32
-!- pjstevns(~pjstevns@helpoort.xs4all.nl) has left #tryton20:33
-!- okko1(~okko@dhcp-077-251-140-095.chello.nl) has joined #tryton21:10
-!- elbenfreund(~elbenfreu@p54B92717.dip.t-dialin.net) has joined #tryton21:16
-!- ccomb(~ccomb@vau75-2-81-57-244-84.fbx.proxad.net) has joined #tryton21:22
meanmicioHello there. I'm about to create some demo data in xml format for gnu health... should I include it as part of the xml in __tryton__.py or is there something specific for demo ?21:31
cedkmeanmicio: for us, the demo data should not be in the modules21:33
cedkmeanmicio: but filled from an external script using tools like proteus21:33
cedkmeanmicio: if you put in __tryton__.py then it will always be imported21:34
cedkmeanmicio: and more over with a script you can run wizards, workflow etc.21:37
meanmiciocedk: yes, you're right. Probably using a variable demo, and specifying, per module, whether I want to include demo data ?21:37
meanmiciocedk: some concept from OE, but optimized21:38
cedkmeanmicio: it is not logical to put demo data in the module21:38
cedkmeanmicio: and also it is not KISS21:38
meanmiciocedk: because in OE, we didn't have the choice to enable demo data from one specific module... has all or nothing.21:39
cedkit generates a lot of issues in OE because sometimes demo data are loaded for production server etc.21:39
meanmiciocedk : then I will probably work on the basis of having a demo sql21:39
cedkmeanmicio: I don't understand, what is the issue with proteus script?21:40
meanmiciocedk : or just an internet demo server. The issue here is that it should be able to update easily21:40
cedkmeanmicio: update what?21:41
meanmiciocedk : update the demo server. When info is in xml format, you can just copy the files from one version to the other.21:42
meanmiciocedk : when the info resides on the pg database, we work on the basis of upgrading the trytond21:43
cedkmeanmicio: don't understand21:44
meanmiciocedk : ok. Two scenarios . A) I have a bunch of xml encoded data for demo, that I could feed to the __tryton__ . Option B) I have a pg_dump sql file, that is tryton version dependant21:45
-!- jcm(~jcm@cxr69-10-88-172-230-130.fbx.proxad.net) has joined #tryton21:47
cedkmeanmicio: C) you have a proteus script21:47
meanmiciocedk: Will look into it then21:48
cedkmeanmicio: you could also hack trytond/convert.py to use it from a simple script21:48
cedkmeanmicio: the good point with proteus is that it will also provide scenario testing21:49
cedkmeanmicio: because it simulate the client21:49
cedkmeanmicio: so you have the on_change calls etc.21:50
-!- sharoon(~sharoon@173-9-190-185-miami.txt.hfc.comcastbusiness.net) has joined #tryton21:50
meanmiciocedk : yes. it seems that is the best way to go. Then I can update both the demo servers and the individual version packages. I need something that can deal with the 12+ modules of gnuhealth...21:51
-!- sharoon_(~sharoon@2001:470:5:630:7547:daa1:3c18:9476) has joined #tryton21:51
meanmiciocedk : so it needs to be automated.21:51
meanmiciocedk : I will look into the proteus option now21:51
cedkmeanmicio: if you want also we (Nicolas and me) have developped almost the same tools as proteus for OE21:52
cedkmeanmicio: http://pypi.python.org/pypi/oersted21:53
meanmiciocedk : great ! I'll play around with it now. Looks cool21:53
-!- nicoe(~nicoe@11.193-247-81.adsl-dyn.isp.belgacom.be) has joined #tryton21:54
meanmiciocedk: so it probably could also work as a stress test tool ?21:55
meanmiciocedk : since that's another thing I want to check one of this days... concurrency and scalability with __many__ records and concurrent users21:56
meanmiciocedk : but one step at a time ... first I'll finish the demo data :-)21:56
-!- gremly(~gremly@200.106.218.64) has joined #tryton21:58
cedkmeanmicio: proteus doesn't have the smart way to handle large list of records as there is in the client22:02
meanmiciocedk : changing subject .... someone filled a bug today about the tabs orientation. By default they shoud be on top, but they don't, so I have to specify in the client the tab orientation to "Top"22:05
meanmiciocedk : http://imgur.com/eCyw622:06
meanmiciocedk : this is the screenshot of the guy complaining about the look .22:07
-!- saxa(~sasa@189.26.255.43) has joined #tryton22:08
-!- bechamel(~user@host-85-201-144-79.brutele.be) has joined #tryton22:39
meanmiciocedk: when I started porting to tryton, I had that issue, and by that time it didn't change by putting the tab position in the notebook.23:16
meanmiciocedk : the value set on the client overrides what you have set on the view ?23:16
-!- gremly(~gremly@200.106.218.64) has joined #tryton23:23
cedkmeanmicio: don't know23:43
cedkmeanmicio: fill a bug in roundup23:45
-!- gremly(~gremly@200.106.218.64) has joined #tryton23:47
meanmiciocedk : the default notebook position is left ?23:51
meanmiciocedk : for the tabs ?23:52

Generated by irclog2html.py 2.11.0 by Marius Gedminas - find it at mg.pov.lt!