Muster für Produktbeschreibung ohne default_code

develop
Stefan Katzensteiner 2015-01-27 13:19:20 +01:00
parent 96c11e2e7b
commit de782fe989
1 changed files with 12 additions and 1 deletions

View File

@ -79,3 +79,14 @@ class mail_notification(osv.Model):
# footer = tools.append_content_to_html(footer, signature_company, plaintext=False, container_tag='div')
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)