typo
This commit is contained in:
parent
78739d3517
commit
e09e25766a
1 changed files with 1 additions and 1 deletions
|
|
@ -231,7 +231,7 @@ public class BusinessPartnerService {
|
|||
throw new PluginException(InvoicePlugin.class.getName(), ERROR_BUSINESSPARTNER_VERIFICATION,
|
||||
"Businesspartner is in verification. Invoice can't be processed!");
|
||||
}
|
||||
if (businessPartner.getTaskID() == TASK_LOCKED && updateWhenLocked) {
|
||||
if (businessPartner.getTaskID() == TASK_LOCKED && !updateWhenLocked) {
|
||||
throw new PluginException(InvoicePlugin.class.getName(), ERROR_BUSINESSPARTNER_LOCKED,
|
||||
"Businesspartner is locked. Invoice can't be processed!");
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue