Disable CustomerID reference in Customer User screen

Moderator: crythias

Post Reply
RichH
Znuny newbie
Posts: 61
Joined: 13 Mar 2015, 18:34
Znuny Version: 6.4
Real Name: Rich Hagan
Company: Victorinox Swiss Army, Inc.

Disable CustomerID reference in Customer User screen

Post by RichH »

OTRS 6.0.20
CentOS 7.3.1611
MariaDB 5.5.60
Perl 5.16.3

Hi,
I'm installing a new OTRS 6 server. On our old OTRS 3 server, entering a new 'Customer User' does not require that the 'CustomerID' already exist as a 'CustomerCompany'. We just enter the Customers email address in the 'CustomerID' box.

In the new OTRS 6 system, the 'CustomerID' must exist as a 'Customer' and we can only select those existing 'Customers' from the auto-complete list when we try to create a new 'Customer User'.

How can I change the OTRS 6 system to work like the OTRS 3 system in this way (i.e. the CustomerID can be entered directly in the CustomerID box of the Create Customer User form and does not have to already exist as a Customer)?

(Note : We Do not use the Customer Web interface - all tickets are created thru Fetchmail). The only use we have for 'Customer Users' is for auto-complete in the To: field of replys to tickets.

Thanks!
Rich
root
Administrator
Posts: 3968
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: Disable CustomerID reference in Customer User screen

Post by root »

Hi,

Do you have the CustomerUser configuration in your Kernel/Config.pm or is it just the default?

- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

Use a test system - always.

Do you need professional services? Check out https://www.znuny.com/

Do you want to contribute or want to know where it goes ?
RichH
Znuny newbie
Posts: 61
Joined: 13 Mar 2015, 18:34
Znuny Version: 6.4
Real Name: Rich Hagan
Company: Victorinox Swiss Army, Inc.

Re: Disable CustomerID reference in Customer User screen

Post by RichH »

In both the OTRS 3 & 6 system's Config.pm there's no reference to CustomerUser. The only changes that have been made are for LDAP authentication to our Active Directory.

So I guess the answer is that we're using the defaults.

Thanks!
root
Administrator
Posts: 3968
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: Disable CustomerID reference in Customer User screen

Post by root »

Hi,

Then just add

Code: Select all

$Self->{'CustomerUser'}->{'CustomerCompanySupport'} = 0;
to your Kernel/Config.pm

- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

Use a test system - always.

Do you need professional services? Check out https://www.znuny.com/

Do you want to contribute or want to know where it goes ?
RichH
Znuny newbie
Posts: 61
Joined: 13 Mar 2015, 18:34
Znuny Version: 6.4
Real Name: Rich Hagan
Company: Victorinox Swiss Army, Inc.

Re: Disable CustomerID reference in Customer User screen

Post by RichH »

That did the trick!

Thanks again!

-Rich
Post Reply