import fixture data in the YAML terse format using PyYaml

Registered by Raphaël Valyi - http://www.akretion.com

Hi,
OpenERP already imports data using CSV and XML, featuring relative ids which is already great and clearly outperforms other open source ERP's at least. But, generally, integrators like us need to enter a lot of such data when implementing OpenERP for real. Indeed, those data act as a test base or a portable data set.

But:
* CSV is though sometimes, especially when you should deal with relations/hierarchy.
* XML, on its side it very verbose, hardly readable and boring to write/generate

Wouldn't it be nice to be able to enter data using the great terse YAML format instead? YAML made it possible to work with relations and hierarchical data just like XML but is very terse instead, making it both human readable and easy to type.

Ruby on Rails, for instance leverages YAML bases fixtures data which is great (get the basics here: http://ar.rubyonrails.org/classes/Fixtures.html ). I think you can get inspired by it. It should be quite easy to implement, using the PyYAML library for instance ( http://pyyaml.org/wiki/PyYAML )

Hope to see this included some day.

Raphaël Valyi.

Blueprint information

Status:
Not started
Approver:
None
Priority:
Undefined
Drafter:
None
Direction:
Needs approval
Assignee:
Julien Thewys
Definition:
New
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.