diff --git a/chennora_site_dump.html b/chennora_site_dump.html deleted file mode 100644 index 6ed8ecc..0000000 --- a/chennora_site_dump.html +++ /dev/null @@ -1,150 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Best South Indian Cuisine Restaurant Near Me in Brampton - - - - - - - - - - - - - -
- - - - - diff --git a/chennora_site_dump_utf8.html b/chennora_site_dump_utf8.html deleted file mode 100644 index 6ed8ecc..0000000 --- a/chennora_site_dump_utf8.html +++ /dev/null @@ -1,150 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Best South Indian Cuisine Restaurant Near Me in Brampton - - - - - - - - - - - - - -
- - - - - diff --git a/scratch/download_categories.py b/scratch/download_categories.py deleted file mode 100644 index 0e1a4f1..0000000 --- a/scratch/download_categories.py +++ /dev/null @@ -1,24 +0,0 @@ -import urllib.request -import os - -base_url = "https://shivasakthi.ca/" -static_dir = "/mnt/extra-addons/dine360_theme_shivasakthi/static/src/img" - -assets_to_download = { - "assets/images/shapes/hero-shape3.png": "assets/images/shapes/hero-shape3.png", - "assets/images/home/category/hakka.webp": "assets/images/home/category/hakka.webp", - "assets/images/home/category/veg-biryani.webp": "assets/images/home/category/veg-biryani.webp", - "assets/images/home/category/veg-curry.webp": "assets/images/home/category/veg-curry.webp", - "assets/images/home/category/nonveg-biryani.webp": "assets/images/home/category/nonveg-biryani.webp" -} - -for remote, local in assets_to_download.items(): - url = base_url + remote - local_path = os.path.join(static_dir, local) - os.makedirs(os.path.dirname(local_path), exist_ok=True) - print(f"Downloading {url} to {local_path}...") - try: - urllib.request.urlretrieve(url, local_path) - print("Success!") - except Exception as e: - print(f"Failed: {e}") diff --git a/scratch/download_extra_categories.py b/scratch/download_extra_categories.py deleted file mode 100644 index 7df698b..0000000 --- a/scratch/download_extra_categories.py +++ /dev/null @@ -1,23 +0,0 @@ -import urllib.request -import os - -base_url = "https://shivasakthi.ca/" -static_dir = "/mnt/extra-addons/dine360_theme_shivasakthi/static/src/img" - -assets_to_download = { - "assets/images/home/category/dosa.webp": "assets/images/home/category/dosa.webp", - "assets/images/home/category/idly.webp": "assets/images/home/category/idly.webp", - "assets/images/home/category/uthappam.webp": "assets/images/home/category/uthappam.webp", - "assets/images/home/category/beverages.webp": "assets/images/home/category/beverages.webp" -} - -for remote, local in assets_to_download.items(): - url = base_url + remote - local_path = os.path.join(static_dir, local) - os.makedirs(os.path.dirname(local_path), exist_ok=True) - print(f"Downloading {url} to {local_path}...") - try: - urllib.request.urlretrieve(url, local_path) - print("Success!") - except Exception as e: - print(f"Failed: {e}") diff --git a/scratch/find_shapes.py b/scratch/find_shapes.py deleted file mode 100644 index b1693aa..0000000 --- a/scratch/find_shapes.py +++ /dev/null @@ -1,11 +0,0 @@ -with open("/mnt/extra-addons/page_js.md", "r", encoding="utf-8") as f: - text = f.read() - -import re -shapes = re.findall(r'assets/images/shapes/[a-zA-Z0-9_-]+\.[a-z]+', text) -for s in set(shapes): - print("Shape:", s) - -categories = re.findall(r'assets/images/home/category/[a-zA-Z0-9_-]+\.[a-z]+', text) -for c in set(categories): - print("Category Image:", c) diff --git a/scratch/list_payment_methods.py b/scratch/list_payment_methods.py deleted file mode 100644 index be3c9ce..0000000 --- a/scratch/list_payment_methods.py +++ /dev/null @@ -1,12 +0,0 @@ -from odoo import api, SUPERUSER_ID -from odoo.http import request - -def list_payment_methods(): - env = api.Environment(request.cr, SUPERUSER_ID, {}) - methods = env['pos.payment.method'].search([]) - print("POS Payment Methods:") - for m in methods: - print(f"ID: {m.id}, Name: {m.name}, Is Cash: {m.is_cash_count}, Journal: {m.journal_id.name if m.journal_id else 'None'}") - -# This is just a draft, I can't run it easily without request context. -# I'll use a better approach: search in code if there's any reference to a specific payment method name. diff --git a/scratch/parse_content.py b/scratch/parse_content.py deleted file mode 100644 index 50656f8..0000000 --- a/scratch/parse_content.py +++ /dev/null @@ -1,13 +0,0 @@ -with open(r"C:\Users\LENOVO\.gemini\antigravity\brain\ce256ea1-56f2-43c9-bbf4-7f33e9a804a9\.system_generated\steps\564\content.md", "r", encoding="utf-8") as f: - text = f.read() - -import re - -# Let's search for "Welcome to" or "Shiva Sakthi Restaurant" -matches = [m.start() for m in re.finditer("Welcome to", text, re.IGNORECASE)] -for idx, pos in enumerate(matches): - start = max(0, pos - 200) - end = min(len(text), pos + 1000) - print(f"MATCH {idx}:") - print(text[start:end]) - print("-" * 50) diff --git a/tmp_pos/pos_restaurant/views/pos_restaurant_views.xml b/tmp_pos/pos_restaurant/views/pos_restaurant_views.xml deleted file mode 100644 index ff0349c..0000000 --- a/tmp_pos/pos_restaurant/views/pos_restaurant_views.xml +++ /dev/null @@ -1,114 +0,0 @@ - - - - - - Restaurant Floors - restaurant.floor - -
- - - - - - - - - - - - - - - - -
-
-
- - - Restaurant Floors - restaurant.floor - - - - - - - - - - - restaurant.floor.search - restaurant.floor - - - - - - - - - - restaurant.floor.kanban - restaurant.floor - - - - - - -
-
Floor Name:
-
Point of Sales:
-
-
-
-
-
-
- - - Floor Plans - restaurant.floor - tree,kanban,form - -

- Add a new restaurant floor -

- A restaurant floor represents the place where customers are served, this is where you can - define and position the tables. -

-
-
- - - Restaurant Table - restaurant.table - -
- - - - - - - - - - - - - - -
-
-
- - -
diff --git a/tmp_pos/pos_restaurant/views/res_config_settings_views.xml b/tmp_pos/pos_restaurant/views/res_config_settings_views.xml deleted file mode 100644 index 101d0c5..0000000 --- a/tmp_pos/pos_restaurant/views/res_config_settings_views.xml +++ /dev/null @@ -1,49 +0,0 @@ - - - - res.config.settings.view.form.inherit.pos_restaurant - res.config.settings - - -
- - -
-
-
-
-
-
-
- - - - - - - - -
-
- Save this page and come back here to set up the feature. -
-
-
-
-
-
- -
-
- - - - - - - - diff --git a/tmp_templates.xml b/tmp_templates.xml deleted file mode 100644 index 806a1f9..0000000 --- a/tmp_templates.xml +++ /dev/null @@ -1,2751 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -