You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2014-07-13 15:23:08,873 12085 INFO openerp_test openerp.modules.loading: module hr_policy_absence: loading data/salary_rules_data.xml
2014-07-13 15:23:08,878 12085 ERROR openerp_test openerp.sql_db: bad query: delete from hr_holidays_status where id IN (1)
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/openerp/sql_db.py", line 226, in execute
res = self._obj.execute(query, params)
IntegrityError: null value in column "holiday_status_id" violates not-null constraint
CONTEXT: SQL statement "UPDATE ONLY "public"."hr_holidays" SET "holiday_status_id" = NULL WHERE $1 OPERATOR(pg_catalog.=) "holiday_status_id""
2014-07-13 15:23:08,878 12085 ERROR openerp_test openerp.tools.convert: Parse error in /home/travis/build/OCA/hr/hr_policy_absence/data/salary_rules_data.xml:6:
<delete model="hr.holidays.status" search="[('name','like','Legal Leaves%')]"/>
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/openerp/tools/convert.py", line 852, in parse
self._tags[rec.tag](self.cr, rec, n)
File "/usr/lib/pymodules/python2.7/openerp/tools/convert.py", line 282, in _tag_delete
self.pool.get(d_model).unlink(cr, self.uid, ids)
File "/usr/lib/pymodules/python2.7/openerp/osv/orm.py", line 4050, in unlink
'where id IN %s', (sub_ids,))
File "/usr/lib/pymodules/python2.7/openerp/sql_db.py", line 161, in wrapper
return f(self, *args, **kwargs)
File "/usr/lib/pymodules/python2.7/openerp/sql_db.py", line 226, in execute
res = self._obj.execute(query, params)
IntegrityError: null value in column "holiday_status_id" violates not-null constraint
CONTEXT: SQL statement "UPDATE ONLY "public"."hr_holidays" SET "holiday_status_id" = NULL WHERE $1 OPERATOR(pg_catalog.=) "holiday_status_id""
2014-07-13 15:23:08,880 12085 ERROR openerp_test openerp: Failed to initialize database `openerp_test`.
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/openerp/cli/server.py", line 97, in preload_registry
db, registry = openerp.pooler.get_db_and_pool(dbname,update_module=update_module)
File "/usr/lib/pymodules/python2.7/openerp/pooler.py", line 33, in get_db_and_pool
registry = RegistryManager.get(db_name, force_demo, status, update_module)
File "/usr/lib/pymodules/python2.7/openerp/modules/registry.py", line 203, in get
update_module)
File "/usr/lib/pymodules/python2.7/openerp/modules/registry.py", line 233, in new
openerp.modules.load_modules(registry.db, force_demo, status, update_module)
File "/usr/lib/pymodules/python2.7/openerp/modules/loading.py", line 354, in load_modules
loaded_modules, update_module)
File "/usr/lib/pymodules/python2.7/openerp/modules/loading.py", line 256, in load_marked_modules
loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules, perform_checks=perform_checks)
File "/usr/lib/pymodules/python2.7/openerp/modules/loading.py", line 188, in load_module_graph
load_data(module_name, idref, mode)
File "/usr/lib/pymodules/python2.7/openerp/modules/loading.py", line 76, in <lambda>
load_data = lambda *args: _load_data(cr, *args, kind='data')
File "/usr/lib/pymodules/python2.7/openerp/modules/loading.py", line 124, in _load_data
tools.convert_xml_import(cr, module_name, fp, idref, mode, noupdate, report)
File "/usr/lib/pymodules/python2.7/openerp/tools/convert.py", line 959, in convert_xml_import
obj.parse(doc.getroot())
File "/usr/lib/pymodules/python2.7/openerp/tools/convert.py", line 852, in parse
self._tags[rec.tag](self.cr, rec, n)
File "/usr/lib/pymodules/python2.7/openerp/tools/convert.py", line 282, in _tag_delete
self.pool.get(d_model).unlink(cr, self.uid, ids)
File "/usr/lib/pymodules/python2.7/openerp/osv/orm.py", line 4050, in unlink
'where id IN %s', (sub_ids,))
File "/usr/lib/pymodules/python2.7/openerp/sql_db.py", line 161, in wrapper
return f(self, *args, **kwargs)
File "/usr/lib/pymodules/python2.7/openerp/sql_db.py", line 226, in execute
res = self._obj.execute(query, params)
IntegrityError: null value in column "holiday_status_id" violates not-null constraint
CONTEXT: SQL statement "UPDATE ONLY "public"."hr_holidays" SET "holiday_status_id" = NULL WHERE $1 OPERATOR(pg_catalog.=) "holiday_status_id""
The text was updated successfully, but these errors were encountered:
Test fail in travis due to Aeroo reports
The text was updated successfully, but these errors were encountered: