chat.freenode.net #tryton log beginning Fri Oct 2 12:00:01 AM CEST 2020 | ||
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 22:41 | |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 00:43 | |
-!- srgdts_(~srgdts@unaffiliated/srgdts) has joined #tryton | 01:41 | |
-!- nicoe(~nicoe@2a02:578:852a:c00:7e2a:31ff:fe5e:b25d) has joined #tryton | 04:17 | |
-!- Timitos(~kpreisler@2001:a61:4a4:e501:762b:62ff:fe84:ed7e) has joined #tryton | 05:34 | |
-!- mrichez(~Maxime@mail.saluc.com) has joined #tryton | 06:24 | |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 07:43 | |
-!- springwurm(~Springwur@5.104.149.54) has joined #tryton | 07:50 | |
-!- mariomop(~quassel@190.191.64.120) has joined #tryton | 10:47 | |
-!- rpit(~rpit@p4ffb7cba.dip0.t-ipconnect.de) has joined #tryton | 10:53 | |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 13:20 | |
mrichez | hi, 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 |
---|---|---|
pokoli | mrichez: Which error did you get? | 13:29 |
mrichez | pokoli: lxml.etree.XMLSyntaxError: Opening and ending tag mismatch: tree line 6 and xpath, line 7, column 13 | 13:34 |
mrichez | Fault: Opening and ending tag mismatch: tree line 6 and xpath, line 7, column 13 (<string>, line 7) | 13:34 |
pokoli | mrichez: you need to close the tree | 13:36 |
pokoli | mrichez: it should be <xpath expr="/tree" position="replace_attributes"><tree keyword_open="1"/></xpath> | 13:36 |
pokoli | mrichez: note I added a / at the end of tree | 13:36 |
mrichez | pokoli: thanks will try , don't thougth to close the tree because there's fields after the line <tree>.. | 13:39 |
mrichez | pokoli: 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 |
pokoli | mrichez: in ir.action.keyword you should use the model which you want to trigger the action | 13:53 |
mrichez | pokoli: ok, will try :-) | 13:54 |
pokoli | mrichez: for tree_open it is the module where you want to click the tree | 13:54 |
mrichez | pokoli: working :-) | 13:57 |
mrichez | pokoli: thanks! | 13:57 |
pokoli | mrichez: youre welcome! | 14:01 |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!