From 7292bd83d071027cc199c3abbbb300a27e603447 Mon Sep 17 00:00:00 2001 From: Mohamed Eltayar <152964073+maltayyar2@users.noreply.github.com> Date: Fri, 14 Nov 2025 09:19:18 +0300 Subject: [PATCH] Revert "feat: Purchase UI/UX Enhancements - Odoo Standards Implementation" --- .../views/purchase_request.xml | 140 +++++++++--------- .../views/purchase_requisition_custom.xml | 84 +++++------ 2 files changed, 99 insertions(+), 125 deletions(-) diff --git a/odex25_purchase/purchase_requisition_custom/views/purchase_request.xml b/odex25_purchase/purchase_requisition_custom/views/purchase_request.xml index 598dd31d0..94b8a3cd5 100644 --- a/odex25_purchase/purchase_requisition_custom/views/purchase_request.xml +++ b/odex25_purchase/purchase_requisition_custom/views/purchase_request.xml @@ -30,17 +30,16 @@ attrs="{'invisible' : ['|',('state' , '!=' , 'waiting'),('purchase_create' , '=' , True)]}"/> + groups="purchase.group_purchase_user,purchase.group_purchase_manager"/> + groups="purchase.group_purchase_user,purchase.group_purchase_manager"/>
-
+ + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + - - + optional="show" + required="1"/> + + + + + + - - + + @@ -154,8 +135,8 @@ - - + + @@ -171,8 +152,8 @@ - - + + @@ -195,7 +176,16 @@ 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 d90bbcdb7..71d3e555f 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 @@