Commit Graph

760 Commits

Author SHA1 Message Date
Mohamed Eltayar 72397f5b61
Merge pull request #5470 from expsa/feature/purchase-request-comprehensive-fixes-20251120-172303
Comprehensive UI/UX improvements for Purchase Request module
2025-11-20 17:26:11 +03:00
maltayyar2 78e3917283 feat: Comprehensive UI/UX improvements for Purchase Request module 2025-11-20 17:23:45 +03:00
Mohamed Eltayar 7cd394b931
Merge pull request #5468 from expsa/hotfix/translation-format-fix-20251120-165027
Hotfix: Fix translation file format error causing module update failures
2025-11-20 16:54:04 +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
Mohamed Eltayar a293af1597
Merge pull request #5467 from expsa/feature/purchase-request-visual-enhancements-20251120-155413
Fix Purchase Request UI/UX Issues - Button Classes, Layout, State Widget
2025-11-20 16:39:23 +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
Mohamed Eltayar 66f92079e6
Merge pull request #5465 from expsa/feature/purchase-request-visual-enhancements-20251120-155413
feat: Visual enhancements for purchase.request forms and tree views
2025-11-20 15:54:50 +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 c7e41d3a99
Merge pull request #5464 from expsa/revert-5451-feature/purchase-layout-fixes-20251119-120538
Revert "Fix Purchase Order and Request Layout Issues"
2025-11-20 13:04:57 +03:00
Mohamed Eltayar eefdb87ad6
Revert "Fix Purchase Order and Request Layout Issues" 2025-11-20 13:04:38 +03:00
Mohamed Eltayar 91b6ad079d
Merge pull request #5463 from expsa/revert-5462-feature/boolean-fields-labels-20251120-124223
Revert "Add String Labels for Boolean Fields in Purchase Forms"
2025-11-20 13:02:32 +03:00
Mohamed Eltayar c4555b3828
Revert "Add String Labels for Boolean Fields in Purchase Forms" 2025-11-20 13:02:14 +03:00
Mohamed Eltayar 9b01f9fa6a
Merge pull request #5462 from expsa/feature/boolean-fields-labels-20251120-124223
Add String Labels for Boolean Fields in Purchase Forms
2025-11-20 12:42:51 +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
Mohamed Eltayar b22e1d6ebe
Merge pull request #5451 from expsa/feature/purchase-layout-fixes-20251119-120538
Fix Purchase Order and Request Layout Issues
2025-11-20 11:00:14 +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-sermah baa27c5ea4
Merge pull request #5444 from expsa/migration
migration
2025-11-18 17:02:08 +03:00
esam c6c26d39a3 migration 2025-11-18 17:01:32 -05:00
esam-sermah a7246ce63d
Merge pull request #5443 from expsa/ann_pu
ann_pu
2025-11-18 16:34:16 +03:00
esam 6719ae72b2 ann_pu 2025-11-18 16:33:24 -05:00
esam-sermah 8861cfb2e1
Merge pull request #5442 from expsa/coc
coc
2025-11-18 15:50:29 +03: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
esam-sermah e90deffbce
Merge pull request #5441 from expsa/annual
annual
2025-11-18 06:26:28 +03:00
esam-sermah e3bdd7c286
Merge pull request #5440 from expsa/annual
annual
2025-11-18 06:21:41 +03:00
Mohamed Eltayar 923b53fdce
Merge pull request #5421 from expsa/revert-5420-feature/purchase-ui-enhancements-20251114-083800
Revert "feat: Purchase UI/UX Enhancements - Odoo Standards Implementation"
2025-11-14 09:19:45 +03:00
Mohamed Eltayar 7292bd83d0
Revert "feat: Purchase UI/UX Enhancements - Odoo Standards Implementation" 2025-11-14 09:19:18 +03:00
Mohamed Eltayar ea3e4f6075
Merge pull request #5420 from expsa/feature/purchase-ui-enhancements-20251114-083800
feat: Purchase UI/UX Enhancements - Odoo Standards Implementation
2025-11-14 08:39:27 +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 7c6e3e6bce
Merge pull request #5413 from expsa/feature/purchase-department-context-20251113-182713
feat: add department context for short display in purchase views
2025-11-13 18:36:34 +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 4dbfb5d8cd
Merge pull request #5410 from expsa/fix/purchase-tree-view-xpath-20251113-163513
fix: correct XPath for branch_id field in purchase order tree view
2025-11-13 16:36:06 +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 50f9025fc9
Merge pull request #5409 from expsa/fix/remove-branch-short-name-20251113-162601
fix: remove non-existent branch_short_name field causing KeyError
2025-11-13 16:28:24 +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 9000c4d360
Merge pull request #5404 from expsa/feature/purchase-branch-correct-paths-20251113-144925
feat: add branch field to purchase modules with correct paths
2025-11-13 16:00: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 394b75da0b
Merge pull request #5402 from expsa/revert/purchase-wrong-merge-20251113-144448
Revert "Merge pull request #5399 - Wrong file paths"
2025-11-13 14:46:32 +03:00
Mohamed Eltayar 753d55d700 Revert "Merge pull request #5399 from expsa/feature/purchase-branch-display-20251113-124523"
This reverts commit 3035a307c0, reversing
changes made to 0434e7f892.
2025-11-13 14:44:48 +03:00
Mohamed Eltayar 3035a307c0
Merge pull request #5399 from expsa/feature/purchase-branch-display-20251113-124523
feat: add branch field to purchase request and order modules
2025-11-13 12:47:05 +03:00
Mohamed Eltayar 07481846f1 feat: add branch field to purchase request and order modules
- 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

Synced with latest dev_odex25_purchase on Thu Nov 13 12:45:38 +03 2025
2025-11-13 12:45:38 +03:00
Mohamed Eltayar 0434e7f892
Merge pull request #5396 from expsa/feature/add-branch-field-purchase-request-20251113-104552
feat: Add Branch Field to Purchase Request
2025-11-13 11:02:34 +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-sermah 68a9c946da
Merge pull request #5390 from expsa/transl_pruchase
sdk
2025-11-12 16:45:00 +03:00
esam d8eed34be6 sdk 2025-11-12 16:44:19 -05:00
esam f1e32ce601 annual 2025-11-12 16:27:14 -05:00
esam-sermah b4ed8b0ccc
Merge pull request #5387 from expsa/transl_pruchase
annual
2025-11-12 16:28:52 +03:00
Mohamed Eltayar 89e6e52914
Merge pull request #5314 from expsa/feature/purchase-request-search-view-20251110
feat: Add comprehensive search view for purchase.request model
2025-11-10 15:22:33 +03:00