IRC logs of #tryton for Saturday, 2012-08-18

chat.freenode.net #tryton log beginning Sat Aug 18 00:00:01 CEST 2012
2012-08-18 04:36 -!- rhubner(~rhubner@189.58.56.88.dynamic.adsl.gvt.net.br) has left #tryton
2012-08-18 09:33 <shalabhaggarwal> cedk: IS there a contract module or a blueprint for it?
2012-08-18 09:34 <cedk> shalabhaggarwal: not to my knowledge, but I don't know exactly what you mean by "contract"
2012-08-18 09:34 <shalabhaggarwal> cedk: periodic invoicing based on different possibilities
2012-08-18 09:36 <cedk> shalabhaggarwal: ok, first step is to thought if contract is the right name :-)
2012-08-18 09:37 <cedk> shalabhaggarwal: I think it is not an easy task
2012-08-18 09:37 <cedk> udono: about sale_rebate module, if you want you can improve it
2012-08-18 09:37 <shalabhaggarwal> cedk: probably its a wrong name, can you suggest a better name :)
2012-08-18 09:39 <shalabhaggarwal> cedk: i know its not an easy task, but we can come up with a design and see if it suffices
2012-08-18 09:39 <cedk> shalabhaggarwal: I don't know
2012-08-18 09:50 <cedk> shalabhaggarwal: perhaps recurring invoice
2012-08-18 09:51 <shalabhaggarwal> cedk: sounds like a better match to the purpose
2012-08-18 09:52 <cedk> shalabhaggarwal: it is often good to divide into simple piece
2012-08-18 09:53 <cedk> shalabhaggarwal: after that, if you need more information than just invoicing, you can inherited it to add specific contract informations
2012-08-18 09:54 <shalabhaggarwal> cedk: will do and will look forward to your feedback
2012-08-18 09:55 <cedk> shalabhaggarwal: it could be good also to collect ideas, requirement on the mailing list
2012-08-18 09:55 <shalabhaggarwal> cedk: sure
2012-08-18 10:35 <shalabhaggarwal> cedk: http://help.sap.com/saphelp_sm40/helpdata/en/a5/903cd4237b704c970029d7f5541c10/frameset.htm this is the kind of feature we are trying to implement
2012-08-18 10:46 <cedk> shalabhaggarwal: looks interesting
2012-08-18 10:46 <cedk> shalabhaggarwal: but as usual with SAP, it is very complex by default
2012-08-18 10:47 <shalabhaggarwal> cedk: yes, i think we should have a design which is simple but usable taking SAP as reference
2012-08-18 11:27 -!- plantian(~ian@c-67-161-75-111.hsd1.ca.comcast.net) has left #tryton
2012-08-18 13:28 -!- cristatus(~amit@1.22.100.145) has left #tryton
2012-08-18 14:19 <udono> cedk: ok
2012-08-18 15:27 <rhubner> cedk: Ubuntu + unity doesn't work menu correctly :(
2012-08-18 15:30 <rhubner> cedk: the fix is report environment?
2012-08-18 15:34 <rhubner> cedk: ping
2012-08-18 16:05 <cedk> rhubner: you have to set a variable in the environement
2012-08-18 16:05 <rhubner> cedk: I got removing appmenu... I even didn't like this...
2012-08-18 16:07 <rhubner> cedk: How should I put the dates in the log?
2012-08-18 16:08 <rhubner> cedk: I say, how they should be represented?
2012-08-18 16:13 <rhubner> cedk: What do you think this -> History dates: x/x/x x:x:x, x/x/x x:x:x, x/x/x x:x:x, x/x/x x:x:x, ...
2012-08-18 17:09 <cedk> rhubner: I will put the same information for every dates in a list
2012-08-18 17:11 <rhubner> cedk: what?
2012-08-18 17:12 <cedk> rhubner: the same information that is already there
2012-08-18 17:12 <rhubner> cedk: how do I put these information in logs?
2012-08-18 17:13 <cedk> rhubner: in a list
2012-08-18 17:14 <rhubner> cedk: but how do I access this structure?
2012-08-18 17:17 <cedk> rhubner: you already got it to contruct you timeline
2012-08-18 17:19 <rhubner> cedk: I don't know how to add data in the log...
2012-08-18 17:19 <rhubner> cedk: to show in "View logs"
2012-08-18 17:20 <cedk> rhubner: need to develop in the dialog box
2012-08-18 17:21 <rhubner> cedk: and where is it?
2012-08-18 17:28 <cedk> rhubner: sig_logs in tryton/gui/window/form.py
2012-08-18 17:34 -!- rhubner(~rhubner@189.58.56.88.dynamic.adsl.gvt.net.br) has left #tryton
2012-08-18 18:05 <rhubner> cedk: Don't you think the best place to log all dates in a separate popup? Sounds strange place these dates there ...
2012-08-18 18:06 <cedk> rhubner: logs is logs
2012-08-18 18:08 <rhubner> cedk: I didnt find a way to add this logs in same popup from my code
2012-08-18 18:09 <cedk> rhubner: don't understand why?
2012-08-18 18:10 <rhubner> cedk: there is no parameter in method to receive more msgs and no global variables
2012-08-18 18:11 <cedk> rhubner: add them
2012-08-18 18:12 <rhubner> cedk: add default parameter?
2012-08-18 18:15 <rhubner> cedk: or a variable in the instance? eg: self.external_logs = ''
2012-08-18 18:15 <cedk> rhubner: I can not tell you how to program but if you need more parameter somewhere add them
2012-08-18 18:15 <rhubner> cedk: so, I can access self.external_logs in my code...
2012-08-18 18:19 <cedk> rhubner: I don't understand
2012-08-18 18:22 <rhubner> cedk: Add an attribute "self.external_log" on the method __ init__ in tryton/gui/window/form.py and access this attribute in my code.
2012-08-18 18:23 <cedk> rhubner: why not
2012-08-18 18:24 <rhubner> cedk: so, inside the method sig_log, check if self.external_log is not empty and adds the message
2012-08-18 18:24 <rhubner> cedk: ok... I asked to make sure if this is usual!
2012-08-18 18:26 <rhubner> cedk: ok! I finished what you suggested...
2012-08-18 19:34 <rhubner> cedk: Where is referenced the Form object of tryton/gui/window/form.py?
2012-08-18 19:34 <rhubner> cedk: I could not find any reference to it... It would be wrong to instantiate it again
2012-08-18 19:52 <cedk> rhubner: I think it must be in the other way, it is the form that contains ref to screen
2012-08-18 19:54 <rhubner> cedk: Exactly! I saw that I can make a bridge across the Screen object..
2012-08-18 19:55 <rhubner> cedk: thanks! Later I will publish this review in the codereview
2012-08-18 21:59 -!- rhubner(~rhubner@189.58.56.88.dynamic.adsl.gvt.net.br) has left #tryton

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