Mandi! MoYo
  In chel di` si favelave...

> This split was the result of a lot of user requests.

I suppose...


> All manufacturers are not suppliers.
> All suppliers are not manufacturers.
> So, this is not the same information.

Clearly. Sure.
But why duplicate info? If manufacturer *could* *be* suppliers, why
reenter the same information twice?


> The problem was in the versions <= 0.68 which wrongly merged these 2 
> elements.

Ii is clear that this is a 'no way back' upgrade.


But can i ask for a new feature? ;)

Add a configuration switch (setup.config.php) that simply, for every
enterprise insert/update (NOT delete!) will add/update the manufacturer
table, using the ID as the key, and on the same time, disabling the
manufacturer handling on setup.dropdowns.php (for a sake of safety).

Could be? Thanks.


PS: my 'update script' is simply:

        delete from glpi_dropdown_manufacturer where id>40;
        insert into glpi_dropdown_manufacturer select id+40, name, NULL from 
glpi_enterprises where deleted=0;

and the '+40' is a temporary fix, when i will have some time i do a
mass update of tables to remove this, to have id_manufacturer=
id_enterprise.

-- 
dott. Marco Gaiarin                                 GNUPG Key ID: 240A3D66
  Associazione ``La Nostra Famiglia''                http://www.sv.lnf.it/
  Polo FVG  -  Via della Bontà, 7 - 33078  -  San Vito al Tagliamento (PN)
  marco.gaiarin(at)sv.lnf.it      tel +39-0434-842711  fax +39-0434-842797

                Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA!
           http://www.lanostrafamiglia.it/chi_siamo/5xmille.php
        (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)

_______________________________________________
Glpi-user mailing list
[email protected]
https://mail.gna.org/listinfo/glpi-user

Reply via email to