From cfe0dc6d3442f31ffb1638595daf330dc225b34c Mon Sep 17 00:00:00 2001 From: "Yenthe V.G" Date: Thu, 13 Oct 2016 14:21:09 +0200 Subject: [PATCH] [FIX] website_sale: remove duplicated method Added twice during a forward port Closes #13796 Fixes ##13795 --- addons/website_sale/models/product.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/addons/website_sale/models/product.py b/addons/website_sale/models/product.py index bf547b55ac8..b4cf25816b9 100644 --- a/addons/website_sale/models/product.py +++ b/addons/website_sale/models/product.py @@ -166,10 +166,6 @@ class product_product(osv.Model): template_id = self.browse(cr, uid, ids, context=context).product_tmpl_id.id return self.pool['product.template'].website_publish_button(cr, uid, [template_id], context=context) - def website_publish_button(self, cr, uid, ids, context=None): - template_id = self.browse(cr, uid, ids, context=context).product_tmpl_id.id - return self.pool['product.template'].website_publish_button(cr, uid, [template_id], context=context) - class product_attribute(osv.Model): _inherit = "product.attribute" _columns = {