IRC logs of #tryton for Saturday, 2012-10-20

chat.freenode.net #tryton log beginning Sat Oct 20 00:00:01 CEST 2012
2012-10-20 12:43 -!- sparks777(~sparks777@213.87.133.75) has left #tryton
2012-10-20 14:59 <shalabhaggarwal> hi, does on_change_with work with a _parent_<model> field?
2012-10-20 16:34 <cedk> shalabhaggarwal: probably not, you will get the value but I don't think it triggers
2012-10-20 16:34 <cedk> shalabhaggarwal: but I think it is better to work on the one2many field in this case otherwise it will need to call on_change_with for each lines
2012-10-20 16:35 <shalabhaggarwal> cedk: thats what i actually wanted, to trigger for each line
2012-10-20 16:35 <shalabhaggarwal> cedk: but it does not trigger
2012-10-20 16:37 <cedk> shalabhaggarwal: it is bad to trigger on each line
2012-10-20 16:40 <shalabhaggarwal> cedk: i understand
2012-10-20 16:41 <shalabhaggarwal> cedk: i guess the best way to deal with this is not to allow editing of the specific field from parent if lines exist
2012-10-20 16:41 <shalabhaggarwal> cedk: just like how its done for currency in sale
2012-10-20 17:07 <lem0na> cedk: do I have finished bukgarian translations; I have to commit; after that do I have to create diff files or I have push permissions?
2012-10-20 17:27 <cedk> lem0na: you already have push access
2012-10-20 17:28 <lem0na> cedk: thanks
2012-10-20 17:28 <cedk> shalabhaggarwal: you can have a look at sale_shipment_cost, it updates sale lines by on_change calls
2012-10-20 23:18 <cedk> lem0na: you forget the mo file in tryton
2012-10-20 23:18 <lem0na> cedk: did not know that i have to push it; will do it
2012-10-20 23:22 <cedk> lem0na: it is on the wiki, re-read it if you are not sure
2012-10-20 23:23 <lem0na> cedk: thanks
2012-10-20 23:27 <Pilou> cedk: in http://hg.tryton.org/tryton/file/e3b893e36669/tryton/common/common.py#l982 should not standard 'xml.sax.saxutils.escape' used instead of 'to_xml' function ?
2012-10-20 23:29 <cedk> Pilou: probably, legacy of OE

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