Trying to save a record in HR / Working Hours when not all obliged fields are filled crashes the Web Client
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Web Client |
Fix Released
|
Undecided
|
Amit Mendapara |
Bug Description
Trying to save a record in HR / Working Hours when not all obliged fields are filled crashes the Web Client
In Web Client 5.0.6, Ubuntu 8.0.4
Make sure the employee is linke to your user_id and has been setup properly for timesheet entree
Select HR / Working Hours / All Working Hours
Create a new line
Save the line:
A message appears:
Traceback (most recent call last):
File "/usr/lib/
result = LocalService(
File "/usr/lib/
return getattr(self, method)(*params)
File "/usr/lib/
res = my_fct(db, uid, passwd, object, method, *args)
File "/usr/lib/
return fct_src(db, uid, passwd, object, method, *args)
File "/usr/lib/
res = service.execute(db, uid, object, method, *args)
File "/usr/lib/
return f(self, dbname, *args, **kwargs)
File "/usr/lib/
res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
File "/usr/lib/
return getattr(object, method)(cr, uid, *args, **kw)
File "/usr/lib/
return super(hr_
File "/usr/lib/
raise except_
File "/usr/lib/
cr.
File "/usr/lib/
return f(self, *args, **kwargs)
File "/usr/lib/
res = self._obj.
ProgrammingError: current transaction is aborted, commands ignored until end of transaction block
In the GTK Client the Message 'Fill the red fields' appears as expected.
Related branches
Changed in openobject-client-web: | |
status: | Incomplete → Confirmed |
Changed in openobject-client-web: | |
status: | Fix Committed → Fix Released |
Would you please attach a sample module to test with?