GDPDU: korrekte delimiter angeben
[kivitendo-erp.git] / menus / user / 00-erp.yaml
index 1b57c8d..0ff4e24 100644 (file)
@@ -2,7 +2,7 @@
 #
 # Each menu entry can have the following properties:
 #
-# parnet:  the id of a higher node in the tree, top-level node if missing
+# parent:  the id of a higher node in the tree, top-level node if missing
 # id:      a unique identifier used by parent links and for overloading
 # name:    translatable text for display
 # icon:    stripped name of an icon for this menu entry
 # access:  boolean expression of the rights needed to display and access this entry
 #          ( ) & | are supported.  if binary operator is missing the last
 #          operator in same scope is repeated, or "|" if none used in scope
-#          yet. client config entrys can be used as rights by prefixing them
+#          yet. client config entries can be used as rights by prefixing them
 #          with "client/". If missing, access will be granted.
 #
 #          Example:
 #            client/feature_default_enabled | ( feature & system )
 #
 # href:   fully qualified external link
-# module: defaults to "controller.pl". Should ne be present if the link is for
-#         Controller::Base dispatching to enable routing.  otherwise with
+# module: defaults to "controller.pl". Should not be present if the link is for
+#         Controller::Base dispatching to enable routing. Otherwise this
 #         script will be used.
 # target: target window for link. ex: "_blank"
 # params: additional url parameter
   name: Add Letter
   order: 800
   access: sales_letter_edit
-  module: letter.pl
   params:
-    action: add
+    action: Letter/add
+    is_sales: 1
+- parent: ar
+  id: ar_invoices
+  name: Invoices
+  icon: sales_invoice_add
+  order: 850
+- parent: ar_invoices
+  id: ar_invoices_mass_add_sales_invoice
+  name: Mass Create Print Sales Invoice from Delivery Order
+  order: 100
+  access: invoice_edit
+  params:
+    noshow: 1
+    action: MassInvoiceCreatePrint/list_sales_delivery_orders
 - parent: ar
   id: ar_reports
   name: Reports
   module: dn.pl
   params:
     action: search
+- parent: ar_reports
+  id: ar_order_item_search
+  name: Order item search
+  order: 750
+  access: sales_order_edit
+  params:
+    action: OrderItem/search
 - parent: ar_reports
   id: ar_reports_delivery_plan
   name: Delivery Plan
   params:
     action: DeliveryPlan/list
     vc: customer
-    mode: delivery_plan
 - parent: ar_reports
   id: ar_reports_delivery_value_report
   name: Delivery Value Report
   order: 900
   access: delivery_value_report
   params:
-    action: DeliveryPlan/list
-    mode: delivery_value_report
+    action: DeliveryValueReport/list
     vc: customer
 - parent: ar_reports
   id: ar_reports_financial_controlling
   name: Letters
   order: 1100
   access: sales_letter_report
-  module: letter.pl
   params:
-    action: search
+    action: Letter/list
+    is_sales: 1
 - id: ap
   name: AP
   icon: ap
   params:
     action: add
     type: invoice
+- parent: ap
+  id: ap_add_letter
+  name: Add Letter
+  order: 450
+  access: purchase_letter_edit
+  params:
+    action: Letter/add
+    is_sales: 0
 - parent: ap
   id: ap_reports
   name: Reports
   access: delivery_plan
   params:
     action: DeliveryPlan/list
-    mode: delivery_plan
     vc: vendor
 - parent: ap_reports
   id: ap_reports_delivery_value_report
   order: 600
   access: delivery_value_report
   params:
-    action: DeliveryPlan/list
+    action: DeliveryValueReport/list
     vc: vendor
-    mode: delivery_value_report
+- parent: ap_reports
+  id: ap_reports_letters
+  name: Letters
+  order: 1100
+  access: purchase_letter_report
+  params:
+    action: Letter/list
+    is_sales: 0
 - id: warehouse
   name: Warehouse
   icon: warehouse
   name: Add Transaction
   icon: transaction_add
   order: 100
-  access: general_ledger
+  access: gl_transactions
   module: gl.pl
   params:
     action: add
   name: Add AR Transaction
   icon: ar_transaction_add
   order: 200
-  access: general_ledger
+  access: ar_transactions
   module: ar.pl
   params:
     action: add
   name: Add AP Transaction
   icon: ap_transaction_add
   order: 300
-  access: general_ledger
+  access: ap_transactions
   module: ap.pl
   params:
     action: add
   name: DATEV - Export Assistent
   icon: datev
   order: 400
-  access: datev_export
+  access: datev_export & client/feature_datev
   module: datev.pl
   params:
     action: export
   name: Journal
   icon: journal
   order: 300
-  access: general_ledger
+  access: general_ledger | gl_transactions
   module: gl.pl
   params:
     action: search
   id: cash_bank_import
   name: Bank Import
   order: 500
-- parent: cash_bank_import
-  id: cash_bank_import_csv
-  name: CSV
-  order: 100
-  access: bank_transaction
-  params:
-    action: CsvImport/new
-    profile.type: bank_transactions
-- parent: cash_bank_import
-  id: cash_bank_import_mt940
-  name: MT940
-  order: 200
   access: bank_transaction
   params:
     action: BankImport/upload_mt940
   params:
     action: report
     report: trial_balance
+- parent: reports
+  id: reports_erfolgsrechnung
+  name: Erfolgsrechnung
+  icon: income_statement
+  order: 300
+  access: report & client/feature_erfolgsrechnung
+  module: rp.pl
+  params:
+    action: report
+    report: erfolgsrechnung
 - parent: reports
   id: reports_income_statement
   name: Income Statement
   icon: income_statement
   order: 300
-  access: report
+  access: report & client/feature_eurechnung
   module: rp.pl
   params:
     action: report
   id: reports_bwa
   name: BWA
   order: 400
-  access: report
+  access: report & client/feature_eurechnung
   module: rp.pl
   params:
     action: report
   name: Balance Sheet
   icon: balance_sheet
   order: 500
-  access: report
+  access: report & client/feature_balance
   module: rp.pl
   params:
     action: report
   name: UStVa
   icon: ustva
   order: 600
-  access: advance_turnover_tax_return
+  access: advance_turnover_tax_return & client/feature_ustva
   module: ustva.pl
   params:
     action: report
   access: report
   params:
     action: LiquidityProjection/show
+- parent: reports
+  id: reports_gdpdu_export
+  name: GDPDU Export
+  order: 1000
+  access: report
+  params:
+    action: Gdpdu/filter
 - id: batch_printing
   name: Batch Printing
   icon: printing
   module: fu.pl
   params:
     action: search
+- parent: productivity_reports
+  id: productivity_reports_email_journal
+  name: Email journal
+  order: 200
+  module: controller.pl
+  params:
+    action: EmailJournal/list
 - id: system
   name: System
   icon: system
   id: system_ustva_einstellungen
   name: UStVa Einstellungen
   order: 200
+  access: client/feature_ustva
   module: ustva.pl
   params:
     action: config_step1
     action: list_account
 - parent: system
   id: system_buchungsgruppen
-  name: Buchungsgruppen
+  name: Booking groups
   order: 500
   params:
     action: Buchungsgruppen/list
   id: system_pricegroups
   name: Pricegroups
   order: 1000
-  module: pe.pl
   params:
-    action: search
-    type: pricegroup
+    action: Pricegroup/list
 - parent: system
   id: system_edit_units
   name: Edit units
   params:
     action: CsvImport/new
     profile.type: orders
+- parent: system_import_csv
+  id: system_import_csv_ar_transactions
+  name: AR Transactions
+  order: 800
+  params:
+    action: CsvImport/new
+    profile.type: ar_transactions
+- parent: system_import_csv
+  id: cash_bank_import_csv
+  name: Bank transactions
+  order: 900
+  params:
+    action: CsvImport/new
+    profile.type: bank_transactions
 - parent: system
   id: system_templates
   name: Templates
   params:
     action: company_logo
     no_todo_list: 1
+- parent: program
+  id: program_kivitendo_modul
+  name: kivitendo modules
+  order: 350
+- parent: program_kivitendo_modul
+  id: program_kivitendo_modul_overview
+  name: Overview kivitendo modules
+  order: 100
+  href: http://www.kivitendo-premium.de/module.shtml
+  target: _blank
+- parent: program_kivitendo_modul
+  id: program_kivitendo_modul_activate
+  name: Activate kivitendo module
+  order: 200
+  href: http://www.kivitendo-premium.de/modul-aktivieren.shtml
+  target: _blank
 - parent: program
   id: program_administration_area
   name: Administration area