IRC logs of #tryton for Friday, 2011-07-22

chat.freenode.net #tryton log beginning Fri Jul 22 00:00:01 CEST 2011
-!- lem0na(~lem0na@95.87.233.210) has joined #tryton00:11
-!- elbenfreund(~elbenfreu@g227010212.adsl.alicedsl.de) has joined #tryton00:35
-!- elbenfreund(~elbenfreu@g227010212.adsl.alicedsl.de) has joined #tryton00:48
-!- lem0na(~lem0na@95.87.233.210) has joined #tryton01:18
-!- ikks(~ikks@186.28.15.15) has joined #tryton01:50
-!- rhubner(~rhubner@187.112.42.157) has joined #tryton02:01
-!- elbenfreund(~elbenfreu@g227010212.adsl.alicedsl.de) has joined #tryton02:01
-!- yangoon(~mathiasb@p549F35D3.dip.t-dialin.net) has joined #tryton02:45
-!- rhubner(~rhubner@187.112.42.157) has left #tryton03:42
-!- bvillasanti(~bruno@190.105.89.92) has joined #tryton04:50
-!- bvillasanti(~bruno@190.105.89.92) has left #tryton04:50
-!- bvillasanti(~bruno@190.105.89.92) has joined #tryton04:50
-!- yangoon1(~mathiasb@p549F30D3.dip.t-dialin.net) has joined #tryton05:00
-!- alimon(~alimon@189.154.61.121) has joined #tryton05:43
-!- bvillasanti(~bruno@190.105.89.92) has left #tryton06:53
-!- helmor(~helmo@46.115.22.68) has joined #tryton06:55
-!- enlightx(~enlightx@dynamic-adsl-94-34-233-219.clienti.tiscali.it) has joined #tryton07:33
-!- gour(~gour@93-136-27-140.adsl.net.t-com.hr) has joined #tryton08:10
-!- gour(~gour@93-136-27-140.adsl.net.t-com.hr) has left #tryton08:42
-!- enlightx(~enlightx@static-217-133-61-144.clienti.tiscali.it) has joined #tryton08:49
-!- enlightx(~enlightx@static-217-133-61-144.clienti.tiscali.it) has joined #tryton08:59
-!- elbenfreund(~elbenfreu@g225227245.adsl.alicedsl.de) has joined #tryton09:22
-!- vladimirek(~vladimire@adsl-dyn-146.95-102-183.t-com.sk) has joined #tryton09:27
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton10:03
-!- enlightx(~enlightx@static-217-133-61-144.clienti.tiscali.it) has joined #tryton11:16
-!- elbenfreund(~elbenfreu@p54B9560B.dip.t-dialin.net) has joined #tryton11:32
-!- plantian(~ian@c-67-169-72-36.hsd1.ca.comcast.net) has left #tryton11:53
-!- ccomb(~ccomb@94.122.115.145) has joined #tryton12:14
-!- ccomb(~ccomb@94.122.114.252) has joined #tryton13:21
-!- udono(~udono@ip-95-222-129-145.unitymediagroup.de) has joined #tryton13:31
-!- saxa(~sasa@189.26.255.43) has joined #tryton14:42
-!- redarmy(~Miranda@114.224.73.124) has joined #tryton14:50
redarmywhen will the carrier and shipment_cost modules be ready for use?14:52
redarmyjust for use in testing env.14:52
cedkredarmy: it is planned for August 1th14:53
cedkhttp://www.tryton.org/community/calendar.html14:53
cedkredarmy: it will be commited in main repo14:53
cedkredarmy: and we will give some weeks for translators14:53
redarmythanks ,it think its a must module.14:53
cedkredarmy: you can already test it, it is even better14:54
cedkredarmy: like that we could fix issue faster14:54
redarmywhere can i check it out now ?14:55
-!- enlightx(~enlightx@static-217-133-61-144.clienti.tiscali.it) has joined #tryton14:56
redarmyif a product have one attribute ,how can i add it into tryton? such as a clothing,have two color,red and black.14:57
cedkredarmy: http://codereview.appspot.com/4217043/ http://codereview.appspot.com/4214045/14:58
cedkredarmy: you can add a new field to the Model14:58
redarmyis there a document about how to add model to tryton?15:01
cedkredarmy: http://code.google.com/p/tryton/wiki/HelloWorld15:02
-!- alimon(~alimon@189.154.61.121) has joined #tryton15:28
-!- enlightx(~enlightx@static-217-133-61-144.clienti.tiscali.it) has joined #tryton15:32
-!- redarmy(~Miranda@114.224.73.124) has joined #tryton16:06
redarmythe carriers module can not set shipping cost?16:07
cedkredarmy: it is in the sale_shipment_cost module16:07
redarmyjust can choose Product Price as carrier cost method.16:08
cedkredarmy: yes it is the basic method16:09
redarmycan we manually change the shipment fee line when create new sale16:11
cedkredarmy: yes16:12
cedkredarmy: but generaly, it is on the shipment that you know the real price16:12
redarmyyes, need to add real shipment price .16:14
redarmyfor some user may need to automatic calculation the shipping fee,for some user or some times need to add shipping fee manually16:16
cedkredarmy: the idea behind the module is to develop the right cost computation method16:28
-!- vladimirek(~vladimire@adsl-dyn-146.95-102-183.t-com.sk) has joined #tryton16:28
redarmyyes, but many times, we do not use the real cost, the real cost is for financial more.16:29
redarmysuch as ,i ask client for 20USD shipping fee ,the real shipping fee when we shipping the cost may be 22USD ,or 18USD.16:30
redarmyadd option to tryton user,user choose manual input the shipping cost method  ,or auto method.16:31
redarmythe real shipping fee is used in financial expense.16:36
-!- helmor(~helmo@46.115.21.251) has joined #tryton16:47
redarmyif user can manually input the shipping fee line, it will be more flexable.16:50
-!- bvillasanti(~bruno@190.105.83.118) has joined #tryton16:51
-!- redarmy(~Miranda@114.224.73.124) has joined #tryton17:16
cedkredarmy: the method you will implement to compute the shipment cost has just to take care of the extra fees you want17:23
-!- rhubner(~rhubner@177.16.50.220) has joined #tryton19:48
rhubnerHi cedk19:49
rhubnercedk: Why do you think I have not updated the patch correctly?19:49
cedkrhubner: because it misses the icons, the parser.py etc.19:52
cedkrhubner: and also because I can not apply the patch19:52
rhubnercedk: the icons and parser.py not been for because I did "hg refresh -m 'message'"19:54
rhubnercedk: just what It was changed from patch 3 in codereview I sent in the patch 4...19:56
cedkrhubner: you must upload patch from yrou qparent19:56
rhubnercedk: Humm sorry... I didn't know19:57
rhubnercedk: How do I it?19:58
cedkrhubner: pas --rev qparent19:58
rhubnercedk: "pas" ?19:59
rhubnerhaaa "pass"20:00
rhubnerok20:00
rhubnercedk: I have some questions about revision..20:02
rhubnercedk: In the line 111 I used gettext...20:05
rhubnercedk: line 7: from gettext import gettext as _20:05
rhubnercedk: line 124: self.tools[tag].set_tooltip_text(_(tip))20:06
cedkrhubner: it doesn't work20:07
cedkrhubner: it is not possible to extract the string to translate like that20:07
cedkrhubner: by the way, it is better to ask this kind of question about comment in the codereview20:09
rhubnercedk: but it is not just use "_" for strings?20:10
rhubnercedk: I didn't understand...20:11
cedkrhubner: inside _() you must always have a string20:12
cedkrhubner: because there is a gettext script that parse the code to extract the strings to translate20:13
rhubnercedk: Humm I understand... I can not use a variable in gettext20:14
rhubnercedk: Other question is about lines 82, 8320:17
-!- plantian(~ian@c-67-169-72-36.hsd1.ca.comcast.net) has joined #tryton20:19
rhubnercedk: I didn't understand the comment. These attributes should be used to check more easily whether there are active features20:24
cedkrhubner: but you persit state value which is not good20:26
rhubnercedk: Ok .. I try not to use it!20:28
cedkrhubner: it is the same issue than in previous review20:29
rhubnercedk: Yes... But I thought in this way would have no problem...20:30
rhubnercedk: I will try to change just to check the active buttons20:32
cedkrhubner: also I think you must use the display method20:33
cedkrhubner: did you already test the widget when you change the current record?20:33
rhubnercedk: yes.. every time20:34
rhubnercedk: What do you mean at line 103?20:35
rhubnercedk: I need to call this methods at the beginning run program to create marks in gtk.TextTag20:39
-!- cheche(cheche@46.25.80.67) has joined #tryton20:40
rhubnercedk: this way, when I click on texts that are the standard styles, the activities of the buttons change according with marks..20:42
rhubnercedk: The parser from text markup, I'll use a stack to scan the corresponding tags. I'll rewrite the entire method.20:49
rhubnercedk: But first I need to create a method to formalize the <span> and <p> tags...20:50
rhubnercedk: Then only will miss the revisions of the code and tests!20:51
rhubnercedk: Do you have other questions?20:52
rhubnercedk: Are you busy?21:09
cedkrhubner: yes, bbl21:44
-!- yangoon(~mathiasb@p549F30D3.dip.t-dialin.net) has joined #tryton21:46
-!- zodman(~zodman@foresight/developer/zodman) has joined #tryton22:31
rhubnercedk: Can I send an email to you after with some doubts about code?23:21
cedkrhubner: yes23:22
-!- rhubner(~rhubner@177.16.50.220) has left #tryton23:45

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