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

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

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