Ir al contenido
Menú
Se marcó esta pregunta
2 Respuestas
11327 Vistas

Is it possible to import (using odoo csv import) into one journal entry (let's say journal number GJ01) and add all items as child entry, such that it will balance the journal automatically?


Suppose below is my General Journal (GJ) entries csv items.


Number,Period,Journal,Date,Ref,Name,Account,YTD Debit,YTD Credit

GJ01,May 2015,General Journal,2015-05-01,Opening Balance ,May 2015,Electronic Clearing Ac," $25,000.00 ",

GJ01,May 2015,General Journal,2015-05-01,Opening Balance ,May 2015,Pension Acc.," $25,000.00 ",

GJ01,May 2015,General Journal,2015-05-01,Opening Balance ,May 2015,Trade Debtors," $200,000.00 ",

GJ01,May 2015,General Journal,2015-05-01,Opening Balance ,May 2015,Prepayment Insurance," $100,000.00 ",

GJ01,May 2015,General Journal,2015-05-01,Opening Balance ,May 2015,Prepayment Workers Comp.,," $100,000.00 "

GJ01,May 2015,General Journal,2015-05-01,Opening Balance ,May 2015,Less Prov'n for Doubtful Debts,," $250,000.00 "


I did import using the above csv and it recorded  six records into the object account.move and six records into the account.move.lines. Actually, I wanted one record in account.move and six records in account.move.lines.

Is there any tool or way/s to achieve my goal?

Thanks.








Avatar
Descartar
Mejor respuesta

Hello all

Is it possible to import journal entries with a partner ID at line item ?

In fact the partner ID correspond to employee in the salary balance sheet account in order to make account auxiliarization.


Thank you for your help

Avatar
Descartar
Mejor respuesta

Hi Rais,

in order to do that, I think that you just have to modify your CSV file like this :

Number,Period,Journal,Date,Ref,Name,Account,YTD Debit,YTD Credit
GJ01,May 2015,General Journal,2015-05-01,Opening Balance ,May 2015,Electronic Clearing Ac," $25,000.00 ",
,,,,Opening Balance ,May 2015,Pension Acc.," $25,000.00 ",
,,,,Opening Balance ,May 2015,Trade Debtors," $200,000.00 ",
,,,,Opening Balance ,May 2015,Prepayment Insurance," $100,000.00 ",
,,,,Opening Balance ,May 2015,Prepayment Workers Comp.,," $100,000.00 "
,,,,Opening Balance ,May 2015,Less Prov'n for Doubtful Debts,," $250,000.00 "

The first four fields relate to each move, and should be filled only on the first line of a move.

While the five following fields relate to each move line, and must be completed on each line.

Regards,

Jérome

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
1
jun 24
891
3
may 24
7210
0
abr 22
2733
0
abr 24
5038
2
ago 18
12017