Commit Graph

17 Commits

Author SHA1 Message Date
Westech Admin 8f8cf5d78d Add get_scheduled_pickups to optimize_routes API 2026-05-21 01:47:24 +00:00
Westech Admin 7d8d1b1376 Fix page module paths: move all pages to correct app-level directory, add missing .py files 2026-05-21 01:45:30 +00:00
Westech Admin efc06dd98a fix: Load.customer points to Customer, data_status D0/D1 2026-05-20 23:32:54 +00:00
Westech Admin 4f4717463e feat: CRM integration - customer intake, service invoice generation, COR print format\n\n- Added customer-intake page (search/create customers, create pallets)\n- Added whitelisted generate_service_invoice() API for native Sales Invoice creation\n- Added COR logo image asset\n- Removed stale fixtures/doctype.json (was causing bench migrate failures) 2026-05-20 22:57:53 +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 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 2bfc159356 feat: complete sales manager pricing system 2026-05-17 15:50:40 +00:00
Westech Admin d7bcaf9917 fix: use Item.brand for eBay pricing match 2026-05-17 14:55:54 +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 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
Westech Admin 3a3c01194e Initial commit: fixtures, hooks, doctype events, API, and JS 2026-05-16 23:35:51 +00:00