Feedback 1776: SST-2 funktioniert nicht richtig!

develop
Ahmed Aly 2018-06-11 09:52:27 +02:00
parent fca68900d2
commit f7443bae46
1 changed files with 1 additions and 1 deletions

View File

@ -313,7 +313,7 @@ class Partner(models.Model):
if item.applied_on == '2_product_category':
code = item.categ_id.code
if item.applied_on == '0_product_variant':
code = item.product_tmpl_id.default_code
code = item.product_id.product_tmpl_id.default_code
data.append({
'customer_id': partner_id.commercial_partner_id.portal_id,
'code': code,