chat.freenode.net #tryton log beginning Fri Oct 23 00:00:02 CEST 2015 | ||
2015-10-23 00:10 -!- albert_(~albert@142.Red-88-21-136.staticIP.rima-tde.net) has joined #tryton | ||
2015-10-23 00:45 -!- albert_(~albert@142.Red-88-21-136.staticIP.rima-tde.net) has joined #tryton | ||
2015-10-23 01:24 -!- albert_(~albert@142.Red-88-21-136.staticIP.rima-tde.net) has joined #tryton | ||
2015-10-23 01:48 -!- pokoli(~pokoli@unaffiliated/pokoli) has joined #tryton | ||
2015-10-23 01:49 -!- kstenger1(~karla@r167-59-156-101.dialup.adsl.anteldata.net.uy) has joined #tryton | ||
2015-10-23 02:36 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | ||
2015-10-23 03:08 -!- pokoli(~pokoli@unaffiliated/pokoli) has joined #tryton | ||
2015-10-23 05:20 -!- lukio(~lukio@181.47.148.245) has joined #tryton | ||
2015-10-23 07:01 -!- yangoon(~mathiasb@p549F0B11.dip0.t-ipconnect.de) has joined #tryton | ||
2015-10-23 07:07 -!- sunny_dealmeida(~quassel@203.115.71.174) has joined #tryton | ||
2015-10-23 07:40 -!- frispete_(~frispete@p54A9086D.dip0.t-ipconnect.de) has joined #tryton | ||
2015-10-23 08:02 -!- dj_xatra(~dj_xatra@217.166.83.130) has joined #tryton | ||
2015-10-23 08:53 -!- mrichez(~smuxi@mail.saluc.com) has joined #tryton | ||
2015-10-23 09:07 -!- albert_(~albert@142.Red-2-139-177.staticIP.rima-tde.net) has joined #tryton | ||
2015-10-23 09:26 -!- aroncero(~aroncero@86.63.19.153) has joined #tryton | ||
2015-10-23 09:46 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | ||
2015-10-23 09:50 -!- bechamel(~Adium@host-95-182-199-152.dynamic.voo.be) has joined #tryton | ||
2015-10-23 10:55 -!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton | ||
2015-10-23 11:45 -!- nicoe(~nicoe@2a02:a03f:30ad:7d00:ee55:f9ff:fe7b:f7ac) has joined #tryton | ||
2015-10-23 11:54 <pokoli> in doc.tryton.org/3.4/trytond/doc/topics/views/index.html?highlight=button#button when it says remove if it has a parent, parent means that it the record is in a xxx2many field? or what does parent mean? | ||
2015-10-23 12:02 <cedk> pokoli: having a parent means: inside a one2many or a tree | ||
2015-10-23 12:03 <pokoli> cedk: thanks. I was thinking that maybe we need the reload_parent action, when a record has a parent to reload it's parent | ||
2015-10-23 12:07 <cedk> pokoli: I think reload should almost never be used | ||
2015-10-23 12:08 <cedk> pokoli: the issue that adds reload action state that it is available only when the user could do it manually | ||
2015-10-23 12:08 <pokoli> cedk: but when calling a button from a record with parent, the parent record is reloaded? | ||
2015-10-23 12:08 <cedk> pokoli: so never in a one2many | ||
2015-10-23 12:08 <cedk> pokoli: that's not the same thing | ||
2015-10-23 12:09 <cedk> pokoli: it is because the record is saved before calling any button | ||
2015-10-23 12:11 <pokoli> cedk: so if it's saved then it's reloaded when the button returns. | ||
2015-10-23 12:12 <pokoli> cedk: I'm trying the stock_split button from inside a one2many and parent record it's reloaded so the new record appear, so everything is ok without the reload action | ||
2015-10-23 12:12 <cedk> pokoli: yes when clicking on a button: | ||
2015-10-23 12:13 <cedk> record is saved (via the parent if exists) | ||
2015-10-23 12:13 <cedk> the button method is called | ||
2015-10-23 12:14 <cedk> the record (or parent) is reloaded | ||
2015-10-23 12:14 <cedk> finaly the returned action from the button is process | ||
2015-10-23 12:15 <pokoli> cedk: perfect!! thanks for your explanations | ||
2015-10-23 12:18 <cedk> pokoli: if you feel the doc is missing some, feel free to update it | ||
2015-10-23 12:32 -!- rpit(~rpit@2a02:908:e670:3a80:b100:be5c:e500:4738) has joined #tryton | ||
2015-10-23 12:36 -!- mariomop(~quassel@host18.186-108-232.telecom.net.ar) has joined #tryton | ||
2015-10-23 13:52 -!- kstenger(~karla@r167-59-139-166.dialup.adsl.anteldata.net.uy) has joined #tryton | ||
2015-10-23 13:59 -!- vbastos(~textual@san1823193.lnk.telstra.net) has joined #tryton | ||
2015-10-23 14:08 -!- vcardon(~vcardon@bureau-sdsl.tranquil.it) has joined #tryton | ||
2015-10-23 14:24 -!- vbastos_(~vbastos@san1823193.lnk.telstra.net) has joined #tryton | ||
2015-10-23 15:12 -!- smarro(~sebastian@190.108.228.120) has joined #tryton | ||
2015-10-23 16:34 -!- albert_(~albert@142.Red-2-139-177.staticIP.rima-tde.net) has joined #tryton | ||
2015-10-23 18:25 -!- albert_(~albert@142.Red-2-139-177.staticIP.rima-tde.net) has joined #tryton | ||
2015-10-23 18:46 -!- juanfe(~juanfe@190.85.115.49) has joined #tryton | ||
2015-10-23 19:23 -!- peter__(~chatzilla@108.Red-88-3-43.dynamicIP.rima-tde.net) has joined #tryton | ||
2015-10-23 19:24 -!- smarro(~sebastian@190.108.228.120) has joined #tryton | ||
2015-10-23 19:25 <petermmm> hi, i'm trying to add a view to extend the party.party form but complains about the label: | ||
2015-10-23 19:25 <petermmm> <string>:4:0:ERROR:RELAXNGV:RELAXNG_ERR_ELEMWRONG: Did not expect element label there | ||
2015-10-23 19:25 <petermmm> <?xml version="1.0"?> | ||
2015-10-23 19:25 <petermmm> <data> | ||
2015-10-23 19:25 <petermmm> <xpath expr="/form/label[first()]" position="before"> | ||
2015-10-23 19:25 <petermmm> <label name="Hello"/> | ||
2015-10-23 19:25 <petermmm> </xpath> | ||
2015-10-23 19:25 <petermmm> </data> | ||
2015-10-23 19:31 <cedk> pokoli: label must have a name with field or an id | ||
2015-10-23 19:31 <cedk> petermmm: | ||
2015-10-23 19:36 <petermmm> cedk: so example at http://doc.tryton.org/2.6/trytond/doc/topics/views/extension.html won't work ? | ||
2015-10-23 19:36 <petermmm> i want only add the text "Hello" | ||
2015-10-23 19:37 <petermmm> isn't that a label ? | ||
2015-10-23 19:39 <cedk> petermmm: in the doc, all label name are field names | ||
2015-10-23 19:39 <cedk> petermmm: if you don't want to use a field, you can do: <label string="Hello" id="hello"/> | ||
2015-10-23 19:43 <petermmm> Still <string>:6:0:ERROR:RELAXNGV:RELAXNG_ERR_ELEMWRONG: Did not expect element label there | ||
2015-10-23 19:43 <petermmm> <?xml version="1.0"?> | ||
2015-10-23 19:43 <petermmm> <data> | ||
2015-10-23 19:43 <petermmm> <xpath expr="/form/label[first()]" position="before"> | ||
2015-10-23 19:43 <petermmm> <label string="Hello" id="hello"/> | ||
2015-10-23 19:43 <petermmm> </xpath> | ||
2015-10-23 19:43 <petermmm> </data> | ||
2015-10-23 19:46 <cedk> petermmm: you should take a look at the generated XML | ||
2015-10-23 19:47 <petermmm> ok, I will work on this, thank you so far | ||
2015-10-23 19:47 <cedk> petermmm: indeed, I'm not sure what does "first()" | ||
2015-10-23 19:51 -!- Greg__(~greg@h209.53.90.75.dynamic.ip.windstream.net) has joined #tryton | ||
2015-10-23 19:52 -!- Greg__(~greg@h209.53.90.75.dynamic.ip.windstream.net) has left #tryton | ||
2015-10-23 19:52 -!- sunny_dealmeida(~quassel@203.115.71.174) has joined #tryton | ||
2015-10-23 21:07 -!- rpit(~rpit@2a02:908:e670:3a80:8058:60e7:755a:7c02) has joined #tryton | ||
2015-10-23 21:44 -!- mariomop(~quassel@host18.186-108-232.telecom.net.ar) has joined #tryton | ||
2015-10-23 22:34 -!- gremly(~gremly@190.85.36.58) has joined #tryton | ||
2015-10-23 23:09 -!- lukio(~lukio@181.47.148.245) has left #tryton |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!