Re:Default Prospect is an individual? 5 Months, 3 Weeks ago
Karma: 2
Petra's
That fix in soc.php doesn't work... It only changes the radio icon
Notice in your screen shot how the name field still says "Third Party Name"
This is because although you have changed what the default radio icon is for that page is it still loads the form for Company instead of Private individual...
figuring this out via soc.php was where I started and once I noticed that even though it appears to be on Private Individual it is sadly however misleading
the only way to change the default form is to edit eldy.php by telling the menu to use private=1
try this...
with how you have it set..
Click on your left menu new prospect..
Notice Third Party name on the top field..
Now click on the private individual radio icon again
As you'll see the form changes
now try this...
replace this in your url
societe/soc.php?leftmenu=prospects&action=create&private=1
or simply delete type=p at the end of your url and replace with private=1
Re:Default Prospect is an individual? 5 Months, 3 Weeks ago
Karma: 2
Petra's
My only concern is that with they way you currently have it setup in soc.php, to your users it only appears to be using the Private Individual form however even though upon entering that page via the "New Prospect" on the left menu your still filling in the Company/Foundation form not the private individual
The entire point of using the private individual form is that Dolibarr auto generates a user upon completion...
When using the company form no user is generated when completed
obviously its entirely up to you how you have it setup but under your current methods your users are still filling out the Company/Foundation form
Either way I'm glad you were able to work things out
Since it appears which form is filled in by your customers doesn't matter wouldn't it be better to simply change the name of the Company/Foundation form to something that makes more sense to your clients?