IRC logs of #tryton for Wednesday, 2021-01-13

chat.freenode.net #tryton log beginning Wed Jan 13 12:00:01 AM CET 2021
-!- JanGB(~jan@ip5f5ab06a.dynamic.kabel-deutschland.de) has joined #tryton23:21
-!- JanGB(~jan@ip5f5ab06a.dynamic.kabel-deutschland.de) has joined #tryton23:40
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton23:57
-!- lucascastro(~lucascast@177-185-133-174.dynamic.isotelco.net.br) has joined #tryton01:35
-!- srgdts(~srgdts@unaffiliated/srgdts) has joined #tryton02:14
-!- thaneor(~ldlc6@r190-135-91-73.dialup.adsl.anteldata.net.uy) has joined #tryton05:13
-!- mrichez(~Maxime@2a02:a03f:c2e8:f900:ed77:85ea:af2b:ba6e) has joined #tryton05:59
-!- springwurm(~Springwur@5.104.149.54) has joined #tryton06:03
LordVanhi06:22
LordVananyone got an example on how to move existing fields? - I want to move shipping_date from the 2nd Tab to the first one in sale so it is next to sale_date06:23
LordVan(brb)06:25
-!- LordVan(~LordVAn@gentoo/developer/LordVan) has joined #tryton07:10
LordVanA question about sale.shipping_date .. is anyone aware if there is a problem if I use that for the date the customer would like the delivery for (As opposed to when it is actually delivered) ?07:11
LordVan(same for sale_line)07:12
-!- Timitos(~kpreisler@2001:a61:578:ee01:ae7b:a1ff:feaf:55f0) has joined #tryton07:12
-!- nicoe(~nicoe@2a02:578:852a:c00:7e2a:31ff:fe5e:b25d) has joined #tryton08:44
-!- Timitos(~kpreisler@2001:a61:578:ee01:762b:62ff:fe84:ed7e) has joined #tryton09:11
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton09:26
LordVanI have a proposal for a change to trytond.report.report execute function .. I would like to propose adding a method to get the filename (that I can then overwrite in my own report if i need to) instead of just using slugify('%s-%s' % (record.id, record.rec_name)) (report.py:159)10:40
LordVanthis would be able to save us time as we do save the reports in the filesystem too (for archiving and because sometimes small adjustments are needed)10:40
LordVanI was going to put it on the tracker yet, but thought i'd ask opinions here first10:41
LordVan(basically put that line in a function so it is easy to overwrite similar to other _get.. functions10:43
TimitosLordVan: look here: https://discuss.tryton.org/t/report-name-again/252810:44
LordVanah yes exaclty that10:44
LordVanyou gave me the link before I had the time to search the tracker ^^10:48
LordVanmaybe it would be best to be able to define the PYSON in the report settings10:49
LordVandon'T need own function then and it is even easier than overwriting that in a custom one10:49
LordVani shall re-read and join that discussion later though10:49
-!- mariomop(~quassel@190.188.44.80) has joined #tryton11:00
cedkACTION feel like disconnect again from the forum11:14
LordVanO.o not my fault .. i just signed up12:12
-!- lucascastro(~lucascast@177-185-133-174.dynamic.isotelco.net.br) has joined #tryton12:17
cedkLordVan: no, I just decide to not care about other comments about the infrastructure12:23
cedkI will do whatever I want because I'm anyway the only one doing something12:23
pokolicedk: for me this kind of comments just produce desmotivation12:24
pokolicedk: mainly because if I propose to do something I do not get possitve feedback encouraging me to doing so12:25
cedkpokoli: I have seen no proposal12:25
cedkjust comments12:25
pokolicedk: Indeed there is no real proposal, just evaluating the options to see what better suits for the project12:25
cedkI'm tired to have this conversation over and over…12:26
cedkI'm thinking about the infrastructure since 2 years, it is not few comments on the moment that will change the result12:27
pokolicedk: as usuall you have the final decision on the topic12:29
LordVancedk, btw is wire transfer the preferred way to donate to the foundation? (i assume credit card,.. would have fees?)12:29
pokolicedk: but I see any issue about evaluating other options12:29
cedkpokoli: it is usual because nobody else takes responsability12:29
cedkpokoli: OK I'm just saying that I will not take part "again" to such evaluation12:30
pokolicedk: Yes, I know. And same happens with writting newsletters and news12:30
pokolimain problem is that there is no benefit on doing so, so nobody cares about it12:31
cedkmay be people would care if I shutdown everything?12:32
pokoliLordVan: yes, wire transfer is prefered to generate less fees for the foundation12:32
LordVanok because I (or rather work) want to donate some (but gotta still sort out how much,.. with the boss)12:33
pokolicedk: probably but this will not benefit Tryton12:33
LordVani assume subject is irrelevant?12:33
LordVani mena payment ref or whatever12:33
pokolicedk: Indeed i have the same feeling for Spanish/Catalan translations since some years12:34
pokolicedk: nobody cares because they assume this should be done by somebody else12:35
-!- semarie(~semarie@unaffiliated/semarie) has left #tryton12:35
cedkIndeed I do not care doing the work, what piss me off is people comments about how *I* should do it12:36
LordVanyeah .. if I do volunteer work I usually want to (within limits of course) do it the way I want to.. not how someone else who does not contribute anything wants12:36
LordVan(not talking about anyone specific here of course just generally speaking)12:39
pokolicedk: I think we should stop thinking about individuals but start thinking on the word community12:39
pokolicedk: you have a big importance in it, so sometime you get the of the responsability12:40
pokolicedk: main problem is that we are failing to involucrate more and more people12:40
pokolicedk: sincerly I'm not sure how we should do it. Involucrating the foundation is the first step. But then discoussing lasts longers and work never completes12:41
LordVanpokoli, the question is: are there enough people (actively involved) to warrant that effort - and somehow make up for the extra time taken up by discussoins12:43
LordVanACTION has no clue how many people are currently "active" in the tryton community12:43
cedkLordVan: between 3-612:44
LordVanwell12:45
cedkI mean doing stuffs like fixing, reviewing, documenting12:45
cedkLordVan: but on average maybe of 1-2h per week12:45
-!- nicoe(~nicoe@2a02:578:852a:c00:7e2a:31ff:fe5e:b25d) has joined #tryton12:45
LordVanyes that is what I meant .. i mean one can also consider people who activel help others on the forum/IRC/.. to be contributing somewhat i guess12:46
cedkLordVan: but it does not produce a lot, maybe just adding 1 user12:47
cedkthat's not what makes the project going on12:47
cedkif at least the helper would update the documentation or improve the behavior to prevent future question, but this almost never happens12:48
cedkand it is not a tooling issue (that's what the non-doers always answer)12:48
LordVanwhat I am doing for now is documenting my progress/.. on my blog .. if I have something that can/should go into the official docs (and is good enough quality) I will try to contribute that at least .. plus some code maybe if I am sure it is ok (and generic enough)12:50
LordVanbtw12:51
LordVansomething I had been thinking about .. i've seen you made a youtube video on setting up tryton on docker .. are you interested in adding an "App" (docker image for trytond,..) to univentions store? (odoo,.. are in there too)12:51
LordVanor do you think there is no point since tryton is not "turn-key" ?12:52
LordVanhttps://www.univention.com/products/univention-app-center/ (could get you some more users maybe)12:52
cedkLordVan: I'm not assuming anything about your future contribution, but I can tell you that I have heard that some many times…12:52
LordVancedk, yeah it is like that iwth many volunteer projects .. :(12:52
cedkLordVan: I do not know univention12:53
LordVanI use the free corporate server for windows Domain,..12:53
LordVan(setting up samba manually just became too much of a pain with samba4)12:54
cedkand I would say that I do not need to be involved in that question, if you think it is good go for it12:54
pokoliACTION is on phone12:54
cedkif you want it to be official, start a proposal and probably we can allocate resource if needed12:54
LordVanwell the thing is while tryton out-of-the-box is useful but .. how many installs are there without any customization is the question12:55
cedkas long as it does not add to me more work12:55
LordVan(most other "apps"/containers you can just install and use with some setup12:55
LordVancedk, i have no use for it in the store12:55
LordVanit was just something i thought when i noticed odoo in it12:55
cedkLordVan: I know some installations without any development12:56
LordVancedk, :) i guess if you had some shop or something you could use most modules as-is (but for us as producing company it is quite different)12:56
LordVanso mayb e.. I shall think about it (And look into what their requirements are even12:56
LordVanto be part of it12:57
LordVanIf I think it is feasible I will post my findings in the forum to discuss if it is worht the effort maybe12:57
LordVananyway that was just a thought on the side12:58
LordVanthere are way more important things than that12:58
pokoliLordVan: what things are more important than that? Could you help solve one of them?13:18
pokoliI think we are failing at encourauging people to contribute13:18
pokolipeople is lazy by default, so we do not ask them they will do less (even if we ask they won't do a lot)13:19
pokoliasking may be having a list of thinks to improve (like easy issues)13:23
LordVanpokoli, i mean getting my customizations for our tryton install done and the reports finished is hihger priority for me personally than putting it in an app store for the univention systems that i will not use myself13:25
LordVanpokoli, and i want to mainly ask if people are even interested in using it ;)13:25
pokoliLordVan: of course, your our needs are always more iportant that community ones13:26
pokolithis is why we do not get so much contribution, because people tend to care only for their own problems13:26
LordVanalso i'd rather contribute with patches or documentatnion than maintaining an app image in a store13:27
pokoliand it's easier to implement a custom solution than developing the right solution and contributing it back to the project13:27
LordVanyes of course13:28
pokoliLordVan: feel free to contribute with whatever you prefer. If it's something interesint for the project we will accept :)13:28
LordVanexactly .. my customized modules with very specific fields and needs is not something that would make any sense to integrate into tryton by default13:29
LordVani will post the source on my git repo for it though13:29
LordVansince ther eis no big secret or anything13:29
pokoliLordVan: I will not consider a contribution to push your customizations to public repositories13:31
LordVanwell I for one would'Ve been glad if I found some examples like that when I was learning my way around tryton so maybe it helps someone .. and some parts of it I think are worth considering merging back but that will depend on the judgement of others ;)13:32
pokoliLordVan: long time ago we used to have a lot of modules into what we call TrytonSpain. This a public repository where some spanish companies shared their efforts13:32
LordVanyes i think i'Ve seen that13:33
pokoliLordVan: altought this helped increasing the visibility of tryton in spain (and some other countries also), the real improvement was when we tried to push everything to upstream13:33
LordVanthe only thing so far that I did that is maybe worth it is my mini module to add sale_line_description back as column of the sale "table"/list .. but that is so small it is hardly worth being a seperate module so ..13:34
pokoliLordVan: so if you want to have something accepted as part of Tryton you should first explain your needs on the forum, then we discuss a generic discuss and this can be implemented to land on tryton13:34
pokoliLordVan: IIRC your small module will be included in tryton 5.9, at least a similar feature13:35
LordVansomeone told me this used to be a column anyway but .. you can look .. it is hardly worth making an official module for it .. i integrated those 3 files int my customizations with the fields,.. now : https://github.com/LordVan/tryton-modules/tree/master/sale_list_description13:35
pokoliLordVan: a good contribution may be sharing some howtwos on the forum if you create them for your end users13:37
LordVanthough it could be maybe merged with some other smaller changes/additions to sale I made (and will still make) to include a "requested_date" (customer would like the product by then) ,..13:37
pokoliLordVan: for example, how to create a sale13:37
pokoliLordVan: there is a shipping date on the sale to indicate when the customer want's the goods13:38
LordVanpokoli, i wasn'T sure if that wsa the *actual* shipping date13:38
LordVan(ie the delivery note one)13:38
LordVanor if that was for expected one13:38
LordVan-- i did ask that earlier today but i think most were not online13:38
LordVanbut I am currently using shipping_date as that anyway .. i was just worried if it was maybe going to mess up something once I create delivery notices or invoices13:39
pokoliLordVan: once you created the shipping, they will get the shipping_date as planned_date but you can replan the shippment latter13:39
LordVanpokoli, about howtos .. i was contemplating copy9ing some of (the more usueful posts of ) my blog stuff into forum posts https://blog.lordvan.com/blog/category/tryton/13:40
pokoliLordVan: and in the sale line you will see the date from which the line is planned as shipping date (because we compute it from moves if available)13:40
LordVanpokoli, ok thanks that answers my question .. then I will add another date, because I do not want that date to change automatically ever13:41
LordVan(i want to be able to change it manually if the customer changes their mind, but no automatic workflow should touch the "customer expects it done that day" date)13:41
pokoliLordVan: the shipping_date of the line is readonly and updated13:41
LordVanyes13:41
pokoliLordVan: the shipping_date of the sale is never updated13:41
LordVani see13:41
pokoliLordVan: take care there are *two* dates13:42
LordVanyes i noticed13:42
LordVanwhich is why for sale_line i need to add a date field13:42
LordVansince we often have orderes where one part needs to be delivered earlier,..13:42
pokoliLordVan: if you want to change the date once shipments have been created, you should update the shipments planned_date13:42
LordVanso one planned shipping_date is not enough13:42
pokoliLordVan: normally tryton should be able to compute it for you13:43
pokoliLordVan: if you set the proper delivery date13:43
pokoliLordVan: by default tryton creates only one shipment for all the sale, but can be customize to create several shipments depending on the product lead time13:43
-!- springwurm(~Springwur@5.104.149.54) has joined #tryton13:45
LordVanpokoli, the thing is .. the dates need to be able to be set per sale_line ... and printed on a report when ordered .. shipments that are created later can be at varing times and also can combine items with different planned dates13:47
LordVanso doing this automatic here is probably not feasible13:47
LordVan(also i am not using production - or even product modules for most orders)13:49
LordVanpokoli, I would gladly contribute a module to add those customizations for sale_line to a standard module but I think the user base would be rather limited ..13:59
LordVanthough13:59
LordVanmaybe the planned date per sale line and also different customer references/.. per sale line (to overwrite the ones for the whole sale) might be useful for others too .. what do you think?14:00
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton14:04
pokoliLordVan: i have the feeling that you are forcing you to follow the same workflow as before14:05
pokoliLordVan: because you answer that things should be done one way without giving the reasons14:05
pokoliLordVan: so without nowing the rational, for me this should be customizations14:06
LordVanpartially I am forced to keep some things14:06
LordVanbut14:06
LordVanthe fact that our customers order parts that are for like 3 internal projects of theirs and therefore have different references as one order is not somethin i can change14:06
LordVanor need different delivery times for different parts14:07
LordVanwhen you make a lot of prototypes and small amounts of same parts14:07
LordVanand with short lead times14:08
LordVanplanning production ahead is nearly impossible14:08
LordVanthe order of which project is drawn/programmed/cut on the laser/bent/.. changes sometimes hourly14:08
pokoliLordVan: you have two options here:14:16
pokoli1. Create one sale line for each reference/delivery date14:17
pokoli2. Customize the code to suit your needs14:17
pokoli1. sale line -> sale order14:17
LordVanI do not understand what you mean with the first one, since I said that i might just have different customer references/planned dates per sale line14:18
LordVanbut I have to add extra fields as those are not present from what I could see14:18
LordVanso i am doing 1 and adding the extra fields with 214:19
pokoliLordVan: you told me that your customers creates an order for each project with a reference and a shipping date14:19
pokoliLordVan: you can encode this a single sale for each project, or group all projects into a single sale14:20
LordVanmaybe i was not clear .. we get 1 customer order that contains multiple sale_line entries where some might have varying customer references/planned dates14:20
pokoliLordVan: the first will work without customization, the latter will force you to add fields and customization14:20
LordVanwell I am going for the second option as I already have to add customized fields for sale_line anyway14:20
pokoliLordVan: and which is the issue with splitting them on Tryton?14:20
LordVanI would need to still somehow know at one glance which go together for one customer order14:21
LordVanand also for invoicing they need to be grouped back together14:21
LordVan(or should be at least according to .. management requirement)14:21
LordVanthough I am trying to talk them out of this one anyway14:21
LordVani'D prefer to just split it too of course14:22
LordVanbut then there'd be even more "paperwork"14:22
pokoliLordVan: no paperwork if you use the grouping modules14:22
pokoliLordVan: shipments and invoices can be grouped if requested14:22
LordVanyes but can i group sales?14:23
LordVanfrom a "logical" perspective14:23
LordVanthe customer calls up asks is my order from XY done and ready for pickup14:23
LordVani need to be able to look it up and see that goes together before shipmend and invoicing14:23
LordVanso14:23
LordVani'd need not just invoice groups but also sale group14:24
LordVanbut i think customizing sale_line might be easier and more straightforward tbh14:24
LordVan[[I already managed to get rid of some old - bad- practices by saying it would take me X hours longer and thus cost more .. but i can only influence "management" so much]]14:25
pokoliLordVan: you should look at shipments to see if it's ready for pick up14:26
LordVanpokoli, i will do taht still i haven't gotten that far yet14:55
LordVanto look into details of that14:55
LordVanI am (purposely) introducing tryton "in stages"14:56
LordVanfirst we manage parties and sales (to generate internal project documentation automatically) next step is going to be delivery notes and then invoices14:58
pokoliLordVan: then probably it's better to fully understand how tryton works before creating customizations15:19
pokoliLordVan: as sales creates delivery notes and invoices you should link them15:19
cedknot necessary, you can prevent sale to create any shipment or invoice by using manual methods15:22
pokolicedk: but if they want to manage what is ready to delivery they should use shipments15:23
pokolicedk: otherwise if you do not link it is not possible to know what is ready to ship and what is shipped15:25
pokoliindeed we are starting a project where they enter the sales when the goods has been shipped to properly generate grouped invoices15:25
pokoliand they set the shipment_method to manual to not generate shipments (only invoices)15:26
pokoliand latter we will swithc the methods to properly generate both documents15:26
pokoliThis may help, but setting both invoice and shipment method as manual it's only usefull to register quotations15:27
samtchi!15:31
pokolisamtc: hello, welcome to the tryton IRC channel!!!15:34
-!- g5pw(~g5pw@mittelab/sudo/g5pw) has joined #tryton16:41
samtcLet say I want to build a report (like a credit report). To get the final report, I need to gather information from 4 differents data sources. Some need manual review/approval. Then, we build the report and ship it (email) to the client. I would like to implement that using the production module.16:46
pokolisamtc: which data sources? tryton models or external ones?17:10
samtcexternal17:10
pokolisamtc: if they need to be reviewed/approved and are tryton models you can design a workflow to track it's status17:11
samtcbut I don't want tryton to handle the data, just make sure the production is done right17:11
pokolisamtc: the production module is used to transform materials17:11
samtcok17:11
pokolisamtc: then you will need to store soway in tryton the state of the external data sources17:11
pokolisamtc: and customize the production model to check everything is done right in the required steps17:12
pokolisamtc: so for example if you need to ensure something is done before startig you should check it on the run transition and raise an error in tryton if something is missing17:13
pokoliACTION leaves for today, will read the conversation tomorrow17:13
-!- thaneor1(~ldlc6@r167-61-83-159.dialup.adsl.anteldata.net.uy) has joined #tryton17:16
samtcthanks!17:16
-!- udono(~udono@091-057-210-188.ip-addr.inexio.net) has joined #tryton20:57
-!- JanGB(~jan@ip2504eac0.dynamic.kabel-deutschland.de) has joined #tryton22:11

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