X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Faccess_right.pm;h=397b456ceb4c2a11f5832f3ef0aacfde8488e354;hb=54422869b5d895058a78454ddfc7c01789cb56f7;hp=dc9f9978de525ea1b70b3d4960edbb751201cf52;hpb=bec3b6c2bf97d66b992866d7ee7295f1f05452e6;p=freeside.git diff --git a/FS/FS/access_right.pm b/FS/FS/access_right.pm index dc9f9978d..397b456ce 100644 --- a/FS/FS/access_right.pm +++ b/FS/FS/access_right.pm @@ -197,6 +197,7 @@ sub _upgrade_data { # class method 'Unsuspend customer package' => 'Unsuspend customer', 'New prospect' => 'Generate quotation', 'Delete invoices' => 'Void invoices', + 'List invoices' => 'List quotations', 'List services' => [ 'Services: Accounts', 'Services: Domains', @@ -265,7 +266,7 @@ sub _upgrade_data { # class method 'rightname' => 'Download report data', } ); my $error = $access_right->insert; - die $error if $error; + warn $error if $error; } FS::upgrade_journal->set_done('ACL_download_report_data');