I try to create Sale Oder in module Sale directly when I click "Save" button in create Quotation form, it means I skip creating Quotation step when I click it. My system doesn't need "comfirm sale" button, because it creates a sale order directly, and I can hide this button.
I try changing "state" value in default from "draft" to "manual" in sale.py, but it doesn't work. So, How do I do it?
Help me, please
Hi Mariusz Mizgier
I know your code, It same in function "action button confirm" and it set confirm for the quotation. But "sale_order" is a class, I cant found a function with name "sale_order" or I dont know which function create a quotation to add your code here.
And I will create a module to inherit "sale" module, so, How do I modify that function to create sale order directly
Please explain more for me, please!!!
Thank you so much!
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 8/1/14, 5:30 AM|
|Seen: 2552 times|
|Last updated: 3/16/15, 8:10 AM|