← Back to team overview

openerp-india team mailing list archive

[Bug 1223230] Re: It is possible to import attendances for same day at same time as previous data otherwise not

 

Hello laura,

I am facing same issue with this.  Thanks for provideing csv file.

So, I am confirming this issue.

Regards,


** Changed in: openobject-addons
   Importance: Undecided => Low

** Changed in: openobject-addons
       Status: Incomplete => Confirmed

** Changed in: openobject-addons
     Assignee: (unassigned) => OpenERP R&D Addons Team 3 (openerp-dev-addons3)

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1223230

Title:
  It is possible to import attendances for same day at same time as
  previous data otherwise not

Status in OpenERP Addons (modules):
  Confirmed

Bug description:
  I have tried to get importing attendances to work with no success
  however during that process I noticed that even if importing new
  attendances for new dates fails (without any error) it is possible to
  import new attendances for the days that already have attendance data
  if the sign in and sign out times are same as for previous data (see
  screenshot).

  So it seems that  something in validity checks of importing
  attendances fails because it is possible to import invalid data but
  not valid data.

  Edit:

  
  Found out why I couldn't import correct data previously but it didn't prevent doing double import for same data.

  If you want to get test this first import this file:

  "action","name","employee_id/.id"
  "Sign In","2013-09-16 10:35:17",1
  "Sign Out","2013-09-16 11:35:17",1

  which imports the data as it should (my problem earlier was that as in
  exported file the lines are reversed I copied syntax there but
  couldn't import data) after this import this file:

  "action","name","employee_id/.id"
  "Sign Out","2013-09-16 11:35:17",1
  "Sign In","2013-09-16 10:35:17",1

  And you have a double sign in sign out for the same day and time and
  OpenERP doesn't give any error even if it should.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1223230/+subscriptions