Merge pull request #3910 from FHenry/3.7

FIX : only active customer should be available into select list thirdparty on invoice creation
This commit is contained in:
Juanjo Menent 2015-11-06 10:14:44 +01:00
commit 87a102f5c8

View File

@ -1855,7 +1855,7 @@ if ($action == 'create')
else
{
print '<td colspan="2">';
print $form->select_company('', 'socid', 's.client = 1 OR s.client = 3', 1);
print $form->select_company('', 'socid', '(s.client = 1 OR s.client = 3) AND status=1', 1);
print '</td>';
}
print '</tr>' . "\n";