Yenthe666 / Odoo_Samples

This repository contains samples with Odoo code
GNU Affero General Public License v3.0
241 stars 306 forks source link

copy/create invoices from one db to another #7

Closed JohnOdoo closed 7 years ago

JohnOdoo commented 7 years ago

Hi Yenthe, I read your post https://www.odoo.com/forum/help-1/question/how-to-write-multiple-orderlines-with-xml-rpc-to-remote-database-101020. Did you find solution? I have same requirements. I need to copy/create same invoices from one db to another. Can you please share your module? It save my lot of time.

Thanks.

Yenthe666 commented 7 years ago

Hi @JohnOdoo,

The topic (https://www.odoo.com/forum/help-1/question/how-to-write-multiple-orderlines-with-xml-rpc-to-remote-database-101020) is literally the only example/code that I ever needed to do this. I've used this code in production pretty much, so this should be enough. I don't have a whole module for it or something, sorry.

JohnOdoo commented 7 years ago

Hi Yenthe, Thanks for your reply. No problem, I'm working on that and preparing module. Main problem is that i applied too many search and read operations, and you know xmlrpc is slow and too many search and read operation also make it too slow. So i asked you for the module if you developed. Thanks again.

On Wed, Jun 28, 2017 at 1:58 PM, Yenthe V.G notifications@github.com wrote:

Hi @JohnOdoo https://github.com/johnodoo,

The topic (https://www.odoo.com/forum/help-1/question/how-to-write- multiple-orderlines-with-xml-rpc-to-remote-database-101020) is literally the only example/code that I ever needed to do this. I've used this code in production pretty much, so this should be enough. I don't have a whole module for it or something, sorry.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Yenthe666/Odoo_Samples/issues/7#issuecomment-311592627, or mute the thread https://github.com/notifications/unsubscribe-auth/AcXvOWv4ZVZFPJMD7dK38Pjfn-kDYDvtks5sIg6bgaJpZM4OHnuI .

--

Mr. john