From cd45a1acb4494faadab8df628543f1df0ddd9bd9 Mon Sep 17 00:00:00 2001 From: mmo Date: Fri, 25 Nov 2016 11:55:36 +0530 Subject: [PATCH] [IMP] account: add domain on products accessible to invoices Customer invoices: products to sell Supplier invoices: products to buy --- addons/account/views/account_invoice_view.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/account/views/account_invoice_view.xml b/addons/account/views/account_invoice_view.xml index a3fcb77d389..bcd1434e454 100644 --- a/addons/account/views/account_invoice_view.xml +++ b/addons/account/views/account_invoice_view.xml @@ -261,7 +261,7 @@ + context="{'partner_id': parent.partner_id}" domain="[('purchase_ok','=',True)]"/> - +