Fix error message
This commit is contained in:
parent
3c552cec15
commit
8d963adb43
@ -1342,7 +1342,7 @@ class Contrat extends CommonObject
|
||||
// Check parameters
|
||||
if ($fk_product <= 0 && empty($desc))
|
||||
{
|
||||
$this->error="DescRequiredForFreeProductLines";
|
||||
$this->error="ErrorDescRequiredForFreeProductLines";
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
||||
@ -207,6 +207,7 @@ ErrorDiscountLargerThanRemainToPaySplitItBefore=The discount you try to apply is
|
||||
ErrorFileNotFoundWithSharedLink=File was not found. May be the share key was modified or file was removed recently.
|
||||
ErrorProductBarCodeAlreadyExists=The product barcode %s already exists on another product reference.
|
||||
ErrorNoteAlsoThatSubProductCantBeFollowedByLot=Note also that using virtual product to have auto increase/decrease of subproducts is not possible when at least one subproduct (or subproduct of subproducts) needs a serial/lot number.
|
||||
ErrorDescRequiredForFreeProductLines=Description is mandatory for lines with free product
|
||||
|
||||
# Warnings
|
||||
WarningPasswordSetWithNoAccount=A password was set for this member. However, no user account was created. So this password is stored but can't be used to login to Dolibarr. It may be used by an external module/interface but if you don't need to define any login nor password for a member, you can disable option "Manage a login for each member" from Member module setup. If you need to manage a login but don't need any password, you can keep this field empty to avoid this warning. Note: Email can also be used as a login if the member is linked to a user.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user