Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
11322 Widoki

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.








Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
cze 24
887
3
maj 24
7195
0
kwi 22
2721
0
kwi 24
5030
2
sie 18
12013