changeset 2a50da86bdc1 in modules/product:default
details: https://hg.tryton.org/modules/product?cmd=changeset;node=2a50da86bdc1
description:
        Use direct access to backend forgotten in changeset 01c131617c22

        issue8836
diffstat:

 product.py |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (13 lines):

diff -r 01c131617c22 -r 2a50da86bdc1 product.py
--- a/product.py        Fri Dec 06 17:33:46 2019 +0100
+++ b/product.py        Fri Jan 10 11:13:59 2020 +0100
@@ -454,7 +454,8 @@
         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',

Reply via email to