From abf17354f8b5139343eb6fba49ff7f4eacc66d68 Mon Sep 17 00:00:00 2001 From: Jeremy Kersten Date: Wed, 24 Aug 2016 10:59:58 +0200 Subject: [PATCH] [FIX] account: remove domain that depend of purchase when not installed This commit avoid a traceback when you open the form account_invoice_line for a supllier invoice without having installed purchase. The fields_view_get method add domain with purchase_ok field, but this field can be missing on the model product.template because purchase is not a dependence of account. Invalid field 'purchase_ok' in leaf "