irc.libera.chat #tryton log beginning Tue Sep 21 12:00:02 AM CEST 2021 | ||
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 22:43 | |
-!- ChanServ changed mode/#tryton -> +o cedk | 22:43 | |
-!- nicoe(~nicoe@2a02:578:852a:c00:18c2:1aff:fef9:2b7f) has joined #tryton | 00:42 | |
-!- timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton | 05:04 | |
-!- springwurm(~springwur@5.104.149.54) has joined #tryton | 05:28 | |
-!- timitos(~kpreisler@134.3.92.37) has joined #tryton | 05:36 | |
-!- mrichez(~Maxime@mail.saluc.com) has joined #tryton | 06:22 | |
-!- udono(~udono@138-136-067-156.ip-addr.inexio.net) has joined #tryton | 06:26 | |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 06:47 | |
-!- ChanServ changed mode/#tryton -> +o cedk | 06:47 | |
-!- mrichez(~Maxime@mail.saluc.com) has joined #tryton | 07:03 | |
-!- rpit(~rpit@p200300c88f168d000ae81a7497341a2e.dip0.t-ipconnect.de) has joined #tryton | 07:04 | |
-!- timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton | 07:31 | |
-!- timitos(~kpreisler@134.3.92.37) has joined #tryton | 08:40 | |
-!- timitos(~kpreisler@134.3.92.37) has joined #tryton | 09:18 | |
mrichez | hi, question about sale_shipment_grouping and sale_shipment_cost (i try to test on demo but grouping is not effective after module activation). If i select 2 different shipment_cost methods (on order and on shipment) will be the shipment grouped anyway? or it should be part of shipment grouping key ? | 12:01 |
---|---|---|
-!- springwurm(~springwur@5.104.149.54) has joined #tryton | 12:03 | |
mrichez | following my previous question, i made test and sales having 2 differents shipment_cost methods (on order and on shipment) are grouped in the same shipment... so what about the shipment costs in this case? | 12:13 |
cedk | mrichez: each one will apply its method | 12:28 |
cedk | but it is probably good to not group the shipments with different shipment cost | 12:28 |
mrichez | cedk: ok | 12:28 |
mrichez | i'll open an issue | 12:29 |
mrichez | another question is about shipment cost, invoice is created if shipment cost is not none, it should test on sale shipment cost instead... (your shipment cost could be 0 , but you sell to customer 100 €) so 100€ should be on invoice | 12:31 |
cedk | mrichez: do not understand | 12:33 |
mrichez | it's about this test: https://hg.tryton.org/modules/sale_shipment_cost/file/tip/stock.py#l106 | 12:34 |
mrichez | hum, forget... i will test again | 12:36 |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 13:02 | |
-!- ChanServ changed mode/#tryton -> +o cedk | 13:02 | |
mrichez | how to update property in a common model from 2 independent modules... i mean 1 module is updating sale, other module is updating sale, and i need to update sale in first module if second module is active... Can i define same class in another file with extra_depends ? | 14:19 |
-!- timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton | 14:20 | |
cedk | mrichez: usually we use Pool.register with depends | 14:44 |
mrichez | cedk: yes, i saw it... but in case of a part of the same class is optional... should i create this class in another file... Pool.register.. sale.Sale and Pool.register sale2.Sale depends='...' | 14:52 |
cedk | mrichez: why in another file? Why not just use a different name? | 14:56 |
mrichez | cedk: so i could have a class Sale2 with __name__ = 'sale.sale' ? | 14:56 |
mrichez | cedk: sorry, i've to go... Will read your answer in the log. Thanks :-) | 14:58 |
-!- mrichez(~Maxime@2a02:a03f:c2e8:f900:ed77:85ea:af2b:ba6e) has joined #tryton | 15:30 | |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 16:48 | |
-!- ChanServ changed mode/#tryton -> +o cedk | 16:48 | |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 20:50 | |
-!- ChanServ changed mode/#tryton -> +o cedk | 20:50 | |
-!- Pilou(~Pilou@mx.ir5.eu) has joined #tryton | 21:43 | |
-!- Pilou(~Pilou@user/pilou) has joined #tryton | 21:43 |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!