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

irc.libera.chat #tryton log beginning Mon Oct 10 12:00:01 AM CEST 2022
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton22:15
-!- ChanServ changed mode/#tryton -> +o cedk 22:15
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton23:40
-!- ChanServ changed mode/#tryton -> +o cedk 23:40
-!- tbruyere(~Thunderbi@82.187-182-91.adsl-dyn.isp.belgacom.be) has joined #tryton04:58
-!- mrichez(~Maxime@2a02:a03f:c2e8:f900:ed77:85ea:af2b:ba6e) has joined #tryton05:15
-!- mrichez(~Maxime@2a02:a03f:c2e8:f900:ed77:85ea:af2b:ba6e) has joined #tryton05:17
-!- springwurm(~springwur@5.104.149.54) has joined #tryton05:23
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton06:56
-!- ChanServ changed mode/#tryton -> +o cedk 06:56
-!- nicoe(~nicoe@213.211.137.224.static.edpnet.net) has joined #tryton07:08
-!- acaubet(~Thunderbi@194.224.31.235) has joined #tryton07:19
-!- rpit(~rpit@p200300c88f07da0024efacf6f9523129.dip0.t-ipconnect.de) has joined #tryton07:20
mrichezhi, if i want  to add a translated string field for an existing selection field like for this field https://hg.tryton.org/modules/sale/file/tip/sale.py#l19708:07
mrichezshould i do that in __setup__(cls) ? cls.field_string = cls.field.translated('field') ?08:08
cedkmrichez: I think you must do it in __setup__ before calling super08:19
mrichezcedk: ok, i will try this way. Thanks :-)08:19
-!- tbruyere(~Thunderbi@82.187-182-91.adsl-dyn.isp.belgacom.be) has joined #tryton10:07
-!- tbruyere(~Thunderbi@82.187-182-91.adsl-dyn.isp.belgacom.be) has joined #tryton10:08
-!- acaubet(~Thunderbi@194.224.31.235) has joined #tryton10:29
-!- acaubet(~Thunderbi@194.224.31.235) has joined #tryton10:42
-!- nicoe(~nicoe@213.211.137.224.static.edpnet.net) has joined #tryton11:26
-!- springwurm(~springwur@5.104.149.54) has joined #tryton12:09
-!- yangoon(~yangoon@p5dd08deb.dip0.t-ipconnect.de) has joined #tryton12:53
-!- yangoon(~yangoon@p5dd08deb.dip0.t-ipconnect.de) has joined #tryton12:58
-!- acaubet(~Thunderbi@39.pool90-175-12.dynamic.orange.es) has joined #tryton13:07
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton13:50
-!- ChanServ changed mode/#tryton -> +o cedk 13:50
mrichezhi, i'm using account_invoice_stock, i noticed invoice_lines on stock_move is full access... anybody can link an invoice line or edit a linked invoice_line... expected behavior or bug ?14:02
-!- acaubet(~Thunderbi@2a01:c50f:16c0:2e00:44bf:9c88:7fda:dded) has joined #tryton14:11
pokolimrichez: i guess just people that are allowed to write on stock moves or in invoice lines are allowed to edit them14:14
mrichezpokoli: indeed i can't edit invoice_line if no rights on invoice, but i can add/delete an invoice line with a user having stock rights... it's seems strange that stock user could add or remove invoice lines on stock_move14:21
mrichezmaybe widget should not have add/remove ?14:25
mrichezit could even be done on a "done" move14:26
-!- acaubet(~Thunderbi@39.pool90-175-12.dynamic.orange.es) has joined #tryton14:40
cedkI think it is normal that accountant can edit the link between invoice line and stock move16:16
cedkI guess we could restrict write access to Move.invoice_lines to account group16:17
mrichezcedk: is this a bug or a feature ?16:18
cedkbut at the end, this does not have business implication. It is only used to compute cost price16:18
cedkmrichez: feature16:19
mrichezok16:19
cedkbut we must be sure that there is no use case where we need the stock group to fill this field16:19
mrichezcedk: ok16:21
-!- acaubet(~Thunderbi@39.pool90-175-12.dynamic.orange.es) has joined #tryton16:35
-!- acaubet(~Thunderbi@147.161.95.174) has joined #tryton17:05
-!- jackhill(~jackhill@kalessin.dragonsnail.net) has joined #tryton19:43

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