c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #25478
[Bug 791087] [NEW] [Trunk] hr_attendance can not install
Public bug reported:
Addons rev no: 4759.
When I install the hr_attendance module I found the following traceback
and module can not install .
_attendance/hr_attendance_demo.xml:125:
<record id="attendance21" model="hr.attendance">
<field eval="time.strftime('%Y-%m-%d 10:00')" name="name"/>
<field name="action">sign_in</field>
<field name="employee_id" ref="hr.employee1"/>
</record>
Traceback (most recent call last):
File "/home/tiny/workspace/openobject-server/openerp/tools/convert.py", line 885, in parse
self._tags[rec.tag](self.cr, rec, n)
File "/home/tiny/workspace/openobject-server/openerp/tools/convert.py", line 852, in _tag_record
id = self.pool.get('ir.model.data')._update(cr, self.uid, rec_model, self.module, res, rec_id or False, not self.isnoupdate(data_node), noupdate=self.isnoupdate(data_node), mode=self.mode, context=rec_context )
File "/home/tiny/workspace/openobject-server/openerp/addons/base/ir/ir_model.py", line 690, in _update
res_id = model_obj.create(cr, uid, values, context=context)
File "/home/tiny/workspace/openobject-addons/hr_timesheet_sheet/hr_timesheet_sheet.py", line 614, in create
res = super(hr_attendance,self).create(cr, uid, vals, context=context)
File "/home/tiny/workspace/openobject-server/openerp/osv/orm.py", line 3893, in create
self._validate(cr, user, [id_new], context)
File "/home/tiny/workspace/openobject-server/openerp/osv/orm.py", line 1106, in _validate
raise except_orm('ValidateError', '\n'.join(error_msgs))
except_orm: ('ValidateError', u'Error occurred while validating the field(s) action: Error: Sign in (resp. Sign out) must follow Sign out (resp. Sign in)')
** Affects: openobject-addons
Importance: High
Assignee: OpenERP R&D Addons Team 3 (openerp-dev-addons3)
Status: Confirmed
** Changed in: openobject-addons
Importance: Undecided => High
** Changed in: openobject-addons
Status: New => 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 C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/791087
Title:
[Trunk] hr_attendance can not install
Status in OpenERP Modules (addons):
Confirmed
Bug description:
Addons rev no: 4759.
When I install the hr_attendance module I found the following
traceback and module can not install .
_attendance/hr_attendance_demo.xml:125:
<record id="attendance21" model="hr.attendance">
<field eval="time.strftime('%Y-%m-%d 10:00')" name="name"/>
<field name="action">sign_in</field>
<field name="employee_id" ref="hr.employee1"/>
</record>
Traceback (most recent call last):
File "/home/tiny/workspace/openobject-server/openerp/tools/convert.py", line 885, in parse
self._tags[rec.tag](self.cr, rec, n)
File "/home/tiny/workspace/openobject-server/openerp/tools/convert.py", line 852, in _tag_record
id = self.pool.get('ir.model.data')._update(cr, self.uid, rec_model, self.module, res, rec_id or False, not self.isnoupdate(data_node), noupdate=self.isnoupdate(data_node), mode=self.mode, context=rec_context )
File "/home/tiny/workspace/openobject-server/openerp/addons/base/ir/ir_model.py", line 690, in _update
res_id = model_obj.create(cr, uid, values, context=context)
File "/home/tiny/workspace/openobject-addons/hr_timesheet_sheet/hr_timesheet_sheet.py", line 614, in create
res = super(hr_attendance,self).create(cr, uid, vals, context=context)
File "/home/tiny/workspace/openobject-server/openerp/osv/orm.py", line 3893, in create
self._validate(cr, user, [id_new], context)
File "/home/tiny/workspace/openobject-server/openerp/osv/orm.py", line 1106, in _validate
raise except_orm('ValidateError', '\n'.join(error_msgs))
except_orm: ('ValidateError', u'Error occurred while validating the field(s) action: Error: Sign in (resp. Sign out) must follow Sign out (resp. Sign in)')
Follow ups
-
[Bug 791087] Re: [Trunk] hr_attendance can not install
From: Mustufa Rangwala (Open ERP), 2011-09-28
-
[Bug 791087] Re: [Trunk] hr_attendance can not install
From: Meera Trambadia (OpenERP), 2011-07-11
-
[Bug 791087] Re: [Trunk] hr_attendance can not install
From: Meera Trambadia (OpenERP), 2011-07-11
-
[Bug 791087] Re: [Trunk] hr_attendance can not install
From: Olivier Dony (OpenERP), 2011-07-07
-
[Bug 791087] Re: [Trunk] hr_attendance can not install
From: Launchpad Bug Tracker, 2011-07-07
-
[Bug 791087] Re: [Trunk] hr_attendance can not install
From: Olivier Dony (OpenERP), 2011-07-07
-
[Bug 791087] Re: [Trunk] hr_attendance can not install
From: Meera Trambadia (OpenERP), 2011-06-07
-
[Bug 791087] Re: [Trunk] hr_attendance can not install
From: Meera Trambadia (OpenERP), 2011-06-07
-
[Bug 791087] Re: [Trunk] hr_attendance can not install
From: Launchpad Bug Tracker, 2011-06-07
-
[Bug 791087] Re: [Trunk] hr_attendance can not install
From: Bharat Devnani (Open ERP), 2011-06-06
-
[Bug 791087] Re: [Trunk] hr_attendance can not install
From: Bharat Devnani (Open ERP), 2011-06-06
-
[Bug 791087] [NEW] [Trunk] hr_attendance can not install
From: Amit Parik (OpenERP), 2011-06-01
References