This question has been flagged
1 Reply
3436 Views

I Have Condition To Display Lead_id Field In Incoming Shipments Page . While Confirm Sale Order Incoming Shipments Is Getting Created. I Wrote The Functionality That "Lead_id From Sale Order Should Populate in Incoming Shipment Lead_id(Both Places I've Created Lead_id -M2O Field to crm.lead)

The Lead_id which i populate from SO is populating correctly in Incoming shipments But it is not displaying :-)_ Storing correctly in Backend Not displayin in front What Wrong I Have Done

Avatar
Discard
Best Answer

While confirming Sale Order, Delivery Order will be created --> stock.picking.out object --> type = out. While confirming Purchase Order, Incoming Shipment will be created --> stock.picking.in object --> type = in.

Both stock.picking.in and stock.picking.out inherits same object which is stock.picking and table is stock_picking. By default, type is internal defined in stock.picking object.

Delivery Order --> VIEW_ID - view_picking_out_form. Incoming Shipment --> VIEW_ID - view_picking_in_form. Internal Moves --> VIEW_ID - view_picking_form.

You need to inherit particular view in which you want to show lead_id field. Hope this will help you.

Thanks, Priyesh Solanki

Avatar
Discard
Author

Thanks A lot :-) Got The Soln :-)