diff --git a/order_point.xml b/order_point.xml index bbad45f64e..2cc8196a2f 100644 --- a/order_point.xml +++ b/order_point.xml @@ -94,9 +94,7 @@ this repository contains the full copyright notices and license terms. --> - - = - User/Current Company + [('company', '=', user.company.id if user.company else None)] diff --git a/purchase_request.xml b/purchase_request.xml index a09d752cae..abd424b656 100644 --- a/purchase_request.xml +++ b/purchase_request.xml @@ -213,9 +213,7 @@ this repository contains the full copyright notices and license terms. --> - - = - User/Current Company + [('company', '=', user.company.id if user.company else None)]