Commit Graph

391 Commits

Author SHA1 Message Date
maltayyar2 c8daa7b5f2 feat: Comprehensive button visual enhancements and translations
🎨 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
2025-11-20 23:58:23 +03:00
maltayyar2 3c6801e1e5 fix: Use name attribute instead of string in xpath selector for Other Details group
- Add name='other_details_group' to Other Details group in purchase_requisition_custom
- Update xpath selector in purchase_custom_stock to use @name instead of @string
- Fix Odoo validation error for view inheritance
- Ensure proper xpath selector compatibility with Odoo standards
2025-11-20 23:18:34 +03:00
maltayyar2 3ca4ac317c feat: Move Warehouse Management group to purchase_custom_stock module
- Remove Warehouse Management group from purchase_requisition_custom
- Add Warehouse Management group in purchase_custom_stock via inheritance
- Position group after 'Other Details' group as requested
- Maintain all field attributes and conditions
- Fix proper module separation for warehouse-related fields
2025-11-20 23:14:26 +03:00
maltayyar2 046fb96cad fix: Add Arabic translation for show_approve_warehouse field
- Fix empty translation for 'Approve Warehouse' field
- Add proper Arabic translation: 'موافقة المستودع'
2025-11-20 23:04:30 +03:00
maltayyar2 ba2ee033e1 feat: Add Warehouse Management group for purchase_custom_stock fields
- Add empty 'Warehouse Management' group in purchase_request form
- Update purchase_custom_stock inheritance to use the new group
- Move warehouse_id and location_id fields to the dedicated group
- Simplify field layout by removing div wrappers and labels
2025-11-20 23:04:30 +03:00
maltayyar2 78e3917283 feat: Comprehensive UI/UX improvements for Purchase Request module 2025-11-20 17:23:45 +03:00
maltayyar2 c448e9fc18 hotfix: Add proper header to 'Vendor and Accounting' translation entry
- Fix translation file format error that was causing module update failures
- Add required module and arch_db comments for proper .po file structure
2025-11-20 16:50:35 +03:00
maltayyar2 9dcd5028ae Add Arabic translation for new group title 'Vendor and Accounting' 2025-11-20 16:37:23 +03:00
maltayyar2 4010ab5d82 Fix UI/UX issues: standardize button classes, simplify group layout, add badge widget for state field
- Changed button classes to standard Odoo classes (btn-primary, btn-danger, btn-secondary)
- Simplified form layout from 4 groups to 3 groups to avoid overlapping
- Combined Vendor and Accounting groups for better space utilization
- Added badge widget to state field in tree view for better visual representation
- Updated Arabic translations for new group title
2025-11-20 16:37:16 +03:00
maltayyar2 d9f5a250d4 feat: Visual enhancements for purchase.request forms and tree views
- Add state field coloring in tree view based on status
- Add icons and colors to action buttons (Submit, Approve, Refuse, etc.)
- Organize form fields into logical groups (Request Info, Details, Vendor, Accounting)
- Add icons to notebook pages (Items, Note)
- Add help attributes and placeholders for better UX
- Improve smart buttons icons
- Add decoration-bf for important states
- Add Arabic translations for all new strings

Synced with latest dev_odex25_purchase on 2025-11-20
2025-11-20 15:54:14 +03:00
Mohamed Eltayar eefdb87ad6
Revert "Fix Purchase Order and Request Layout Issues" 2025-11-20 13:04:38 +03:00
Mohamed Eltayar c4555b3828
Revert "Add String Labels for Boolean Fields in Purchase Forms" 2025-11-20 13:02:14 +03:00
maltayyar2 46949ab388 feat: Add string labels for Boolean fields in Purchase forms
- Add string="Requested by Purchase" for by_purchase field
- Add string="Use Analytic Account" for use_analytic field
- Maintain original field order and structure
- Preserve context attributes for department_id and branch_id
- All Boolean fields now display with proper labels

Synced with latest dev_odex25_purchase on 2025-11-20
2025-11-20 12:42:26 +03:00
maltayyar2 be7cfdf413 feat: Fix Purchase Order and Request layout issues
- Fix Purchase Order form layout - organize fields in proper groups
- Add separators and groups for Request Information and Status sections
- Remove duplicate request_id field from origin replacement
- Remove unnecessary invisible="0" attribute from department_id
- Fix typo: colsapn to colspan in committee type form
- Add missing Arabic translations for group headers
- Improve field organization and visual layout

Synced with latest dev_odex25_purchase on 2025-11-19
2025-11-19 12:06:21 +03:00
esam c6c26d39a3 migration 2025-11-18 17:01:32 -05:00
esam 6719ae72b2 ann_pu 2025-11-18 16:33:24 -05:00
esam 15f543fd62 coc 2025-11-18 15:49:26 -05:00
esam fb068b1ffc annual 2025-11-18 06:26:11 -05:00
esam 52e54b78c8 annual 2025-11-18 06:20:59 -05:00
Mohamed Eltayar 7292bd83d0
Revert "feat: Purchase UI/UX Enhancements - Odoo Standards Implementation" 2025-11-14 09:19:18 +03:00
maltayyar2 64fe02a0ae feat: enhance purchase UI/UX with Odoo standards
- Reorganize Purchase Request form with logical field grouping
- Add separators for Request Information and Vendor sections
- Implement radio widgets and proper button styling
- Add icons to smart buttons and notebook pages
- Apply decoration patterns to tree views
- Enhance Purchase Requisition form organization
- Add Purchase Configuration and Department sections
- Standardize button classes (btn-primary, btn-secondary)
- Include proper placeholders and labels

Synced with latest dev_odex25_purchase on Fri Nov 14 08:38:08 +03 2025
2025-11-14 08:38:08 +03:00
Mohamed Eltayar 5d4b9aafb8 feat: add department context for short display in purchase views
🔧 **Key Enhancements:**
- Added show_department_short context to all department_id fields
- Enhanced form, tree, and search views with proper context
- Fixed translation consistency (Department = القسم)
- Unified department display across purchase module

📁 **Files Modified:**
- odex25_purchase/purchase_requisition_custom/views/purchase_request.xml: Added context to department fields
- odex25_purchase/purchase_requisition_custom/views/purchase_requisition_custom.xml: Enhanced department display
- odex25_purchase/purchase_requisition_custom/i18n/ar_001.po: Fixed Department translation consistency

 **Impact:**
- Department names now display without hierarchical path in purchase views
- Consistent short name display across purchase request, order, and requisition views
- Better UX with unified Arabic translations
- Works seamlessly with HR module's name_get enhancement

🔗 **Dependencies:**
Requires HR module PR #5412 for full functionality

Synced with latest dev_odex25_purchase on Thu Nov 13 18:27:23 +03 2025
2025-11-13 18:27:23 +03:00
Mohamed Eltayar 94c794b431 fix: correct XPath for branch_id field in purchase order tree view
- Removed invalid XPath targeting non-existent department_id field
- Added branch_id field after partner_id which exists in the base tree view
- Fixes XML validation error during module upgrade

Files modified:
- odex25_purchase/purchase_requisition_custom/views/purchase_requisition_custom.xml

Error fixed: XPath expr='//field[@name='department_id']' not found in base view
2025-11-13 16:35:26 +03:00
Mohamed Eltayar 6f239f39b8 fix: remove non-existent branch_short_name field
- Removed branch_short_name field that references non-existent field
- This field was causing KeyError during module loading
- Resolves registry setup error in purchase_order model

Files modified:
- odex25_purchase/purchase_requisition_custom/models/purchase_order.py

Error fixed: KeyError: 'branch_short_name' during field setup
2025-11-13 16:26:15 +03:00
Mohamed Eltayar ed295ddb30 feat: add branch field to purchase request and order modules with correct paths
- Added branch_id field to purchase.request model with auto-computation
- Added branch_id field to purchase.order model with auto-computation
- Updated purchase request form, tree, and search views with branch field
- Updated purchase order form, tree, and search views with branch field
- Added Arabic translations for branch field
- Branch propagates from request to purchase order during creation
- Uses context for short branch name display

Files modified with correct paths:
- odex25_purchase/purchase_requisition_custom/models/purchase_request.py
- odex25_purchase/purchase_requisition_custom/models/purchase_order.py
- odex25_purchase/purchase_requisition_custom/views/purchase_request.xml
- odex25_purchase/purchase_requisition_custom/views/purchase_requisition_custom.xml
- odex25_purchase/purchase_requisition_custom/i18n/ar_001.po

Synced with latest dev_odex25_purchase on Thu Nov 13 14:50:06 +03 2025
2025-11-13 14:50:06 +03:00
Mohamed Eltayar 3e0d541ba4 feat: add branch field to purchase.request
- Add branch_id computed field to purchase.request model
- Auto-populate branch from employee department
- Add branch field to form view (readonly)
- Add branch field to tree and search views
- Add branch group by filter in search view
- Add Arabic translation for branch field

Synced with latest dev_odex25_purchase on Thu Nov 13 10:46:18 +03 2025
2025-11-13 10:46:19 +03:00
esam d8eed34be6 sdk 2025-11-12 16:44:19 -05:00
esam f1e32ce601 annual 2025-11-12 16:27:14 -05:00
Mohamed Eltayar c2adaddd91 fix: Simplify date filters in search view to avoid XML parsing issues
- Replaced complex datetime expressions with simpler domain filters
- Fixed XML encoding issues with comparison operators
- Improved compatibility and reduced parsing complexity
2025-11-10 15:19:15 +03:00
Mohamed Eltayar b22d8c0252 feat: Add comprehensive search view for purchase.request model
- Added purchase_request_search view with product search capability
- Included logical search fields: employee, department, vendor, products, categories
- Added useful filters: state-based, time-based, type-based, vendor-based
- Added group-by options: state, employee, department, vendor, type, date
- Full Arabic translations for all new search elements
- Linked search view to purchase_request_action
2025-11-10 15:12:43 +03:00
mohammed-alkhazrji f0d29d797f fix 2025-11-09 11:53:57 +03:00
mohammed-alkhazrji 49093d9694 fix 2025-11-09 11:46:36 +03:00
mohammed-alkhazrji f3b785bf37 scope product 2025-11-09 11:24:08 +03:00
mohammed-alkhazrji c54942357c multi committe 2025-11-04 16:51:17 +03:00
mohammed-alkhazrji e4135b1d36 multi committe 2025-11-04 16:46:18 +03:00
mohammed-alkhazrji 88bd1269eb multi committe 2025-11-04 16:42:00 +03:00
Mazen Abdo 38e09b0ca0 fix secuity_file 2025-11-04 14:46:03 +02:00
mohammed-alkhazrji 4a1a413754 chenge group 2025-11-02 11:24:07 +03:00
mohammed-alkhazrji 799b6b54d5 v4-po 2025-10-30 14:05:45 +03:00
mohammed-alkhazrji 8c60af366e v4-po 2025-10-30 13:56:24 +03:00
mohammed-alkhazrji 529ea8b2b6 v4-po 2025-10-30 13:48:32 +03:00
mohammed-alkhazrji cfdd71ecf6 v4-po 2025-10-30 13:42:37 +03:00
mohammed-alkhazrji c738cfbae1 v3-annual 2025-10-30 10:54:14 +03:00
mohammed-alkhazrji 89ef7eb956 v3-annual 2025-10-29 23:57:01 +03:00
mohammed-alkhazrji a2f3f75ea9 v3-annual 2025-10-29 23:52:26 +03:00
Mazen Abdo 224476ffaa fix 2025-10-29 15:54:39 +03:00
Mazen Abdo fc9221ea4b fix 2025-10-29 15:33:54 +03:00
Mazen Abdo 42843ca389 fix 2025-10-29 15:23:27 +03:00
Mazen Abdo 1434c49a21 fix 2025-10-29 15:11:32 +03:00
Mazen Abdo 4009d96a96 Change to payment receipt privileges 2025-10-29 13:57:37 +03:00