跳至內容
選單
此問題已被標幟
2 回覆
11348 瀏覽次數

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.








頭像
捨棄
最佳答案

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

頭像
捨棄
最佳答案

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

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
1
6月 24
895
3
5月 24
7306
0
4月 22
2756
0
4月 24
5067
2
8月 18
12036