Community mailing list archives

Want to show purchase order line in sale order line based on product selection (OpenERP V7)

Mayur Maheshwari
- 05/06/2015 01:53:23
Dear Community Members,

    Greetings of the day!   
     I am stuck in one issue let me share you briefly.Based on product selection, I want to show all purchase order line related to the selected product into sale order line.There is no any reference between purchase line and sale order line so for the solution I have added a one button in sale order line it will show all purchase order line related that product.
   Before creation sale order,Button will be invisible in one2many (sale.order.line) (I think it's bug) but after create sale order then it will be visible and working fine in sale order line(one2many).
   I want from experts guideline, is there any way how can i visible button before creating a sale order or any another option to show all purchase order line while selection a product into sale order line (one2many).
    Kindly provide the solution to tackle this issue. Hope to hear from you soon.
Mayur Maheshwari