[FIX] website_sale: remove duplicated method

Added twice during a forward port

Closes #13796
Fixes ##13795
This commit is contained in:
Yenthe V.G
2016-10-13 14:31:18 +02:00
committed by Martin Trigaux
parent f4d7d04c1d
commit cfe0dc6d34
-4
View File
@@ -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 = {