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” |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| ai_openwebui_client.py | ||
| ai_openwebui_prompt_template.py | ||
| helpdesk_team.py | ||
| helpdesk_ticket.py | ||
| res_config_settings.py | ||
| sale_order.py | ||