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

chat.freenode.net #tryton log beginning Sat Oct 20 00:00:01 CEST 2012
-!- sparks777(~sparks777@213.87.133.75) has left #tryton12:43
shalabhaggarwalhi, does on_change_with work with a _parent_<model> field?14:59
cedkshalabhaggarwal: probably not, you will get the value but I don't think it triggers16:34
cedkshalabhaggarwal: 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 lines16:34
shalabhaggarwalcedk: thats what i actually wanted, to trigger for each line16:35
shalabhaggarwalcedk: but it does not trigger16:35
cedkshalabhaggarwal: it is bad to trigger on each line16:37
shalabhaggarwalcedk: i understand16:40
shalabhaggarwalcedk: i guess the best way to deal with this is not to allow editing of the specific  field from parent if lines exist16:41
shalabhaggarwalcedk: just like how its done for currency in sale16:41
lem0nacedk: do I have finished bukgarian translations; I have to commit; after that do I have to create diff files or I have push permissions?17:07
cedklem0na: you already have push access17:27
lem0nacedk: thanks17:28
cedkshalabhaggarwal: you can have a look at sale_shipment_cost, it updates sale lines by on_change calls17:28
cedklem0na: you forget the mo file in tryton23:18
lem0nacedk: did not know that i have to push it; will do it23:18
cedklem0na: it is on the wiki, re-read it if you are not sure23:22
lem0nacedk: thanks23:23
Piloucedk: 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 ?23:27
cedkPilou: probably, legacy of OE23:29

Generated by irclog2html.py 2.11.0 by Marius Gedminas - find it at mg.pov.lt!