Subject: [FIX] Add hr_designation
Author: iboussetta
Committer: iboussetta

Date Level Type Message
2019-03-14 13:01:32 INFO runbot init Init build environment
2019-03-14 13:01:47 INFO runbot test_all Start test all modules
2019-03-14 13:02:44 INFO server odoo.modules.module:515 run_unit_tests odoo.addons.base.tests.test_translate tested in 8.36s, 25627 queries
2019-03-14 13:02:49 INFO server odoo.modules.loading:234 load_module_graph 1 modules loaded in 55.85s, 48262 queries
2019-03-14 13:03:12 INFO server odoo.modules.module:515 run_unit_tests odoo.addons.base_import.tests.test_base_import tested in 9.91s, 232 queries
2019-03-14 13:03:46 INFO server odoo.modules.module:515 run_unit_tests odoo.addons.mail.tests.test_mail_features tested in 5.22s, 4126 queries
2019-03-14 13:03:53 INFO server odoo.modules.module:515 run_unit_tests odoo.addons.mail.tests.test_mail_gateway tested in 5.27s, 4915 queries
2019-03-14 13:04:22 INFO server odoo.modules.module:515 run_unit_tests odoo.addons.calendar.tests.test_calendar tested in 7.23s, 5839 queries
2019-03-14 13:04:35 INFO server odoo.modules.module:515 run_unit_tests odoo.addons.event.tests.test_event_flow tested in 5.78s, 4300 queries
2019-03-14 13:05:45 INFO server odoo.modules.module:515 run_unit_tests odoo.addons.product.tests.test_variants tested in 8.13s, 7979 queries
2019-03-14 13:07:00 INFO server odoo.modules.module:515 run_unit_tests odoo.addons.crm.tests.test_crm_lead tested in 9.06s, 6722 queries
2019-03-14 13:07:09 INFO server odoo.modules.module:515 run_unit_tests odoo.addons.crm.tests.test_lead2opportunity tested in 9.66s, 6739 queries
2019-03-14 13:07:38 INFO server odoo.modules.module:515 run_unit_tests odoo.addons.hr_holidays.tests.test_holidays_flow tested in 11.47s, 5540 queries
2019-03-14 13:08:27 INFO server odoo.modules.module:515 run_unit_tests odoo.addons.project.tests.test_access_rights tested in 7.35s, 5165 queries
2019-03-14 13:09:58 INFO server odoo.modules.module:515 run_unit_tests odoo.addons.hr_payroll.tests.test_payslip_flow tested in 6.38s, 1120 queries
2019-03-14 13:10:31 INFO server odoo.modules.module:515 run_unit_tests odoo.addons.survey.tests.test_survey tested in 14.95s, 11744 queries
2019-03-14 13:11:33 INFO server odoo.modules.module:515 run_unit_tests odoo.addons.purchase_request.tests.test_purchase_flow tested in 10.66s, 3386 queries
2019-03-14 13:12:03 INFO server odoo.modules.module:515 run_unit_tests odoo.addons.website_forum.tests.test_forum tested in 6.22s, 4667 queries
2019-03-14 13:12:50 INFO server odoo.modules.module:515 run_unit_tests odoo.addons.hr_attendance_extend.tests.test_authorization_flow tested in 5.91s, 1302 queries
2019-03-14 13:13:17 INFO server odoo.modules.module:515 run_unit_tests odoo.addons.hr_deputation.tests.test_deputation_flow tested in 11.96s, 4024 queries
2019-03-14 13:13:45 INFO server odoo.modules.module:515 run_unit_tests odoo.addons.hr_holidays_extend.tests.test_holidays_flow tested in 13.63s, 6961 queries
2019-03-14 13:14:23 INFO server odoo.modules.module:515 run_unit_tests odoo.addons.hr_training.tests.test_training_flow tested in 10.19s, 4683 queries
2019-03-14 13:14:48 INFO server odoo.modules.module:515 run_unit_tests odoo.addons.project_maintenance.tests.test_project_maintenance_flow tested in 9.30s, 6309 queries
2019-03-14 13:15:50 ERROR server odoo.addons.hr_designation.tests.test_designation_flow:474 write FAIL
2019-03-14 13:15:50 ERROR server odoo.addons.hr_designation.tests.test_designation_flow:474 write FAIL: test_designation_request_flow (odoo.addons.hr_designation.tests.test_designation_flow.TestHrDesignationFlow)
2019-03-14 13:15:50 ERROR server odoo.addons.hr_designation.tests.test_designation_flow:474 write Traceback (most recent call last):
2019-03-14 13:15:50 ERROR server odoo.addons.hr_designation.tests.test_designation_flow:474 write ` File "/mnt/vdb/odoo/addons_runbot/runbot/static/build/09174-1273-7b2ecc/addons/hr_designation/tests/test_designation_flow.py", line 12, in test_designation_request_flow
2019-03-14 13:15:50 ERROR server odoo.addons.hr_designation.tests.test_designation_flow:474 write ` self.assertEqual('00006', designation.number, "hr_designation: Field Number is not updated when employee is changed!!!")
2019-03-14 13:15:50 ERROR server odoo.addons.hr_designation.tests.test_designation_flow:474 write ` AssertionError: '00006' != '00003'
2019-03-14 13:15:50 ERROR server odoo.addons.hr_designation.tests.test_designation_flow:474 write ` - 00006
2019-03-14 13:15:50 ERROR server odoo.addons.hr_designation.tests.test_designation_flow:474 write ` ? ^
2019-03-14 13:15:50 ERROR server odoo.addons.hr_designation.tests.test_designation_flow:474 write ` + 00003
2019-03-14 13:15:50 ERROR server odoo.addons.hr_designation.tests.test_designation_flow:474 write ` ? ^
2019-03-14 13:15:50 ERROR server odoo.addons.hr_designation.tests.test_designation_flow:474 write ` : hr_designation: Field Number is not updated when employee is changed!!!
2019-03-14 13:15:50 ERROR server odoo.addons.hr_designation.tests.test_designation_flow:474 write FAILED
2019-03-14 13:15:50 ERROR server odoo.modules.module:518 run_unit_tests Module hr_designation: 1 failures, 0 errors
2019-03-14 13:15:59 ERROR server odoo.sql_db:235 execute
bad query: b'INSERT INTO "hr_deputation" ("id", "deputation_balance_override", "need_fees", "state", "employee_id", "date_from", "seq_number", "country_id", "flight_class", "the_availability", "reservation_mail_sent", "allowance_bonus", "duration", "is_need_visa", "city_id", "department_inter_id", "transport_allowance", "transportation_type", "deputation_type", "task_name", "active", "has_direct_action", "type", "order_date", "salary_grid_type_id", "date_to", "ticket_reserved", "create_uid", "write_uid", "create_date", "write_date") VALUES(nextval(\'hr_deputation_id_seq\'), false, false, \'draft\', 35, \'2017-04-04\', \'DR001\', 192, \'business\', \'nothing\', false, false, 6, false, 1, 26, false, \'air_travel\', 1, \'\xd9\x85\xd9\x87\xd9\x85\xd8\xa9 1\', true, false, \'internal\', \'2019-03-14\', NULL, \'2017-04-09\', false, 165, 165, (now() at time zone \'UTC\'), (now() at time zone \'UTC\')) RETURNING id'
ERROR: null value in column "salary_grid_type_id" violates not-null constraint
DETAIL:  Failing row contains (20, null, DR001, 2019-03-14, 35, null, null, null, 192, null, null, null, null, 26, 1, null, null, 2017-04-04, 2017-04-09, null, f, f, nothing, air_travel, internal, draft, مهمة 1, 6, null, 1, f, null, null, null, null, null, null, f, null, null, null, null, null, null, null, f, null, null, t, null, null, f, business, null, null, null, null, null, f, null, null, null, f, 165, 2019-03-14 13:15:57.596742, 165, 2019-03-14 13:15:57.596742).
2019-03-14 13:15:59 ERROR server odoo.addons.hr_holidays_deputation.tests.test_deputation_holiday_flow:474 write ERROR
2019-03-14 13:15:59 ERROR server odoo.addons.hr_holidays_deputation.tests.test_deputation_holiday_flow:474 write ERROR: test_deputation_request_flow (odoo.addons.hr_holidays_deputation.tests.test_deputation_holiday_flow.TestDeputationHolidayFlow)
2019-03-14 13:15:59 ERROR server odoo.addons.hr_holidays_deputation.tests.test_deputation_holiday_flow:474 write Traceback (most recent call last):
2019-03-14 13:15:59 ERROR server odoo.addons.hr_holidays_deputation.tests.test_deputation_holiday_flow:474 write ` File "/mnt/vdb/odoo/addons_runbot/runbot/static/build/09174-1273-7b2ecc/addons/hr_holidays_deputation/tests/test_deputation_holiday_flow.py", line 25, in test_deputation_request_flow
2019-03-14 13:15:59 ERROR server odoo.addons.hr_holidays_deputation.tests.test_deputation_holiday_flow:474 write ` 'state': 'draft'})
2019-03-14 13:15:59 ERROR server odoo.addons.hr_holidays_deputation.tests.test_deputation_holiday_flow:474 write ` File "/mnt/vdb/odoo/addons_runbot/runbot/static/build/09174-1273-7b2ecc/addons/hr_deputation/models/hr_deputation.py", line 184, in create
2019-03-14 13:15:59 ERROR server odoo.addons.hr_holidays_deputation.tests.test_deputation_holiday_flow:474 write ` res = super(HrDeputation, self).create(vals)
2019-03-14 13:15:59 ERROR server odoo.addons.hr_holidays_deputation.tests.test_deputation_holiday_flow:474 write ` File "/opt/odoo/odoo11/addons/mail/models/mail_thread.py", line 236, in create
2019-03-14 13:15:59 ERROR server odoo.addons.hr_holidays_deputation.tests.test_deputation_holiday_flow:474 write ` thread = super(MailThread, self).create(values)
2019-03-14 13:15:59 ERROR server odoo.addons.hr_holidays_deputation.tests.test_deputation_holiday_flow:474 write ` File "/mnt/vdb/odoo/addons_runbot/runbot/static/build/09174-1273-7b2ecc/addons/popup_reminder/models/popup_reminder.py", line 32, in create
2019-03-14 13:15:59 ERROR server odoo.addons.hr_holidays_deputation.tests.test_deputation_holiday_flow:474 write ` record_id = create_original(self, vals)
2019-03-14 13:15:59 ERROR server odoo.addons.hr_holidays_deputation.tests.test_deputation_holiday_flow:474 write ` File "/opt/odoo/odoo11/odoo/models.py", line 3372, in create
2019-03-14 13:15:59 ERROR server odoo.addons.hr_holidays_deputation.tests.test_deputation_holiday_flow:474 write ` record = self.browse(self._create(old_vals))
2019-03-14 13:15:59 ERROR server odoo.addons.hr_holidays_deputation.tests.test_deputation_holiday_flow:474 write ` File "/opt/odoo/odoo11/odoo/models.py", line 3465, in _create
2019-03-14 13:15:59 ERROR server odoo.addons.hr_holidays_deputation.tests.test_deputation_holiday_flow:474 write ` cr.execute(query, tuple(u[2] for u in updates if len(u) > 2))
2019-03-14 13:15:59 ERROR server odoo.addons.hr_holidays_deputation.tests.test_deputation_holiday_flow:474 write ` File "/opt/odoo/odoo11/odoo/sql_db.py", line 155, in wrapper
2019-03-14 13:15:59 ERROR server odoo.addons.hr_holidays_deputation.tests.test_deputation_holiday_flow:474 write ` return f(self, *args, **kwargs)
2019-03-14 13:15:59 ERROR server odoo.addons.hr_holidays_deputation.tests.test_deputation_holiday_flow:474 write ` File "/opt/odoo/odoo11/odoo/sql_db.py", line 232, in execute
2019-03-14 13:15:59 ERROR server odoo.addons.hr_holidays_deputation.tests.test_deputation_holiday_flow:474 write ` res = self._obj.execute(query, params)
2019-03-14 13:15:59 ERROR server odoo.addons.hr_holidays_deputation.tests.test_deputation_holiday_flow:474 write ` psycopg2.IntegrityError: null value in column "salary_grid_type_id" violates not-null constraint
2019-03-14 13:15:59 ERROR server odoo.addons.hr_holidays_deputation.tests.test_deputation_holiday_flow:474 write ` DETAIL: Failing row contains (20, null, DR001, 2019-03-14, 35, null, null, null, 192, null, null, null, null, 26, 1, null, null, 2017-04-04, 2017-04-09, null, f, f, nothing, air_travel, internal, draft, مهمة 1, 6, null, 1, f, null, null, null, null, null, null, f, null, null, null, null, null, null, null, f, null, null, t, null, null, f, business, null, null, null, null, null, f, null, null, null, f, 165, 2019-03-14 13:15:57.596742, 165, 2019-03-14 13:15:57.596742).
2019-03-14 13:15:59 ERROR server odoo.addons.hr_holidays_deputation.tests.test_deputation_holiday_flow:474 write `
2019-03-14 13:15:59 ERROR server odoo.addons.hr_holidays_deputation.tests.test_deputation_holiday_flow:474 write FAILED
2019-03-14 13:15:59 ERROR server odoo.modules.module:518 run_unit_tests Module hr_holidays_deputation: 0 failures, 1 errors
2019-03-14 13:17:24 INFO server odoo.modules.loading:234 load_module_graph 170 modules loaded in 871.49s, 172942 queries
2019-03-14 13:17:42 INFO server odoo.modules.loading:234 load_module_graph 174 modules loaded in 18.24s, 11 queries
2019-03-14 13:17:44 ERROR server odoo.modules.loading:471 load_modules At least one test failed when loading the modules.
2019-03-14 13:17:53 INFO server odoo.modules.module:515 run_unit_tests odoo.addons.base.tests.test_reports tested in 9.34s, 1054 queries
2019-03-14 13:18:25 INFO server odoo.modules.module:515 run_unit_tests odoo.addons.account.tests.test_payment tested in 16.45s, 14502 queries
2019-03-14 13:19:05 INFO server odoo.modules.module:515 run_unit_tests odoo.addons.account.tests.test_reconciliation tested in 38.96s, 37533 queries
2019-03-14 13:19:13 INFO server odoo.modules.module:515 run_unit_tests odoo.addons.account.tests.test_tax tested in 5.84s, 5443 queries
2019-03-14 13:19:18 INFO server odoo.addons.website.tests.test_crawl:73 test_10_crawl_public public crawled 1 urls in 4.35s 410 queries, 4.351s 410.00q per request,
2019-03-14 13:19:49 INFO server odoo.addons.website.tests.test_crawl:83 test_20_crawl_demo demo crawled 60 urls in 30.66s 24091 queries, 0.511s 401.52q per request
2019-03-14 13:20:23 INFO server odoo.addons.website.tests.test_crawl:93 test_30_crawl_admin admin crawled 76 urls in 33.89s 27490 queries, 0.446s 361.71q per request
2019-03-14 13:20:23 INFO server odoo.modules.module:515 run_unit_tests odoo.addons.website.tests.test_crawl tested in 68.96s, 52013 queries
2019-03-14 13:20:26 INFO runbot run Start running build 09174-1273-7b2ecc
2019-03-14 13:20:28 INFO server odoo.modules.loading:234 load_module_graph 1 modules loaded in 0.25s, 0 queries
2019-03-14 13:20:29 INFO server odoo.modules.loading:234 load_module_graph 174 modules loaded in 1.09s, 0 queries
2019-03-14 15:22:34 INFO runbot _ask_kill Killing build 09174-1273-7b2ecc, requested by Administrator (user #1)
2019-03-14 15:23:12 INFO runbot kill Kill build 09174-1273-7b2ecc