IRC logs of #tryton for Friday, 2020-10-02

chat.freenode.net #tryton log beginning Fri Oct 2 12:00:01 AM CEST 2020
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton22:41
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton00:43
-!- srgdts_(~srgdts@unaffiliated/srgdts) has joined #tryton01:41
-!- nicoe(~nicoe@2a02:578:852a:c00:7e2a:31ff:fe5e:b25d) has joined #tryton04:17
-!- Timitos(~kpreisler@2001:a61:4a4:e501:762b:62ff:fe84:ed7e) has joined #tryton05:34
-!- mrichez(~Maxime@mail.saluc.com) has joined #tryton06:24
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton07:43
-!- springwurm(~Springwur@5.104.149.54) has joined #tryton07:50
-!- mariomop(~quassel@190.191.64.120) has joined #tryton10:47
-!- rpit(~rpit@p4ffb7cba.dip0.t-ipconnect.de) has joined #tryton10:53
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton13:20
mrichezhi, how to replace attributes on tree in xml ? Got an error when doing this way: <xpath expr="/tree" position="replace_attributes"><tree keyword_open="1"></xpath>13:28
pokolimrichez: Which error did you get?13:29
mrichezpokoli: lxml.etree.XMLSyntaxError: Opening and ending tag mismatch: tree line 6 and xpath, line 7, column 1313:34
mrichezFault: Opening and ending tag mismatch: tree line 6 and xpath, line 7, column 13 (<string>, line 7)13:34
pokolimrichez: you need to close the tree13:36
pokolimrichez: it should be  <xpath expr="/tree" position="replace_attributes"><tree keyword_open="1"/></xpath>13:36
pokolimrichez: note I added a / at the end of tree13:36
mrichezpokoli: thanks will try , don't thougth to close the tree because there's fields after the line <tree>..13:39
mrichezpokoli: no more error, another question, what should i to use tree_open on wizard in another model ? i add ir.action.keyword in my xml and keyword_open on the tree, but this is not working, which model should i use in ir.action.keyword ?13:42
pokolimrichez: in ir.action.keyword you should use the model which you want to trigger the action13:53
mrichezpokoli: ok, will try :-)13:54
pokolimrichez: for tree_open it is the module where you want to click the tree13:54
mrichezpokoli: working :-)13:57
mrichezpokoli: thanks!13:57
pokolimrichez: youre welcome!14:01

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