From de782fe989454d491d5b51483954a5ab7a7a2b45 Mon Sep 17 00:00:00 2001 From: Stefan Katzensteiner Date: Tue, 27 Jan 2015 13:19:20 +0100 Subject: [PATCH] =?UTF-8?q?Muster=20f=C3=BCr=20Produktbeschreibung=20ohne?= =?UTF-8?q?=20default=5Fcode?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ext/custom-addons/cam_custom/cam_custom.py | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/ext/custom-addons/cam_custom/cam_custom.py b/ext/custom-addons/cam_custom/cam_custom.py index aeb2ff42..bebceb12 100644 --- a/ext/custom-addons/cam_custom/cam_custom.py +++ b/ext/custom-addons/cam_custom/cam_custom.py @@ -78,4 +78,15 @@ class mail_notification(osv.Model): # }) # footer = tools.append_content_to_html(footer, signature_company, plaintext=False, container_tag='div') - return footer \ No newline at end of file + 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) + \ No newline at end of file