Hi,
Totally deny delete is not so good. Imagine you testing a solution with extra field and you have done a mistake or a new feature in Dolibarr deprecate the extra fields. You must still be able to delete extra field. Just may be add a double check : - “Confirm delete ?” - Check for data - “Fields have data, are you really sure to delete this field ?” Cedric De : dolibarr-dev-bounces+c.gross=kreiz-it...@nongnu.org [mailto:dolibarr-dev-bounces+c.gross=kreiz-it...@nongnu.org] De la part de Doursenaud, Raphaël Envoyé : mercredi 14 janvier 2015 12:03 À : Posts about Dolibarr ERP & CRM development and coding Objet : Re: [Dolibarr-dev] Extrafields delete alert Great suggestion. I feel you should report it as a task on doliforge.org Regards, 2015-01-13 18:26 GMT+01:00 Claudio Aschieri <c.aschi...@diciannove.net>: Hi all, I'd like that when I try to delete an extrafields, the system ask me to confirm operation because without any alert is really easy do a disaster with only one click. I think that when an extrafield has at least one value stored in database, the system should deny to delete that field from db table. Regards -- Claudio Aschieri __________ ::DICIANNOVE:: soc. coop. Dolibarr ITALY _______________________________________________ Dolibarr-dev mailing list Dolibarr-dev@nongnu.org https://lists.nongnu.org/mailman/listinfo/dolibarr-dev -- Raphaël Doursenaud Directeur technique (CTO) Expert certifié en déploiement Google Apps <https://gpcsolutions.fr/raphael-doursenaud-google-apps-certified-deployment-specialist> +33 (0)5 35 53 97 13 - +33 (0)6 68 48 20 10 <http://gpcsolutions.fr> Image supprimée par l'expéditeur. http://gpcsolutions.fr Technopole Hélioparc 2 avenue du Président Pierre Angot 64053 PAU CEDEX 9 SARL GPC.solutions au capital de 7 500 € - R.C.S. PAU 528 995 921 <http://wiki.dolibarr.org/index.php/Dolibarr_suppliers_France#GPC.solutions> Image supprimée par l'expéditeur.Image supprimée par l'expéditeur.
_______________________________________________ Dolibarr-dev mailing list Dolibarr-dev@nongnu.org https://lists.nongnu.org/mailman/listinfo/dolibarr-dev