irc.libera.chat #tryton log beginning Mon Oct 10 12:00:01 AM CEST 2022 | ||
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 22:15 | |
-!- ChanServ changed mode/#tryton -> +o cedk | 22:15 | |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 23:40 | |
-!- ChanServ changed mode/#tryton -> +o cedk | 23:40 | |
-!- tbruyere(~Thunderbi@82.187-182-91.adsl-dyn.isp.belgacom.be) has joined #tryton | 04:58 | |
-!- mrichez(~Maxime@2a02:a03f:c2e8:f900:ed77:85ea:af2b:ba6e) has joined #tryton | 05:15 | |
-!- mrichez(~Maxime@2a02:a03f:c2e8:f900:ed77:85ea:af2b:ba6e) has joined #tryton | 05:17 | |
-!- springwurm(~springwur@5.104.149.54) has joined #tryton | 05:23 | |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 06:56 | |
-!- ChanServ changed mode/#tryton -> +o cedk | 06:56 | |
-!- nicoe(~nicoe@213.211.137.224.static.edpnet.net) has joined #tryton | 07:08 | |
-!- acaubet(~Thunderbi@194.224.31.235) has joined #tryton | 07:19 | |
-!- rpit(~rpit@p200300c88f07da0024efacf6f9523129.dip0.t-ipconnect.de) has joined #tryton | 07:20 | |
mrichez | hi, 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#l197 | 08:07 |
---|---|---|
mrichez | should i do that in __setup__(cls) ? cls.field_string = cls.field.translated('field') ? | 08:08 |
cedk | mrichez: I think you must do it in __setup__ before calling super | 08:19 |
mrichez | cedk: ok, i will try this way. Thanks :-) | 08:19 |
-!- tbruyere(~Thunderbi@82.187-182-91.adsl-dyn.isp.belgacom.be) has joined #tryton | 10:07 | |
-!- tbruyere(~Thunderbi@82.187-182-91.adsl-dyn.isp.belgacom.be) has joined #tryton | 10:08 | |
-!- acaubet(~Thunderbi@194.224.31.235) has joined #tryton | 10:29 | |
-!- acaubet(~Thunderbi@194.224.31.235) has joined #tryton | 10:42 | |
-!- nicoe(~nicoe@213.211.137.224.static.edpnet.net) has joined #tryton | 11:26 | |
-!- springwurm(~springwur@5.104.149.54) has joined #tryton | 12:09 | |
-!- yangoon(~yangoon@p5dd08deb.dip0.t-ipconnect.de) has joined #tryton | 12:53 | |
-!- yangoon(~yangoon@p5dd08deb.dip0.t-ipconnect.de) has joined #tryton | 12:58 | |
-!- acaubet(~Thunderbi@39.pool90-175-12.dynamic.orange.es) has joined #tryton | 13:07 | |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 13:50 | |
-!- ChanServ changed mode/#tryton -> +o cedk | 13:50 | |
mrichez | hi, 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 #tryton | 14:11 | |
pokoli | mrichez: i guess just people that are allowed to write on stock moves or in invoice lines are allowed to edit them | 14:14 |
mrichez | pokoli: 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_move | 14:21 |
mrichez | maybe widget should not have add/remove ? | 14:25 |
mrichez | it could even be done on a "done" move | 14:26 |
-!- acaubet(~Thunderbi@39.pool90-175-12.dynamic.orange.es) has joined #tryton | 14:40 | |
cedk | I think it is normal that accountant can edit the link between invoice line and stock move | 16:16 |
cedk | I guess we could restrict write access to Move.invoice_lines to account group | 16:17 |
mrichez | cedk: is this a bug or a feature ? | 16:18 |
cedk | but at the end, this does not have business implication. It is only used to compute cost price | 16:18 |
cedk | mrichez: feature | 16:19 |
mrichez | ok | 16:19 |
cedk | but we must be sure that there is no use case where we need the stock group to fill this field | 16:19 |
mrichez | cedk: ok | 16:21 |
-!- acaubet(~Thunderbi@39.pool90-175-12.dynamic.orange.es) has joined #tryton | 16:35 | |
-!- acaubet(~Thunderbi@147.161.95.174) has joined #tryton | 17:05 | |
-!- jackhill(~jackhill@kalessin.dragonsnail.net) has joined #tryton | 19:43 |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!