initial modification - change names

This commit is contained in:
2023-09-25 18:01:28 +02:00
parent d38c8d5f89
commit 2ac6d1d1e2
18 changed files with 65 additions and 68 deletions

2
.gitignore vendored
View File

@@ -3,4 +3,4 @@
*.egg-info *.egg-info
*.swp *.swp
tags tags
business_theme_v14/docs/current openalt_theme_v14/docs/current

View File

@@ -4,15 +4,15 @@ include *.json
include *.md include *.md
include *.py include *.py
include *.txt include *.txt
recursive-include business_theme_v14 *.css recursive-include openalt_theme_v14 *.css
recursive-include business_theme_v14 *.csv recursive-include openalt_theme_v14 *.csv
recursive-include business_theme_v14 *.html recursive-include openalt_theme_v14 *.html
recursive-include business_theme_v14 *.ico recursive-include openalt_theme_v14 *.ico
recursive-include business_theme_v14 *.js recursive-include openalt_theme_v14 *.js
recursive-include business_theme_v14 *.json recursive-include openalt_theme_v14 *.json
recursive-include business_theme_v14 *.md recursive-include openalt_theme_v14 *.md
recursive-include business_theme_v14 *.png recursive-include openalt_theme_v14 *.png
recursive-include business_theme_v14 *.py recursive-include openalt_theme_v14 *.py
recursive-include business_theme_v14 *.svg recursive-include openalt_theme_v14 *.svg
recursive-include business_theme_v14 *.txt recursive-include openalt_theme_v14 *.txt
recursive-exclude business_theme_v14 *.pyc recursive-exclude openalt_theme_v14 *.pyc

View File

@@ -1,28 +1,25 @@
## Business Theme V14 ## Open-Alt Frappe/ERPNext v14 Custom Theme
Business Theme for ERPNext / Frappe Open-Alt Theme for ERPNext / Frappe v14
### To install this theme, ### To install this theme,
bench get-app https://github.com/Midocean-Technologies/business_theme_v14.git bench get-app https://dev01.open-alt.com/open-alt/openalt_theme_v14.git
bench --site (sitename) install-app business_theme_v14 bench --site (sitename) install-app openalt_theme_v14
bench clear-cache bench clear-cache
### To uninstall this theme ### To uninstall this theme
bench --site (sitename) uninstall-app business_theme_v14 bench --site (sitename) uninstall-app openalt_theme_v14
<img width="1431" alt="Screenshot 2022-06-26 at 2 02 45 PM" src="https://user-images.githubusercontent.com/31538550/175806337-ba832d87-c947-4904-8d4f-7343fa516069.png">
<img width="1431" alt="Screenshot 2022-06-26 at 2 02 28 PM" src="https://user-images.githubusercontent.com/31538550/175806341-9603719f-3cb1-42f0-b138-b9b15376d1d4.png">
<img width="1431" alt="Screenshot 2022-06-26 at 2 01 56 PM" src="https://user-images.githubusercontent.com/31538550/175806342-0557f11a-6992-4d47-85b3-7ebfe613b124.png">
#### License #### License
MIT MIT
#### Contact now! for end to end Frappe/ERPNext, Odoo & Flutter Development #### Contact now! for end to end Business Solutions
[sagar@midocean.tech] [contact@open-alt.com]

View File

@@ -1,10 +0,0 @@
"""
Configuration for docs
"""
# source_link = "https://github.com/[org_name]/business_theme_v14"
# headline = "App that does everything"
# sub_heading = "Yes, you got that right the first time, everything"
def get_context(context):
context.brand_html = "Business Theme V14"

View File

@@ -1 +0,0 @@
Business Theme V14

View File

@@ -3,10 +3,10 @@ from frappe import _
def get_data(): def get_data():
return [ return [
{ {
"module_name": "Business Theme V14", "module_name": "OpenAlt Theme V14",
"color": "grey", "color": "grey",
"icon": "octicon octicon-file-directory", "icon": "octicon octicon-file-directory",
"type": "module", "type": "module",
"label": _("Business Theme V14") "label": _("OpenAlt Theme V14")
} }
] ]

View File

@@ -0,0 +1,10 @@
"""
Configuration for docs
"""
# source_link = "https://dev01.open-alt.com/open-alt/openalt_theme_v14"
# headline = "App that customizes frappe/erpnext v14 theme"
# sub_heading = "Open-Alt custom theme for frappe/erpnext v14"
def get_context(context):
context.brand_html = "OpenAlt Theme V14"

View File

@@ -1,27 +1,27 @@
from . import __version__ as app_version from . import __version__ as app_version
app_name = "business_theme_v14" app_name = "openalt_theme_v14"
app_title = "Business Theme V14" app_title = "Open-Alt Theme v14"
app_publisher = "Midocean Technologies Pvt Ltd" app_publisher = "Open-Alt"
app_description = "Business Theme for ERPNext / Frappe" app_description = "Open-Alt Theme for ERPNext / Frappe v14"
app_icon = "octicon octicon-file-directory" app_icon = "octicon octicon-file-directory"
app_color = "grey" app_color = "grey"
app_email = "sagar@midocean.tech" app_email = "contact@open-alt.com"
app_license = "MIT" app_license = "MIT"
# Includes in <head> # Includes in <head>
# ------------------ # ------------------
# include js, css files in header of desk.html # include js, css files in header of desk.html
app_include_css = "/assets/business_theme_v14/css/business_theme_v14.css" app_include_css = "/assets/openalt_theme_v14/css/openalt_theme_v14.css"
# app_include_js = "/assets/business_theme_v14/js/business_theme_v14.js" # app_include_js = "/assets/openalt_theme_v14/js/openalt_theme_v14.js"
# include js, css files in header of web template # include js, css files in header of web template
# web_include_css = "/assets/business_theme_v14/css/business_theme_v14.css" # web_include_css = "/assets/openalt_theme_v14/css/openalt_theme_v14.css"
# web_include_js = "/assets/business_theme_v14/js/business_theme_v14.js" # web_include_js = "/assets/openalt_theme_v14/js/openalt_theme_v14.js"
# include custom scss in every website theme (without file extension ".scss") # include custom scss in every website theme (without file extension ".scss")
# website_theme_scss = "business_theme_v14/public/scss/website" # website_theme_scss = "openalt_theme_v14/public/scss/website"
# include js, css files in header of web form # include js, css files in header of web form
# webform_include_js = {"doctype": "public/js/doctype.js"} # webform_include_js = {"doctype": "public/js/doctype.js"}
@@ -58,27 +58,27 @@ app_include_css = "/assets/business_theme_v14/css/business_theme_v14.css"
# add methods and filters to jinja environment # add methods and filters to jinja environment
# jinja = { # jinja = {
# "methods": "business_theme_v14.utils.jinja_methods", # "methods": "openalt_theme_v14.utils.jinja_methods",
# "filters": "business_theme_v14.utils.jinja_filters" # "filters": "openalt_theme_v14.utils.jinja_filters"
# } # }
# Installation # Installation
# ------------ # ------------
# before_install = "business_theme_v14.install.before_install" # before_install = "openalt_theme_v14.install.before_install"
# after_install = "business_theme_v14.install.after_install" # after_install = "openalt_theme_v14.install.after_install"
# Uninstallation # Uninstallation
# ------------ # ------------
# before_uninstall = "business_theme_v14.uninstall.before_uninstall" # before_uninstall = "openalt_theme_v14.uninstall.before_uninstall"
# after_uninstall = "business_theme_v14.uninstall.after_uninstall" # after_uninstall = "openalt_theme_v14.uninstall.after_uninstall"
# Desk Notifications # Desk Notifications
# ------------------ # ------------------
# See frappe.core.notifications.get_notification_config # See frappe.core.notifications.get_notification_config
# notification_config = "business_theme_v14.notifications.get_notification_config" # notification_config = "openalt_theme_v14.notifications.get_notification_config"
# Permissions # Permissions
# ----------- # -----------
@@ -117,39 +117,39 @@ app_include_css = "/assets/business_theme_v14/css/business_theme_v14.css"
# scheduler_events = { # scheduler_events = {
# "all": [ # "all": [
# "business_theme_v14.tasks.all" # "openalt_theme_v14.tasks.all"
# ], # ],
# "daily": [ # "daily": [
# "business_theme_v14.tasks.daily" # "openalt_theme_v14.tasks.daily"
# ], # ],
# "hourly": [ # "hourly": [
# "business_theme_v14.tasks.hourly" # "openalt_theme_v14.tasks.hourly"
# ], # ],
# "weekly": [ # "weekly": [
# "business_theme_v14.tasks.weekly" # "openalt_theme_v14.tasks.weekly"
# ], # ],
# "monthly": [ # "monthly": [
# "business_theme_v14.tasks.monthly" # "openalt_theme_v14.tasks.monthly"
# ], # ],
# } # }
# Testing # Testing
# ------- # -------
# before_tests = "business_theme_v14.install.before_tests" # before_tests = "openalt_theme_v14.install.before_tests"
# Overriding Methods # Overriding Methods
# ------------------------------ # ------------------------------
# #
# override_whitelisted_methods = { # override_whitelisted_methods = {
# "frappe.desk.doctype.event.event.get_events": "business_theme_v14.event.get_events" # "frappe.desk.doctype.event.event.get_events": "openalt_theme_v14.event.get_events"
# } # }
# #
# each overriding function accepts a `data` argument; # each overriding function accepts a `data` argument;
# generated from the base implementation of the doctype dashboard, # generated from the base implementation of the doctype dashboard,
# along with any modifications made in other Frappe apps # along with any modifications made in other Frappe apps
# override_doctype_dashboards = { # override_doctype_dashboards = {
# "Task": "business_theme_v14.task.get_dashboard_data" # "Task": "openalt_theme_v14.task.get_dashboard_data"
# } # }
# exempt linked doctypes from being automatically cancelled # exempt linked doctypes from being automatically cancelled
@@ -185,7 +185,7 @@ app_include_css = "/assets/business_theme_v14/css/business_theme_v14.css"
# -------------------------------- # --------------------------------
# auth_hooks = [ # auth_hooks = [
# "business_theme_v14.auth.validate" # "openalt_theme_v14.auth.validate"
# ] # ]
# Translation # Translation

View File

@@ -0,0 +1 @@
Openalt Theme V14

View File

@@ -3,15 +3,15 @@ from setuptools import setup, find_packages
with open("requirements.txt") as f: with open("requirements.txt") as f:
install_requires = f.read().strip().split("\n") install_requires = f.read().strip().split("\n")
# get version from __version__ variable in business_theme_v14/__init__.py # get version from __version__ variable in openalt_theme_v14/__init__.py
from business_theme_v14 import __version__ as version from openalt_theme_v14 import __version__ as version
setup( setup(
name="business_theme_v14", name="openalt_theme_v14",
version=version, version=version,
description="Business Theme for ERPNext / Frappe", description="Open-Alt Theme for ERPNext / Frappe",
author="Midocean Technologies Pvt Ltd", author="Open-Alt"
author_email="sagar@midocean.tech", author_email="contact@open-alt.com",
packages=find_packages(), packages=find_packages(),
zip_safe=False, zip_safe=False,
include_package_data=True, include_package_data=True,