From d97e7a6a4eaa9e003b48f2522d354669024bc25f Mon Sep 17 00:00:00 2001 From: "Darshan Kalola (OpenERP)" Date: Fri, 18 Oct 2013 14:47:10 +0530 Subject: [PATCH] [IMP]kanban view of product-template. bzr revid: dka@tinyerp.com-20131018091710-mn1mhgx8m2ytixy3 --- addons/product/product.py | 4 ++-- addons/product/product_view.xml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/addons/product/product.py b/addons/product/product.py index 936e90a424d..abe91b06059 100644 --- a/addons/product/product.py +++ b/addons/product/product.py @@ -343,7 +343,7 @@ class product_template(osv.osv): 'image_medium': fields.function(_get_image, fnct_inv=_set_image, string="Medium-sized image", type="binary", multi="_get_image", store={ - 'product.product': (lambda self, cr, uid, ids, c={}: ids, ['image'], 10), + 'product.template': (lambda self, cr, uid, ids, c={}: ids, ['image'], 10), }, help="Medium-sized image of the product. It is automatically "\ "resized as a 128x128px image, with aspect ratio preserved, "\ @@ -351,7 +351,7 @@ class product_template(osv.osv): 'image_small': fields.function(_get_image, fnct_inv=_set_image, string="Small-sized image", type="binary", multi="_get_image", store={ - 'product.product': (lambda self, cr, uid, ids, c={}: ids, ['image'], 10), + 'product.template': (lambda self, cr, uid, ids, c={}: ids, ['image'], 10), }, help="Small-sized image of the product. It is automatically "\ "resized as a 64x64px image, with aspect ratio preserved. "\ diff --git a/addons/product/product_view.xml b/addons/product/product_view.xml index b66c11bcf9d..d1ab196a73c 100644 --- a/addons/product/product_view.xml +++ b/addons/product/product_view.xml @@ -655,7 +655,7 @@ Product Variants ir.actions.act_window - + [('variants','<>', False)] product.product form tree,form,kanban @@ -824,7 +824,7 @@
- +