chat.freenode.net #tryton log beginning Mon Mar 15 12:00:01 AM CET 2021 | ||
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 23:53 | |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 00:10 | |
-!- srgdts_(~srgdts@unaffiliated/srgdts) has joined #tryton | 02:04 | |
-!- mrichez(~Maxime@2a02:a03f:c2e8:f900:ed77:85ea:af2b:ba6e) has joined #tryton | 06:11 | |
-!- Timitos(~kpreisler@2001:a61:42d:c01:762b:62ff:fe84:ed7e) has joined #tryton | 06:42 | |
-!- springwurm(~Springwur@5.104.149.54) has joined #tryton | 07:29 | |
-!- rpit(~rpit@dslb-092-076-168-031.092.076.pools.vodafone-ip.de) has joined #tryton | 07:48 | |
pokoli | LordVan: we removed the documentation because it was outdated and not maintaned | 08:18 |
---|---|---|
pokoli | LordVan: https://bugs.tryton.org/issue10010 | 08:19 |
LordVan | pokoli, ok thanks | 08:28 |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 08:28 | |
pokoli | cedk: it seems there is something wrong with our mercurial http server | 08:36 |
pokoli | accessing https://hg.tryton.org/trytond/rev/36c76fc52954 returns to the log wherei it should show the cahngelog | 08:37 |
-!- ludo2(~Thunderbi@2001:912:1480:380::1) has joined #tryton | 08:46 | |
cedk | pokoli: should be fixed, I left some debugging stuff when investigating why notify email links are no more working | 08:47 |
pokoli | cedk: works now, thanks for the fast fix! | 08:48 |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 08:58 | |
-!- nicoe(~nicoe@2a02:578:852a:c00:7e2a:31ff:fe5e:b25d) has joined #tryton | 09:03 | |
-!- thaneor1(~ldlc6@r167-61-172-143.dialup.adsl.anteldata.net.uy) has joined #tryton | 10:03 | |
-!- rpit(~rpit@dslb-092-076-168-031.092.076.pools.vodafone-ip.de) has joined #tryton | 10:12 | |
LordVan | is it possible to duplicate sale lines on a sale? | 10:31 |
pokoli | LordVan: yes but the UI does not have a button to duplicate a single line | 10:33 |
pokoli | LordVan: Just the entire sale | 10:33 |
LordVan | pokoli, so in proteus i could | 10:33 |
LordVan | guess i'll think about how to add a button in the UI | 10:33 |
LordVan | thanks | 10:33 |
pokoli | LordVan: yes, in proteus you just need to call duplicate method (IIRC) | 10:42 |
-!- mariomop(~quassel@181.29.189.235) has joined #tryton | 11:02 | |
LordVan | yeah i gotta look into | 12:02 |
LordVan | how to add a button for it | 12:02 |
LordVan | or maybe context menu | 12:02 |
LordVan | but i I think a button right next to the add line one would be nice | 12:03 |
-!- ludo2(~Thunderbi@221.114.141.88.rev.sfr.net) has joined #tryton | 12:09 | |
-!- springwurm(~Springwur@5.104.149.54) has joined #tryton | 13:04 | |
pokoli | LordVan: to add a button next to the add line one you should modify the tryton client | 13:31 |
pokoli | LordVan: and I do not think we should add a button to duplicate records on all one2many fields | 13:31 |
LordVan | pokoli, îs it not possible to just add it there only? | 13:31 |
LordVan | what about | 13:31 |
LordVan | context menu or shortcut instead? to not clutter the interface | 13:31 |
cedk | LordVan: The first question is why would you want to duplicate a line? | 13:32 |
pokoli | ACTION was going to ask the same question :) | 13:32 |
LordVan | we have some very similar sale lines where only a little bit needs changing | 13:32 |
LordVan | (i added extra fields too) | 13:32 |
LordVan | to avoid errors typing again or copy&paste | 13:32 |
LordVan | like practically the same text for several positions as we have different material thickness,.. | 13:33 |
pokoli | LordVan: once you've set a product, most information comes from there | 13:37 |
LordVan | not using products for everything | 13:37 |
LordVan | so unfortuantely that is useless for me | 13:37 |
LordVan | those are all one-off things | 13:38 |
LordVan | or nearly anyway | 13:38 |
LordVan | not going to create products for all that | 13:38 |
pokoli | LordVan: why not? | 13:38 |
LordVan | just working with sale_line for it | 13:38 |
LordVan | if I had the office stuff create products for everything as well | 13:38 |
LordVan | they would take 3 times longer | 13:38 |
LordVan | and the benefit is minimal | 13:38 |
LordVan | to barely existent | 13:38 |
pokoli | LordVan: Isn't the thinknes and the material related to the selling product? | 13:38 |
pokoli | LordVan: is see this is quite similare to what product_measurements offers | 13:39 |
LordVan | i just made this extra fields on sla_Eline | 13:39 |
pokoli | LordVan: of course and you need to duplicate sale_lines because you are not using products | 13:39 |
LordVan | yes | 13:39 |
pokoli | LordVan: but tryton is designed to have a product model which have the materials the product is composed from (and other information) | 13:39 |
LordVan | yes | 13:40 |
LordVan | but for literarily thousands of different products per month that get made once or mayb etwice eac | 13:40 |
LordVan | this is super overkill | 13:40 |
pokoli | LordVan: but if you want to duplicate this is because you are sharing some properties... | 13:41 |
LordVan | yes but between 5 sale lines then never again the same | 13:42 |
pokoli | LordVan: then maybe the issue is that you do not need to set the info at sale line but on an intermediary model | 13:42 |
LordVan | i have looked into it | 13:42 |
LordVan | well | 13:43 |
LordVan | not sure if that would be more or less complicated (to implement and handle) | 13:43 |
LordVan | I will use products for 2 or 3 customers in the future where parts actually are recurring | 13:43 |
LordVan | but for 90% of the parts this would be like desiging the whole production process in 3D first when all you need to do is cut a bit of metal off | 13:44 |
pokoli | LordVan: We try to find a good desing before going to implement anything | 13:44 |
LordVan | the way i have done it now works fine for us to be honest | 13:44 |
LordVan | we are already using it | 13:44 |
LordVan | and most of the time just sale_line is fine cuz the lines are all different anyway | 13:45 |
LordVan | just sometimes duplication would be nice where only small things differ | 13:45 |
pokoli | LordVan: first law of computer science: If something just works don't touch!!! | 13:48 |
pokoli | ACTION just joking | 13:48 |
pokoli | LordVan: but I guess you can live without the duplication. It's just a nice feature | 13:48 |
LordVan | haha | 13:49 |
LordVan | well as I said with parts that do repeatedly come up (which is only a few customers) i will use product soon (and auto-fill the sale_lines from product then) | 13:50 |
LordVan | but i just need to be able to do it manually to | 13:50 |
LordVan | anyway I know our way of using it is not in line with the "tryton way" but i had to adapt to our circumstances .. I just need a way to duplicate sale lines lol .. | 13:57 |
LordVan | so .. what you were saying pokoli is that I need to modify the tryton client and *not* the XML files for the views? | 13:58 |
pokoli | LordVan: if you will like to add the button next to the add new line button yes. And this will be available on all one2many fields | 13:58 |
LordVan | ok that is probably not what I want then | 13:59 |
LordVan | if i made a wizard? | 13:59 |
pokoli | LordVan: normally people start doing thinks "not the tryton way" and they end forking the entire project :O | 13:59 |
LordVan | that would probably be .. less intrusive | 13:59 |
LordVan | not gonna fork it haha | 13:59 |
LordVan | I am rather going to try to adjust what we do and align more with the tryton way (which i do like) as we go along | 14:00 |
LordVan | but i had a tight timeline | 14:00 |
LordVan | err | 14:00 |
LordVan | deadline | 14:00 |
pokoli | LordVan: you can add a button that just copies the record but it won't reload the entire sale so you will not see the new record | 14:00 |
LordVan | hm | 14:00 |
LordVan | I shall think about how i will do this i guess | 14:00 |
pokoli | LordVan: you can add a button_change that will create a new line with the current values, but not sure if you can do for a specific sale line, so probably the button should be on the sale and just duplicate the last one | 14:01 |
pokoli | LordVan: or you can do whatever you prefer with a wizard, but this will be 2 or 3 clicks more | 14:01 |
LordVan | pokoli, 2 or 3 clicks more and it is more intuitive would be fine | 14:01 |
LordVan | our office staff are .. noobs | 14:01 |
pokoli | LordVan: and they will be always noobs if you do not teach them how tryton works | 14:03 |
LordVan | i am | 14:03 |
LordVan | but when you ahve to start how to properly copy paste | 14:04 |
LordVan | despair is near | 14:04 |
LordVan | i wasn'T talking tryton noobs . i was talking pc usage noobs | 14:04 |
LordVan | but yeah the button to duplicate the last line is definitely a good start | 14:04 |
LordVan | but it would be better to make a wizard to duplicate select ones (maybe even X times) | 14:05 |
LordVan | which is the main reason why i am leaning towards the wizard | 14:05 |
pokoli | LordVan: you will not be able to duplicate more than one line because from the wizard PoV the selected records will be the sale but not the lines | 14:29 |
LordVan | i have not yet looked at wizards at all so far .. so you are saying I cannot (easily) write some code to get a list of the sale lines of the record/sale and then do stuff with them? | 14:30 |
pokoli | LordVan: yes you can but not from the sale screen | 14:31 |
pokoli | LordVan: if you can not duplicate some lines from the UI it is not possible to do the same using a wizard | 14:31 |
pokoli | LordVan: tryton always works with the same pattern of selected records | 14:31 |
LordVan | ah | 14:34 |
LordVan | ok as I said i had not looked at the wizard stuff at all yetr | 14:34 |
cedk | LordVan: you could just add a relate that opens the sale lines and from there you can duplicate any of them | 14:36 |
LordVan | cedk, that would probably the best solution over all | 14:38 |
LordVan | I wasn'T sure how easy that was | 14:38 |
LordVan | could you point me to where that is used somewhere so I ahve an example? | 14:38 |
cedk | LordVan: search for form_relate keyword in XML | 14:38 |
LordVan | cedk, thank you - as always ;) | 14:39 |
plaes | 7b+& | 15:14 |
-!- maxx(~Maxime@2a02:a03f:c2e8:f900:ed77:85ea:af2b:ba6e) has joined #tryton | 17:10 | |
-!- nicoe_(~nicoe@2a02:578:852a:c00:224:9bff:fe6c:a1b2) has joined #tryton | 17:13 | |
-!- mrichez(~Maxime@2a02:a03f:c2e8:f900:ed77:85ea:af2b:ba6e) has joined #tryton | 18:16 | |
-!- ludo2(~Thunderbi@2001:912:1480:380::1) has joined #tryton | 18:33 | |
-!- Hirschbeutel(janmittelw@gateway/shell/matrix.org/x-ykafuvmbnhcegrtr) has joined #tryton | 18:36 | |
-!- Pilou(~Pilou@pdpc/supporter/active/pilou) has joined #tryton | 20:57 | |
-!- thaneor(~ldlc6@r167-61-73-73.dialup.adsl.anteldata.net.uy) has joined #tryton | 22:05 |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!