Commit Graph

34 Commits

Author SHA1 Message Date
Westech Admin ece68b80e9 Simplify pallet-list API 2026-05-19 21:45:39 +00:00
Westech Admin 73e0cd6c79 Clean up junk pallets and update pallet-list filters 2026-05-19 21:39:32 +00:00
Westech Admin fe91302ff5 Fix 2024 pallet numbering and update pallet-list page 2026-05-19 21:28:52 +00:00
Westech Admin 73e7df4735 Add pallet-list page and Pallet form auto-fill 2026-05-19 20:57:35 +00:00
Westech Admin 232c4af3b6 Fix migration script: read cosmetic_grade from Device Condition Report, not Serial No
Serial No.cosmetic_grade is empty on production. The actual C# data lives
in Device Condition Report (42,940 records). Updated script to lookup
latest report per serial_no and map from there.
2026-05-19 18:24:48 +00:00
Westech Admin 2b57d2df56 Add data migration script for Serial No grades
Run after bench migrate. Maps cosmetic_grade C# values to new grade field:
- C5-C9 → High
- C4 → Med
- C3 → Low
- C0-C2, blank → Flagged

Requires: bench migrate has already created the new fields.
2026-05-19 18:15:09 +00:00
Westech Admin 94b5765fb0 Add Schema Diagram shortcut to Westech workspace - links to EIM schema diagram 2026-05-19 17:55:11 +00:00
Westech Admin 1ef2b63730 Fix eBay s-card parser, add credentials fallback, verified pricing pipeline
- eBay scraper: Fixed HTML parser for post-2024 s-card layout (s-card class)
- Credentials: Fixed fallback from frappe.conf when Settings doc is empty
- Source field: Normalized values (oxylabs/apify/unknown) for System Pricing DocType
- Verified: 80 Dell Latitude 5410 sold listings scraped
  - Low: 5, Median: 39.99, Avg: 58.43, High: 96.42
- Verified Serial No pricing: High/Med/Low correctly maps to market_high/median/low
- Verified CPU/RAM Fail → Flagged + Dismantle routing works
2026-05-19 16:43:47 +00:00
Westech Admin ebf907c9d5 Fix eBay HTML parser for post-2024 s-card layout, fix source field values 2026-05-19 16:33:17 +00:00
Westech Admin 750141827b Serial No: warehousing pricing + grading + hardware failure routing
- Grade options: High/Med/Low/Flagged (replaces A/B/C/D/F)
- assigned_price label → Recommended Price
- Client script: grade→price mapping (High→market_high, Med→market_median, Low→market_low)
- Flagged grade shows FLAGGED, no price, Dismantle status
- New fields: cpu_test (Pass/Fail), ram_test (Pass/Fail)
- CPU/RAM Fail → auto Flagged grade, Dismantle status, route to Dismantle warehouse
- Server-side validation prevents pricing on failed hardware
- pricing_status options updated: Needs Pricing/Priced/Flagged/Dismantle/Manual Override/Expired/Error
2026-05-19 15:33:34 +00:00
Westech Admin 5203f02f0b Fix workspace icons 2026-05-18 00:58:12 +00:00
Westech Admin f0d66d9503 Add R2 dashboards, fix workspace visibility and icons 2026-05-18 00:49:47 +00:00
Westech Admin 5453f87603 fix: workflow states match reality - Processed, Needs QA, Priced, Ready for Sale, Sold, Destroyed, Recycled 2026-05-17 21:31:14 +00:00
Westech Admin 77b86851a0 feat: complete R2 workflow - QA, pricing, sales 2026-05-17 21:05:56 +00:00
Westech Admin 047fcc49b0 feat: R2 Device QA workflow with Shipping & Receiving role 2026-05-17 20:57:06 +00:00
root 18a5bc6603 fix: inline HTML, remove render_template call 2026-05-17 16:22:05 +00:00
root 5e1486a2ba fix: correct page directory structure 2026-05-17 16:16:48 +00:00
root c2bf3a4f25 fix: move sales manager page to correct directory 2026-05-17 15:56:04 +00:00
root 2bfc159356 feat: complete sales manager pricing system 2026-05-17 15:50:40 +00:00
root 0acbf66fbc chore: remove __pycache__ 2026-05-17 14:58:34 +00:00
Westech Admin d7bcaf9917 fix: use Item.brand for eBay pricing match 2026-05-17 14:55:54 +00:00
Westech Admin 7f4779ab61 fix: add missing custom fields (commodity_flat_price, commodity_value), export fixtures 2026-05-17 14:01:20 +00:00
Westech Admin 17e896a907 feat: updated eBay Pricing page with Apply Pricing UI, item dropdown, pricing stats, and CSS 2026-05-17 13:38:05 +00:00
Westech Admin 9689f2eaa7 feat: add apply_serial_pricing, batch_apply_pricing, and Item market data sync 2026-05-17 13:35:33 +00:00
Westech Admin 6c4e00bdec feat: add Item market price fields and Serial No pricing fields for grade-based pricing 2026-05-17 13:24:11 +00:00
Westech Admin 36e9fc2714 feat: full eBay pricing UI with search, batch, and results grid 2026-05-17 13:10:40 +00:00
Westech Admin 33410357d2 fix: page directory naming, workspace shortcuts, remove pycache 2026-05-17 13:10:09 +00:00
Westech Admin 2695eb308d fix: page directory naming to match page record name (ebay_pricing) 2026-05-17 12:53:20 +00:00
Westech Admin f981cd5844 feat: add eBay pricing integration with DocTypes, Frappe Page, and API methods 2026-05-17 12:49:40 +00:00
Woodhouse 482bae141e fix: remove install_ssh server script, fix truck profile permissions, add truck profile to workspace, remove duplicate/disabled client scripts, export clean fixtures 2026-05-17 01:47:48 +00:00
Westech Admin 7bf916003d fix: add Truck Profile to fixtures, add __islocal to all fields, fix fixture import order 2026-05-17 01:07:20 +00:00
Westech Admin 6b037c1b28 production: add Truck Profile creation, fix tables, add to installed_apps 2026-05-17 00:43:22 +00:00
Westech Admin 60c2de9372 Fix: keep Client Scripts as DB fixtures for custom DocTypes 2026-05-16 23:54:38 +00:00
Westech Admin 3a3c01194e Initial commit: fixtures, hooks, doctype events, API, and JS 2026-05-16 23:35:51 +00:00