Contributors mailing list archives
contributors@odoo-community.org
Browse archives
Re: XML Export with relations
by
dar@devco.co
Markus, Would you mind to shell out this tool into a separate repo. It makes collaborating more easy (and more likely!) Best, David
El mar., 14 jun. 2016 a las 16:16, David Arnold (<dar@devco.co>) escribió:
We cut the xml entries for one object in multi xml nodes with the same id. So we analyze the model on runtime an prio the required fields. Then we order them. So it is not possible to have a circular dependencies on required fields relation do the trick. At the end we add all other relations in the file.Nice!So please look of our solution if we have cover everything in concept and did the implementation right.I put it on my list!El mar., 14 jun. 2016 a las 14:38, Markus Schneider (<markus.schneider@initos.com>) escribió:Hi On 14.06.2016 19:53, David Arnold wrote: > How did you solve the toposort of treeish models and detect possibly > circular dependencies arising from relational fields and it's > counterparts (in other words, when you find a relational field which in > two models which references each other down in the export tree, which > one is prioritized?) We cut the xml entries for one object in multi xml nodes with the same id. So we analyze the model on runtime an prio the required fields. Then we order them. So it is not possible to have a circular dependencies on required fields relation do the trick. At the end we add all other relations in the file. So please look of our solution if we have cover everything in concept and did the implementation right. Kind Regards Markus -- Dipl.-Comp.-Math. Markus Schneider Leiter der Softwareentwicklung initOS GmbH An der Eisenbahn 1 21224 Rosengarten Mobil: +49 (0)172 2303699 Phone: +49 (0)4105 5615613 Fax: +49 (0)4105 5615610 Email: markus.schneider@initos.comWeb: http://www.initos.com Geschäftsführung: Dipl. Wirt.-Inf. Frederik Kramer & Dipl.-Ing. (FH) Torsten Francke Sitz der Gesellschaft: Rosengarten – Klecken Amtsgericht: Tostedt, HRB 205226 Steuer-Nr.: 15/205/21518 USt-IdNr.: DE815580155_______________________________________________
Mailing-List: http://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: http://odoo-community.org/groups?unsubscribe
Reference
-
XML Export with relations
byAlphaPet Ventures Financing GmbH, Markus Schneider-
Re: XML Export with relations
byAlphaPet Ventures Financing GmbH, Markus Schneider