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 #tryton00:10
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton02:10
-!- srgdts_(~srgdts@unaffiliated/srgdts) has joined #tryton03:10
-!- nicoe(~nicoe@2a02:578:852a:c00:7e2a:31ff:fe5e:b25d) has joined #tryton06:10
-!- Timitos(~kpreisler@2001:a61:4a4:e501:762b:62ff:fe84:ed7e) has joined #tryton07:10
-!- mrichez(~Maxime@mail.saluc.com) has joined #tryton08:10
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton09:10
-!- springwurm(~Springwur@5.104.149.54) has joined #tryton09:10
-!- mariomop(~quassel@190.191.64.120) has joined #tryton12:10
-!- rpit(~rpit@p4ffb7cba.dip0.t-ipconnect.de) has joined #tryton12:10
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton15:10
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>15:10
pokolimrichez: Which error did you get?15:10
mrichezpokoli: lxml.etree.XMLSyntaxError: Opening and ending tag mismatch: tree line 6 and xpath, line 7, column 1315:10
mrichezFault: Opening and ending tag mismatch: tree line 6 and xpath, line 7, column 13 (<string>, line 7)15:10
pokolimrichez: you need to close the tree15:10
pokolimrichez: it should be  <xpath expr="/tree" position="replace_attributes"><tree keyword_open="1"/></xpath>15:10
pokolimrichez: note I added a / at the end of tree15:10
mrichezpokoli: thanks will try , don't thougth to close the tree because there's fields after the line <tree>..15:10
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 ?15:10
pokolimrichez: in ir.action.keyword you should use the model which you want to trigger the action15:10
mrichezpokoli: ok, will try :-)15:10
pokolimrichez: for tree_open it is the module where you want to click the tree15:10
mrichezpokoli: working :-)15:10
mrichezpokoli: thanks!15:10
pokolimrichez: youre welcome!16:10

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