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 #tryton | 22:13 | |
-!- springwurm(~springwur@5.104.149.54) has joined #tryton | 05:13 | |
-!- udono(~udono@94.31.96.9) has joined #tryton | 05:20 | |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 06:19 | |
-!- ChanServ changed mode/#tryton -> +o cedk | 06:19 | |
mrichez | Hi, 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 #tryton | 06:50 | |
cedk | mrichez: you probably have a unit of measure with 0 digits | 06:52 |
mrichez | cedk: 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 #tryton | 07:10 | |
-!- nicoe(~nicoe@5-23-190-25.access.telenet.be) has joined #tryton | 09:36 | |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 09:45 | |
-!- ChanServ changed mode/#tryton -> +o cedk | 09:45 | |
-!- springwurm(~springwur@5.104.149.54) has joined #tryton | 12:19 | |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 12:54 | |
-!- ChanServ changed mode/#tryton -> +o cedk | 12:54 | |
mrichez | hi, 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-levels | 14:14 |
mrichez | so i select all my moves, but i don't see the "Do" in the LaunchAction menu... | 14:15 |
mrichez | missing feature ? | 14:16 |
cedk | mrichez: 'do' method is a button so it is available in RPC | 14:24 |
cedk | otherwise in the client buttons are available for a selection only if the full selection has been read for display | 14:25 |
mrichez | cedk: 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 |
mrichez | cedk: 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'> objects | 14:33 |
cedk | mrichez: normally you should do: Move.click(moves, 'do') | 14:35 |
mrichez | cedk: hum i did Moves.do(moves) ... that would explain my error. Thanks! | 14:36 |
mrichez | cedk: 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 #tryton | 20:03 | |
-!- nicoe(~nicoe@2a02:578:852a:c00:18c2:1aff:fef9:2b7f) has joined #tryton | 20:29 | |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 21: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/!