Task #18930
openTask #18880: Sprint Planning for 20/10/2025 - 31/10/2025
Incoterms - Validation not mandatory for Ocean Import
100%
Description
Currently, the same set of mandatory validations for Incoterms applies across all modes and directions (Import/Export).
However, in Ocean Import, users typically do not have pickup or delivery address details, since these are managed by the exporter or overseas agent.
As a result, users are forced to enter placeholder or dummy data to complete the record, leading to inaccurate information.
Therefore we need to dynamically adjust validation rules to reflect the import side.
Acceptance Criteria
1. Scope
- The rule applies only to Ocean Import shipments.
- Ocean Export workflows remain unchanged.
2. System Behavior
- When shipment mode = Ocean Import, the Pickup Address and Delivery Address fields should:
- Be non-mandatory and visually hidden (or greyed out) in the UI.
- Not trigger any validation during “Save” or change of HBL status “Approve/Confirmed.”
- The UI must not show mandatory asterisk (*) for these fields when mode = Import.
GitLab Sync Log
[{"id": "33210", "author": "Avisham", "hours": 1.5, "created": "2025-10-31T07:54:50.572Z", "log_date": "2025-10-31", "comment": "Imported from GitLab by @Avisham on 2025-10-31T07:54:50.572Z: 1h 30m-(1.5)h spend at: 2025-10-31", "status": "active", "deleted_by": "", "redmine_entry_id": 11066}, {"id": "33208", "author": "Avisham", "hours": 31.0, "created": "2025-10-31T07:54:35.925Z", "log_date": "2025-10-30", "comment": "Imported from GitLab by @Avisham on 2025-10-31T07:54:35.925Z: 3d 7h-(31.0)h spend at: 2025-10-30", "status": "deleted", "deleted_by": "33209", "redmine_entry_id": 11067}, {"id": "33217", "author": "Avisham", "hours": 0.5, "created": "2025-10-31T10:33:38.554Z", "log_date": "2025-10-30", "comment": "Imported from GitLab by @Avisham on 2025-10-31T10:33:38.554Z: 30m-(0.5)h spend at: 2025-10-30", "status": "active", "deleted_by": "", "redmine_entry_id": 11072}]
Updated by Redmine Admin about 2 months ago
- Due date changed from 10/16/2025 to 10/31/2025
- Estimated time changed from 0:00 h to 2:00 h
Updated by Redmine Admin about 1 month ago
- % Done changed from 0 to 75
- GitLab Time Logged changed from 0 to 5400
Updated by Redmine Admin about 1 month ago
- Status changed from New to QA
- % Done changed from 75 to 100
- GitLab Time Logged changed from 5400 to 7200