IRC logs of #tryton for Monday, 2022-01-10

irc.libera.chat #tryton log beginning Mon Jan 10 12:00:01 AM CET 2022
-!- Pegasus_RPG(~Thunderbi@72.89.118.36) has joined #tryton23:05
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton00:02
-!- ChanServ changed mode/#tryton -> +o cedk 00:02
-!- Pegasus_RPG(~Thunderbi@72.89.118.36) has joined #tryton01:14
-!- Pegasus_RPG(~Thunderbi@72.89.118.36) has joined #tryton01:16
-!- Pegasus_RPG(~Thunderbi@72.89.118.36) has joined #tryton02:03
-!- mrichez(~Maxime@2a02:a03f:c2e8:f900:ed77:85ea:af2b:ba6e) has joined #tryton06:09
-!- LordVan(~LordVan@gentoo/developer/lordvan) has joined #tryton06:55
-!- LordVan(~LordVan@gentoo/developer/lordvan) has joined #tryton06:56
LordVanhi just a quick question: when ShipmentOut status changes the outgoung shipment data (2nd tab on the move form) (amount,..) are changed to match the stock changes (1st tab on the move form). I want my custom fields to also be matching that. am i correct assuming i need to do this in ShipmentOut._get_inventory_move06:58
LordVanor _sync_inventory_to_outgoing ?06:59
-!- timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton07:44
-!- springwurm(~springwur@5.104.149.54) has joined #tryton07:49
-!- acaubet(~Thunderbi@74.126.185.52) has joined #tryton07:56
-!- nicoe(~nicoe@2a02:578:852a:c00:18c2:1aff:fef9:2b7f) has joined #tryton08:05
-!- acaubet(~Thunderbi@74.126.185.52) has joined #tryton08:20
-!- springwurm(~springwur@5.104.149.54) has joined #tryton08:20
-!- timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton08:20
-!- mrichez(~Maxime@2a02:a03f:c2e8:f900:ed77:85ea:af2b:ba6e) has joined #tryton08:20
-!- SISalp(~SISalp@51.sisalp.net) has joined #tryton08:20
-!- pokoli(~pokoli@user/pokoli) has joined #tryton08:20
-!- rpit(~rpit@p200300c88f3e0900e532e79838eb182a.dip0.t-ipconnect.de) has joined #tryton08:27
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton08:58
-!- ChanServ changed mode/#tryton -> +o cedk 08:58
LordVanhi09:52
LordVanquick question about outgoing shipments .. if i want my custom fields to be also copied from the internal stock move to the outgoing shipment do i need to do that in _get_inventory_move or beter _sync_inventory_to_outgoing ?09:53
LordVanI suspect the later, but wanted to check first if I am right09:53
pokoliLordVan: it depends, if the field are needed for splinting move you can add them as _sync_key10:10
pokoli_sync_move_key*10:10
LordVanwell it could be relevant for split deliveries10:12
LordVani want it for the current one, but also for any potential split ones for "leftover" parts that get delivered later10:13
-!- udono(~udono@045-129-067-156.ip-addr.inexio.net) has joined #tryton12:22
-!- springwurm(~springwur@5.104.149.54) has joined #tryton13:12
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton13:13
-!- ChanServ changed mode/#tryton -> +o cedk 13:13
LordVanpokoli, i have to admit I do not really understand _sync_move_key how would I best add that there? (i only need this for outgoing moves btw not for incoming)14:38
LordVanIs there a way to stop sale_amendment from increasing delivery note numbers every time there is a change?14:42
LordVan[from what I can see in the sale.py code it seems not (_clear_sale(..) ) but what is the reason for that? wouldn'T it be better to not create a new shipment (and because of that skipping numbers?)14:46
cedkLordVan: no because it delete former one to create a new one16:15
cedkand it is good that number change if the content change in case someone has printed or have received the reference16:16
cedkalso sale will not necessary create a single new shipment, it could create more or even any16:16
-!- Pegasus_RPG(~Thunderbi@149.127.15.1) has joined #tryton18:37
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton21:35
-!- ChanServ changed mode/#tryton -> +o cedk 21:35
-!- Pegasus_RPG(~Thunderbi@149.127.15.1) has joined #tryton22:36

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