From a35598022de97df16e15fa17cb7aa8e92829d5c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20=C3=89vrard?= Date: Fri, 10 Jan 2020 11:13:59 +0100 Subject: [PATCH] Use direct access to backend forgotten in changeset 01c131617c22 issue8836 --- product.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/product.py b/product.py index 8c6d45a86b..29bc0f3ca3 100644 --- a/product.py +++ b/product.py @@ -454,7 +454,8 @@ class ProductCostPriceMethod(ModelSQL, CompanyValueMixin): if not exist and not cost_price_exist: cls._migrate_property([], [], []) elif not exist and cost_price_exist: - cost_price_table = TableHandler(ProductCostPrice, module_name) + cost_price_table = backend.TableHandler( + ProductCostPrice, module_name) if cost_price_table.column_exist('template'): columns = ['create_uid', 'create_date', 'write_uid', 'write_date',