Invoice name on Stock Picking
I'm trying to display my invoice name on the stock picking form as reference instead of sale order.
I have tried number of ways namely
1.Tried overriding the action_invoice_open method
2.Tried overriding invoice_validate
3.Tried write method
4.Tried onchange of draft state
But every time the name value of the invoice contains False , All the time the invoice name attribute is note defined
Please be kind to tell me how to do this?