Some time ago I decided to build a module which will import CSV from Ebay, then create a sale order etc.
Module is quiet handy and works pretty well. I can see what is the current state of the product (kanban view) in what stage of the preparation before dispatch. Customer support department can easily find order, add some information if reqired, put it on hold or release from the "onHold" state etc.
Everything works beautifully but ... there is a one little but ....
right after I import all data, create a sale_order for each one with every important details and sale_order_lines as well. Based on ebay_item_id selecting product_id, price and so on.
Everything look good but for some reason if I click on "Create Invoice" invoice page popup but is empty, for some reason sale_order is not passing data into Invoice. Apparently I missed something.
Meantime I was found that if I click on Send by email before I click "Create invoice" it place all data into invoice correctly but I already dig over whole database searching for what else should be set, where is quotation confirmation or something like that, maybe if I set this value it will work as I expected ?
I can do it, it's not a big deal but it's a few more clicks i would like to avoid especially that I don't need confirm order again. It should be already in state ready to be invoiced and DONE
Any ideas ?
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: 2/19/16, 9:59 AM|
|Seen: 392 times|
|Last updated: 2/28/16, 5:46 PM|