← Back to team overview

openerp-community team mailing list archive

Re: Question: Timesheet lines re-import problem

 

Quoting "Somnath Zankar" <somnath.zankar@xxxxxxxxxxxxxx>:
while import csv make sure id field must be unique. also need data column
for required fields.

I made sure, that the id (1st row) is unique, so hope that's OK.

I wonder, what ":account_id,line_id." means - I did not find a
field with line_id in it.

Cheers


On Mon, Jul 23, 2012 at 3:21 PM, W. Martin Borgert <debacle@xxxxxxxxxx>wrote:

Hi,

When I export timesheet lines as CSV and try to import them
again, I get an error message:

"Required Fields are not selected :account_id,line_id."

The file is as short as:


"id","amount","account_id/id","journal_id/id","line_id/id","date","name","general_account_id/id"
"__export__.hr_analytic_timesheet_1","-30.0","__export__.account_analytic_account_5","hr_timesheet.analytic_journal","__export__.hr_analytic_timesheet_1_2","2012-07-23","some
text","__export__.hr_analytic_timesheet_698_1"

I did not change the CSV file in any way.

Thanks in advance!

PS: And why is the "amount" negative?

_______________________________________________
Mailing list: https://launchpad.net/~openerp-community
Post to     : openerp-community@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~openerp-community
More help   : https://help.launchpad.net/ListHelp




--
*Thanks & Regards*
*S. R. Zankar  |  Software Engineer  |  Pragmatic Techsoft Pvt. Ltd***
*Phone: **[image: india.png] IND* +91 (20) 41201035  *  [image: us.png] **US
* +1 619 488 2759    [image: france.png] *FR* +33 977 218 786   *Cell: *+91
9763667993
*
-------------------------------------------------------------[image:
pragtech.png]
------------------------------------------------------------------------------------
*
----------------------------------------------------------------------------
**-*\\  **Visit us on  //*------------------------------------------
--------------------------------------------------------------------
[image: company.jpg] <http://www.pragtech.co.in/>[image:
Pragmatic-CRM.jpg]<http://www.pragmaticcrm.com/>[image:
BI.jpg] <http://www.opensourcebi.info/>[image:
OpenERP-Services.jpg]<http://www.openerpdevelopmentindia.com/>[image:
OpenERP-Videos.jpg] <http://www.openerpvideos.com/>





References