c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #07357
[Bug 688021] Re: [6.0-rc1] Error configuring timesheets
** Changed in: openobject-addons
Importance: Undecided => Low
** 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/688021
Title:
[6.0-rc1] Error configuring timesheets
Status in OpenObject Addons Modules:
Confirmed
Bug description:
[2010-12-09 13:48:04,904][mwp_03] ERROR:tests.hr_timesheet_invoice:'NoneType' object has no attribute 'partner_id'
Traceback (most recent call last):
File "/usr/local/lib/python2.6/dist-packages/openerp-server/tools/yaml_import.py", line 725, in process
self._process_node(node)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/tools/yaml_import.py", line 740, in _process_node
self.process_python(node)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/tools/yaml_import.py", line 414, in process_python
unsafe_eval(code_obj, {'ref': self.get_id}, code_context)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/hr_timesheet_invoice/test/test_hr_timesheet_invoice.yml", line 8, in <module>
amount: -1.0
AttributeError: 'NoneType' object has no attribute 'partner_id'
Traceback (most recent call last):
File "/usr/lib/python2.6/logging/__init__.py", line 776, in emit
msg = self.format(record)
File "/usr/lib/python2.6/logging/__init__.py", line 654, in format
return fmt.format(record)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/netsvc.py", line 182, in format
return DBFormatter.format(self, record)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/netsvc.py", line 176, in format
return logging.Formatter.format(self, record)
File "/usr/lib/python2.6/logging/__init__.py", line 436, in format
record.message = record.getMessage()
File "/usr/lib/python2.6/logging/__init__.py", line 306, in getMessage
msg = msg % self.args
TypeError: not enough arguments for format string
References