Community mailing list archives

community@mail.odoo.com

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

by
Projetgrup, Levent Karakaş
- 05/06/2015 18:29:14


A button on a form will save the model first and then execute your button handling code.

Have you considered opening another window/tab to check product details? User can check from another window and inform customer.

06 May 2015 11:35 tarihinde "Naran M" <moturi12@gmail.com> yazdı:
>
> Thanks Ahmed, We did exactly the same added a button on the sale order line to show incoming shipments, however the button is not enabled until we save the record which is kind of useless, the user needs to save and go back the record to click the button, it becomes frustrating when the user is with the customer on the phone and entering 10-20 lines.
>
>
> So the question(technically) how to make the button enabled as soon as the product is selected in the sale order line with out saving the line.
>
> Cheers,Naran
>
>
>> On 6 May 2015, at 5:09 pm, Ahmed Elsaka <eng.elsaka09@gmail.com> wrote:
>> Hi Naran,,,
>> I expected your need, So I asked you :)
>> So for the first part, Odoo will display a message in case there is no enogh stock.
>> Regarding the second part, checking the expected availability,
>> you have two options:-1- Modify the odoo availability warning message to check Incoming number from product form and display it.2- Adding new button in sales order "expected availability" , if the user click on it, it will check the incoming products number and the date.
>> I think these are the best ways :)Good luck.
>>
>> Regards,
>>
>> Ahmed Elsaka
>>
>> Odoo Functional Consultant
>>
>> Mob: - 00201006243796   //(Call & WhatsApp)
>>
>> LinkedIn
>>
>> Facebook page
>>
>> Youtube Channel
>>
>>
>>
>> On Wed, May 6, 2015 at 8:21 AM, Naran M <moturi12@gmail.com> wrote:
>>>
>>> Hi Ahmed - The need is for the sales personal to advise their customers at the time of order entry if the stock is not available , the expected availability of the stock.
>>> Cheers,
>>> On Wed, May 6, 2015 at 4:12 PM, Ahmed Elsaka <eng.elsaka09@gmail.com> wrote:
>>>>
>>>> Hi Mayur,,,
>>>>
>>>> I always ask my clients what is the need?, So why you want to do that?
>>>> As according the need, I can provide you  the suitabe solution?
>>>>
>>>> Regards,
>>>> Ahmed
>>>>
>>>> On 6 May 2015 08:57, "Mayur Maheshwari (OpenERP) | Tel: +91 99245 42042" <mayurmaheshwari07@gmail.com> wrote:
>>>>>
>>>>> 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.
>>>>>    
>>>>>    
>>>>>     
>>>>> Thanks,
>>>>> Mayur Maheshwari        
>>>>>
>>>>> _______________________________________________
>>>>> Mailing-List: https://www.odoo.com/groups/community-59
>>>>> Post to: mailto:community@mail.odoo.com
>>>>> Unsubscribe: https://www.odoo.com/groups?unsubscribe
>>>>
>>>> _______________________________________________
>>>> Mailing-List: https://www.odoo.com/groups/community-59
>>>> Post to: mailto:community@mail.odoo.com
>>>> Unsubscribe: https://www.odoo.com/groups?unsubscribe
>>>
>>>
>>> _______________________________________________
>>> Mailing-List: https://www.odoo.com/groups/community-59
>>> Post to: mailto:community@mail.odoo.com
>>> Unsubscribe: https://www.odoo.com/groups?unsubscribe
>>
>>
>> _______________________________________________
>> Mailing-List: https://www.odoo.com/groups/community-59
>> Post to: mailto:community@mail.odoo.com
>> Unsubscribe: https://www.odoo.com/groups?unsubscribe
>
>
> _______________________________________________
> Mailing-List: https://www.odoo.com/groups/community-59
> Post to: mailto:community@mail.odoo.com
> Unsubscribe: https://www.odoo.com/groups?unsubscribe