IRC logs of #tryton for Tuesday, 2021-09-21

irc.libera.chat #tryton log beginning Tue Sep 21 12:00:02 AM CEST 2021
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton22:43
-!- ChanServ changed mode/#tryton -> +o cedk 22:43
-!- nicoe(~nicoe@2a02:578:852a:c00:18c2:1aff:fef9:2b7f) has joined #tryton00:42
-!- timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton05:04
-!- springwurm(~springwur@5.104.149.54) has joined #tryton05:28
-!- timitos(~kpreisler@134.3.92.37) has joined #tryton05:36
-!- mrichez(~Maxime@mail.saluc.com) has joined #tryton06:22
-!- udono(~udono@138-136-067-156.ip-addr.inexio.net) has joined #tryton06:26
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton06:47
-!- ChanServ changed mode/#tryton -> +o cedk 06:47
-!- mrichez(~Maxime@mail.saluc.com) has joined #tryton07:03
-!- rpit(~rpit@p200300c88f168d000ae81a7497341a2e.dip0.t-ipconnect.de) has joined #tryton07:04
-!- timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton07:31
-!- timitos(~kpreisler@134.3.92.37) has joined #tryton08:40
-!- timitos(~kpreisler@134.3.92.37) has joined #tryton09:18
mrichezhi, 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 #tryton12:03
mrichezfollowing 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
cedkmrichez: each one will apply its method12:28
cedkbut it is probably good to not group the shipments with different shipment cost12:28
mrichezcedk: ok12:28
mrichezi'll open an issue12:29
mrichezanother 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 invoice12:31
cedkmrichez: do not understand12:33
mrichezit's about this test: https://hg.tryton.org/modules/sale_shipment_cost/file/tip/stock.py#l10612:34
mrichezhum, forget... i will test again12:36
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton13:02
-!- ChanServ changed mode/#tryton -> +o cedk 13:02
mrichezhow 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 #tryton14:20
cedkmrichez: usually we use Pool.register with depends14:44
mrichezcedk: 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
cedkmrichez: why in another file? Why not just use a different name?14:56
mrichezcedk: so i could have a class Sale2 with __name__ = 'sale.sale' ?14:56
mrichezcedk: 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 #tryton15:30
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton16:48
-!- ChanServ changed mode/#tryton -> +o cedk 16:48
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton20:50
-!- ChanServ changed mode/#tryton -> +o cedk 20:50
-!- Pilou(~Pilou@mx.ir5.eu) has joined #tryton21:43
-!- Pilou(~Pilou@user/pilou) has joined #tryton21:43

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