IRC logs of #tryton for Wednesday, 2022-04-13

irc.libera.chat #tryton log beginning Wed Apr 13 12:00:01 AM CEST 2022
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton23:28
-!- ChanServ changed mode/#tryton -> +o cedk 23:28
-!- springwurm(~springwur@5.104.149.54) has joined #tryton05:30
-!- mrichez(~Maxime@mail.saluc.com) has joined #tryton06:27
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton07:02
-!- ChanServ changed mode/#tryton -> +o cedk 07:02
-!- acaubet(~Thunderbi@194.224.31.235) has joined #tryton07:02
-!- rpit(~rpit@p200300c88f3ec70009616004e7f6fe56.dip0.t-ipconnect.de) has joined #tryton07:24
udono[m]SISalp Hi, when I read your requirements, yesterday, some ideas comes into my mind. The resulting product could be produced by a material mixture defned by a BOM. Using the product_attribute module, you can add an attribute set with custom fields to describe the features of the resulting product. Think of an attribute set as a vector. E.g. a product can have a material attribute set: Gold: 0.25, Silver: 0.25, Alloy: 0.50. You can also search for07:46
udono[m]attributes by name.  To "track some of these elements" you can use stock_lots.07:46
-!- nicoe(~nicoe@2a02:578:852a:c00:18c2:1aff:fef9:2b7f) has joined #tryton07:49
cedkPostgreSQL does not have a type to store complex numbers09:11
cedkalso complex number will give you only 2 dimensions09:11
cedkbut Postgis could be used to store vectors09:11
cedkI do not see how it could be managed as quantity, but it could be stored as property of a product or lot09:12
nicoepostgresql has an array type that could represent vector prefering postgis would imply that it provides some cool functionalities that the base array type does not (like some algebra operator on those, etc).09:55
nicoeBut I don't see how it could be a quantity neither09:55
-!- springwurm(~springwur@5.104.149.54) has joined #tryton12:27
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton13:27
-!- ChanServ changed mode/#tryton -> +o cedk 13:27
SISalpudono: thank you for your answer, I have to understand it ;-)16:15
SISalpudono: the idea about vector computation is that it simplifies: ex: I merge 1 liter of 41° (0.41;0,59) and 5 liters 13° (0.65;4.35), I get 6 liters (1.06;4.94)16:32
SISalpudono: but if we consider BOMs, I'm not able to elaborate something realistic, but I miss knowledge.16:35
SISalpcedk: nicoe: implementation can be tricky, but I'm not even able to foresee what the consequences could be in Tryton ;-) and if the modification could be localized or spread in all code.16:40
SISalpcedk: nicoe: and udono's idea could lead to something which looks like a vector , but doesn't need a vector. Well I lost myself.16:42

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