2014-07-16 22:39 GMT+02:00 Cédric Krier <cedric.kr...@b2ck.com>: > On 10 Jul 16:39, Albert Cervera i Areny wrote: >> Hi, >> we just did the first commit of a new module named 'network' [1]. The >> module is intended to allow describing the IT infrastructure with the >> flexibility of having physical machines, virtual machines inside them, >> applications, services, raids, hard drives and relate them easily with >> the same mechanism provided by the party_relationship module. Things >> are not always hierarchical: for example, a server can have two hard >> drives but they are also shared by the RAID of the server so you need >> links between all elements (RAID, hard drives and server). >> >> It also allows the user to define attributes to each network item >> acording to its type. For example, "eth0 from server X" will be of >> type "Network Interface" and as such can have IPs, Card Model, Serial >> number, whatever.. This' been implemented with the dict field (just >> like product_attribute module). >> >> The thing is that the resulting module is very generic and I'm >> thinking that it might make sense to name it "asset" and use it to >> define not only IT elements but any kind of asset of a company. >> Indeed, I'd say it's very similar to the basic structure a CMMS [2] >> provides. I'm thinking each asset could have (with an extra module) a >> m2o to stock.lot and (with another module) a o2m to account.asset. >> >> Thoughts? > > OK let's move the discussion to tryton-dev@ and start a blueprint. > Initial thoughts are there should be at least two modules: > > - asset (probably with possible link with account_asset) > - asset_relationship
As suggested by Cédric I move the discussion to tryton-dev. I just created a wiki page with the initial blueprint and model definitions just like they currently look in the network module [1] only replacing "network.item" by "asset". [1] https://bitbucket.org/nantic/trytond-network -- Albert Cervera i Areny Tel. 93 553 18 03 @albertnan www.NaN-tic.com