Muster für Produktbeschreibung ohne default_code
parent
96c11e2e7b
commit
de782fe989
|
|
@ -78,4 +78,15 @@ class mail_notification(osv.Model):
|
||||||
# })
|
# })
|
||||||
# footer = tools.append_content_to_html(footer, signature_company, plaintext=False, container_tag='div')
|
# footer = tools.append_content_to_html(footer, signature_company, plaintext=False, container_tag='div')
|
||||||
|
|
||||||
return footer
|
return footer
|
||||||
|
|
||||||
|
# class product_product(osv.osv):
|
||||||
|
# _inherit = 'product.product'
|
||||||
|
#
|
||||||
|
# def name_get(self, cr, user, ids, context=None):
|
||||||
|
# if context is None:
|
||||||
|
# context = {}
|
||||||
|
# c = context.copy()
|
||||||
|
# c.update({'display_default_code': False})
|
||||||
|
# return super(product_product, self).name_get(cr, user, ids, context=c)
|
||||||
|
|
||||||
Loading…
Reference in New Issue