sub setup_ap_transactions_action_bar {
my %params = @_;
- my $may_edit_create = $::auth->assert('vendor_invoice_edit', 1);
+ my $may_edit_create = $::auth->assert('ap_transactions', 1);
for my $bar ($::request->layout->get('actionbar')) {
$bar->add(
my $is_storno = IS->is_storno(\%::myconfig, $::form, 'ap', $::form->{id});
my $has_storno = IS->has_storno(\%::myconfig, $::form, 'ap');
- my $may_edit_create = $::auth->assert('vendor_invoice_edit', 1);
+ my $may_edit_create = $::auth->assert('ap_transactions', 1);
my $has_sepa_exports;
if ($::form->{id}) {