How can i change product_id view
I'm stuck because i want change product_id view in sale and purchase module. I try describe what i mean:
Product id view as: [default_code] + name but i want change to view if product has default_old_code view [default_old_code] + name else view as previously mentioned. I can;t resolve how can i do it because. I was looking for in purchase but i didn't find it. Someone can help me because it's really important for me and maybe it's really simple but i cant figure out how change it. I can't understand how odoo take 2 fields default_code and name and join together but this field is a id number of product.
I hope someone helps me.