sub init {
- $taxzone = SL::DB::Manager::TaxZone->find_by( description => 'Inland') || croak "No taxzone";
+ if ($::lx_office_conf{system}->{default_manager} eq "swiss") {
+ $taxzone = SL::DB::Manager::TaxZone->find_by( description => 'Schweiz') || croak "No taxzone";
+ } else {
+ $taxzone = SL::DB::Manager::TaxZone->find_by( description => 'Inland') || croak "No taxzone";
+ }
$customer = SL::DB::Customer->new(name => 'Test Customer', currency_id => $::instance_conf->get_currency_id, taxzone_id => $taxzone->id)->save;
$status = SL::DB::Manager::RequirementSpecStatus->find_by(name => '', description => '') ||
SL::DB::RequirementSpecStatus->new(name => '', description => '', position => 0)->save;