irc.libera.chat #tryton log beginning Wed Apr 13 12:00:01 AM CEST 2022 | ||
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 23:28 | |
-!- ChanServ changed mode/#tryton -> +o cedk | 23:28 | |
-!- springwurm(~springwur@5.104.149.54) has joined #tryton | 05:30 | |
-!- mrichez(~Maxime@mail.saluc.com) has joined #tryton | 06:27 | |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 07:02 | |
-!- ChanServ changed mode/#tryton -> +o cedk | 07:02 | |
-!- acaubet(~Thunderbi@194.224.31.235) has joined #tryton | 07:02 | |
-!- rpit(~rpit@p200300c88f3ec70009616004e7f6fe56.dip0.t-ipconnect.de) has joined #tryton | 07: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 for | 07: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 #tryton | 07:49 | |
cedk | PostgreSQL does not have a type to store complex numbers | 09:11 |
cedk | also complex number will give you only 2 dimensions | 09:11 |
cedk | but Postgis could be used to store vectors | 09:11 |
cedk | I do not see how it could be managed as quantity, but it could be stored as property of a product or lot | 09:12 |
nicoe | postgresql 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 |
nicoe | But I don't see how it could be a quantity neither | 09:55 |
-!- springwurm(~springwur@5.104.149.54) has joined #tryton | 12:27 | |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 13:27 | |
-!- ChanServ changed mode/#tryton -> +o cedk | 13:27 | |
SISalp | udono: thank you for your answer, I have to understand it ;-) | 16:15 |
SISalp | udono: 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 |
SISalp | udono: but if we consider BOMs, I'm not able to elaborate something realistic, but I miss knowledge. | 16:35 |
SISalp | cedk: 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 |
SISalp | cedk: 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/!