Merge branch 'master' of https://github.com/kivitendo/kivitendo-erp
[kivitendo-erp.git] / menus / user / 00-erp.yaml
index 8d6260f..048fbce 100644 (file)
@@ -1,3 +1,27 @@
+# This is the main menu config file for user space menu entries.
+#
+# Each menu entry can have the following properties:
+#
+# 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
+# order:   numeric value. lower will be displayed first
+# 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 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 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
 ---
 - id: master_data
   name: Master Data
   name: Add Letter
   order: 800
   access: sales_letter_edit
-  module: letter.pl
   params:
-    action: add
+    action: Letter/add
+- 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
   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
 - id: ap
   name: AP
   icon: ap
   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
 - id: warehouse
   name: Warehouse
   icon: warehouse
   name: DATEV - Export Assistent
   icon: datev
   order: 400
-  access: datev_export
+  access: datev_export & client/feature_datev
   module: datev.pl
   params:
     action: export
   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
   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
   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
   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