how to update a field value of one content type node when a field value of another content type is changed using hook_node_presave?
for eg: content type | field name | field value | updated value
product | product_stock | 10 | 24
Add stock | stock value | 14 |