I don't understand, but for example why in purchase order the note is populated with the correct description_purchase of the partner language and in the sale order not?
there is the line sample from the purchase.py of the purchase module:
line 758 -763
# - determine name and notes based on product in partner lang.
lang = res_partner.browse(cr, uid, partner_id).lang
context_partner = {'lang': lang, 'partner_id': partner_id}
product = product_product.browse(cr, uid, product_id, context=context_partner)
res['value'].update({'name': product.partner_ref, 'notes': notes or product.description_purchase})
Hi Amit,
I don't understand, but for example why in purchase order the note is populated with the correct description_ purchase of the partner language and in the sale order not?
there is the line sample from the purchase.py of the purchase module:
line 758 -763 browse( cr, uid, partner_id).lang product. browse( cr, uid, product_id, context= context_ partner) ].update( {'name' : product. partner_ ref, 'notes': notes or product. description_ purchase} )
# - determine name and notes based on product in partner lang.
lang = res_partner.
context_partner = {'lang': lang, 'partner_id': partner_id}
product = product_
res['value'
Best Regards
Franco