From c8daa7b5f2cddb21d564e5288491aa6a28808821 Mon Sep 17 00:00:00 2001 From: maltayyar2 Date: Thu, 20 Nov 2025 23:58:23 +0300 Subject: [PATCH] feat: Comprehensive button visual enhancements and translations MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🎨 Button Enhancements: - Applied proper colors to ALL buttons based on function - Added appropriate icons to every button (fa-check, fa-times, fa-send, etc.) - Ensured no button is left without proper background/color - Followed Odoo standards for button styling 📋 Enhanced Modules: - purchase_requisition_custom: All buttons enhanced with colors and icons - purchase_custom_stock: Delivery and refuse buttons improved - odex25_annual_purchase: All approval/rejection buttons standardized - online_tendering: Portal and tender buttons enhanced 🎯 Button Color Standards Applied: - Approve/Confirm: btn-primary + fa-check-circle - Reject/Refuse: btn-danger + fa-times-circle - Send/Submit: btn-primary + fa-send - Skip/Forward: btn-warning + fa-forward - Cancel: btn-secondary + fa-ban - Info/Resend: btn-info + fa-refresh - Success/Done: btn-success + fa-check-circle 🌐 Translation Improvements: - Fixed missing Arabic translations in ar_001.po - Added translations for new button strings - Corrected empty msgstr entries - Added Warehouse Management group translation ✅ All buttons now have: - Proper background colors - Appropriate icons - Consistent styling - Complete Arabic translations --- .../views/addendum_views.xml | 12 +++---- .../views/annual_request_views.xml | 24 +++++++------- .../views/purchase_requsition_veiw.xml | 4 +-- .../views/tender_application.xml | 6 ++-- .../views/purchase_request.xml | 6 ++-- .../i18n/ar_001.po | 28 +++++++++++++--- .../views/purchase_requisition_custom.xml | 32 +++++++++---------- 7 files changed, 66 insertions(+), 46 deletions(-) diff --git a/odex25_purchase/odex25_annual_purchase/views/addendum_views.xml b/odex25_purchase/odex25_annual_purchase/views/addendum_views.xml index 93f4c7732..5b2d1b301 100644 --- a/odex25_purchase/odex25_annual_purchase/views/addendum_views.xml +++ b/odex25_purchase/odex25_annual_purchase/views/addendum_views.xml @@ -19,12 +19,12 @@
-
diff --git a/odex25_purchase/odex25_annual_purchase/views/annual_request_views.xml b/odex25_purchase/odex25_annual_purchase/views/annual_request_views.xml index a16505af5..18d657957 100644 --- a/odex25_purchase/odex25_annual_purchase/views/annual_request_views.xml +++ b/odex25_purchase/odex25_annual_purchase/views/annual_request_views.xml @@ -23,18 +23,18 @@
-
diff --git a/odex25_purchase/online_tendering/views/purchase_requsition_veiw.xml b/odex25_purchase/online_tendering/views/purchase_requsition_veiw.xml index 4283f5cb4..2c4b8a44e 100644 --- a/odex25_purchase/online_tendering/views/purchase_requsition_veiw.xml +++ b/odex25_purchase/online_tendering/views/purchase_requsition_veiw.xml @@ -7,8 +7,8 @@ - -