Hello, I have replaced XML demo file with yaml demo file as suggested by odo.
Its fixed in https://bugs.launchpad.net/openobject-addons/+bug/791087 branch. Revision ID: mtr@mtr-20110711052421-ngn6csywtc4xx4p3 Revision no: 4772 Thanks odo for your valuable suggestion. Thanks, mtr ** Changed in: openobject-addons Status: In Progress => Fix Committed -- 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): Fix Committed 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)') To manage notifications about this bug go to: https://bugs.launchpad.net/openobject-addons/+bug/791087/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~c2c-oerpscenario Post to : [email protected] Unsubscribe : https://launchpad.net/~c2c-oerpscenario More help : https://help.launchpad.net/ListHelp

