[Openerp-community] export - must order parent records before child records

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Openerp-community] export - must order parent records before child records

Ferdinand Gassauer
Hello
see issue https://github.com/odoo/odoo/issues/2690

please has someone a solution for this issue?
messages, partner + contacts, accounts, analytic_accounts and many more
.... can't be loaded

--
Ferdinand Gassauer
Eigentümer
ChriCar Bet. u. Ber. GmbH


_______________________________________________
Mailing list: https://launchpad.net/~openerp-community
Post to     : [hidden email]
Unsubscribe : https://launchpad.net/~openerp-community
More help   : https://help.launchpad.net/ListHelp
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Openerp-community] export - must order parent records before child records

Humberto Arocha

Dear Ferdinand,

Try with a Web Service, oerplib, I think it could a good solution

On Sep 24, 2014 5:30 PM, "Ferdinand Gassauer" <[hidden email]> wrote:
Hello
see issue https://github.com/odoo/odoo/issues/2690

please has someone a solution for this issue?
messages, partner + contacts, accounts, analytic_accounts and many more .... can't be loaded

--
Ferdinand Gassauer
Eigentümer
ChriCar Bet. u. Ber. GmbH


_______________________________________________
Mailing list: https://launchpad.net/~openerp-community
Post to     : [hidden email]
Unsubscribe : https://launchpad.net/~openerp-community
More help   : https://help.launchpad.net/ListHelp

_______________________________________________
Mailing list: https://launchpad.net/~openerp-community
Post to     : [hidden email]
Unsubscribe : https://launchpad.net/~openerp-community
More help   : https://help.launchpad.net/ListHelp
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Openerp-community] export - must order parent records before child records

Ferdinand Gassauer
On 2014-09-25 01:19, Humberto Arocha wrote:

Dear Ferdinand,

Try with a Web Service, oerplib, I think it could a good solution

well I thought - "import compatible export" means that data can be imported. ;-)

On Sep 24, 2014 5:30 PM, "Ferdinand Gassauer" <[hidden email]> wrote:
Hello
see issue https://github.com/odoo/odoo/issues/2690

please has someone a solution for this issue?
messages, partner + contacts, accounts, analytic_accounts and many more .... can't be loaded

--
Ferdinand Gassauer
Eigentümer
ChriCar Bet. u. Ber. GmbH


_______________________________________________
Mailing list: https://launchpad.net/~openerp-community
Post to     : [hidden email]
Unsubscribe : https://launchpad.net/~openerp-community
More help   : https://help.launchpad.net/ListHelp


_______________________________________________
Mailing list: https://launchpad.net/~openerp-community
Post to     : [hidden email]
Unsubscribe : https://launchpad.net/~openerp-community
More help   : https://help.launchpad.net/ListHelp


-- 
Ferdinand Gassauer
Eigentümer
ChriCar Bet. u. Ber. GmbH

_______________________________________________
Mailing list: https://launchpad.net/~openerp-community
Post to     : [hidden email]
Unsubscribe : https://launchpad.net/~openerp-community
More help   : https://help.launchpad.net/ListHelp
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Openerp-community] export - must order parent records before child records

Leonardo "LeartS" Donelli
Until the bug is resolved, you can write a little bash or python
script to rearrange the exported lines in dependency order.
http://en.wikipedia.org/wiki/Topological_sorting
http://en.wikipedia.org/wiki/Tsort

_______________________________________________
Mailing list: https://launchpad.net/~openerp-community
Post to     : [hidden email]
Unsubscribe : https://launchpad.net/~openerp-community
More help   : https://help.launchpad.net/ListHelp
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Openerp-community] export - must order parent records before child records

Ferdinand Gassauer
On 2014-09-25 12:48, Leonardo "LeartS" Donelli wrote:
> Until the bug is resolved, you can write a little bash or python
> script to rearrange the exported lines in dependency order.
> http://en.wikipedia.org/wiki/Topological_sorting
> http://en.wikipedia.org/wiki/Tsort

thanks, I know that I can write scripts ,)
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openerp-community
> Post to     : [hidden email]
> Unsubscribe : https://launchpad.net/~openerp-community
> More help   : https://help.launchpad.net/ListHelp


--
Ferdinand Gassauer
Eigentümer
ChriCar Bet. u. Ber. GmbH


_______________________________________________
Mailing list: https://launchpad.net/~openerp-community
Post to     : [hidden email]
Unsubscribe : https://launchpad.net/~openerp-community
More help   : https://help.launchpad.net/ListHelp
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Openerp-community] export - must order parent records before child records

Ferdinand Gassauer
In reply to this post by Ferdinand Gassauer
On 2014-09-24 23:59, Ferdinand Gassauer wrote:
Hello
see issue https://github.com/odoo/odoo/issues/2690

please has someone a solution for this issue?
messages, partner + contacts, accounts, analytic_accounts and many more .... can't be loaded

surprise, surprise, an easy solution ....

  1. import records without parent_id field
  2. import records with parent_id field

-- 
Ferdinand Gassauer
Eigentümer
ChriCar Bet. u. Ber. GmbH

_______________________________________________
Mailing list: https://launchpad.net/~openerp-community
Post to     : [hidden email]
Unsubscribe : https://launchpad.net/~openerp-community
More help   : https://help.launchpad.net/ListHelp
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Openerp-community] export - must order parent records before child records

Ferdinand Gassauer
On 2014-09-26 17:57, Ferdinand Gassauer wrote:
On 2014-09-24 23:59, Ferdinand Gassauer wrote:
Hello
see issue https://github.com/odoo/odoo/issues/2690

please has someone a solution for this issue?
messages, partner + contacts, accounts, analytic_accounts and many more .... can't be loaded

surprise, surprise, an easy solution ....

  1. import records without parent_id field
  2. import records with parent_id field

but be aware of 2 major issues



-- 
Ferdinand Gassauer
Eigentümer
ChriCar Bet. u. Ber. GmbH


_______________________________________________
Mailing list: https://launchpad.net/~openerp-community
Post to     : [hidden email]
Unsubscribe : https://launchpad.net/~openerp-community
More help   : https://help.launchpad.net/ListHelp


-- 
Ferdinand Gassauer
Eigentümer
ChriCar Bet. u. Ber. GmbH

_______________________________________________
Mailing list: https://launchpad.net/~openerp-community
Post to     : [hidden email]
Unsubscribe : https://launchpad.net/~openerp-community
More help   : https://help.launchpad.net/ListHelp
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Openerp-community] export - must order parent records before child records

Ferdinand Gassauer
On 2014-09-27 18:02, Ferdinand Gassauer wrote:

you should disable sending mail on the computer !!! and clean the mail queue afterwards before turning on mail again
inserting partners, leads etc causes mails to be resend to various followers.

On 2014-09-26 17:57, Ferdinand Gassauer wrote:
On 2014-09-24 23:59, Ferdinand Gassauer wrote:
Hello
see issue https://github.com/odoo/odoo/issues/2690

please has someone a solution for this issue?
messages, partner + contacts, accounts, analytic_accounts and many more .... can't be loaded

surprise, surprise, an easy solution ....

  1. import records without parent_id field
  2. import records with parent_id field

but be aware of 2 major issues



-- 
Ferdinand Gassauer
Eigentümer
ChriCar Bet. u. Ber. GmbH


_______________________________________________
Mailing list: https://launchpad.net/~openerp-community
Post to     : [hidden email]
Unsubscribe : https://launchpad.net/~openerp-community
More help   : https://help.launchpad.net/ListHelp


-- 
Ferdinand Gassauer
Eigentümer
ChriCar Bet. u. Ber. GmbH


_______________________________________________
Mailing list: https://launchpad.net/~openerp-community
Post to     : [hidden email]
Unsubscribe : https://launchpad.net/~openerp-community
More help   : https://help.launchpad.net/ListHelp


-- 
Ferdinand Gassauer
Eigentümer
ChriCar Bet. u. Ber. GmbH

_______________________________________________
Mailing list: https://launchpad.net/~openerp-community
Post to     : [hidden email]
Unsubscribe : https://launchpad.net/~openerp-community
More help   : https://help.launchpad.net/ListHelp
Loading...