openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #25419
[Bug 1223230] Re: It is possible to import attendances for same day at same time as previous data otherwise not
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.
** Description changed:
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.
--
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):
Incomplete
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