chat.freenode.net #tryton log beginning Wed Mar 24 12:00:01 AM CET 2021 | ||
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 23:31 | |
-!- thaneor(~ldlc6@r167-61-111-114.dialup.adsl.anteldata.net.uy) has joined #tryton | 01:17 | |
-!- srgdts(~srgdts@unaffiliated/srgdts) has joined #tryton | 02:51 | |
-!- springwurm(~Springwur@5.104.149.54) has joined #tryton | 05:58 | |
-!- mrichez(~Maxime@2a02:a03f:c2e8:f900:ed77:85ea:af2b:ba6e) has joined #tryton | 06:06 | |
-!- Timitos(~kpreisler@2001:a61:42d:c01:762b:62ff:fe84:ed7e) has joined #tryton | 07:10 | |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 07:49 | |
-!- acaubet(~Thunderbi@194.224.31.235) has joined #tryton | 08:00 | |
-!- rpit(~rpit@p200300c88f0235001c42215a17f33f55.dip0.t-ipconnect.de) has joined #tryton | 08:27 | |
LordVan | Hi | 10:41 |
---|---|---|
LordVan | just a question about manual invoices/delivery notes | 10:42 |
LordVan | is there a way to generate those from a sale with delivery/invoice set to manual with some sort of wizard or so (maybe in an extra module) that i missed? | 10:42 |
LordVan | -- otherwise the plan is to write one | 10:42 |
pokoli | LordVan: no but it should not be complex. Just modifying the method and processing the sale should create the related documents | 10:45 |
LordVan | pokoli, yeah i have looked at the code for that | 10:45 |
LordVan | i just need to make sure it works the way I need it (also need partial delivery notes and possibly invoices later) | 10:46 |
pokoli | LordVan: why you do not want to use the standard process? | 10:47 |
LordVan | i am not opposed to standard process if I can do delivery notes at the time of my choosing and also partial if needed | 10:49 |
nicoe | I remember that there is an issue about non printable characters in Char fields but I can not find it on bugs.tryton.org | 10:49 |
nicoe | Does this sounds any bell, to anybody ? | 10:49 |
nicoe | https://bugs.tryton.org/issue7914 | 10:50 |
nicoe | :) | 10:50 |
LordVan | not had this problem tbh | 10:54 |
pokoli | nicoe: we had a user which is copy pasting fields into tryton with lots of space which will benefit from this issue | 10:54 |
pokoli | LordVan: which is the time of your choosing? | 10:55 |
Timitos | nicoe: are there any plans to work on this issue before the release of 6.0? | 10:55 |
LordVan | pokoli, when it'S done and the customer picks it up | 10:56 |
Timitos | i expect that there will be big issues with 6.0 otherwise | 10:56 |
pokoli | LordVan: that's what the "On shipment Sent" invoice method does | 10:57 |
LordVan | pokoli, my problem is | 10:58 |
LordVan | i do not use production | 10:58 |
LordVan | if i do not set manual it goes straight to that when i confirm | 10:58 |
pokoli | LordVan: do not understand | 11:00 |
LordVan | or did I misunderstand something there? | 11:00 |
pokoli | LordVan: if you do not use production you do not activate it | 11:00 |
pokoli | LordVan: shipments are created by stock module which is a direct dependency of sale module | 11:00 |
LordVan | yes | 11:01 |
LordVan | but how would I decide when to trigger the creation of delivery notes then? | 11:01 |
pokoli | LordVan: shipment_method is exactly for that | 11:01 |
pokoli | LordVan: normally the shipment is created when the order is confirmed | 11:01 |
pokoli | LordVan: but it's created on waiting state, so the user needs to enter which products are really sent to the customer | 11:02 |
LordVan | yes but I don'T want that | 11:02 |
LordVan | ah | 11:02 |
LordVan | i thought if i set it to do it on"execution" it will create it uatomatically | 11:02 |
LordVan | i need to be able to have the date of the day when it gets picked up not when it was confirmed though | 11:02 |
LordVan | back in a bit - lunchbreak | 11:03 |
pokoli | LordVan: no, it just creates the *need* of sending the goods. But they are not really sent until the user performs the manual action | 11:03 |
LordVan | ah | 11:03 |
LordVan | ok then i misunderstood there | 11:03 |
LordVan | i will do more testing | 11:03 |
LordVan | afk for a bit now though | 11:03 |
pokoli | LordVan: on the other hand, you will have some availability problems, because if ou do not do productions tryton will not now that the products are available | 11:03 |
pokoli | LordVan: ok, just ping me once back here so we can continue. Enjoy your meal! | 11:04 |
cedk | indeed "manual" method should be renamed into "none" and we should allow to change from None to something else later | 11:22 |
pokoli | cedk: you think it should be possible to update it even if the sale is done? | 11:25 |
cedk | pokoli: yes | 11:27 |
pokoli | cedk: probably the problem will be that the process button is hidden when the sale is done. | 11:28 |
cedk | Timitos: why should there is big issue if we do not implement something? | 11:28 |
cedk | pokoli: but the amendment could manage that | 11:29 |
pokoli | cedk: I guess we can add and action to update invoice, shipment method | 11:30 |
pokoli | but... then we can require to use an ammendment to update the methods | 11:31 |
pokoli | We should probably define how it should work, but the idea makes sense for me | 11:33 |
Timitos | cedk: i fear that many people will have problems with copy+paste from excel after https://bugs.tryton.org/issue9248 | 11:35 |
Timitos | i had an issue with a non-zero space in an email address (maybe caused by copy+paste from the web) | 11:36 |
Timitos | its hard to find issues like that for a normal user | 11:36 |
-!- buxy_bak(~rhertzog@helios.freexian.com) has left #tryton | 11:37 | |
cedk | Timitos: I do not see it as a problem to detect it earlier, indeed it is an improvement | 11:42 |
Timitos | cedk: yes. but i fear that this is not enough. i think that triming like porposed in issue7914 would improve the situation a lot | 11:43 |
cedk | Timitos: in software development it is never enough but it is not a problem as long as it is better than before | 12:00 |
LordVan | ok i'm back now | 12:04 |
LordVan | reading up on this before connecting to the demo server to check it out | 12:05 |
nicoe | Timitos: I have a meeting this afternoon where I will talk about that so I'll probably work on it (maybe in time for 6.0) | 12:05 |
Timitos | nicoe: cool. thx | 12:06 |
LordVan | pokoli, so you suggest to set shipment method to on order processed and invoice to on shipment sent? | 12:09 |
LordVan | hm i just treid that but | 12:16 |
LordVan | when i press process nothing happens | 12:16 |
LordVan | and there is an invoice already (state is processing, invoice state waiting and shipment state none) | 12:17 |
pokoli | LordVan: It seems you seet the values in the order way arround | 12:37 |
pokoli | LordVan: because there is no shipment but an invoice | 12:37 |
LordVan | yes i need both | 12:45 |
LordVan | but "on-demand" | 12:45 |
LordVan | what i do not get is | 12:46 |
LordVan | why in that case the processing button does nothing | 12:46 |
LordVan | (i did not find any proper documentation/examples/howtos how to actually use tryton to process sales with different settings there) | 12:46 |
LordVan | that would be a gread idea for a video tutorial maybe | 12:46 |
LordVan | imho | 12:46 |
cedk | LordVan: for me it looks like you are forgetting about the planned date on shipment and the shipping date on sale | 12:47 |
LordVan | for that test just now i did not set that that is true | 12:47 |
cedk | LordVan: there are almost no point to manually create the shipment | 12:47 |
cedk | indeed it is the best way to just miss shipment and supply | 12:48 |
LordVan | well i need to generate the shipment / delivery note report when the customer come to pick it up - which more often than not differs from the planned date | 12:48 |
cedk | LordVan: why that does not make sense | 12:51 |
cedk | LordVan: for the shipment. The delivery note is printed when you click on the print button | 12:51 |
LordVan | ok so the delivery note date is when i press print? that is good. | 12:51 |
LordVan | well customer are often late to pick stuff up | 12:52 |
LordVan | or early | 12:52 |
LordVan | or pick up part of it early and part later | 12:52 |
LordVan | etc | 12:52 |
LordVan | in which case i also want the invoice generated (usually) when the order is completely picked up | 12:52 |
LordVan | (or rather that is a requirement in the specs for me) | 12:53 |
cedk | LordVan: the date is the one on the record | 12:53 |
LordVan | hm | 12:53 |
LordVan | so the shipment would be created with planned_date and then the delivery notes would contain that date? | 12:54 |
cedk | LordVan: read the code of the template | 12:54 |
LordVan | was going to do that yes | 12:54 |
pokoli | LordVan: here is the proposal of sale documentation: https://codereview.tryton.org/328601002/ | 12:55 |
pokoli | LordVan: I bet at the end you will end up using most of the standard Tryton workflow | 12:56 |
LordVan | hm i just created a sale with both invoice and shipment method on order processed and shipping date too | 12:56 |
LordVan | on confirming it creaes the invoice | 12:56 |
pokoli | LordVan: of course. The order is processed just after confirming | 12:56 |
LordVan | pokoli, as I said standard workflow would be preferred if i can meed the specificatsions i have been given | 12:56 |
LordVan | but what i do not get | 12:57 |
LordVan | there is a"PRocess"button now | 12:57 |
LordVan | that does nothing | 12:57 |
LordVan | (if you want to look sale 64 on the demo5.8) | 12:57 |
pokoli | LordVan: no need to look, I know how it works :) | 12:57 |
cedk | LordVan: do not look as admin | 12:57 |
LordVan | why is there a problem as admin? | 12:58 |
pokoli | LordVan: the process button is there for admin users to re-process the sale in case of error | 12:58 |
LordVan | aah | 12:58 |
LordVan | i was not aware. thanks for the info | 12:58 |
LordVan | I just remembered something | 13:00 |
LordVan | for sale_lines without corresponding product there is no automatic delivery note generation is there? | 13:00 |
LordVan | i just entered a manual sale line with just amount and price nothing else (no product) | 13:00 |
LordVan | so it would not be able to do any "inventory" moves i guess? | 13:00 |
pokoli | LordVan: which product do you want to move on the inventory? | 13:01 |
LordVan | there is no product | 13:01 |
LordVan | just a manual sale line | 13:01 |
pokoli | LordVan: so there is nothing to move | 13:01 |
LordVan | one-off | 13:01 |
LordVan | exactly | 13:01 |
LordVan | i had forgotten about that | 13:01 |
LordVan | but i want to still make a delivery note for those lines | 13:01 |
LordVan | cuz i have them often | 13:01 |
pokoli | LordVan: then you need to create a product before processing the sale | 13:02 |
LordVan | not an option for tens of thousands different one-off products per year | 13:02 |
LordVan | just too much administrative work imho | 13:02 |
pokoli | LordVan: i bet you have some way to identify the product that you should produce | 13:03 |
pokoli | name, code or something else | 13:03 |
LordVan | names that are often just generic | 13:03 |
LordVan | like "Winkel 01" Winkel 02,. | 13:03 |
LordVan | they occur often | 13:03 |
LordVan | but are always different | 13:03 |
LordVan | would you give an article number to some random piece of metal you cut maybe completely manually from a big sheet? | 13:04 |
LordVan | the number of products we make that actually have a unique identifier is rather low compared to the total number of different produts | 13:05 |
cedk | LordVan: for me you need to have a generic product stored by surface and a lot that describe the properties like dimension etc. | 13:05 |
LordVan | don'T get me wrong i would gladly use product, .. | 13:05 |
LordVan | cedk, yes that is essentialyl what i am doing | 13:06 |
LordVan | i made a dummy product which contains just some very basic info like tax rates,.. | 13:06 |
LordVan | and then we add extra info to that | 13:06 |
LordVan | but obviously there is no actual inventory of that | 13:06 |
LordVan | so would it not fail to make inventory moves of something generic like that too? | 13:07 |
cedk | LordVan: it will not fail but it will give nothing interresting as result | 13:09 |
LordVan | so there is no way to just use sale lines without a product for shipment/delivery notes? | 13:10 |
cedk | LordVan: for me you must at least create a product for each common properties, probably the type of metal, the thinnes etc. | 13:10 |
LordVan | hmm | 13:10 |
cedk | so at least you can have a surface quantity that means something | 13:10 |
LordVan | that would make things quite complicated workflow wise | 13:10 |
cedk | LordVan: otherwise you will have no stock management at all | 13:14 |
-!- springwurm(~Springwur@5.104.149.54) has joined #tryton | 13:14 | |
LordVan | so stock management is the only way to automatically generate delivery notes .. i see | 13:14 |
LordVan | but invoices can get generated from just the sale lines too | 13:15 |
LordVan | i was hoping there was a way | 13:15 |
LordVan | ah wait | 13:17 |
LordVan | are you saying that without product/stock management i cannot create delivery notes at all? | 13:17 |
LordVan | since i just tried manually and it requires a product too | 13:17 |
LordVan | so i'D be able to invoice those sale lines, but not deliver them | 13:19 |
LordVan | that would be .. impractical | 13:20 |
-!- thaneor(~ldlc6@r167-61-5-255.dialup.adsl.anteldata.net.uy) has joined #tryton | 13:20 | |
LordVan | but creating articles for everythign is also not very practical workflow - and especially work-time-consuming wise | 13:21 |
LordVan | a sale line quite often can just contain something like "10 pieces of sheet metal parts" where each is different, some just cut, some bent too, maybe some even soldered | 13:22 |
LordVan | because there is an attached list from the customer with the details | 13:22 |
-!- ludo2(~Thunderbi@2001:912:1480:380::1) has joined #tryton | 13:36 | |
cedk | LordVan: so I would create one product for each raw material you purchase/store | 13:51 |
LordVan | hm but then what about compound products then? like something made of different raw materials and assembled which i want on the delivery note (and invoice) as just one line | 13:53 |
LordVan | my plan was to put those in the sale_line list, but not copy those lines to the invoice, but just the compound one | 13:54 |
LordVan | like customize the method that creates the invoice to exclude some sale_lines (that i'D mark with a boolean) | 13:55 |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 13:56 | |
-!- ludo2(~Thunderbi@193.33.57.196) has joined #tryton | 13:57 | |
pokoli | LordVan: why not just create a sale line for each compund | 14:12 |
LordVan | i do | 14:13 |
LordVan | but i do not want all of that on the invoices | 14:13 |
LordVan | also i am going to have to add an alternative "invoice line" text anyway | 14:13 |
pokoli | LordVan: I mean just create the sale lines as you want to invoice | 14:13 |
pokoli | LordVan: and add any additional details as custom information | 14:13 |
LordVan | i need the individual materials too cuz i create a report to use as project sheets for production docs | 14:13 |
LordVan | I find it easier to subclass sale and filter out lines that i do not need than make that report show that additional detail | 14:14 |
LordVan | or even easier than filter it on the sale just filter it in the report for the invoice itself | 14:18 |
LordVan | but maybe as cedk suggested creating a couple of generic products for different materials might be a feasible option | 14:46 |
LordVan | and just have custom attributes / extra fields maybe | 14:46 |
LordVan | I'll be pondering that later and probably sleep over it after some testing | 14:50 |
LordVan | thanks for the help/tips | 14:58 |
-!- rpit(~rpit@p200300c88f0235001c42215a17f33f55.dip0.t-ipconnect.de) has joined #tryton | 16:36 | |
-!- ludo2(~Thunderbi@221.114.141.88.rev.sfr.net) has joined #tryton | 17:27 | |
-!- ludo3(~Thunderbi@2001:912:1480:380::1) has joined #tryton | 19:01 | |
-!- LordVan_(~lordvan@gentoo/developer/LordVan) has joined #tryton | 20:05 | |
LordVan_ | question: is there anything to watch out for if i want to run 2 tryton instances on one machine (with seperaet DBs of course) | 20:07 |
cedk | LordVan_: just run one and select the database at login | 20:21 |
LordVan_ | well i might want to ahve different (custom) module versions though | 20:33 |
LordVan_ | for dev | 20:33 |
LordVan_ | (or i put it on a different box of course) | 20:33 |
LordVan_ | i think i might just do the later for the module dev and the other just for some testing that does nto require that | 20:35 |
LordVan_ | thanks | 20:35 |
-!- nicoe(~nicoe@213.211.144.236) has joined #tryton | 20:53 | |
-!- nicoe(~nicoe@2a02:578:852a:c00:224:9bff:fe6c:a1b2) has joined #tryton | 22:04 |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!