Odoo Help


This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Custom module - eBay order import ;)

Dr Obx
on 2/19/16, 9:59 AM 355 views


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 ?

William Brugger
On 2/19/16, 1:38 PM

You should post the code from your custom module.  That is the best way to examine what is happening.

You probably didn't inherit the sales module correctly, but without seeing the code it is impossible to determine. So, post your code.

Amy Kuschel Bride, William Brugger
on 2/21/16, 5:53 PM

Your Answer

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

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)


Asked: 2/19/16, 9:59 AM
Seen: 355 times
Last updated: 2/28/16, 5:46 PM