IRC logs of #tryton for Wednesday, 2012-07-25

chat.freenode.net #tryton log beginning Wed Jul 25 00:00:01 CEST 2012
2012-07-25 12:19 <scrapper> hello folks, I talk about class Line in /module/account/move.py right now its not possible to modify a reconciled line in account module. this is GOOD. But if someone only wants to add a "Tax" to a Line, without changing the "Line" itself. Wouldn't it be good to make this possible? I am a very poor beginner in financials and tryton. this is why i ask you. Right now I have fixed this for myself by excluding the "if line.reconcilation"-Check in move.py abou
2012-07-25 12:20 <scrapper> t line ~1088 in tryton Version 2.2.0
2012-07-25 12:20 <scrapper> i know this is a dirty fix, so i must remember that I am not allowed to modify reconciled lines. -> But the dirty fix helps me to add a Tax to a reconciled Line - when I forgot to add it in the first run. 12:15:40 PM
2012-07-25 12:20 <scrapper> the moves itself stay untouched. what do you think about it?
2012-07-25 12:23 <cedk> scrapper: I think it is a rare case, so you could unreconcile, add the tax line, reconcile
2012-07-25 12:23 <Timitos> scrapper: did you already post the move? or is it only reconciled?
2012-07-25 12:24 <scrapper> Timitos: it is in the only reconciled.
2012-07-25 12:24 <scrapper> Timitos: still in draft mode - but reconciled.
2012-07-25 12:24 <scrapper> Timitos: so unchangeable already.
2012-07-25 12:25 <Timitos> scrapper: you can fix it by following the recommendation of cedk
2012-07-25 12:27 <scrapper> Timitos: yes sure. its possible to unreconcile. now i understand. Will remember that for the future. but my dirty fix is faster now. thx
2012-07-25 12:36 -!- cristatus(~amit@1.22.98.248) has left #tryton
2012-07-25 16:50 -!- rhubner(~rhubner@187.112.44.214) has left #tryton
2012-07-25 19:33 <rhubner> nicoe: hi
2012-07-25 19:33 <rhubner> nicoe: what is the correct date do I have to take in the historical table?
2012-07-25 19:35 <rhubner> nicoe: because the oldest date is "create_date" and each update have been "write_date"
2012-07-25 19:36 <rhubner> nicoe: do i have to handle both date in each case?
2012-07-25 20:43 <rhubner> nicoe: ping
2012-07-25 20:44 <cedk> rhubner: both
2012-07-25 20:44 <rhubner> hi cedk
2012-07-25 20:45 <rhubner> cedk: ok ... it's already work...
2012-07-25 20:46 <rhubner> nicoe: My question now is the context of records...
2012-07-25 20:46 <rhubner> cedk: ...
2012-07-25 20:48 <rhubner> cedk: I also dont know how i must set context to change data records...
2012-07-25 20:50 <cedk> rhubner: don't know neither exactly but as I said to nicoe, for me the timeline works on all the screen
2012-07-25 20:51 <cedk> rhubner: so it should behaves like if it reload the screen and set the right date in the context
2012-07-25 20:51 <rhubner> cedk: should it be called in rpc.execute()? do I have to do a method on the server side to receive the correct date and inform the new context?
2012-07-25 20:53 <cedk> rhubner: no
2012-07-25 20:53 <rhubner> cedk: this is the problem... how do I define in the context the correct date? how do it this call?
2012-07-25 20:53 <cedk> rhubner: just set the context at the screen level
2012-07-25 20:56 <rhubner> cedk: is there a example?
2012-07-25 20:56 <cedk> rhubner: no
2012-07-25 20:56 <cedk> rhubner: because it is a new functionnality
2012-07-25 20:58 <rhubner> cedk: ... is ti by the rpc.execute? I have no ideas...
2012-07-25 20:58 <rhubner> it*
2012-07-25 21:00 <cedk> rhubner: there is a context on Screen which is passed to Group
2012-07-25 21:00 <cedk> rhubner: so this one should be changed
2012-07-25 21:04 <cedk> ACTION bbl
2012-07-25 21:05 <rhubner> cedk: I'll try something...
2012-07-25 21:05 <rhubner> thanks

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