Skip to content

Conversation

@John75SunCity
Copy link
Owner

No description provided.

├── __init__.py
├── __manifest__.py
├── controllers/
│   ├── __init__.py
│   └── portal.py
├── models/
│   ├── __init__.py
│   ├── stock_production_lot.py
│   ├── shredding_service.py
│   └── pickup_request.py
Moves manifest and view/data files out of the main Python file to improve modularity and maintainability. Refactors models and controllers for clarity and adds inline documentation. Updates routes to support both GET and POST for pickup requests, enhancing usability. Prepares code for better separation of concerns and easier future development.
@John75SunCity John75SunCity merged commit 4f4a23f into main Jun 19, 2025
@John75SunCity John75SunCity deleted the test branch June 19, 2025 06:41
John75SunCity pushed a commit that referenced this pull request Oct 19, 2025
Issue #1: Invalid field 'scheduled_date' on container.destruction.work.order
- Model uses 'scheduled_destruction_date' not 'scheduled_date'
- Changed to use model's default _order instead of hardcoding field names
- Prevents ValueError when searching work orders

Issue #2: Invalid field 'customer_visible' on work.order.coordinator
- Field doesn't exist in model
- Removed from domain filter
- Only filter by partner_id to show customer's coordinators

Both errors caused 500 Internal Server Error on portal pages.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants