From 64fe02a0aef450ace170307e9a47e0e4461aa721 Mon Sep 17 00:00:00 2001 From: maltayyar2 Date: Fri, 14 Nov 2025 08:38:08 +0300 Subject: [PATCH] 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 --- .../views/purchase_request.xml | 140 +++++++++--------- .../views/purchase_requisition_custom.xml | 84 ++++++----- 2 files changed, 125 insertions(+), 99 deletions(-) diff --git a/odex25_purchase/purchase_requisition_custom/views/purchase_request.xml b/odex25_purchase/purchase_requisition_custom/views/purchase_request.xml index 94b8a3cd5..598dd31d0 100644 --- a/odex25_purchase/purchase_requisition_custom/views/purchase_request.xml +++ b/odex25_purchase/purchase_requisition_custom/views/purchase_request.xml @@ -30,16 +30,17 @@ attrs="{'invisible' : ['|',('state' , '!=' , 'waiting'),('purchase_create' , '=' , True)]}"/>
- +
- - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - + - + required="1"/> + + - - - - - - - + + @@ -135,8 +154,8 @@ - - + + @@ -152,8 +171,8 @@ - - + + @@ -176,16 +195,7 @@ domain="[('employee_id.user_id','=',uid)]"/> - - - - - - + - - diff --git a/odex25_purchase/purchase_requisition_custom/views/purchase_requisition_custom.xml b/odex25_purchase/purchase_requisition_custom/views/purchase_requisition_custom.xml index 71d3e555f..d90bbcdb7 100644 --- a/odex25_purchase/purchase_requisition_custom/views/purchase_requisition_custom.xml +++ b/odex25_purchase/purchase_requisition_custom/views/purchase_requisition_custom.xml @@ -98,7 +98,7 @@ - + @@ -187,7 +187,7 @@