← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 772377] [NEW] Error in leave workflow

 

Public bug reported:


Environment Information : 
System : Windows-32bit-SP1
OS Name : nt
Operating System Release : 
Operating System Version : 32bit
Operating System Architecture : 32bit
Operating System Locale : fr_FR.cp1252
Python Version : 2.5.2
OpenERP-Client Version : 6.0.2
Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
  File "netsvc.pyo", line 489, in dispatch
  File "service\web_services.pyo", line 599, in dispatch
  File "osv\osv.pyo", line 122, in wrapper
  File "osv\osv.pyo", line 196, in exec_workflow
  File "osv\osv.pyo", line 189, in exec_workflow_cr
  File "workflow\wkf_service.pyo", line 80, in trg_validate
  File "workflow\instance.pyo", line 48, in validate
  File "workflow\workitem.pyo", line 61, in process
  File "workflow\workitem.pyo", line 174, in _split_test
  File "workflow\workitem.pyo", line 182, in _join_test
  File "workflow\workitem.pyo", line 41, in create
  File "workflow\workitem.pyo", line 53, in process
  File "workflow\workitem.pyo", line 107, in _execute
  File "workflow\wkf_expr.pyo", line 68, in execute
  File "workflow\wkf_expr.pyo", line 58, in _eval_expr
  File "tools\safe_eval.pyo", line 284, in safe_eval
  File "", line 1, in <module>
  File "osv\orm.pyo", line 181, in <lambda>
  File "C:\Program Files (x86)\OpenERP 6.0\Server\addons\hr_holidays\hr_holidays.py", line 251, in holidays_validate2
  File "osv\orm.pyo", line 3518, in write
  File "osv\orm.pyo", line 3812, in _store_set_values
  File "osv\fields.pyo", line 793, in get
  File "C:\Program Files (x86)\OpenERP 6.0\Server\addons\hr_holidays\hr_holidays.py", line 106, in _compute_number_of_days
  File "osv\orm.pyo", line 292, in __getattr__
  File "osv\orm.pyo", line 254, in __getitem__
  File "osv\orm.pyo", line 156, in __init__
BrowseRecordError: Wrong ID for the browse record, got u'14', expected an integer.

** Affects: openobject-server
     Importance: Undecided
         Status: New

-- 
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/772377

Title:
  Error in leave workflow

Status in OpenERP Server:
  New

Bug description:
  
  Environment Information : 
  System : Windows-32bit-SP1
  OS Name : nt
  Operating System Release : 
  Operating System Version : 32bit
  Operating System Architecture : 32bit
  Operating System Locale : fr_FR.cp1252
  Python Version : 2.5.2
  OpenERP-Client Version : 6.0.2
  Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
    File "netsvc.pyo", line 489, in dispatch
    File "service\web_services.pyo", line 599, in dispatch
    File "osv\osv.pyo", line 122, in wrapper
    File "osv\osv.pyo", line 196, in exec_workflow
    File "osv\osv.pyo", line 189, in exec_workflow_cr
    File "workflow\wkf_service.pyo", line 80, in trg_validate
    File "workflow\instance.pyo", line 48, in validate
    File "workflow\workitem.pyo", line 61, in process
    File "workflow\workitem.pyo", line 174, in _split_test
    File "workflow\workitem.pyo", line 182, in _join_test
    File "workflow\workitem.pyo", line 41, in create
    File "workflow\workitem.pyo", line 53, in process
    File "workflow\workitem.pyo", line 107, in _execute
    File "workflow\wkf_expr.pyo", line 68, in execute
    File "workflow\wkf_expr.pyo", line 58, in _eval_expr
    File "tools\safe_eval.pyo", line 284, in safe_eval
    File "", line 1, in <module>
    File "osv\orm.pyo", line 181, in <lambda>
    File "C:\Program Files (x86)\OpenERP 6.0\Server\addons\hr_holidays\hr_holidays.py", line 251, in holidays_validate2
    File "osv\orm.pyo", line 3518, in write
    File "osv\orm.pyo", line 3812, in _store_set_values
    File "osv\fields.pyo", line 793, in get
    File "C:\Program Files (x86)\OpenERP 6.0\Server\addons\hr_holidays\hr_holidays.py", line 106, in _compute_number_of_days
    File "osv\orm.pyo", line 292, in __getattr__
    File "osv\orm.pyo", line 254, in __getitem__
    File "osv\orm.pyo", line 156, in __init__
  BrowseRecordError: Wrong ID for the browse record, got u'14', expected an integer.


Follow ups

References