A simple example for implementing a connection to a MySQL database is available at: http://hg.holtzberg.de/synchronize_koleso
Its quite easy to implement synching capabilities with WHERE statements as domains and a mapper dict for field transformation.
When a default value is defined on a relation field, the recursive dependent model is not synched. To get the MySQL example work with an own database, some fields have to be set to default to prevent synching the recursive dependent models:
- product.template.category => set to the id of the local desired product.category record.
- product.template.cost_price_method => fixed
- product.template.default_uom => 1 (should be the index of Unit by default)
- product.template.type => stockable