irc.libera.chat #tryton log beginning Mon Jan 10 12:00:01 AM CET 2022 | ||
-!- Pegasus_RPG(~Thunderbi@72.89.118.36) has joined #tryton | 23:05 | |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 00:02 | |
-!- ChanServ changed mode/#tryton -> +o cedk | 00:02 | |
-!- Pegasus_RPG(~Thunderbi@72.89.118.36) has joined #tryton | 01:14 | |
-!- Pegasus_RPG(~Thunderbi@72.89.118.36) has joined #tryton | 01:16 | |
-!- Pegasus_RPG(~Thunderbi@72.89.118.36) has joined #tryton | 02:03 | |
-!- mrichez(~Maxime@2a02:a03f:c2e8:f900:ed77:85ea:af2b:ba6e) has joined #tryton | 06:09 | |
-!- LordVan(~LordVan@gentoo/developer/lordvan) has joined #tryton | 06:55 | |
-!- LordVan(~LordVan@gentoo/developer/lordvan) has joined #tryton | 06:56 | |
LordVan | hi 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_move | 06:58 |
---|---|---|
LordVan | or _sync_inventory_to_outgoing ? | 06:59 |
-!- timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton | 07:44 | |
-!- springwurm(~springwur@5.104.149.54) has joined #tryton | 07:49 | |
-!- acaubet(~Thunderbi@74.126.185.52) has joined #tryton | 07:56 | |
-!- nicoe(~nicoe@2a02:578:852a:c00:18c2:1aff:fef9:2b7f) has joined #tryton | 08:05 | |
-!- acaubet(~Thunderbi@74.126.185.52) has joined #tryton | 08:20 | |
-!- springwurm(~springwur@5.104.149.54) has joined #tryton | 08:20 | |
-!- timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton | 08:20 | |
-!- mrichez(~Maxime@2a02:a03f:c2e8:f900:ed77:85ea:af2b:ba6e) has joined #tryton | 08:20 | |
-!- SISalp(~SISalp@51.sisalp.net) has joined #tryton | 08:20 | |
-!- pokoli(~pokoli@user/pokoli) has joined #tryton | 08:20 | |
-!- rpit(~rpit@p200300c88f3e0900e532e79838eb182a.dip0.t-ipconnect.de) has joined #tryton | 08:27 | |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 08:58 | |
-!- ChanServ changed mode/#tryton -> +o cedk | 08:58 | |
LordVan | hi | 09:52 |
LordVan | quick 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 |
LordVan | I suspect the later, but wanted to check first if I am right | 09:53 |
pokoli | LordVan: it depends, if the field are needed for splinting move you can add them as _sync_key | 10:10 |
pokoli | _sync_move_key* | 10:10 |
LordVan | well it could be relevant for split deliveries | 10:12 |
LordVan | i want it for the current one, but also for any potential split ones for "leftover" parts that get delivered later | 10:13 |
-!- udono(~udono@045-129-067-156.ip-addr.inexio.net) has joined #tryton | 12:22 | |
-!- springwurm(~springwur@5.104.149.54) has joined #tryton | 13:12 | |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 13:13 | |
-!- ChanServ changed mode/#tryton -> +o cedk | 13:13 | |
LordVan | pokoli, 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 |
LordVan | Is 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 |
cedk | LordVan: no because it delete former one to create a new one | 16:15 |
cedk | and it is good that number change if the content change in case someone has printed or have received the reference | 16:16 |
cedk | also sale will not necessary create a single new shipment, it could create more or even any | 16:16 |
-!- Pegasus_RPG(~Thunderbi@149.127.15.1) has joined #tryton | 18:37 | |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 21:35 | |
-!- ChanServ changed mode/#tryton -> +o cedk | 21:35 | |
-!- Pegasus_RPG(~Thunderbi@149.127.15.1) has joined #tryton | 22:36 |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!