bemade-addons/helpdesk_sale_order_ai/models
mathis 014293c548 “Fix date handling and improve AI table parsing
This commit addresses two important issues in the helpdesk_sale_order_ai module:

1. Fixed date handling in sale order creation:
- Resolved timezone-related issue where dates were incorrectly shifted by one day
- Modified datetime conversion to use noon (12:00:00) instead of midnight (00:00:00)
- This provides a 12-hour buffer on either side to prevent timezone conversions from
changing the date when displayed in the UI
- Ensures extracted dates like "07/02/2025" correctly appear as "2025-07-02" in sale orders
- Prevents the previous issue where dates were being displayed as the previous day

2. Enhanced AI prompt for better table parsing:
- Enhanced product extraction from tabular data with better pattern recognition
- Improved parsing of product quantities and codes from structured table formats”
2025-08-01 14:16:16 -04:00
..
__init__.py [REF] Replace openwebui_connector with centralized openwebui_base module 2025-07-28 13:27:29 -04:00
ai_openwebui_client.py [REF] Replace openwebui_connector with centralized openwebui_base module 2025-07-28 13:27:29 -04:00
ai_openwebui_prompt_template.py [REF] Replace openwebui_connector with centralized openwebui_base module 2025-07-28 13:27:29 -04:00
helpdesk_team.py [REF] Replace openwebui_connector with centralized openwebui_base module 2025-07-28 13:27:29 -04:00
helpdesk_ticket.py “Fix date handling and improve AI table parsing 2025-08-01 14:16:16 -04:00
res_config_settings.py [REF] Replace openwebui_connector with centralized openwebui_base module 2025-07-28 13:27:29 -04:00
sale_order.py [REF] Replace openwebui_connector with centralized openwebui_base module 2025-07-28 13:27:29 -04:00