c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #07346
[Bug 688021] [NEW] [6.0-rc1] Error configuring timesheets
Public bug reported:
[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
** Affects: openobject-addons
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/688021
Title:
[6.0-rc1] Error configuring timesheets
Status in OpenObject Addons Modules:
New
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
Follow ups
References