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
- Host: GitHub
- URL: https://github.com/akretion/csv2xml4odoo
- Owner: akretion
- Created: 2015-03-05T14:20:59.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2023-04-21T09:24:10.000Z (about 3 years ago)
- Last Synced: 2025-05-17T09:31:26.602Z (about 1 year ago)
- Language: Python
- Size: 23.4 KB
- Stars: 6
- Watchers: 16
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
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`