← Back to team overview

openerp-expert-accounting team mailing list archive

Re: Journal Item Import via CSV

 

Le 31/05/2012 18:06, Laurie Chrostowski a écrit :
The imported fields include: name, journal.id <http://journal.id>, partner.id <http://partner.id>, account_id, debit, credit, date, period_id, move_id and ref

The move_id is set by OpenERP, not by you.

You can have a look at my small-and-simple module "account_move_csv_import" in extra-trunk.

Extract from the module description :

Imports an account move supplied via a CSV file.
For the moment, it supports :
 - MeilleureGestion.com payroll CSV file
 - LibreOffice CSV export file
but it's a good basis to import other CSV file formats.

Note : One account move per CSV file.

Here are the design guidelines of this module :
- code is easy to read
- code is easy to debug
- expressive error messages
- module with minimum dependancies


Regards,

--
Alexis de Lattre
Akretion


References