IRC logs of #tryton for Tuesday, 2021-08-17

irc.libera.chat #tryton log beginning Tue Aug 17 12:00:01 AM CEST 2021
-!- nicoe(~nicoe@2a02:578:852a:c00:18c2:1aff:fef9:2b7f) has joined #tryton22:13
-!- springwurm(~springwur@5.104.149.54) has joined #tryton05:13
-!- udono(~udono@94.31.96.9) has joined #tryton05:20
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton06:19
-!- ChanServ changed mode/#tryton -> +o cedk 06:19
mrichezHi, i'm trying to import stock quantities between tryton 5.6 and tryton 6.0. So i'm using a proteus script to create stock move from supplier location with initial quantity... everything working correctly until this error: xmlrpc.client.Fault: <Fault 1: 'The number of digits in the value "349.87" for field "Quantity" in "Stock Move" exceeds the limit of "0". - '> Any idea ?06:39
-!- acaubet(~Thunderbi@194.224.31.235) has joined #tryton06:50
cedkmrichez: you probably have a unit of measure with 0 digits06:52
mrichezcedk: ok found my problem, product has another uom (unit) than uom used in stock move (kg).. thanks!07:00
-!- rpit(~rpit@p200300c88f237e00350a8f4bb01b2b21.dip0.t-ipconnect.de) has joined #tryton07:10
-!- nicoe(~nicoe@5-23-190-25.access.telenet.be) has joined #tryton09:36
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton09:45
-!- ChanServ changed mode/#tryton -> +o cedk 09:45
-!- springwurm(~springwur@5.104.149.54) has joined #tryton12:19
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton12:54
-!- ChanServ changed mode/#tryton -> +o cedk 12:54
mrichezhi, still with my proteus import with initial stock moves. I've created all the moves, but as the "do" method is not allowed in rpc, i'll do it manually following: https://docs.tryton.org/projects/modules-stock/en/latest/setup.html#setting-initial-stock-levels14:14
mrichezso i select all my moves, but i don't see the "Do" in the LaunchAction menu... 14:15
mrichezmissing feature ?14:16
cedkmrichez: 'do' method is a button so it is available in RPC14:24
cedkotherwise in the client buttons are available for a selection only if the full selection has been read for display14:25
mrichezcedk: ok i noticed if i select few records, buttons are available in action menu. If i select the whole list (1000 items) then action menu has not the 'actions'14:31
mrichezcedk: i 'll retry the do method with proteus first but i had an error message when trying 14:33
mrichez  File "/usr/lib/python3.9/xmlrpc/client.py", line 520, in __dump    raise TypeError("cannot marshal %s objects" % type(value)) TypeError: cannot marshal <class 'proteus.Model.get.<locals>.Spam'> objects14:33
cedkmrichez: normally you should do: Move.click(moves, 'do')14:35
mrichezcedk: hum i did Moves.do(moves) ... that would explain my error. Thanks!14:36
mrichezcedk: how to bypass message 'Stock moves .. have no origin' when doing Moves.click(moves, 'do') ?17:37
-!- udono(~udono@143-136-067-156.ip-addr.inexio.net) has joined #tryton20:03
-!- nicoe(~nicoe@2a02:578:852a:c00:18c2:1aff:fef9:2b7f) has joined #tryton20:29
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton21:18
-!- ChanServ changed mode/#tryton -> +o cedk 21:18

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