From e62195815fffdcaaa36e46fc9f754add6e199447 Mon Sep 17 00:00:00 2001 From: Christian Anetzberger Date: Thu, 10 Nov 2022 14:49:14 +0100 Subject: [PATCH] Update for version-14 --- .gitignore | 19 ++++++++++++++++--- manufacturing_overview/hooks.py | 29 +++-------------------------- 2 files changed, 19 insertions(+), 29 deletions(-) diff --git a/.gitignore b/.gitignore index c3ca433..2b2346e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,19 @@ -.DS_Store *.pyc +*.py~ +.DS_Store +conf.py +locale +latest_updates.json +.wnf-lang-status *.egg-info +dist/ +manufacturing_overview/public/dist +manufacturing_overview/docs/current *.swp -tags -manufacturing_overview/docs/current \ No newline at end of file +*.swo +__pycache__ +*~ +.idea/ +.vscode/ +node_modules/ +.backportrc.json \ No newline at end of file diff --git a/manufacturing_overview/hooks.py b/manufacturing_overview/hooks.py index df6ea99..74b2b68 100644 --- a/manufacturing_overview/hooks.py +++ b/manufacturing_overview/hooks.py @@ -1,13 +1,14 @@ -from . import __version__ as app_version +from frappe import _ app_name = "manufacturing_overview" app_title = "Manufacturing Overview" app_publisher = "CAnetzberger Design" app_description = "Dashboard Overview for Sales Orders Items to be manufactured" -app_icon = "octicon octicon-file-directory" +app_icon = "fa fa-th" app_color = "grey" app_email = "admin@canetzberger.design" app_license = "MIT" +required_apps = ["erpnext"] # Includes in # ------------------ @@ -148,30 +149,6 @@ app_include_js = "/assets/manufacturing_overview/js/manufacturing_overview.min.j # auto_cancel_exempted_doctypes = ["Auto Repeat"] -# User Data Protection -# -------------------- - -user_data_fields = [ - { - "doctype": "{doctype_1}", - "filter_by": "{filter_by}", - "redact_fields": ["{field_1}", "{field_2}"], - "partial": 1, - }, - { - "doctype": "{doctype_2}", - "filter_by": "{filter_by}", - "partial": 1, - }, - { - "doctype": "{doctype_3}", - "strict": False, - }, - { - "doctype": "{doctype_4}" - } -] - # Authentication and authorization # --------------------------------