chat.freenode.net #tryton log beginning Tue May 25 12:00:01 AM CEST 2021 | ||
-!- lucascastro(~lucascast@177-185-133-236.dynamic.isotelco.net.br) has joined #tryton | 01:15 | |
-!- ChanServ(ChanServ@services.) has joined #tryton | 01:15 | |
-!- mrichez(~Maxime@2a02:a03f:c2e8:f900:ed77:85ea:af2b:ba6e) has joined #tryton | 05:01 | |
-!- LordVan_(~LordVan@gentoo/developer/LordVan) has joined #tryton | 05:40 | |
LordVan_ | Hi | 06:04 |
---|---|---|
LordVan_ | just a quick question | 06:04 |
LordVan_ | If i want to create new Products including a new Template (where the template will only have default values and the same name as the Product itself) is there a good way to do that already, or would I have to implement that myself? | 06:05 |
LordVan_ | [the reason I want to start with the PRoduct and not the Template is because there are fields in Product, but not in Template (for a good reason) that I need to fill in and for most products the template will just contain the same name and price 0.00 (to start with) | 06:06 |
pokoli | LordVan_: do not understand your problem | 06:19 |
LordVan_ | i just was wondering about streamlining the process of adding products | 06:19 |
LordVan_ | cuz the user does not really care too much about Template/products (the only Templates that have more than 1 product are the "standard" / placeholder products | 06:20 |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 06:23 | |
-!- springwurm(~springwur@5.104.149.54) has joined #tryton | 06:35 | |
pokoli | LordVan_: if you create the products from the main Product menu there is no need to care about the variants | 06:46 |
LordVan_ | pokoli, the thing is I need extra data entered in the variants not in the product | 06:46 |
LordVan_ | [it's not a big deal as I said .. just looking into streamlining it a bit] | 06:47 |
pokoli | LordVan_: then you shoul dhave multiple variants so the user should care about it | 06:47 |
LordVan_ | i do have that but not for all | 06:47 |
LordVan_ | the most common case is 1 product + 1 variant | 06:47 |
pokoli | LordVan_: so for this case you should not care about the variant attributes | 06:48 |
LordVan_ | pokoli, i do not understand why you say that .. those fields I am talking about .. are only on the variant not on the product | 06:49 |
LordVan_ | therefore cannot be filled in on the product itself but only variant | 06:49 |
LordVan_ | I did see no use in having it on boht | 06:49 |
LordVan_ | [except for entering new 1-1 (product-variant) entries] | 06:50 |
LordVan_ | I mean i suppose i could add it to the ProductTemplate too and have it read-only in the Product if it is entered in the template | 06:51 |
LordVan_ | but that would add a bit more complexity to it for my other code only to make entering new products more streamlined .. hmm | 06:51 |
LordVan_ | and those extra fields I have make no sense to me on the ProductTemplate but only on the Product itself | 06:52 |
pokoli | LordVan_: sorry but I can not give any hint without understanding the problem you are trying to solve | 06:53 |
pokoli | What I understand is that you added some fields on variant but do not see any reasoning to have it there and not on the template | 06:54 |
LordVan_ | I have fields on the variatn that i do not want/need on the template | 06:54 |
LordVan_ | but it would be nice to create the variant+template (with the same name as the variant and some default values) easily | 06:55 |
LordVan_ | in one go | 06:55 |
LordVan_ | to put (very) simply .. a button to add the template by copying the name from the variant and setting default values for tax group,.. | 06:55 |
LordVan_ | cuz right now i hav eto go to create the variant and the template manually (or create it from the template side and then edit the variant ) - bot not very intiutive | 06:56 |
LordVan_ | [this is a bit .. difficult to explain here but would be super easy to show haha] | 06:57 |
-!- acaubet(~Thunderbi@194.224.31.235) has joined #tryton | 07:00 | |
pokoli | LordVan_: you are still not explaning the reasoning, sorry I can not give any advice to solve an unknown problem | 07:04 |
LordVan_ | pokoli, you mean why i have fields on the variant and not the product? | 07:04 |
pokoli | LordVan_: yes, why you decided to split the fields between both modules | 07:05 |
pokoli | s/modules/models | 07:05 |
LordVan_ | I did not "split" I just only added them there | 07:05 |
LordVan_ | I basically have 2 types of products(variants) in my system: | 07:06 |
LordVan_ | 1) the "standard/placeholder" parts which is effectively a dummy with variants for different materials -- those do not have specific data but only are placeholders with some values set as defaults to make things easier / be able to use in reports later | 07:06 |
LordVan_ | 2) the "real" products which are usually 1-1 (product-variant) which will include full product data and description there (the placeholder ones will have the description,.. added only on the sale line) | 07:07 |
LordVan_ | as to why we do have it like that / need this is beyond the need to explain here i think | 07:09 |
LordVan_ | that said I just thought of some way to achieve what I need : I can just add these extra fields to product_form_simple then they can also be entered when createing a new template | 07:10 |
LordVan_ | then there is no need to edit the variant directly usually except for some (not too often used) extra data | 07:10 |
pokoli | ACTION gives up | 07:11 |
-!- Timitos(~kpreisler@2001:a61:4ac:5b01:762b:62ff:fe84:ed7e) has joined #tryton | 07:14 | |
pokoli | LordVan_: to be honest, it seems that most of the complexity is generated because you have date that does not reflect the reality, like the 1st point | 07:15 |
LordVan_ | pokoli, yes | 07:18 |
LordVan_ | i agree | 07:18 |
LordVan_ | but that is not something i can change (in the actual production process we have) | 07:18 |
pokoli | LordVan_: why not? | 07:21 |
-!- ludo2(~Thunderbi@2001:912:1480:380::1) has joined #tryton | 07:24 | |
LordVan_ | because we will *neveR* neter all products properly as products in tryton as it would be complete overkill and make things impossible to find again because of the flood of pointless stuff | 07:28 |
-!- thaneor1(~ldlc6@r167-61-36-20.dialup.adsl.anteldata.net.uy) has joined #tryton | 07:28 | |
LordVan_ | i mean | 07:29 |
LordVan_ | the only thing i could have made would be always use 1-on-1 for template/product | 07:30 |
LordVan_ | bit it which would just mean i would have not 3 or 4 dummy/placeholder "templates" but 50 odd | 07:31 |
LordVan_ | hmm | 07:31 |
LordVan_ | i still can'T get rid of the "placeholder/dummy" products but i could simplify it to always have 1 product per template | 07:39 |
LordVan_ | I will think about what works better for me | 07:39 |
LordVan_ | in any case | 07:40 |
LordVan_ | as I said I will just change the product_simple_Form xml file to include the extra fields I need there so it is actually the best solution for me right now | 07:40 |
LordVan_ | pokoli, but thanks anyway .. trying to explain this to you helped me figure out how i could best do it ;) | 07:40 |
LordVan_ | [even if we might not agree if it is a good way to do it like that] | 07:41 |
LordVan_ | pokoli, if we ever meet at a FOSDEM,.. i can explain the reasons in person if you want ;) | 07:43 |
LordVan_ | well gotta do my other work while making note of what XML changes to do and which defaults to set/implement | 07:47 |
pokoli | LordVan_: I never went to FOSDEM, but probably we can have the talk on a Tryton Unconference | 07:58 |
LordVan_ | yes | 08:00 |
LordVan_ | when there is another I definitely want to attend if I can | 08:00 |
LordVan_ | whenever that can be considering covid | 08:00 |
LordVan_ | btw were there already plans for the next Tryton Unconference (Before covid happened i mean) | 08:11 |
pokoli | LordVan_: there is https://discuss.tryton.org/t/tuv-tryton-unconference-virtual/4018 | 08:13 |
LordVan_ | oh nice | 08:16 |
LordVan_ | I shall add my thoughts later (i just helped out with a streaming event so I could probably help out too) | 08:20 |
pokoli | Indeed tryton won't have any unconference if it's community does not help on it's organization :) | 08:23 |
LordVan_ | of course. i mean what would be the point | 08:23 |
LordVan_ | ^^ | 08:23 |
-!- plaes(~plaes@unaffiliated/amd) has joined #tryton | 10:09 | |
-!- Pilou(~Pilou@pdpc/supporter/active/pilou) has joined #tryton | 10:16 | |
-!- sisalp(~sisalpuse@51.sisalp.net) has joined #tryton | 10:16 | |
-!- buxy(~rhertzog@helios.freexian.com) has joined #tryton | 10:20 | |
-!- sharkcz(~sharkcz@19.161.broadband4.iol.cz) has joined #tryton | 10:20 | |
-!- cryptic(~cryptic@142-196-139-017.res.spectrum.com) has joined #tryton | 10:20 | |
-!- yangoon(~mathiasb@p5dd08a70.dip0.t-ipconnect.de) has joined #tryton | 10:21 | |
-!- acaubet(~Thunderbi@194.224.31.235) has joined #tryton | 10:24 | |
-!- springwurm(~springwur@5.104.149.54) has joined #tryton | 10:24 | |
-!- LordVan_(~LordVan@gentoo/developer/LordVan) has joined #tryton | 10:24 | |
-!- lucascastro(~lucascast@177-185-133-236.dynamic.isotelco.net.br) has joined #tryton | 10:24 | |
-!- ChanServ(ChanServ@services.) has joined #tryton | 10:24 | |
-!- Hirschbeutel(janmittelw@gateway/shell/matrix.org/x-snsbwdvtmvhfowob) has joined #tryton | 10:35 | |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 10:49 | |
-!- Hirschbeutel(janmittelw@gateway/shell/matrix.org/x-kgsfrggasvqnhnpw) has joined #tryton | 11:49 | |
-!- nicoe(~nicoe@2a02:578:852a:c00:18c2:1aff:fef9:2b7f) has joined #tryton | 11:54 | |
-!- springwurm(~springwur@5.104.149.54) has joined #tryton | 12:05 | |
-!- dee(4fe6e7c6@p4fe6e7c6.dip0.t-ipconnect.de) has joined #tryton | 13:42 | |
-!- ludo2(~Thunderbi@221.114.141.88.rev.sfr.net) has joined #tryton | 14:38 | |
-!- ludo3(~Thunderbi@2001:912:1480:380::1) has joined #tryton | 14:49 | |
-!- rpit(~rpit@5.61.161.134) has joined #tryton | 15:56 | |
-!- LordVan_(~LordVan@gentoo/developer/LordVan) has joined #tryton | 16:11 | |
-!- lucascastro(~lucascast@45-167-143-6.netfacil.inf.br) has joined #tryton | 18:15 | |
-!- yangoon(~mathiasb@p5dd08a70.dip0.t-ipconnect.de) has joined #tryton | 18:31 | |
-!- cryptic(~cryptic@142-196-139-017.res.spectrum.com) has joined #tryton | 19:18 | |
-!- thaneor(~ldlc6@r167-61-45-86.dialup.adsl.anteldata.net.uy) has joined #tryton | 19:31 | |
-!- lucascastro(~lucascast@177-185-133-236.dynamic.isotelco.net.br) has joined #tryton | 19:44 |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!