Revision 983b4461
Von Bernd Bleßmann vor 5 Monaten hinzugefügt
SL/Controller/FinancialControllingReport.pm | ||
---|---|---|
'scalar --get_set_init' => [ qw(project_types models) ],
|
||
);
|
||
|
||
__PACKAGE__->run_before(sub { $::auth->assert('sales_order_edit'); });
|
||
__PACKAGE__->run_before(sub { $::auth->assert('sales_financial_controlling'); });
|
||
|
||
my %sort_columns = (
|
||
ordnumber => t8('Order'),
|
SL/Controller/OrderItem.pm | ||
---|---|---|
}
|
||
|
||
sub check_auth {
|
||
$::auth->assert('sales_order_edit');
|
||
$::auth->assert('sales_order_item_search');
|
||
}
|
||
|
||
1;
|
bin/mozilla/vk.pl | ||
---|---|---|
|
||
sub search_invoice {
|
||
$main::lxdebug->enter_sub();
|
||
$main::auth->assert('ar_transactions | ap_transactions | invoice_edit');
|
||
$main::auth->assert('sales_report');
|
||
|
||
my $form = $main::form;
|
||
my %myconfig = %main::myconfig;
|
||
... | ... | |
sub invoice_transactions {
|
||
$main::lxdebug->enter_sub();
|
||
|
||
$main::auth->assert('ar_transactions | ap_transactions | invoice_edit');
|
||
$main::auth->assert('sales_report');
|
||
|
||
my $form = $main::form;
|
||
my %myconfig = %main::myconfig;
|
doc/changelog | ||
---|---|---|
- Neues Feld Beschreibung bei den Backgroundjob. Dient zur besseren
|
||
Unterscheidung.
|
||
- Dialogbuchungen als "als neu verwenden" können.
|
||
|
||
- eigene Zugriffsrechte für die Verkaufs-Berichte "Auftragsartikelsuche",
|
||
"Finanz-Controlling" und "Verkaufsbericht".
|
||
|
||
Bugfixes (Tracker: https://www.kivitendo.de/redmine):
|
||
-
|
locale/de/all | ||
---|---|---|
'Show record tab in vendor' => 'Zeige Tab Belege in den Lieferantenstammdaten',
|
||
'Show requirement spec' => 'Pflichtenheft anzeigen',
|
||
'Show requirement spec template' => 'Pflichtenheftvorlage anzeigen',
|
||
'Show sales financial controlling' => 'Finanzcontrollingbericht anzeigen',
|
||
'Show sales letters report' => 'Verkaufsbrief anzeigen',
|
||
'Show sales order item search' => 'Auftragsartikelsuche anzeigen',
|
||
'Show sales order reports with amounts (and links to open documents)' => 'Berichte Verkaufsaufträge mit Beträgen (und Links zum Öffnen der Belege)',
|
||
'Show sales report' => 'Verkaufsbericht anzeigen',
|
||
'Show settings' => 'Einstellungen anzeigen',
|
||
'Show subtotals' => 'Zwischensummen anzeigen',
|
||
'Show the picture in the part form' => 'Bild in Warenmaske anzeigen',
|
locale/en/all | ||
---|---|---|
'Show record tab in vendor' => '',
|
||
'Show requirement spec' => '',
|
||
'Show requirement spec template' => '',
|
||
'Show sales financial controlling' => '',
|
||
'Show sales letters report' => '',
|
||
'Show sales order item search' => '',
|
||
'Show sales order reports with amounts (and links to open documents)' => '',
|
||
'Show sales report' => '',
|
||
'Show settings' => '',
|
||
'Show subtotals' => '',
|
||
'Show the picture in the part form' => '',
|
menus/user/00-erp.yaml | ||
---|---|---|
id: ar_reports_sales_report
|
||
name: Sales Report
|
||
order: 600
|
||
access: invoice_edit
|
||
access: sales_report
|
||
module: vk.pl
|
||
params:
|
||
action: search_invoice
|
||
... | ... | |
id: ar_order_item_search
|
||
name: Order item search
|
||
order: 750
|
||
access: sales_order_edit
|
||
access: sales_order_item_search
|
||
params:
|
||
action: OrderItem/search
|
||
- parent: ar_reports
|
||
... | ... | |
id: ar_reports_financial_controlling
|
||
name: Financial Controlling
|
||
order: 1000
|
||
access: sales_order_edit
|
||
access: sales_financial_controlling
|
||
params:
|
||
action: FinancialControllingReport/list
|
||
- parent: ar_reports
|
sql/Pg-upgrade2-auth/right_financial_controlling.sql | ||
---|---|---|
-- @tag: right_financial_controlling
|
||
-- @description: eigenes Recht für Finanz-Controlling-Bericht
|
||
-- @depends: release_3_9_0 add_master_rights master_rights_position_gaps
|
||
-- @locales: Show sales financial controlling
|
||
|
||
INSERT INTO auth.master_rights (position, name, description, category)
|
||
VALUES ((SELECT position - 40 FROM auth.master_rights WHERE name = 'delivery_plan'),
|
||
'sales_financial_controlling',
|
||
'Show sales financial controlling',
|
||
FALSE);
|
||
|
||
INSERT INTO auth.group_rights (group_id, "right", granted)
|
||
SELECT DISTINCT(id), 'sales_financial_controlling', TRUE
|
||
FROM auth.group
|
||
LEFT JOIN auth.group_rights ON (auth.group.id = auth.group_rights.group_id)
|
||
WHERE "right" LIKE 'sales_order_edit' AND granted IS TRUE;
|
sql/Pg-upgrade2-auth/right_sales_order_item_search.sql | ||
---|---|---|
-- @tag: right_sales_order_item_search
|
||
-- @description: eigenes Recht für Auftragsartikelsuche
|
||
-- @depends: release_3_9_0 add_master_rights master_rights_position_gaps
|
||
-- @locales: Show sales order item search
|
||
|
||
INSERT INTO auth.master_rights (position, name, description, category)
|
||
VALUES ((SELECT position - 50 FROM auth.master_rights WHERE name = 'delivery_plan'),
|
||
'sales_order_item_search',
|
||
'Show sales order item search',
|
||
FALSE);
|
||
|
||
INSERT INTO auth.group_rights (group_id, "right", granted)
|
||
SELECT DISTINCT(id), 'sales_order_item_search', TRUE
|
||
FROM auth.group
|
||
LEFT JOIN auth.group_rights ON (auth.group.id = auth.group_rights.group_id)
|
||
WHERE "right" LIKE 'sales_order_edit' AND granted IS TRUE;
|
sql/Pg-upgrade2-auth/right_sales_report.sql | ||
---|---|---|
-- @tag: right_sales_report
|
||
-- @description: eigenes Recht für Verkaufsbericht
|
||
-- @depends: release_3_9_0 add_master_rights master_rights_position_gaps
|
||
-- @locales: Show sales report
|
||
|
||
INSERT INTO auth.master_rights (position, name, description, category)
|
||
VALUES ((SELECT position - 30 FROM auth.master_rights WHERE name = 'delivery_plan'),
|
||
'sales_report',
|
||
'Show sales report',
|
||
FALSE);
|
||
|
||
INSERT INTO auth.group_rights (group_id, "right", granted)
|
||
SELECT DISTINCT(id), 'sales_report', TRUE
|
||
FROM auth.group
|
||
LEFT JOIN auth.group_rights ON (auth.group.id = auth.group_rights.group_id)
|
||
WHERE "right" LIKE 'invoice_edit' AND granted IS TRUE;
|
Auch abrufbar als: Unified diff
Verkauf: eigene Rechte für weitere Verkaufs-Berichte, …
… nämlich Auftragsartikelsuche, Finanz-Controlling und Verkaufsbericht