Feedback 1776: SST-2 funktioniert nicht richtig!
parent
fca68900d2
commit
f7443bae46
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue