IRC logs of #tryton for Saturday, 2012-08-18 #tryton log beginning Sat Aug 18 00:00:01 CEST 2012
-!- rhubner( has left #tryton04:36
shalabhaggarwalcedk: IS there a contract module or a blueprint for it?09:33
cedkshalabhaggarwal: not to my knowledge, but I don't know exactly what you mean by "contract"09:34
shalabhaggarwalcedk: periodic invoicing based on different possibilities09:34
cedkshalabhaggarwal: ok, first step is to thought if contract is the right name :-)09:36
cedkshalabhaggarwal: I think it is not an easy task09:37
cedkudono: about sale_rebate module, if you want you can improve it09:37
shalabhaggarwalcedk: probably its a wrong name, can you suggest a better name :)09:37
shalabhaggarwalcedk: i know its not an easy task, but we can come up with a design and see if it suffices09:39
cedkshalabhaggarwal: I don't know09:39
cedkshalabhaggarwal: perhaps recurring invoice09:50
shalabhaggarwalcedk: sounds like a better match to the purpose09:51
cedkshalabhaggarwal: it is often good to divide into simple piece09:52
cedkshalabhaggarwal: after that, if you need more information than just invoicing, you can inherited it to add specific contract informations09:53
shalabhaggarwalcedk: will do and will look forward to your feedback09:54
cedkshalabhaggarwal: it could be good also to collect ideas, requirement on the mailing list09:55
shalabhaggarwalcedk: sure09:55
shalabhaggarwalcedk: this is the kind of feature we are trying to implement10:35
cedkshalabhaggarwal: looks interesting10:46
cedkshalabhaggarwal: but as usual with SAP, it is very complex by default10:46
shalabhaggarwalcedk: yes, i think we should have a design which is simple but usable taking SAP as reference10:47
-!- plantian( has left #tryton11:27
-!- cristatus(~amit@ has left #tryton13:28
udonocedk: ok14:19
rhubnercedk: Ubuntu + unity doesn't work menu correctly :(15:27
rhubnercedk: the fix is report environment?15:30
rhubnercedk: ping15:34
cedkrhubner: you have to set a variable in the environement16:05
rhubnercedk: I got removing appmenu... I even didn't like this...16:05
rhubnercedk: How should I put the dates in the log?16:07
rhubnercedk: I say, how they should be represented?16:08
rhubnercedk: 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, ...16:13
cedkrhubner: I will put the same information for every dates in a list17:09
rhubnercedk: what?17:11
cedkrhubner: the same information that is already there17:12
rhubnercedk: how do I put these information in logs?17:12
cedkrhubner: in a list17:13
rhubnercedk: but how do I access this structure?17:14
cedkrhubner: you already got it to contruct you timeline17:17
rhubnercedk: I don't know how to add data in the log...17:19
rhubnercedk: to show in "View logs"17:19
cedkrhubner: need to develop in the dialog box17:20
rhubnercedk: and where is it?17:21
cedkrhubner: sig_logs in tryton/gui/window/form.py17:28
-!- rhubner( has left #tryton17:34
rhubnercedk: Don't you think the best place to log all dates in a separate popup? Sounds strange place these dates there ...18:05
cedkrhubner: logs is logs18:06
rhubnercedk: I didnt find a way to add this logs in same popup from my code18:08
cedkrhubner: don't understand why?18:09
rhubnercedk: there is no parameter in method to receive more msgs and no global variables18:10
cedkrhubner: add them18:11
rhubnercedk: add default parameter?18:12
rhubnercedk: or a variable in the instance? eg: self.external_logs = ''18:15
cedkrhubner: I can not tell you how to program but if you need more parameter somewhere add them18:15
rhubnercedk: so, I can access self.external_logs in my code...18:15
cedkrhubner: I don't understand18:19
rhubnercedk: Add an attribute "self.external_log" on the method __ init__ in tryton/gui/window/ and access this attribute in my code.18:22
cedkrhubner: why not18:23
rhubnercedk: so, inside the method sig_log, check if self.external_log is not empty and adds the message18:24
rhubnercedk: ok... I asked to make sure if this is usual!18:24
rhubnercedk: ok! I finished what you suggested...18:26
rhubnercedk: Where is referenced the Form object of tryton/gui/window/
rhubnercedk: I could not find any reference to it... It would be wrong to instantiate it again19:34
cedkrhubner: I think it must be in the other way, it is the form that contains ref to screen19:52
rhubnercedk: Exactly! I saw that I can make a bridge across the Screen object..19:54
rhubnercedk: thanks! Later I will publish this review in the codereview19:55
-!- rhubner( has left #tryton21:59

Generated by 2.11.0 by Marius Gedminas - find it at!