An open API service indexing awesome lists of open source software.

https://github.com/akretion/csv2xml4odoo

Odoo csv / xml converter
https://github.com/akretion/csv2xml4odoo

Last synced: 11 months ago
JSON representation

Odoo csv / xml converter

Awesome Lists containing this project

README

          

# csv2xml4odoo

## Odoo csv / xml converter

```
Usage: c2x [OPTIONS] [FILE]

Csv is easy to maintain but xml data
have 'noupdate', search features
and is more friendly with import exception

Then this lib convert Odoo csv files in xml files.

Limitations:

- relation field One2many is NOT SUPPORTED

- ambiguous columns: char type but contains float string, should have
special suffix on column name '|char'

- relationnal fields notation in csv should be: myfield_id/id for m2o or
myfield_ids/id for m2m

Options:
-u, --update TEXT Set 'noupdate' attribute to 0 instead of 1
--help Show this message and exit.

```

## Installation

- git clone the repository

- `pip install -e . --user`