Name: [FIX]*: Avoid default for computed fields

State: Revoked

PR State: open

PR Author: Đỗ Hoàng Lâm

PR Author Email:

PR: #5849

Committer: hoanglam

Committer Email: hoanglam121120@gmail.com

Commit: 68f04049dabc5c07fda792dd439834691188bf2b

Description:

                                            [FIX]*: Avoid default for computed fields
                                            

Branch: 14.0

Instance ID: 39462

Age:

Up-time:

Odoo 14.0

Test at install odoo 14.0

  • create_db create_db: db
  • set_opt set_opt: demo,test
  • set_opt set_opt: test-tags=-post_install,-/base_setup:TestResConfig.test_install,-:WebSuite.test_js,-:TestIsMultiLang.test_02_url_lang_code_underscore,-:TestUi.test_01_main_flow_tour,-:WebSuite.test_check_suite,-:TestTermCount.test_export_empty_string
  • install_module install_module: {all},-hw_drivers,-hw_escpos,-hw_posbox_homepage,-hw_proxy,-pad,-pad_project,-l10n_latam_base,-l10n_ua,-l10n_hk,-l10n_es_edi_sii,-l10n_au,-l10n_dk,-l10n_uk,-l10n_id,-l10n_bo,-l10n_il,-l10n_cn_small_business,-l10n_hr,-l10n_co_pos,-l10n_cz,-l10n_ae,-l10n_pt,-l10n_it_stock_ddt,-l10n_id_efaktur,-l10n_de_repair,-l10n_be_edi,-l10n_it,-l10n_gt,-l10n_ch,-l10n_dz,-l10n_pa,-l10n_cr,-l10n_ve,-l10n_tr,-l10n_eu_service,-l10n_sg,-l10n_de_skr03,-l10n_ie,-l10n_jp,-l10n_ro,-l10n_nz,-l10n_fr,-l10n_de_sale,-l10n_in_sale,-l10n_ar_website_sale,-l10n_de_stock,-l10n_us,-l10n_pe,-l10n_cn_standard,-l10n_it_edi_sdicoop,-l10n_cn_city,-l10n_sa,-l10n_mn,-l10n_in_sale_stock,-l10n_do,-l10n_cl,-l10n_ar,-l10n_lt,-l10n_vn,-l10n_syscohada,-l10n_nl,-l10n_br,-l10n_mx,-l10n_hn,-l10n_ch_qriban,-l10n_in_purchase_stock,-l10n_si,-l10n_be,-l10n_fi,-l10n_in_pos,-l10n_za,-l10n_at,-l10n_ma,-l10n_pl,-l10n_ec,-l10n_fr_pos_cert,-l10n_in,-l10n_in_stock,-l10n_th,-l10n_ca,-l10n_de_skr04,-l10n_uy,-l10n_de_purchase,-l10n_latam_invoice_document,-l10n_et,-l10n_se_ocr,-l10n_es,-l10n_hu,-l10n_no,-l10n_be_invoice_bba,-l10n_in_purchase,-l10n_gr,-l10n_sk,-l10n_co,-l10n_it_edi,-l10n_de,-l10n_multilang,-l10n_cn,-l10n_fr_fec,-l10n_se,-l10n_lu,-note_pad,-l10n_fr_facturx_chorus_pro,-l10n_account_edi_ubl_cii_tests,-l10n_fi_sale,-l10n_gcc_invoice,-l10n_gcc_pos,-l10n_sa_invoice,-l10n_sa_pos

Test post install odoo 14.0

  • exec_odoo exec_odoo: --log-level=info --workers=0 --test-enable --test-tags=-at_install,-/web:WebSuite.test_js,-:TestIsMultiLang.test_02_url_lang_code_underscore,-:TestUi.test_01_main_flow_tour,-:WebSuite.test_check_suite,-:TestTermCount.test_export_empty_string,-:TestLifoPrice.test_lifoprice,-pad,-pad_project
Create Date Level Message
06/22/2022 06:57:37 INFO
Start setup environment for runbot instance m5l6j01yiacz-116224
06/22/2022 06:57:46 INFO
Fetching repository source code
06/22/2022 06:57:48 INFO
Create ref local branch to remote source
06/22/2022 06:57:50 INFO
Create working tree from branch: pr_m5l6j01yiacz-116224
06/22/2022 06:57:52 INFO
Validating git dependencies source code
06/22/2022 06:57:53 INFO
Check and clone git dependencies source code
06/22/2022 06:57:53 INFO
Collected build addons:
06/22/2022 06:57:55 INFO
Deployed config file
06/22/2022 06:57:56 INFO
Running step: Test at install odoo 14.0
06/22/2022 06:57:57 INFO
Run command: create_db args: db
06/22/2022 06:57:58 INFO
Created database: m5l6j01yiacz-116224_db
06/22/2022 06:57:59 INFO
Run command: set_opt args: demo,test
06/22/2022 06:57:59 INFO
Run command: set_opt args: test-tags=-post_install,-/base_setup:TestResConfig.test_install,-:WebSuite.test_js,-:TestIsMultiLang.test_02_url_lang_code_underscore,-:TestUi.test_01_main_flow_tour,-:WebSuite.test_check_suite,-:TestTermCount.test_export_empty_string
06/22/2022 06:58:00 INFO
Run command: install_module args: {all},-hw_drivers,-hw_escpos,-hw_posbox_homepage,-hw_proxy,-pad,-pad_project,-l10n_latam_base,-l10n_ua,-l10n_hk,-l10n_es_edi_sii,-l10n_au,-l10n_dk,-l10n_uk,-l10n_id,-l10n_bo,-l10n_il,-l10n_cn_small_business,-l10n_hr,-l10n_co_pos,-l10n_cz,-l10n_ae,-l10n_pt,-l10n_it_stock_ddt,-l10n_id_efaktur,-l10n_de_repair,-l10n_be_edi,-l10n_it,-l10n_gt,-l10n_ch,-l10n_dz,-l10n_pa,-l10n_cr,-l10n_ve,-l10n_tr,-l10n_eu_service,-l10n_sg,-l10n_de_skr03,-l10n_ie,-l10n_jp,-l10n_ro,-l10n_nz,-l10n_fr,-l10n_de_sale,-l10n_in_sale,-l10n_ar_website_sale,-l10n_de_stock,-l10n_us,-l10n_pe,-l10n_cn_standard,-l10n_it_edi_sdicoop,-l10n_cn_city,-l10n_sa,-l10n_mn,-l10n_in_sale_stock,-l10n_do,-l10n_cl,-l10n_ar,-l10n_lt,-l10n_vn,-l10n_syscohada,-l10n_nl,-l10n_br,-l10n_mx,-l10n_hn,-l10n_ch_qriban,-l10n_in_purchase_stock,-l10n_si,-l10n_be,-l10n_fi,-l10n_in_pos,-l10n_za,-l10n_at,-l10n_ma,-l10n_pl,-l10n_ec,-l10n_fr_pos_cert,-l10n_in,-l10n_in_stock,-l10n_th,-l10n_ca,-l10n_de_skr04,-l10n_uy,-l10n_de_purchase,-l10n_latam_invoice_document,-l10n_et,-l10n_se_ocr,-l10n_es,-l10n_hu,-l10n_no,-l10n_be_invoice_bba,-l10n_in_purchase,-l10n_gr,-l10n_sk,-l10n_co,-l10n_it_edi,-l10n_de,-l10n_multilang,-l10n_cn,-l10n_fr_fec,-l10n_se,-l10n_lu,-note_pad,-l10n_fr_facturx_chorus_pro,-l10n_account_edi_ubl_cii_tests,-l10n_fi_sale,-l10n_gcc_invoice,-l10n_gcc_pos,-l10n_sa_invoice,-l10n_sa_pos
06/22/2022 06:58:03 INFO
Installed module(s): base,test_access_rights,test_action_bindings,test_apikeys,test_assetsbundle,test_auth_custom,test_convert,test_converter,test_data_module,test_data_module_install,test_exceptions,test_impex,test_inherit,test_inherits,test_inherits_depends,test_limits,test_lint,test_main_flows,test_mimetypes,test_new_api,test_performance,test_populate,test_read_group,test_rpc,test_search_panel,test_testing_utilities,test_translation_import,test_uninstall,account,account_check_printing,account_debit_note,account_edi,account_edi_extended,account_edi_facturx,account_edi_proxy_client,account_edi_ubl,account_edi_ubl_cii,account_fleet,account_lock,account_payment,account_qr_code_sepa,account_tax_python,account_test,adyen_platforms,analytic,association,attachment_indexation,auth_ldap,auth_oauth,auth_password_policy,auth_password_policy_portal,auth_password_policy_signup,auth_signup,auth_totp,auth_totp_portal,barcodes,base_address_city,base_address_extended,base_automation,base_geolocalize,base_iban,base_import,base_import_module,base_setup,base_sparse_field,base_vat,board,bus,calendar,calendar_sms,contacts,coupon,crm,crm_iap_lead,crm_iap_lead_enrich,crm_iap_lead_website,crm_livechat,crm_sms,delivery,digest,event,event_crm,event_crm_sale,event_sale,event_sms,fetchmail,fetchmail_gmail,fetchmail_outlook,fleet,gamification,gamification_sale_crm,google_account,google_calendar,google_drive,google_gmail,google_recaptcha,google_spreadsheet,hr,hr_attendance,hr_contract,hr_expense,hr_fleet,hr_gamification,hr_holidays,hr_holidays_attendance,hr_maintenance,hr_org_chart,hr_presence,hr_recruitment,hr_recruitment_survey,hr_skills,hr_skills_slides,hr_skills_survey,hr_timesheet,hr_timesheet_attendance,hr_work_entry,http_routing,iap,iap_crm,iap_mail,im_livechat,im_livechat_mail_bot,l10n_generic_coa,link_tracker,lunch,mail,mail_bot,mail_bot_hr,mail_client_extension,maintenance,mass_mailing,mass_mailing_crm,mass_mailing_event,mass_mailing_event_sms,mass_mailing_event_track,mass_mailing_event_track_sms,mass_mailing_sale,mass_mailing_slides,mass_mailing_sms,membership,microsoft_account,microsoft_calendar,microsoft_outlook,mrp,mrp_account,mrp_landed_costs,mrp_product_expiry,mrp_subcontracting,mrp_subcontracting_account,mrp_subcontracting_dropshipping,note,odoo_referral,partner_autocomplete,payment,payment_adyen,payment_alipay,payment_authorize,payment_buckaroo,payment_fix_register_token,payment_ingenico,payment_odoo_by_adyen,payment_paypal,payment_payulatam,payment_payumoney,payment_sips,payment_stripe,payment_test,payment_transfer,phone_validation,point_of_sale,portal,portal_rating,pos_adyen,pos_cache,pos_discount,pos_epson_printer,pos_epson_printer_restaurant,pos_hr,pos_mercury,pos_restaurant,pos_restaurant_adyen,pos_sale,pos_six,procurement_jit,product,product_email_template,product_expiry,product_margin,product_matrix,project,project_timesheet_holidays,purchase,purchase_mrp,purchase_product_matrix,purchase_requisition,purchase_requisition_stock,purchase_stock,rating,repair,resource,sale,sale_coupon,sale_coupon_delivery,sale_crm,sale_expense,sale_management,sale_margin,sale_mrp,sale_product_configurator,sale_product_matrix,sale_project,sale_purchase,sale_purchase_stock,sale_quotation_builder,sale_stock,sale_stock_margin,sale_timesheet,sale_timesheet_edit,sale_timesheet_purchase,sales_team,sms,snailmail,snailmail_account,social_media,stock,stock_account,stock_dropshipping,stock_landed_costs,stock_picking_batch,stock_sms,survey,test_base_automation,test_event_full,test_mail,test_mail_full,test_mass_mailing,test_website,test_website_slides_full,test_xlsx_export,theme_default,transifex,uom,utm,web,web_editor,web_kanban_gauge,web_tour,web_unsplash,website,website_blog,website_crm,website_crm_livechat,website_crm_partner_assign,website_crm_sms,website_customer,website_event,website_event_crm,website_event_crm_questions,website_event_meet,website_event_meet_quiz,website_event_questions,website_event_sale,website_event_track,website_event_track_exhibitor,website_event_track_live,website_event_track_live_quiz,website_event_track_quiz,website_form,website_form_project,website_forum,website_google_map,website_hr_recruitment,website_jitsi,website_links,website_livechat,website_mail,website_mail_channel,website_mass_mailing,website_membership,website_partner,website_payment,website_profile,website_sale,website_sale_comparison,website_sale_coupon,website_sale_coupon_delivery,website_sale_delivery,website_sale_digital,website_sale_management,website_sale_product_configurator,website_sale_slides,website_sale_stock,website_sale_stock_product_configurator,website_sale_wishlist,website_slides,website_slides_forum,website_slides_survey,website_sms,website_twitter,l10n_vn_c133,l10n_vn_c200,l10n_vn_c200_pos,l10n_vn_common,l10n_vn_edi,l10n_vn_edi_summary,payment_momo,payment_nganluong,payment_vnpay,payment_zalopay,test_stock_dropshipping,to_account_balance_carry_forward,to_account_counterpart,to_account_delegation_partner,to_account_financial_income,to_account_income_deduct,to_account_payment,to_accounting_bi,to_accounting_entry_report_flag,to_affiliate,to_affiliate_sale,to_approvals,to_attendance_device,to_backdate,to_bank_currency_rate,to_bank_currency_rate_purchase_stock,to_base,to_common_uom,to_company_hotline,to_config_management,to_currency_conversion_diff,to_currency_rate,to_employee_changes_tracking,to_employee_documents,to_equipment_hierarchy,to_equipment_image,to_equipment_maintenance_schedule,to_equipment_partner_infor,to_equipment_woking_frequency,to_erponline_utility,to_event_project,to_event_timesheet,to_fee_definition,to_fee_definition_sale,to_fleet_accounting,to_fleet_accounting_fleet_operation,to_fleet_accounting_fleet_operation_revenue,to_fleet_driver,to_fleet_driver_job_wage,to_fleet_insurance_basic,to_fleet_load_params,to_fleet_operation_planning,to_fleet_specs,to_fleet_stock,to_fleet_stock_account,to_fleet_stock_picking,to_fleet_vehicle_revenue,to_fleet_vehicle_revenue_accounting,to_geo_routes,to_git,to_git_odoo_version,to_git_project,to_hr_barcode_in_emp_name,to_hr_contract_actions,to_hr_employee_advance,to_hr_employee_birthday_filters,to_hr_employee_grade,to_hr_employee_private_fields_access,to_hr_employee_relative,to_hr_employee_resign,to_hr_expense,to_hr_expense_employee_advance,to_hr_expense_payroll,to_hr_meal,to_hr_payroll,to_hr_payroll_account,to_hr_payroll_attendance,to_hr_payroll_meal,to_hr_project_timesheet_timeoff_payroll,to_hr_public_employee_birthday_filters,to_hr_shift_rotation,to_hr_skills_recruitment,to_hr_timesheet_approval,to_hr_timesheet_payroll,to_hr_training,to_http_reroute_encoding,to_invoice_line_summary,to_invoice_tax_details,to_l10n_vn_account_balance_carry_forward,to_l10n_vn_currency_conversion_diff,to_l10n_vn_hr_payroll,to_l10n_vn_hr_payroll_account,to_l10n_vn_hr_payroll_meal_account,to_l10n_vn_picking_operation,to_l10n_vn_stock_reports,to_legal_invoice_number,to_lines_count_on_account_move,to_loan_management,to_loan_management_l10n_vn,to_location_warehouse,to_loyalty,to_loyalty_pos,to_loyalty_sales,to_mail_notif_and_email,to_mail_template_multilang_fix,to_maintenance_approval,to_maintenance_by_working_hours,to_maintenance_notification,to_maintenance_request_simple_mediate,to_mrp_backdate,to_mrp_bom_component_percentage,to_mrp_bom_stock_value,to_multi_company_stock_location_account,to_multi_warehouse_access_control,to_multi_warehouse_access_control_mrp,to_multi_warehouse_access_control_purchase,to_multi_warehouse_access_control_sale,to_odoo_module,to_odoo_module_sale,to_odoo_module_sale_project,to_odoo_module_sale_template,to_odoo_version,to_okr,to_okr_project,to_orderpoint_mail_thread,to_org_chart,to_partner_business_type,to_partner_check_unique_vat,to_partner_dob,to_partner_dob_send_email,to_partner_employee_size,to_partner_equity_range,to_partner_multilang,to_partner_multilang_partner_autocomplete,to_partner_nationality,to_partner_ownership_type,to_partner_tax_code,to_partner_track_change,to_payment_terms_extended,to_payment_transaction_protection,to_paypal_unsupported_currencies,to_payroll_payment_acb_templates,to_pos_analytics,to_pos_delivery,to_pos_frontend_return,to_pos_note,to_pos_order_to_sales_order,to_pos_refund_origin,to_procurement_approval,to_product_code_sequence,to_product_collection,to_product_collection_pos,to_product_collection_sale,to_product_dimensions,to_product_function,to_product_function_pos,to_product_function_sale,to_product_license,to_product_license_sale,to_product_maintenance_schedule,to_product_milestone,to_product_odoo_version,to_product_pricelist_weekdays,to_product_return_reason,to_product_return_reason_pos,to_product_return_reason_stock,to_product_standard_price_access,to_product_standard_price_access_account,to_product_standard_price_access_purchase,to_project_access,to_project_stages,to_promotion_voucher,to_promotion_voucher_account_payment,to_promotion_voucher_l10n_vn,to_promotion_voucher_pos,to_promotion_voucher_pos_return,to_promotion_voucher_pos_sale,to_promotion_voucher_sale,to_purchase_backdate,to_purchase_bom_stock_value,to_purchase_landed_cost,to_purchase_line_numbering,to_purchase_order_advance,to_purchase_order_lines,to_refund_account,to_registration_email_blacklist,to_repair_access_group,to_repair_request_from_maintenance,to_repair_request_from_warranty,to_repair_supply,to_repair_timesheet,to_repair_with_maintenance_schedule,to_replace_loyalty_pos_config,to_res_state_group,to_safe_confirm_button,to_sale_backdate,to_sale_desc_short_link,to_sale_line_numbering,to_sale_order_advance,to_sale_price_lock,to_sale_purchase_multi_comp,to_sale_wallet,to_sales_stock_schedule,to_sales_target,to_sales_target_pos,to_sales_target_sale,to_sales_team_advanced,to_sales_team_advanced_crm,to_sales_team_advanced_sale,to_signup_email_verification,to_slugify_l10n_vn,to_sshkey,to_stock_account_moves_link,to_stock_age_report,to_stock_backdate,to_stock_block_quantity,to_stock_equipment,to_stock_equipment_bom_kit,to_stock_equipment_hierarchy,to_stock_picking_backdate,to_stock_product_allocation_approval,to_stock_production_lot_partner_infor,to_stock_report_common,to_tax_is_vat,to_token_expiration,to_token_expiration_test,to_unique_product_code,to_uom_mail_thread,to_uom_subscription,to_upload_file,to_vat_counterpart,to_vendor_price_lock,to_vietnam_bank_icons,to_vietnamese_number2words,to_wallet,to_wallet_adjustment,to_wallet_currency_conversion_diff,to_warranty_management,to_warranty_purchase,to_warranty_purchase_stock,to_warranty_sale,to_warranty_sale_stock,to_warranty_stock,to_web_thousand_sep,to_website_affiliate,to_website_apps_store,to_website_base,to_website_docs,to_website_docs_odoo,to_website_docs_odoo_data,to_website_odoo_version,to_website_recaptcha,to_website_recaptcha_signup,to_website_slides_event,to_zoom_calendar,viin_account,viin_account_bank_statement_import,viin_account_bank_statement_import_rje,viin_account_reconciliation,viin_account_regenerate_analytic_line,viin_administrative_region,viin_base_district,viin_contacts_district,viin_crm_business_type,viin_crm_detect_partner,viin_crm_dob,viin_crm_employee_size,viin_fleet,viin_fleet_accounting_purchase,viin_fleet_vehicle_revenue_accounting_sale,viin_foreign_trade,viin_foreign_trade_currency_rate,viin_helpdesk,viin_helpdesk_crm,viin_helpdesk_livechat,viin_helpdesk_sale,viin_helpdesk_severity,viin_helpdesk_timesheet,viin_hr,viin_hr_account,viin_hr_activity_planning,viin_hr_assignment_log,viin_hr_attendance_validation,viin_hr_employee_resource_calendar,viin_hr_equipment_hierarchy,viin_hr_holidays,viin_hr_overtime,viin_hr_overtime_approval,viin_hr_overtime_approval_payroll,viin_hr_overtime_attendance,viin_hr_overtime_payroll,viin_hr_overtime_timesheet,viin_hr_overtime_timesheet_approval,viin_hr_overtime_timesheet_attendance,viin_hr_payroll_administrative_region,viin_hr_payroll_timesheet_wfh,viin_hr_project,viin_hr_rank,viin_hr_recruitment,viin_hr_recruitment_approval,viin_hr_role,viin_hr_seniority,viin_hr_skill_framework,viin_hr_skill_framework_recruitment,viin_hr_timesheet_timer,viin_inventory_adjustment_with_cost_price,viin_l10n_vn_account_move_print,viin_l10n_vn_account_payment_internal_transfer,viin_l10n_vn_accounting_sinvoice,viin_l10n_vn_accounting_vninvoice,viin_l10n_vn_accounting_vninvoice_summary,viin_l10n_vn_einvoice_sale,viin_l10n_vn_foreign_trade,viin_l10n_vn_hr_account,viin_l10n_vn_hr_payroll_account_overtime,viin_l10n_vn_hr_payroll_administrative_region,viin_l10n_vn_payment_print,viin_l10n_vn_stock_reports_multi_warehouse_access_control,viin_l10n_vn_vat_counterpart,viin_mail_show_recipient,viin_maintenance_preventive_mode,viin_meeting_room,viin_mobile,viin_mobile_login,viin_multi_warehouse_access_control_purchase_requisition,viin_partner_filter,viin_partner_gender,viin_partner_shareholder,viin_payment_mediate,viin_pricelist_recurring,viin_product_categ_mail_thread,viin_product_categ_mail_thread_purchase,viin_product_categ_mail_thread_stock_account,viin_project_access_timesheet,viin_project_kanban_state_notification,viin_project_timesheet_leave,viin_queue,viin_remove_only_reference_from_one2many,viin_repair,viin_repair_discount,viin_resource_calendar_rate,viin_reverse_move_line,viin_sale_crm_follower_access_right,viin_sale_product_duplication_warning,viin_sale_project,viin_sale_project_technician,viin_sale_quotation_template_access,viin_sales_unlink,viin_sales_unlink_stock,viin_social,viin_social_facebook,viin_social_facebook_verify,viin_social_lead,viin_social_linkedin,viin_stock_internal_transit_valuation,viin_stock_internal_transit_valuation_specific_identification,viin_stock_specific_identification,viin_stock_specific_identification_landed_costs,viin_survey_exam,viin_survey_recompute_results,viin_user_assignment_log,viin_web_countup_timer,viin_website_blog_access_right,viin_website_forum_security_groups,viin_website_gtm,viin_website_helpdesk,viin_website_hr_recruitment_website_editor,viin_website_livechat,viin_website_nofollow,viin_website_page_access_right,to_account_accountant,to_account_asset,to_account_asset_purchase,to_account_budget,to_account_budget_hr_timesheet,to_account_reports,to_account_reports_l10n_vn,to_account_reports_report_off,to_cost_revenue_deferred,to_enterprise_marks_account,to_enterprise_marks_inter_company,to_enterprise_marks_mrp,to_enterprise_marks_stock,to_enterprise_mobile,to_hide_ent_modules,to_hide_ent_modules_website_theme,to_inter_company_base,to_inter_company_invoice,to_inter_company_sale_purchase,to_inter_company_sale_purchase_stock,to_l10n_vn_account_asset,to_l10n_vn_account_asset_sale,to_mrp_account,to_mrp_barcode,to_mrp_maintenance,to_mrp_mps,to_mrp_plm,to_mrp_workorder,to_purchase_receipt,to_quality,to_quality_mrp,to_quality_stock,to_sale_subscription,to_stock_asset,to_stock_asset_equipment,to_stock_barcode,viin_account_subscription,viin_auto_currency_rate,viin_auto_currency_rate_acb,viin_auto_currency_rate_vcb,viin_contacts_map,viin_crm,viin_document,viin_document_account,viin_document_hr,viin_document_hr_contract,viin_document_hr_payroll,viin_document_hr_recruitment,viin_document_mrp,viin_document_project,viin_document_purchase,viin_document_sale,viin_document_stock,viin_employee_map,viin_enterprise_marks_event,viin_enterprise_marks_expense,viin_enterprise_marks_hr_timesheet,viin_enterprise_marks_project,viin_enterprise_marks_purchase,viin_enterprise_marks_sale,viin_enterprise_marks_website,viin_mobile_messenger,viin_mobile_notification,viin_mobile_notification_firebase,viin_mrp_barcode_backdate,viin_quality_product,viin_sale,viin_stock,viin_web_cohort,viin_web_dashboard,viin_web_map,viin_website,viin_mrp_gantt,viin_project_gantt,viin_web_gantt,viin_brand,viin_brand_account,viin_brand_auth_oauth,viin_brand_auth_totp,viin_brand_base_import,viin_brand_base_setup,viin_brand_common,viin_brand_crm,viin_brand_digest,viin_brand_google_calendar,viin_brand_hr_expense,viin_brand_hr_holidays,viin_brand_iap,viin_brand_im_livechat,viin_brand_mail,viin_brand_mass_mailing,viin_brand_mass_mailing_crm,viin_brand_mass_mailing_sale,viin_brand_mrp,viin_brand_payment,viin_brand_payment_authorize,viin_brand_payment_paypal,viin_brand_pos,viin_brand_pos_mercury,viin_brand_purchase,viin_brand_purchase_stock,viin_brand_sale,viin_brand_sale_management,viin_brand_sale_quotation_builder,viin_brand_sale_stock,viin_brand_stock,viin_brand_stock_account,viin_brand_web_unsplash,viin_brand_website,viin_brand_website_blog,viin_brand_website_event,viin_brand_website_event_track,viin_brand_website_forum,viin_brand_website_links,viin_brand_website_livechat,viin_brand_website_sale,viin_brand_website_slides,to_backend_theme,web_responsive
06/22/2022 08:09:54 INFO
Finished step: Test at install odoo 14.0 in 1h 11m
06/22/2022 08:09:54 INFO
Running step: Test post install odoo 14.0
06/22/2022 08:09:55 INFO
Run command: exec_odoo args: --log-level=info --workers=0 --test-enable --test-tags=-at_install,-/web:WebSuite.test_js,-:TestIsMultiLang.test_02_url_lang_code_underscore,-:TestUi.test_01_main_flow_tour,-:WebSuite.test_check_suite,-:TestTermCount.test_export_empty_string,-:TestLifoPrice.test_lifoprice,-pad,-pad_project
06/22/2022 10:44:27 ERROR
bad query: INSERT INTO "fleet_vehicle_trip_section" ("id", "create_uid", "create_date", "write_uid", "write_date", "address_from_id", "address_to_id", "ave_speed", "distance", "sequence", "trip_id") VALUES (nextval('fleet_vehicle_trip_section_id_seq'), 1, (now() at time zone 'UTC'), 1, (now() at time zone 'UTC'), 12, 11, 0.0, 0.0, 10, 3) RETURNING id
ERROR: null value in column "est_trip_time" violates not-null constraint
DETAIL: Failing row contains (1, 3, 10, 12, 11, null, 0, 0, null, 1, 2022-06-22 14:44:25.026841, 1, 2022-06-22 14:44:25.026841).
06/22/2022 10:44:27 ERROR
ERROR: setUpClass (odoo.addons.to_fleet_accounting_fleet_operation.tests.test_security.TestFlettAccountingFleetOperationSecurity)
Traceback (most recent call last):
File "/home/m5l6j01yiacz-116224/build_src/to_fleet_accounting_fleet_operation/tests/test_security.py", line 17, in setUpClass
cls.trip_section = cls.env['fleet.vehicle.trip.section'].create({
File "<decorator-gen-754>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 347, in _model_create_multi
return create(self, [arg])
File "/home/m5l6j01yiacz-116224/build_src/to_fleet_operation_planning/models/trip_section.py", line 75, in create
records = super(FleetVehicleTripSection, self).create(vals_list)
File "<decorator-gen-534>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/home/m5l6j01yiacz-116224/build_src/viin_user_assignment_log/models/base.py", line 12, in create
records = super(Base, self).create(vals_list)
File "<decorator-gen-64>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/addons/base/models/ir_fields.py", line 534, in create
recs = super().create(vals_list)
File "<decorator-gen-13>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/models.py", line 3876, in create
records = self._create(data_list)
File "/opt/odoo/14.0/odoo/models.py", line 3982, in _create
cr.execute(query, params)
File "<decorator-gen-3>", line 2, in execute
File "/opt/odoo/14.0/odoo/sql_db.py", line 101, in check
return f(self, *args, **kwargs)
File "/opt/odoo/14.0/odoo/sql_db.py", line 300, in execute
res = self._obj.execute(query, params)
psycopg2.errors.NotNullViolation: null value in column "est_trip_time" violates not-null constraint
DETAIL: Failing row contains (1, 3, 10, 12, 11, null, 0, 0, null, 1, 2022-06-22 14:44:25.026841, 1, 2022-06-22 14:44:25.026841).
06/22/2022 10:44:40 ERROR
bad query: INSERT INTO "fleet_vehicle_trip_section" ("id", "create_uid", "create_date", "write_uid", "write_date", "address_from_id", "address_to_id", "ave_speed", "distance", "sequence", "trip_id") VALUES (nextval('fleet_vehicle_trip_section_id_seq'), 1, (now() at time zone 'UTC'), 1, (now() at time zone 'UTC'), 5578, 5579, 0.0, 0.0, 10, 5) RETURNING id
ERROR: null value in column "est_trip_time" violates not-null constraint
DETAIL: Failing row contains (2, 5, 10, 5578, 5579, null, 0, 0, null, 1, 2022-06-22 14:44:37.705447, 1, 2022-06-22 14:44:37.705447).
06/22/2022 10:44:40 ERROR
ERROR: TestFleetVehicleTrip.test_action_confirm
Traceback (most recent call last):
File "/home/m5l6j01yiacz-116224/build_src/to_fleet_operation_planning/tests/test_fleet_vehicle_trip.py", line 130, in test_action_confirm
self._prepare_trip_confirm(self.trip)
File "/home/m5l6j01yiacz-116224/build_src/to_fleet_operation_planning/tests/common.py", line 118, in _prepare_trip_confirm
trip_form.save()
File "/opt/odoo/14.0/odoo/tests/common.py", line 1895, in save
r.write(values)
File "/home/m5l6j01yiacz-116224/build_src/to_fleet_operation_planning/models/fleet_vehicle_trip.py", line 461, in write
res = super(FleetVehicleTrip, self).write(vals)
File "/opt/odoo/14.0/addons/mail/models/mail_thread.py", line 322, in write
result = super(MailThread, self).write(values)
File "/opt/odoo/14.0/addons/mail/models/mail_activity.py", line 788, in write
return super(MailActivityMixin, self).write(vals)
File "/home/m5l6j01yiacz-116224/build_src/viin_user_assignment_log/models/base.py", line 37, in write
res = super(Base, self).write(vals)
File "/opt/odoo/14.0/odoo/models.py", line 3671, in write
field.write(self, vals[fname])
File "/opt/odoo/14.0/odoo/fields.py", line 3048, in write
return self.write_batch([(records, value)])
File "/opt/odoo/14.0/odoo/fields.py", line 3069, in write_batch
return self.write_real(records_commands_list, create)
File "/opt/odoo/14.0/odoo/fields.py", line 3245, in write_real
flush()
File "/opt/odoo/14.0/odoo/fields.py", line 3207, in flush
comodel.create(to_create)
File "<decorator-gen-754>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/home/m5l6j01yiacz-116224/build_src/to_fleet_operation_planning/models/trip_section.py", line 75, in create
records = super(FleetVehicleTripSection, self).create(vals_list)
File "<decorator-gen-534>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/home/m5l6j01yiacz-116224/build_src/viin_user_assignment_log/models/base.py", line 12, in create
records = super(Base, self).create(vals_list)
File "<decorator-gen-64>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/addons/base/models/ir_fields.py", line 534, in create
recs = super().create(vals_list)
File "<decorator-gen-13>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/models.py", line 3876, in create
records = self._create(data_list)
File "/opt/odoo/14.0/odoo/models.py", line 3982, in _create
cr.execute(query, params)
File "<decorator-gen-3>", line 2, in execute
File "/opt/odoo/14.0/odoo/sql_db.py", line 101, in check
return f(self, *args, **kwargs)
File "/opt/odoo/14.0/odoo/sql_db.py", line 300, in execute
res = self._obj.execute(query, params)
psycopg2.errors.NotNullViolation: null value in column "est_trip_time" violates not-null constraint
DETAIL: Failing row contains (2, 5, 10, 5578, 5579, null, 0, 0, null, 1, 2022-06-22 14:44:37.705447, 1, 2022-06-22 14:44:37.705447).
06/22/2022 10:44:45 ERROR
bad query: INSERT INTO "fleet_vehicle_trip_section" ("id", "create_uid", "create_date", "write_uid", "write_date", "address_from_id", "address_to_id", "ave_speed", "distance", "sequence", "trip_id") VALUES (nextval('fleet_vehicle_trip_section_id_seq'), 1, (now() at time zone 'UTC'), 1, (now() at time zone 'UTC'), 5592, 5593, 0.0, 0.0, 10, 8) RETURNING id
ERROR: null value in column "est_trip_time" violates not-null constraint
DETAIL: Failing row contains (3, 8, 10, 5592, 5593, null, 0, 0, null, 1, 2022-06-22 14:44:41.882312, 1, 2022-06-22 14:44:41.882312).
06/22/2022 10:44:45 ERROR
ERROR: TestFleetVehicleTrip.test_create_trip_with_more_than_2_waypoint
Traceback (most recent call last):
File "/home/m5l6j01yiacz-116224/build_src/to_fleet_operation_planning/tests/test_fleet_vehicle_trip.py", line 80, in test_create_trip_with_more_than_2_waypoint
new_trip = new_trip_form.save()
File "/opt/odoo/14.0/odoo/tests/common.py", line 1897, in save
r = self._model.create(values)
File "<decorator-gen-753>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 347, in _model_create_multi
return create(self, [arg])
File "/home/m5l6j01yiacz-116224/build_src/to_fleet_operation_planning/models/fleet_vehicle_trip.py", line 439, in create
records = super(FleetVehicleTrip, self).create(vals_list)
File "<decorator-gen-171>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/addons/mail/models/mail_thread.py", line 264, in create
threads = super(MailThread, self).create(vals_list)
File "<decorator-gen-534>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/home/m5l6j01yiacz-116224/build_src/viin_user_assignment_log/models/base.py", line 12, in create
records = super(Base, self).create(vals_list)
File "<decorator-gen-64>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/addons/base/models/ir_fields.py", line 534, in create
recs = super().create(vals_list)
File "<decorator-gen-13>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/models.py", line 3876, in create
records = self._create(data_list)
File "/opt/odoo/14.0/odoo/models.py", line 4034, in _create
field.create([
File "/opt/odoo/14.0/odoo/fields.py", line 3043, in create
self.write_batch(record_values, True)
File "/opt/odoo/14.0/odoo/fields.py", line 3069, in write_batch
return self.write_real(records_commands_list, create)
File "/opt/odoo/14.0/odoo/fields.py", line 3245, in write_real
flush()
File "/opt/odoo/14.0/odoo/fields.py", line 3207, in flush
comodel.create(to_create)
File "<decorator-gen-754>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/home/m5l6j01yiacz-116224/build_src/to_fleet_operation_planning/models/trip_section.py", line 75, in create
records = super(FleetVehicleTripSection, self).create(vals_list)
File "<decorator-gen-534>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/home/m5l6j01yiacz-116224/build_src/viin_user_assignment_log/models/base.py", line 12, in create
records = super(Base, self).create(vals_list)
File "<decorator-gen-64>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/addons/base/models/ir_fields.py", line 534, in create
recs = super().create(vals_list)
File "<decorator-gen-13>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/models.py", line 3876, in create
records = self._create(data_list)
File "/opt/odoo/14.0/odoo/models.py", line 3982, in _create
cr.execute(query, params)
File "<decorator-gen-3>", line 2, in execute
File "/opt/odoo/14.0/odoo/sql_db.py", line 101, in check
return f(self, *args, **kwargs)
File "/opt/odoo/14.0/odoo/sql_db.py", line 300, in execute
res = self._obj.execute(query, params)
psycopg2.errors.NotNullViolation: null value in column "est_trip_time" violates not-null constraint
DETAIL: Failing row contains (3, 8, 10, 5592, 5593, null, 0, 0, null, 1, 2022-06-22 14:44:41.882312, 1, 2022-06-22 14:44:41.882312).
06/22/2022 10:44:48 ERROR
bad query: INSERT INTO "fleet_vehicle_trip_section" ("id", "create_uid", "create_date", "write_uid", "write_date", "address_from_id", "address_to_id", "ave_speed", "distance", "sequence", "trip_id") VALUES (nextval('fleet_vehicle_trip_section_id_seq'), 1, (now() at time zone 'UTC'), 1, (now() at time zone 'UTC'), 5599, 5600, 0.0, 0.0, 10, 9) RETURNING id
ERROR: null value in column "est_trip_time" violates not-null constraint
DETAIL: Failing row contains (4, 9, 10, 5599, 5600, null, 0, 0, null, 1, 2022-06-22 14:44:45.510035, 1, 2022-06-22 14:44:45.510035).
06/22/2022 10:44:48 ERROR
ERROR: TestFleetVehicleTrip.test_onchange_route
Traceback (most recent call last):
File "/home/m5l6j01yiacz-116224/build_src/to_fleet_operation_planning/tests/test_fleet_vehicle_trip.py", line 39, in test_onchange_route
trip_form.save()
File "/opt/odoo/14.0/odoo/tests/common.py", line 1895, in save
r.write(values)
File "/home/m5l6j01yiacz-116224/build_src/to_fleet_operation_planning/models/fleet_vehicle_trip.py", line 461, in write
res = super(FleetVehicleTrip, self).write(vals)
File "/opt/odoo/14.0/addons/mail/models/mail_thread.py", line 322, in write
result = super(MailThread, self).write(values)
File "/opt/odoo/14.0/addons/mail/models/mail_activity.py", line 788, in write
return super(MailActivityMixin, self).write(vals)
File "/home/m5l6j01yiacz-116224/build_src/viin_user_assignment_log/models/base.py", line 37, in write
res = super(Base, self).write(vals)
File "/opt/odoo/14.0/odoo/models.py", line 3671, in write
field.write(self, vals[fname])
File "/opt/odoo/14.0/odoo/fields.py", line 3048, in write
return self.write_batch([(records, value)])
File "/opt/odoo/14.0/odoo/fields.py", line 3069, in write_batch
return self.write_real(records_commands_list, create)
File "/opt/odoo/14.0/odoo/fields.py", line 3245, in write_real
flush()
File "/opt/odoo/14.0/odoo/fields.py", line 3207, in flush
comodel.create(to_create)
File "<decorator-gen-754>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/home/m5l6j01yiacz-116224/build_src/to_fleet_operation_planning/models/trip_section.py", line 75, in create
records = super(FleetVehicleTripSection, self).create(vals_list)
File "<decorator-gen-534>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/home/m5l6j01yiacz-116224/build_src/viin_user_assignment_log/models/base.py", line 12, in create
records = super(Base, self).create(vals_list)
File "<decorator-gen-64>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/addons/base/models/ir_fields.py", line 534, in create
recs = super().create(vals_list)
File "<decorator-gen-13>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/models.py", line 3876, in create
records = self._create(data_list)
File "/opt/odoo/14.0/odoo/models.py", line 3982, in _create
cr.execute(query, params)
File "<decorator-gen-3>", line 2, in execute
File "/opt/odoo/14.0/odoo/sql_db.py", line 101, in check
return f(self, *args, **kwargs)
File "/opt/odoo/14.0/odoo/sql_db.py", line 300, in execute
res = self._obj.execute(query, params)
psycopg2.errors.NotNullViolation: null value in column "est_trip_time" violates not-null constraint
DETAIL: Failing row contains (4, 9, 10, 5599, 5600, null, 0, 0, null, 1, 2022-06-22 14:44:45.510035, 1, 2022-06-22 14:44:45.510035).
06/22/2022 10:44:54 ERROR
bad query: INSERT INTO "fleet_vehicle_trip_section" ("id", "create_uid", "create_date", "write_uid", "write_date", "address_from_id", "address_to_id", "ave_speed", "distance", "sequence", "trip_id") VALUES (nextval('fleet_vehicle_trip_section_id_seq'), 1, (now() at time zone 'UTC'), 1, (now() at time zone 'UTC'), 5620, 5621, 0.0, 0.0, 10, 12) RETURNING id
ERROR: null value in column "est_trip_time" violates not-null constraint
DETAIL: Failing row contains (5, 12, 10, 5620, 5621, null, 0, 0, null, 1, 2022-06-22 14:44:52.398669, 1, 2022-06-22 14:44:52.398669).
06/22/2022 10:44:54 ERROR
ERROR: TestFleetVehicleTrip.test_unlink
Traceback (most recent call last):
File "/home/m5l6j01yiacz-116224/build_src/to_fleet_operation_planning/tests/test_fleet_vehicle_trip.py", line 114, in test_unlink
self._prepare_trip_confirm(self.trip)
File "/home/m5l6j01yiacz-116224/build_src/to_fleet_operation_planning/tests/common.py", line 118, in _prepare_trip_confirm
trip_form.save()
File "/opt/odoo/14.0/odoo/tests/common.py", line 1895, in save
r.write(values)
File "/home/m5l6j01yiacz-116224/build_src/to_fleet_operation_planning/models/fleet_vehicle_trip.py", line 461, in write
res = super(FleetVehicleTrip, self).write(vals)
File "/opt/odoo/14.0/addons/mail/models/mail_thread.py", line 322, in write
result = super(MailThread, self).write(values)
File "/opt/odoo/14.0/addons/mail/models/mail_activity.py", line 788, in write
return super(MailActivityMixin, self).write(vals)
File "/home/m5l6j01yiacz-116224/build_src/viin_user_assignment_log/models/base.py", line 37, in write
res = super(Base, self).write(vals)
File "/opt/odoo/14.0/odoo/models.py", line 3671, in write
field.write(self, vals[fname])
File "/opt/odoo/14.0/odoo/fields.py", line 3048, in write
return self.write_batch([(records, value)])
File "/opt/odoo/14.0/odoo/fields.py", line 3069, in write_batch
return self.write_real(records_commands_list, create)
File "/opt/odoo/14.0/odoo/fields.py", line 3245, in write_real
flush()
File "/opt/odoo/14.0/odoo/fields.py", line 3207, in flush
comodel.create(to_create)
File "<decorator-gen-754>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/home/m5l6j01yiacz-116224/build_src/to_fleet_operation_planning/models/trip_section.py", line 75, in create
records = super(FleetVehicleTripSection, self).create(vals_list)
File "<decorator-gen-534>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/home/m5l6j01yiacz-116224/build_src/viin_user_assignment_log/models/base.py", line 12, in create
records = super(Base, self).create(vals_list)
File "<decorator-gen-64>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/addons/base/models/ir_fields.py", line 534, in create
recs = super().create(vals_list)
File "<decorator-gen-13>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/models.py", line 3876, in create
records = self._create(data_list)
File "/opt/odoo/14.0/odoo/models.py", line 3982, in _create
cr.execute(query, params)
File "<decorator-gen-3>", line 2, in execute
File "/opt/odoo/14.0/odoo/sql_db.py", line 101, in check
return f(self, *args, **kwargs)
File "/opt/odoo/14.0/odoo/sql_db.py", line 300, in execute
res = self._obj.execute(query, params)
psycopg2.errors.NotNullViolation: null value in column "est_trip_time" violates not-null constraint
DETAIL: Failing row contains (5, 12, 10, 5620, 5621, null, 0, 0, null, 1, 2022-06-22 14:44:52.398669, 1, 2022-06-22 14:44:52.398669).
06/22/2022 10:44:57 ERROR
bad query: INSERT INTO "fleet_vehicle_trip_section" ("id", "create_uid", "create_date", "write_uid", "write_date", "address_from_id", "address_to_id", "ave_speed", "distance", "sequence", "trip_id") VALUES (nextval('fleet_vehicle_trip_section_id_seq'), 1, (now() at time zone 'UTC'), 1, (now() at time zone 'UTC'), 5627, 5628, 0.0, 0.0, 10, 13) RETURNING id
ERROR: null value in column "est_trip_time" violates not-null constraint
DETAIL: Failing row contains (6, 13, 10, 5627, 5628, null, 0, 0, null, 1, 2022-06-22 14:44:54.748448, 1, 2022-06-22 14:44:54.748448).
06/22/2022 10:44:57 ERROR
ERROR: TestVehicleTripWizard.test_trip_start_wizard
Traceback (most recent call last):
File "/home/m5l6j01yiacz-116224/build_src/to_fleet_operation_planning/tests/test_vehicle_trip_start.py", line 12, in test_trip_start_wizard
self._prepare_trip_confirm(self.trip)
File "/home/m5l6j01yiacz-116224/build_src/to_fleet_operation_planning/tests/common.py", line 118, in _prepare_trip_confirm
trip_form.save()
File "/opt/odoo/14.0/odoo/tests/common.py", line 1895, in save
r.write(values)
File "/home/m5l6j01yiacz-116224/build_src/to_fleet_operation_planning/models/fleet_vehicle_trip.py", line 461, in write
res = super(FleetVehicleTrip, self).write(vals)
File "/opt/odoo/14.0/addons/mail/models/mail_thread.py", line 322, in write
result = super(MailThread, self).write(values)
File "/opt/odoo/14.0/addons/mail/models/mail_activity.py", line 788, in write
return super(MailActivityMixin, self).write(vals)
File "/home/m5l6j01yiacz-116224/build_src/viin_user_assignment_log/models/base.py", line 37, in write
res = super(Base, self).write(vals)
File "/opt/odoo/14.0/odoo/models.py", line 3671, in write
field.write(self, vals[fname])
File "/opt/odoo/14.0/odoo/fields.py", line 3048, in write
return self.write_batch([(records, value)])
File "/opt/odoo/14.0/odoo/fields.py", line 3069, in write_batch
return self.write_real(records_commands_list, create)
File "/opt/odoo/14.0/odoo/fields.py", line 3245, in write_real
flush()
File "/opt/odoo/14.0/odoo/fields.py", line 3207, in flush
comodel.create(to_create)
File "<decorator-gen-754>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/home/m5l6j01yiacz-116224/build_src/to_fleet_operation_planning/models/trip_section.py", line 75, in create
records = super(FleetVehicleTripSection, self).create(vals_list)
File "<decorator-gen-534>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/home/m5l6j01yiacz-116224/build_src/viin_user_assignment_log/models/base.py", line 12, in create
records = super(Base, self).create(vals_list)
File "<decorator-gen-64>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/addons/base/models/ir_fields.py", line 534, in create
recs = super().create(vals_list)
File "<decorator-gen-13>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/models.py", line 3876, in create
records = self._create(data_list)
File "/opt/odoo/14.0/odoo/models.py", line 3982, in _create
cr.execute(query, params)
File "<decorator-gen-3>", line 2, in execute
File "/opt/odoo/14.0/odoo/sql_db.py", line 101, in check
return f(self, *args, **kwargs)
File "/opt/odoo/14.0/odoo/sql_db.py", line 300, in execute
res = self._obj.execute(query, params)
psycopg2.errors.NotNullViolation: null value in column "est_trip_time" violates not-null constraint
DETAIL: Failing row contains (6, 13, 10, 5627, 5628, null, 0, 0, null, 1, 2022-06-22 14:44:54.748448, 1, 2022-06-22 14:44:54.748448).
06/22/2022 10:45:08 ERROR
bad query: INSERT INTO "fleet_vehicle_trip_section" ("id", "create_uid", "create_date", "write_uid", "write_date", "address_from_id", "address_to_id", "ave_speed", "distance", "route_section_id", "sequence", "trip_id") VALUES (nextval('fleet_vehicle_trip_section_id_seq'), 1, (now() at time zone 'UTC'), 1, (now() at time zone 'UTC'), 5634, 1, 0.0, 0.0, 17, 10, 14) RETURNING id
ERROR: null value in column "est_trip_time" violates not-null constraint
DETAIL: Failing row contains (7, 14, 10, 5634, 1, 17, 0, 0, null, 1, 2022-06-22 14:45:07.876407, 1, 2022-06-22 14:45:07.876407).
06/22/2022 10:45:08 ERROR
ERROR: TestFleetStockPicking.test_check_max_capacity
Traceback (most recent call last):
File "/home/m5l6j01yiacz-116224/build_src/to_fleet_stock_picking/tests/test_fleet_stock_picking.py", line 31, in test_check_max_capacity
self.picking.write({'trip_id': self.trip.id})\
File "/home/m5l6j01yiacz-116224/build_src/to_fleet_stock_picking/models/stock_picking.py", line 116, in write
self.mapped('trip_id')._set_picking_ids()
File "/home/m5l6j01yiacz-116224/build_src/to_fleet_stock_picking/models/fleet_vehicle_trip.py", line 104, in _set_picking_ids
self._onchange_trip_waypoint_ids()
File "/home/m5l6j01yiacz-116224/build_src/to_fleet_operation_planning/models/fleet_vehicle_trip.py", line 271, in _onchange_trip_waypoint_ids
self.trip_section_ids = trip_section_ids
File "/opt/odoo/14.0/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/m5l6j01yiacz-116224/build_src/to_fleet_operation_planning/models/fleet_vehicle_trip.py", line 461, in write
res = super(FleetVehicleTrip, self).write(vals)
File "/opt/odoo/14.0/addons/mail/models/mail_thread.py", line 322, in write
result = super(MailThread, self).write(values)
File "/opt/odoo/14.0/addons/mail/models/mail_activity.py", line 788, in write
return super(MailActivityMixin, self).write(vals)
File "/home/m5l6j01yiacz-116224/build_src/viin_user_assignment_log/models/base.py", line 37, in write
res = super(Base, self).write(vals)
File "/opt/odoo/14.0/odoo/models.py", line 3671, in write
field.write(self, vals[fname])
File "/opt/odoo/14.0/odoo/fields.py", line 3048, in write
return self.write_batch([(records, value)])
File "/opt/odoo/14.0/odoo/fields.py", line 3069, in write_batch
return self.write_real(records_commands_list, create)
File "/opt/odoo/14.0/odoo/fields.py", line 3245, in write_real
flush()
File "/opt/odoo/14.0/odoo/fields.py", line 3207, in flush
comodel.create(to_create)
File "<decorator-gen-754>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/home/m5l6j01yiacz-116224/build_src/to_fleet_operation_planning/models/trip_section.py", line 75, in create
records = super(FleetVehicleTripSection, self).create(vals_list)
File "<decorator-gen-534>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/home/m5l6j01yiacz-116224/build_src/viin_user_assignment_log/models/base.py", line 12, in create
records = super(Base, self).create(vals_list)
File "<decorator-gen-64>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/addons/base/models/ir_fields.py", line 534, in create
recs = super().create(vals_list)
File "<decorator-gen-13>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/models.py", line 3876, in create
records = self._create(data_list)
File "/opt/odoo/14.0/odoo/models.py", line 3982, in _create
cr.execute(query, params)
File "<decorator-gen-3>", line 2, in execute
File "/opt/odoo/14.0/odoo/sql_db.py", line 101, in check
return f(self, *args, **kwargs)
File "/opt/odoo/14.0/odoo/sql_db.py", line 300, in execute
res = self._obj.execute(query, params)
psycopg2.errors.NotNullViolation: null value in column "est_trip_time" violates not-null constraint
DETAIL: Failing row contains (7, 14, 10, 5634, 1, 17, 0, 0, null, 1, 2022-06-22 14:45:07.876407, 1, 2022-06-22 14:45:07.876407).
06/22/2022 10:45:09 ERROR
bad query: INSERT INTO "fleet_vehicle_trip_section" ("id", "create_uid", "create_date", "write_uid", "write_date", "address_from_id", "address_to_id", "ave_speed", "distance", "route_section_id", "sequence", "trip_id") VALUES (nextval('fleet_vehicle_trip_section_id_seq'), 1, (now() at time zone 'UTC'), 1, (now() at time zone 'UTC'), 5638, 1, 0.0, 0.0, 18, 10, 16) RETURNING id
ERROR: null value in column "est_trip_time" violates not-null constraint
DETAIL: Failing row contains (8, 16, 10, 5638, 1, 18, 0, 0, null, 1, 2022-06-22 14:45:08.675532, 1, 2022-06-22 14:45:08.675532).
06/22/2022 10:45:09 ERROR
ERROR: TestFleetStockPicking.test_compute_total_load
Traceback (most recent call last):
File "/home/m5l6j01yiacz-116224/build_src/to_fleet_stock_picking/tests/test_fleet_stock_picking.py", line 37, in test_compute_total_load
self.picking.write({'trip_id': self.trip.id})
File "/home/m5l6j01yiacz-116224/build_src/to_fleet_stock_picking/models/stock_picking.py", line 116, in write
self.mapped('trip_id')._set_picking_ids()
File "/home/m5l6j01yiacz-116224/build_src/to_fleet_stock_picking/models/fleet_vehicle_trip.py", line 104, in _set_picking_ids
self._onchange_trip_waypoint_ids()
File "/home/m5l6j01yiacz-116224/build_src/to_fleet_operation_planning/models/fleet_vehicle_trip.py", line 271, in _onchange_trip_waypoint_ids
self.trip_section_ids = trip_section_ids
File "/opt/odoo/14.0/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/m5l6j01yiacz-116224/build_src/to_fleet_operation_planning/models/fleet_vehicle_trip.py", line 461, in write
res = super(FleetVehicleTrip, self).write(vals)
File "/opt/odoo/14.0/addons/mail/models/mail_thread.py", line 322, in write
result = super(MailThread, self).write(values)
File "/opt/odoo/14.0/addons/mail/models/mail_activity.py", line 788, in write
return super(MailActivityMixin, self).write(vals)
File "/home/m5l6j01yiacz-116224/build_src/viin_user_assignment_log/models/base.py", line 37, in write
res = super(Base, self).write(vals)
File "/opt/odoo/14.0/odoo/models.py", line 3671, in write
field.write(self, vals[fname])
File "/opt/odoo/14.0/odoo/fields.py", line 3048, in write
return self.write_batch([(records, value)])
File "/opt/odoo/14.0/odoo/fields.py", line 3069, in write_batch
return self.write_real(records_commands_list, create)
File "/opt/odoo/14.0/odoo/fields.py", line 3245, in write_real
flush()
File "/opt/odoo/14.0/odoo/fields.py", line 3207, in flush
comodel.create(to_create)
File "<decorator-gen-754>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/home/m5l6j01yiacz-116224/build_src/to_fleet_operation_planning/models/trip_section.py", line 75, in create
records = super(FleetVehicleTripSection, self).create(vals_list)
File "<decorator-gen-534>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/home/m5l6j01yiacz-116224/build_src/viin_user_assignment_log/models/base.py", line 12, in create
records = super(Base, self).create(vals_list)
File "<decorator-gen-64>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/addons/base/models/ir_fields.py", line 534, in create
recs = super().create(vals_list)
File "<decorator-gen-13>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/models.py", line 3876, in create
records = self._create(data_list)
File "/opt/odoo/14.0/odoo/models.py", line 3982, in _create
cr.execute(query, params)
File "<decorator-gen-3>", line 2, in execute
File "/opt/odoo/14.0/odoo/sql_db.py", line 101, in check
return f(self, *args, **kwargs)
File "/opt/odoo/14.0/odoo/sql_db.py", line 300, in execute
res = self._obj.execute(query, params)
psycopg2.errors.NotNullViolation: null value in column "est_trip_time" violates not-null constraint
DETAIL: Failing row contains (8, 16, 10, 5638, 1, 18, 0, 0, null, 1, 2022-06-22 14:45:08.675532, 1, 2022-06-22 14:45:08.675532).
06/22/2022 10:45:09 ERROR
bad query: INSERT INTO "fleet_vehicle_trip_section" ("id", "create_uid", "create_date", "write_uid", "write_date", "address_from_id", "address_to_id", "ave_speed", "distance", "route_section_id", "sequence", "trip_id") VALUES (nextval('fleet_vehicle_trip_section_id_seq'), 1, (now() at time zone 'UTC'), 1, (now() at time zone 'UTC'), 5640, 1, 0.0, 0.0, 19, 10, 17) RETURNING id
ERROR: null value in column "est_trip_time" violates not-null constraint
DETAIL: Failing row contains (9, 17, 10, 5640, 1, 19, 0, 0, null, 1, 2022-06-22 14:45:09.097909, 1, 2022-06-22 14:45:09.097909).
06/22/2022 10:45:09 ERROR
ERROR: TestFleetStockPicking.test_set_picking_ids
Traceback (most recent call last):
File "/home/m5l6j01yiacz-116224/build_src/to_fleet_stock_picking/tests/test_fleet_stock_picking.py", line 23, in test_set_picking_ids
self.picking.write({'trip_id': self.trip.id})
File "/home/m5l6j01yiacz-116224/build_src/to_fleet_stock_picking/models/stock_picking.py", line 116, in write
self.mapped('trip_id')._set_picking_ids()
File "/home/m5l6j01yiacz-116224/build_src/to_fleet_stock_picking/models/fleet_vehicle_trip.py", line 104, in _set_picking_ids
self._onchange_trip_waypoint_ids()
File "/home/m5l6j01yiacz-116224/build_src/to_fleet_operation_planning/models/fleet_vehicle_trip.py", line 271, in _onchange_trip_waypoint_ids
self.trip_section_ids = trip_section_ids
File "/opt/odoo/14.0/odoo/fields.py", line 1129, in __set__
records.write({self.name: write_value})
File "/home/m5l6j01yiacz-116224/build_src/to_fleet_operation_planning/models/fleet_vehicle_trip.py", line 461, in write
res = super(FleetVehicleTrip, self).write(vals)
File "/opt/odoo/14.0/addons/mail/models/mail_thread.py", line 322, in write
result = super(MailThread, self).write(values)
File "/opt/odoo/14.0/addons/mail/models/mail_activity.py", line 788, in write
return super(MailActivityMixin, self).write(vals)
File "/home/m5l6j01yiacz-116224/build_src/viin_user_assignment_log/models/base.py", line 37, in write
res = super(Base, self).write(vals)
File "/opt/odoo/14.0/odoo/models.py", line 3671, in write
field.write(self, vals[fname])
File "/opt/odoo/14.0/odoo/fields.py", line 3048, in write
return self.write_batch([(records, value)])
File "/opt/odoo/14.0/odoo/fields.py", line 3069, in write_batch
return self.write_real(records_commands_list, create)
File "/opt/odoo/14.0/odoo/fields.py", line 3245, in write_real
flush()
File "/opt/odoo/14.0/odoo/fields.py", line 3207, in flush
comodel.create(to_create)
File "<decorator-gen-754>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/home/m5l6j01yiacz-116224/build_src/to_fleet_operation_planning/models/trip_section.py", line 75, in create
records = super(FleetVehicleTripSection, self).create(vals_list)
File "<decorator-gen-534>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/home/m5l6j01yiacz-116224/build_src/viin_user_assignment_log/models/base.py", line 12, in create
records = super(Base, self).create(vals_list)
File "<decorator-gen-64>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/addons/base/models/ir_fields.py", line 534, in create
recs = super().create(vals_list)
File "<decorator-gen-13>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/models.py", line 3876, in create
records = self._create(data_list)
File "/opt/odoo/14.0/odoo/models.py", line 3982, in _create
cr.execute(query, params)
File "<decorator-gen-3>", line 2, in execute
File "/opt/odoo/14.0/odoo/sql_db.py", line 101, in check
return f(self, *args, **kwargs)
File "/opt/odoo/14.0/odoo/sql_db.py", line 300, in execute
res = self._obj.execute(query, params)
psycopg2.errors.NotNullViolation: null value in column "est_trip_time" violates not-null constraint
DETAIL: Failing row contains (9, 17, 10, 5640, 1, 19, 0, 0, null, 1, 2022-06-22 14:45:09.097909, 1, 2022-06-22 14:45:09.097909).
06/22/2022 10:48:25 ERROR
bad query: INSERT INTO "hr_payroll_contribution_register" ("id", "create_uid", "create_date", "write_uid", "write_date", "company_contrib_rate", "computation_method", "contribution_base", "date_from", "employee_contrib_rate", "employee_id", "max_contribution_company", "max_contribution_employee", "state", "type_id") VALUES (nextval('hr_payroll_contribution_register_id_seq'), 1, (now() at time zone 'UTC'), 1, (now() at time zone 'UTC'), 0.0, 'half_up', 0.0, '2021-03-01', 0.0, 816, 0.0, 0.0, 'draft', 5) RETURNING id
ERROR: null value in column "computation_block" violates not-null constraint
DETAIL: Failing row contains (37, null, 816, null, null, 5, null, null, half_up, null, null, 2021-03-01, null, null, null, 0.0, 0, 0, draft, null, 1, 2022-06-22 14:48:24.139334, 1, 2022-06-22 14:48:24.139334, 0.0, 0.0).
06/22/2022 10:48:25 ERROR
ERROR: TestPayrollContributionRegister.test_contrib_register_check_overlap_1
Traceback (most recent call last):
File "/home/m5l6j01yiacz-116224/build_src/to_hr_payroll/tests/test_payroll_contribution_register.py", line 113, in test_contrib_register_check_overlap_1
self.create_contrib_register(self.product_emp_A, self.type, fields.Date.from_string('2021-3-1'))
File "/home/m5l6j01yiacz-116224/build_src/to_hr_payroll/tests/common.py", line 280, in create_contrib_register
return ContribRegister.with_context(tracking_disable=True).create({
File "<decorator-gen-171>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 347, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/14.0/addons/mail/models/mail_thread.py", line 260, in create
threads = super(MailThread, self).create(vals_list)
File "<decorator-gen-534>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/home/m5l6j01yiacz-116224/build_src/viin_user_assignment_log/models/base.py", line 12, in create
records = super(Base, self).create(vals_list)
File "<decorator-gen-64>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/addons/base/models/ir_fields.py", line 534, in create
recs = super().create(vals_list)
File "<decorator-gen-13>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/models.py", line 3876, in create
records = self._create(data_list)
File "/opt/odoo/14.0/odoo/models.py", line 3982, in _create
cr.execute(query, params)
File "<decorator-gen-3>", line 2, in execute
File "/opt/odoo/14.0/odoo/sql_db.py", line 101, in check
return f(self, *args, **kwargs)
File "/opt/odoo/14.0/odoo/sql_db.py", line 300, in execute
res = self._obj.execute(query, params)
psycopg2.errors.NotNullViolation: null value in column "computation_block" violates not-null constraint
DETAIL: Failing row contains (37, null, 816, null, null, 5, null, null, half_up, null, null, 2021-03-01, null, null, null, 0.0, 0, 0, draft, null, 1, 2022-06-22 14:48:24.139334, 1, 2022-06-22 14:48:24.139334, 0.0, 0.0).
06/22/2022 10:48:25 ERROR
bad query: INSERT INTO "hr_payroll_contribution_register" ("id", "create_uid", "create_date", "write_uid", "write_date", "company_contrib_rate", "computation_method", "contribution_base", "date_from", "employee_contrib_rate", "employee_id", "max_contribution_company", "max_contribution_employee", "state", "type_id") VALUES (nextval('hr_payroll_contribution_register_id_seq'), 1, (now() at time zone 'UTC'), 1, (now() at time zone 'UTC'), 0.0, 'half_up', 0.0, '2021-03-01', 0.0, 816, 0.0, 0.0, 'draft', 5) RETURNING id
ERROR: null value in column "computation_block" violates not-null constraint
DETAIL: Failing row contains (38, null, 816, null, null, 5, null, null, half_up, null, null, 2021-03-01, null, null, null, 0.0, 0, 0, draft, null, 1, 2022-06-22 14:48:24.139334, 1, 2022-06-22 14:48:24.139334, 0.0, 0.0).
06/22/2022 10:48:25 ERROR
ERROR: TestPayrollContributionRegister.test_contrib_register_check_overlap_2
Traceback (most recent call last):
File "/home/m5l6j01yiacz-116224/build_src/to_hr_payroll/tests/test_payroll_contribution_register.py", line 137, in test_contrib_register_check_overlap_2
register_1 = self.create_contrib_register(self.product_emp_A, self.type, fields.Date.from_string('2021-3-1'))
File "/home/m5l6j01yiacz-116224/build_src/to_hr_payroll/tests/common.py", line 280, in create_contrib_register
return ContribRegister.with_context(tracking_disable=True).create({
File "<decorator-gen-171>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 347, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/14.0/addons/mail/models/mail_thread.py", line 260, in create
threads = super(MailThread, self).create(vals_list)
File "<decorator-gen-534>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/home/m5l6j01yiacz-116224/build_src/viin_user_assignment_log/models/base.py", line 12, in create
records = super(Base, self).create(vals_list)
File "<decorator-gen-64>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/addons/base/models/ir_fields.py", line 534, in create
recs = super().create(vals_list)
File "<decorator-gen-13>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/models.py", line 3876, in create
records = self._create(data_list)
File "/opt/odoo/14.0/odoo/models.py", line 3982, in _create
cr.execute(query, params)
File "<decorator-gen-3>", line 2, in execute
File "/opt/odoo/14.0/odoo/sql_db.py", line 101, in check
return f(self, *args, **kwargs)
File "/opt/odoo/14.0/odoo/sql_db.py", line 300, in execute
res = self._obj.execute(query, params)
psycopg2.errors.NotNullViolation: null value in column "computation_block" violates not-null constraint
DETAIL: Failing row contains (38, null, 816, null, null, 5, null, null, half_up, null, null, 2021-03-01, null, null, null, 0.0, 0, 0, draft, null, 1, 2022-06-22 14:48:24.139334, 1, 2022-06-22 14:48:24.139334, 0.0, 0.0).
06/22/2022 10:48:25 ERROR
bad query: INSERT INTO "hr_payroll_contribution_register" ("id", "create_uid", "create_date", "write_uid", "write_date", "company_contrib_rate", "computation_method", "contribution_base", "date_from", "employee_contrib_rate", "employee_id", "max_contribution_company", "max_contribution_employee", "state", "type_id") VALUES (nextval('hr_payroll_contribution_register_id_seq'), 1, (now() at time zone 'UTC'), 1, (now() at time zone 'UTC'), 0.0, 'half_up', 0.0, '2021-03-01', 0.0, 816, 0.0, 0.0, 'draft', 5) RETURNING id
ERROR: null value in column "computation_block" violates not-null constraint
DETAIL: Failing row contains (39, null, 816, null, null, 5, null, null, half_up, null, null, 2021-03-01, null, null, null, 0.0, 0, 0, draft, null, 1, 2022-06-22 14:48:24.139334, 1, 2022-06-22 14:48:24.139334, 0.0, 0.0).
06/22/2022 10:48:25 ERROR
ERROR: TestPayrollContributionRegister.test_contrib_register_check_overlap_number
Traceback (most recent call last):
File "/home/m5l6j01yiacz-116224/build_src/to_hr_payroll/tests/test_payroll_contribution_register.py", line 92, in test_contrib_register_check_overlap_number
register_1 = self.create_contrib_register(self.product_emp_A, self.type, fields.Date.from_string('2021-3-1'))
File "/home/m5l6j01yiacz-116224/build_src/to_hr_payroll/tests/common.py", line 280, in create_contrib_register
return ContribRegister.with_context(tracking_disable=True).create({
File "<decorator-gen-171>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 347, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/14.0/addons/mail/models/mail_thread.py", line 260, in create
threads = super(MailThread, self).create(vals_list)
File "<decorator-gen-534>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/home/m5l6j01yiacz-116224/build_src/viin_user_assignment_log/models/base.py", line 12, in create
records = super(Base, self).create(vals_list)
File "<decorator-gen-64>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/addons/base/models/ir_fields.py", line 534, in create
recs = super().create(vals_list)
File "<decorator-gen-13>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/models.py", line 3876, in create
records = self._create(data_list)
File "/opt/odoo/14.0/odoo/models.py", line 3982, in _create
cr.execute(query, params)
File "<decorator-gen-3>", line 2, in execute
File "/opt/odoo/14.0/odoo/sql_db.py", line 101, in check
return f(self, *args, **kwargs)
File "/opt/odoo/14.0/odoo/sql_db.py", line 300, in execute
res = self._obj.execute(query, params)
psycopg2.errors.NotNullViolation: null value in column "computation_block" violates not-null constraint
DETAIL: Failing row contains (39, null, 816, null, null, 5, null, null, half_up, null, null, 2021-03-01, null, null, null, 0.0, 0, 0, draft, null, 1, 2022-06-22 14:48:24.139334, 1, 2022-06-22 14:48:24.139334, 0.0, 0.0).
06/22/2022 10:48:25 ERROR
bad query: INSERT INTO "hr_payroll_contribution_register" ("id", "create_uid", "create_date", "write_uid", "write_date", "company_contrib_rate", "computation_method", "contribution_base", "date_from", "employee_contrib_rate", "employee_id", "max_contribution_company", "max_contribution_employee", "state", "type_id") VALUES (nextval('hr_payroll_contribution_register_id_seq'), 1, (now() at time zone 'UTC'), 1, (now() at time zone 'UTC'), 0.0, 'half_up', 0.0, '2021-03-01', 0.0, 816, 0.0, 0.0, 'draft', 5) RETURNING id
ERROR: null value in column "computation_block" violates not-null constraint
DETAIL: Failing row contains (40, null, 816, null, null, 5, null, null, half_up, null, null, 2021-03-01, null, null, null, 0.0, 0, 0, draft, null, 1, 2022-06-22 14:48:24.139334, 1, 2022-06-22 14:48:24.139334, 0.0, 0.0).
06/22/2022 10:48:25 ERROR
ERROR: TestPayrollContributionRegister.test_contrib_register_current_history
Traceback (most recent call last):
File "/home/m5l6j01yiacz-116224/build_src/to_hr_payroll/tests/test_payroll_contribution_register.py", line 159, in test_contrib_register_current_history
register_1 = self.create_contrib_register(self.product_emp_A, self.type, fields.Date.from_string('2021-3-1'))
File "/home/m5l6j01yiacz-116224/build_src/to_hr_payroll/tests/common.py", line 280, in create_contrib_register
return ContribRegister.with_context(tracking_disable=True).create({
File "<decorator-gen-171>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 347, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/14.0/addons/mail/models/mail_thread.py", line 260, in create
threads = super(MailThread, self).create(vals_list)
File "<decorator-gen-534>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/home/m5l6j01yiacz-116224/build_src/viin_user_assignment_log/models/base.py", line 12, in create
records = super(Base, self).create(vals_list)
File "<decorator-gen-64>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/addons/base/models/ir_fields.py", line 534, in create
recs = super().create(vals_list)
File "<decorator-gen-13>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/models.py", line 3876, in create
records = self._create(data_list)
File "/opt/odoo/14.0/odoo/models.py", line 3982, in _create
cr.execute(query, params)
File "<decorator-gen-3>", line 2, in execute
File "/opt/odoo/14.0/odoo/sql_db.py", line 101, in check
return f(self, *args, **kwargs)
File "/opt/odoo/14.0/odoo/sql_db.py", line 300, in execute
res = self._obj.execute(query, params)
psycopg2.errors.NotNullViolation: null value in column "computation_block" violates not-null constraint
DETAIL: Failing row contains (40, null, 816, null, null, 5, null, null, half_up, null, null, 2021-03-01, null, null, null, 0.0, 0, 0, draft, null, 1, 2022-06-22 14:48:24.139334, 1, 2022-06-22 14:48:24.139334, 0.0, 0.0).
06/22/2022 10:48:25 ERROR
bad query: INSERT INTO "hr_payroll_contribution_register" ("id", "create_uid", "create_date", "write_uid", "write_date", "company_contrib_rate", "computation_method", "contribution_base", "date_from", "employee_contrib_rate", "employee_id", "max_contribution_company", "max_contribution_employee", "state", "type_id") VALUES (nextval('hr_payroll_contribution_register_id_seq'), 1, (now() at time zone 'UTC'), 1, (now() at time zone 'UTC'), 0.0, 'half_up', 0.0, '2021-03-01', 0.0, 816, 0.0, 0.0, 'draft', 5) RETURNING id
ERROR: null value in column "computation_block" violates not-null constraint
DETAIL: Failing row contains (41, null, 816, null, null, 5, null, null, half_up, null, null, 2021-03-01, null, null, null, 0.0, 0, 0, draft, null, 1, 2022-06-22 14:48:24.139334, 1, 2022-06-22 14:48:24.139334, 0.0, 0.0).
06/22/2022 10:48:25 ERROR
ERROR: TestPayrollContributionRegister.test_contrib_register_history_lines
Traceback (most recent call last):
File "/home/m5l6j01yiacz-116224/build_src/to_hr_payroll/tests/test_payroll_contribution_register.py", line 202, in test_contrib_register_history_lines
register_1 = self.create_contrib_register(self.product_emp_A, self.type, fields.Date.from_string('2021-3-1'))
File "/home/m5l6j01yiacz-116224/build_src/to_hr_payroll/tests/common.py", line 280, in create_contrib_register
return ContribRegister.with_context(tracking_disable=True).create({
File "<decorator-gen-171>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 347, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/14.0/addons/mail/models/mail_thread.py", line 260, in create
threads = super(MailThread, self).create(vals_list)
File "<decorator-gen-534>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/home/m5l6j01yiacz-116224/build_src/viin_user_assignment_log/models/base.py", line 12, in create
records = super(Base, self).create(vals_list)
File "<decorator-gen-64>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/addons/base/models/ir_fields.py", line 534, in create
recs = super().create(vals_list)
File "<decorator-gen-13>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/models.py", line 3876, in create
records = self._create(data_list)
File "/opt/odoo/14.0/odoo/models.py", line 3982, in _create
cr.execute(query, params)
File "<decorator-gen-3>", line 2, in execute
File "/opt/odoo/14.0/odoo/sql_db.py", line 101, in check
return f(self, *args, **kwargs)
File "/opt/odoo/14.0/odoo/sql_db.py", line 300, in execute
res = self._obj.execute(query, params)
psycopg2.errors.NotNullViolation: null value in column "computation_block" violates not-null constraint
DETAIL: Failing row contains (41, null, 816, null, null, 5, null, null, half_up, null, null, 2021-03-01, null, null, null, 0.0, 0, 0, draft, null, 1, 2022-06-22 14:48:24.139334, 1, 2022-06-22 14:48:24.139334, 0.0, 0.0).
06/22/2022 10:48:25 ERROR
bad query: INSERT INTO "hr_payroll_contribution_register" ("id", "create_uid", "create_date", "write_uid", "write_date", "company_contrib_rate", "computation_method", "contribution_base", "date_from", "employee_contrib_rate", "employee_id", "max_contribution_company", "max_contribution_employee", "state", "type_id") VALUES (nextval('hr_payroll_contribution_register_id_seq'), 1, (now() at time zone 'UTC'), 1, (now() at time zone 'UTC'), 0.0, 'half_up', 0.0, '2021-03-01', 0.0, 816, 0.0, 0.0, 'draft', 5) RETURNING id
ERROR: null value in column "computation_block" violates not-null constraint
DETAIL: Failing row contains (42, null, 816, null, null, 5, null, null, half_up, null, null, 2021-03-01, null, null, null, 0.0, 0, 0, draft, null, 1, 2022-06-22 14:48:24.139334, 1, 2022-06-22 14:48:24.139334, 0.0, 0.0).
06/22/2022 10:48:25 ERROR
ERROR: TestPayrollContributionRegister.test_flow_contrib_register_cancel
Traceback (most recent call last):
File "/home/m5l6j01yiacz-116224/build_src/to_hr_payroll/tests/test_payroll_contribution_register.py", line 754, in test_flow_contrib_register_cancel
register_1 = self.create_contrib_register(self.product_emp_A, self.type, fields.Date.from_string('2021-3-1'))
File "/home/m5l6j01yiacz-116224/build_src/to_hr_payroll/tests/common.py", line 280, in create_contrib_register
return ContribRegister.with_context(tracking_disable=True).create({
File "<decorator-gen-171>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 347, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/14.0/addons/mail/models/mail_thread.py", line 260, in create
threads = super(MailThread, self).create(vals_list)
File "<decorator-gen-534>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/home/m5l6j01yiacz-116224/build_src/viin_user_assignment_log/models/base.py", line 12, in create
records = super(Base, self).create(vals_list)
File "<decorator-gen-64>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/addons/base/models/ir_fields.py", line 534, in create
recs = super().create(vals_list)
File "<decorator-gen-13>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/models.py", line 3876, in create
records = self._create(data_list)
File "/opt/odoo/14.0/odoo/models.py", line 3982, in _create
cr.execute(query, params)
File "<decorator-gen-3>", line 2, in execute
File "/opt/odoo/14.0/odoo/sql_db.py", line 101, in check
return f(self, *args, **kwargs)
File "/opt/odoo/14.0/odoo/sql_db.py", line 300, in execute
res = self._obj.execute(query, params)
psycopg2.errors.NotNullViolation: null value in column "computation_block" violates not-null constraint
DETAIL: Failing row contains (42, null, 816, null, null, 5, null, null, half_up, null, null, 2021-03-01, null, null, null, 0.0, 0, 0, draft, null, 1, 2022-06-22 14:48:24.139334, 1, 2022-06-22 14:48:24.139334, 0.0, 0.0).
06/22/2022 10:48:25 ERROR
bad query: INSERT INTO "hr_payroll_contribution_register" ("id", "create_uid", "create_date", "write_uid", "write_date", "company_contrib_rate", "computation_method", "contribution_base", "date_from", "employee_contrib_rate", "employee_id", "max_contribution_company", "max_contribution_employee", "state", "type_id") VALUES (nextval('hr_payroll_contribution_register_id_seq'), 1, (now() at time zone 'UTC'), 1, (now() at time zone 'UTC'), 0.0, 'half_up', 0.0, '2021-03-01', 0.0, 816, 0.0, 0.0, 'draft', 5) RETURNING id
ERROR: null value in column "computation_block" violates not-null constraint
DETAIL: Failing row contains (43, null, 816, null, null, 5, null, null, half_up, null, null, 2021-03-01, null, null, null, 0.0, 0, 0, draft, null, 1, 2022-06-22 14:48:24.139334, 1, 2022-06-22 14:48:24.139334, 0.0, 0.0).
06/22/2022 10:48:25 ERROR
ERROR: TestPayrollContributionRegister.test_flow_contrib_register_change_base
Traceback (most recent call last):
File "/home/m5l6j01yiacz-116224/build_src/to_hr_payroll/tests/test_payroll_contribution_register.py", line 348, in test_flow_contrib_register_change_base
register = self.create_contrib_register(self.product_emp_A, self.type, fields.Date.from_string('2021-3-1'))
File "/home/m5l6j01yiacz-116224/build_src/to_hr_payroll/tests/common.py", line 280, in create_contrib_register
return ContribRegister.with_context(tracking_disable=True).create({
File "<decorator-gen-171>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 347, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/14.0/addons/mail/models/mail_thread.py", line 260, in create
threads = super(MailThread, self).create(vals_list)
File "<decorator-gen-534>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/home/m5l6j01yiacz-116224/build_src/viin_user_assignment_log/models/base.py", line 12, in create
records = super(Base, self).create(vals_list)
File "<decorator-gen-64>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/addons/base/models/ir_fields.py", line 534, in create
recs = super().create(vals_list)
File "<decorator-gen-13>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/models.py", line 3876, in create
records = self._create(data_list)
File "/opt/odoo/14.0/odoo/models.py", line 3982, in _create
cr.execute(query, params)
File "<decorator-gen-3>", line 2, in execute
File "/opt/odoo/14.0/odoo/sql_db.py", line 101, in check
return f(self, *args, **kwargs)
File "/opt/odoo/14.0/odoo/sql_db.py", line 300, in execute
res = self._obj.execute(query, params)
psycopg2.errors.NotNullViolation: null value in column "computation_block" violates not-null constraint
DETAIL: Failing row contains (43, null, 816, null, null, 5, null, null, half_up, null, null, 2021-03-01, null, null, null, 0.0, 0, 0, draft, null, 1, 2022-06-22 14:48:24.139334, 1, 2022-06-22 14:48:24.139334, 0.0, 0.0).
06/22/2022 10:48:25 ERROR
bad query: INSERT INTO "hr_payroll_contribution_register" ("id", "create_uid", "create_date", "write_uid", "write_date", "company_contrib_rate", "computation_method", "contribution_base", "date_from", "employee_contrib_rate", "employee_id", "max_contribution_company", "max_contribution_employee", "state", "type_id") VALUES (nextval('hr_payroll_contribution_register_id_seq'), 1, (now() at time zone 'UTC'), 1, (now() at time zone 'UTC'), 0.0, 'half_up', 0.0, '2021-03-01', 0.0, 816, 0.0, 0.0, 'draft', 5) RETURNING id
ERROR: null value in column "computation_block" violates not-null constraint
DETAIL: Failing row contains (44, null, 816, null, null, 5, null, null, half_up, null, null, 2021-03-01, null, null, null, 0.0, 0, 0, draft, null, 1, 2022-06-22 14:48:24.139334, 1, 2022-06-22 14:48:24.139334, 0.0, 0.0).
06/22/2022 10:48:25 ERROR
ERROR: TestPayrollContributionRegister.test_flow_contrib_register_change_rate
Traceback (most recent call last):
File "/home/m5l6j01yiacz-116224/build_src/to_hr_payroll/tests/test_payroll_contribution_register.py", line 276, in test_flow_contrib_register_change_rate
register = self.create_contrib_register(self.product_emp_A, self.type, fields.Date.from_string('2021-3-1'))
File "/home/m5l6j01yiacz-116224/build_src/to_hr_payroll/tests/common.py", line 280, in create_contrib_register
return ContribRegister.with_context(tracking_disable=True).create({
File "<decorator-gen-171>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 347, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/14.0/addons/mail/models/mail_thread.py", line 260, in create
threads = super(MailThread, self).create(vals_list)
File "<decorator-gen-534>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/home/m5l6j01yiacz-116224/build_src/viin_user_assignment_log/models/base.py", line 12, in create
records = super(Base, self).create(vals_list)
File "<decorator-gen-64>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/addons/base/models/ir_fields.py", line 534, in create
recs = super().create(vals_list)
File "<decorator-gen-13>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/models.py", line 3876, in create
records = self._create(data_list)
File "/opt/odoo/14.0/odoo/models.py", line 3982, in _create
cr.execute(query, params)
File "<decorator-gen-3>", line 2, in execute
File "/opt/odoo/14.0/odoo/sql_db.py", line 101, in check
return f(self, *args, **kwargs)
File "/opt/odoo/14.0/odoo/sql_db.py", line 300, in execute
res = self._obj.execute(query, params)
psycopg2.errors.NotNullViolation: null value in column "computation_block" violates not-null constraint
DETAIL: Failing row contains (44, null, 816, null, null, 5, null, null, half_up, null, null, 2021-03-01, null, null, null, 0.0, 0, 0, draft, null, 1, 2022-06-22 14:48:24.139334, 1, 2022-06-22 14:48:24.139334, 0.0, 0.0).
06/22/2022 10:48:25 ERROR
bad query: INSERT INTO "hr_payroll_contribution_register" ("id", "create_uid", "create_date", "write_uid", "write_date", "company_contrib_rate", "computation_method", "contribution_base", "date_from", "employee_contrib_rate", "employee_id", "max_contribution_company", "max_contribution_employee", "state", "type_id") VALUES (nextval('hr_payroll_contribution_register_id_seq'), 1, (now() at time zone 'UTC'), 1, (now() at time zone 'UTC'), 0.0, 'half_up', 0.0, '2021-03-01', 0.0, 816, 0.0, 0.0, 'draft', 5) RETURNING id
ERROR: null value in column "computation_block" violates not-null constraint
DETAIL: Failing row contains (45, null, 816, null, null, 5, null, null, half_up, null, null, 2021-03-01, null, null, null, 0.0, 0, 0, draft, null, 1, 2022-06-22 14:48:24.139334, 1, 2022-06-22 14:48:24.139334, 0.0, 0.0).
06/22/2022 10:48:25 ERROR
ERROR: TestPayrollContributionRegister.test_flow_contrib_register_confirmed
Traceback (most recent call last):
File "/home/m5l6j01yiacz-116224/build_src/to_hr_payroll/tests/test_payroll_contribution_register.py", line 486, in test_flow_contrib_register_confirmed
register = self.create_contrib_register(self.product_emp_A, self.type, fields.Date.from_string('2021-3-1'))
File "/home/m5l6j01yiacz-116224/build_src/to_hr_payroll/tests/common.py", line 280, in create_contrib_register
return ContribRegister.with_context(tracking_disable=True).create({
File "<decorator-gen-171>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 347, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/14.0/addons/mail/models/mail_thread.py", line 260, in create
threads = super(MailThread, self).create(vals_list)
File "<decorator-gen-534>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/home/m5l6j01yiacz-116224/build_src/viin_user_assignment_log/models/base.py", line 12, in create
records = super(Base, self).create(vals_list)
File "<decorator-gen-64>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/addons/base/models/ir_fields.py", line 534, in create
recs = super().create(vals_list)
File "<decorator-gen-13>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/models.py", line 3876, in create
records = self._create(data_list)
File "/opt/odoo/14.0/odoo/models.py", line 3982, in _create
cr.execute(query, params)
File "<decorator-gen-3>", line 2, in execute
File "/opt/odoo/14.0/odoo/sql_db.py", line 101, in check
return f(self, *args, **kwargs)
File "/opt/odoo/14.0/odoo/sql_db.py", line 300, in execute
res = self._obj.execute(query, params)
psycopg2.errors.NotNullViolation: null value in column "computation_block" violates not-null constraint
DETAIL: Failing row contains (45, null, 816, null, null, 5, null, null, half_up, null, null, 2021-03-01, null, null, null, 0.0, 0, 0, draft, null, 1, 2022-06-22 14:48:24.139334, 1, 2022-06-22 14:48:24.139334, 0.0, 0.0).
06/22/2022 10:48:25 ERROR
bad query: INSERT INTO "hr_payroll_contribution_register" ("id", "create_uid", "create_date", "write_uid", "write_date", "company_contrib_rate", "computation_method", "contribution_base", "date_from", "employee_contrib_rate", "employee_id", "max_contribution_company", "max_contribution_employee", "state", "type_id") VALUES (nextval('hr_payroll_contribution_register_id_seq'), 1, (now() at time zone 'UTC'), 1, (now() at time zone 'UTC'), 0.0, 'half_up', 0.0, '2021-03-01', 0.0, 816, 0.0, 0.0, 'draft', 5) RETURNING id
ERROR: null value in column "computation_block" violates not-null constraint
DETAIL: Failing row contains (46, null, 816, null, null, 5, null, null, half_up, null, null, 2021-03-01, null, null, null, 0.0, 0, 0, draft, null, 1, 2022-06-22 14:48:24.139334, 1, 2022-06-22 14:48:24.139334, 0.0, 0.0).
06/22/2022 10:48:25 ERROR
ERROR: TestPayrollContributionRegister.test_flow_contrib_register_done
Traceback (most recent call last):
File "/home/m5l6j01yiacz-116224/build_src/to_hr_payroll/tests/test_payroll_contribution_register.py", line 724, in test_flow_contrib_register_done
register_1 = self.create_contrib_register(self.product_emp_A, self.type, fields.Date.from_string('2021-3-1'))
File "/home/m5l6j01yiacz-116224/build_src/to_hr_payroll/tests/common.py", line 280, in create_contrib_register
return ContribRegister.with_context(tracking_disable=True).create({
File "<decorator-gen-171>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 347, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/14.0/addons/mail/models/mail_thread.py", line 260, in create
threads = super(MailThread, self).create(vals_list)
File "<decorator-gen-534>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/home/m5l6j01yiacz-116224/build_src/viin_user_assignment_log/models/base.py", line 12, in create
records = super(Base, self).create(vals_list)
File "<decorator-gen-64>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/addons/base/models/ir_fields.py", line 534, in create
recs = super().create(vals_list)
File "<decorator-gen-13>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/models.py", line 3876, in create
records = self._create(data_list)
File "/opt/odoo/14.0/odoo/models.py", line 3982, in _create
cr.execute(query, params)
File "<decorator-gen-3>", line 2, in execute
File "/opt/odoo/14.0/odoo/sql_db.py", line 101, in check
return f(self, *args, **kwargs)
File "/opt/odoo/14.0/odoo/sql_db.py", line 300, in execute
res = self._obj.execute(query, params)
psycopg2.errors.NotNullViolation: null value in column "computation_block" violates not-null constraint
DETAIL: Failing row contains (46, null, 816, null, null, 5, null, null, half_up, null, null, 2021-03-01, null, null, null, 0.0, 0, 0, draft, null, 1, 2022-06-22 14:48:24.139334, 1, 2022-06-22 14:48:24.139334, 0.0, 0.0).
06/22/2022 10:48:25 ERROR
bad query: INSERT INTO "hr_payroll_contribution_register" ("id", "create_uid", "create_date", "write_uid", "write_date", "company_contrib_rate", "computation_method", "contribution_base", "date_from", "employee_contrib_rate", "employee_id", "max_contribution_company", "max_contribution_employee", "state", "type_id") VALUES (nextval('hr_payroll_contribution_register_id_seq'), 1, (now() at time zone 'UTC'), 1, (now() at time zone 'UTC'), 0.0, 'half_up', 0.0, '2021-03-01', 0.0, 816, 0.0, 0.0, 'draft', 5) RETURNING id
ERROR: null value in column "computation_block" violates not-null constraint
DETAIL: Failing row contains (47, null, 816, null, null, 5, null, null, half_up, null, null, 2021-03-01, null, null, null, 0.0, 0, 0, draft, null, 1, 2022-06-22 14:48:24.139334, 1, 2022-06-22 14:48:24.139334, 0.0, 0.0).
06/22/2022 10:48:25 ERROR
ERROR: TestPayrollContributionRegister.test_flow_contrib_register_draft
Traceback (most recent call last):
File "/home/m5l6j01yiacz-116224/build_src/to_hr_payroll/tests/test_payroll_contribution_register.py", line 416, in test_flow_contrib_register_draft
register = self.create_contrib_register(self.product_emp_A, self.type, fields.Date.from_string('2021-3-1'))
File "/home/m5l6j01yiacz-116224/build_src/to_hr_payroll/tests/common.py", line 280, in create_contrib_register
return ContribRegister.with_context(tracking_disable=True).create({
File "<decorator-gen-171>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 347, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/14.0/addons/mail/models/mail_thread.py", line 260, in create
threads = super(MailThread, self).create(vals_list)
File "<decorator-gen-534>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/home/m5l6j01yiacz-116224/build_src/viin_user_assignment_log/models/base.py", line 12, in create
records = super(Base, self).create(vals_list)
File "<decorator-gen-64>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/addons/base/models/ir_fields.py", line 534, in create
recs = super().create(vals_list)
File "<decorator-gen-13>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/models.py", line 3876, in create
records = self._create(data_list)
File "/opt/odoo/14.0/odoo/models.py", line 3982, in _create
cr.execute(query, params)
File "<decorator-gen-3>", line 2, in execute
File "/opt/odoo/14.0/odoo/sql_db.py", line 101, in check
return f(self, *args, **kwargs)
File "/opt/odoo/14.0/odoo/sql_db.py", line 300, in execute
res = self._obj.execute(query, params)
psycopg2.errors.NotNullViolation: null value in column "computation_block" violates not-null constraint
DETAIL: Failing row contains (47, null, 816, null, null, 5, null, null, half_up, null, null, 2021-03-01, null, null, null, 0.0, 0, 0, draft, null, 1, 2022-06-22 14:48:24.139334, 1, 2022-06-22 14:48:24.139334, 0.0, 0.0).
06/22/2022 10:48:25 ERROR
bad query: INSERT INTO "hr_payroll_contribution_register" ("id", "create_uid", "create_date", "write_uid", "write_date", "company_contrib_rate", "computation_method", "contribution_base", "date_from", "employee_contrib_rate", "employee_id", "max_contribution_company", "max_contribution_employee", "state", "type_id") VALUES (nextval('hr_payroll_contribution_register_id_seq'), 1, (now() at time zone 'UTC'), 1, (now() at time zone 'UTC'), 0.0, 'half_up', 0.0, '2021-03-01', 0.0, 816, 0.0, 0.0, 'draft', 5) RETURNING id
ERROR: null value in column "computation_block" violates not-null constraint
DETAIL: Failing row contains (48, null, 816, null, null, 5, null, null, half_up, null, null, 2021-03-01, null, null, null, 0.0, 0, 0, draft, null, 1, 2022-06-22 14:48:24.139334, 1, 2022-06-22 14:48:24.139334, 0.0, 0.0).
06/22/2022 10:48:25 ERROR
ERROR: TestPayrollContributionRegister.test_flow_contrib_register_resumed
Traceback (most recent call last):
File "/home/m5l6j01yiacz-116224/build_src/to_hr_payroll/tests/test_payroll_contribution_register.py", line 651, in test_flow_contrib_register_resumed
register = self.create_contrib_register(self.product_emp_A, self.type, fields.Date.from_string('2021-3-1'))
File "/home/m5l6j01yiacz-116224/build_src/to_hr_payroll/tests/common.py", line 280, in create_contrib_register
return ContribRegister.with_context(tracking_disable=True).create({
File "<decorator-gen-171>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 347, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/14.0/addons/mail/models/mail_thread.py", line 260, in create
threads = super(MailThread, self).create(vals_list)
File "<decorator-gen-534>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/home/m5l6j01yiacz-116224/build_src/viin_user_assignment_log/models/base.py", line 12, in create
records = super(Base, self).create(vals_list)
File "<decorator-gen-64>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/addons/base/models/ir_fields.py", line 534, in create
recs = super().create(vals_list)
File "<decorator-gen-13>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/models.py", line 3876, in create
records = self._create(data_list)
File "/opt/odoo/14.0/odoo/models.py", line 3982, in _create
cr.execute(query, params)
File "<decorator-gen-3>", line 2, in execute
File "/opt/odoo/14.0/odoo/sql_db.py", line 101, in check
return f(self, *args, **kwargs)
File "/opt/odoo/14.0/odoo/sql_db.py", line 300, in execute
res = self._obj.execute(query, params)
psycopg2.errors.NotNullViolation: null value in column "computation_block" violates not-null constraint
DETAIL: Failing row contains (48, null, 816, null, null, 5, null, null, half_up, null, null, 2021-03-01, null, null, null, 0.0, 0, 0, draft, null, 1, 2022-06-22 14:48:24.139334, 1, 2022-06-22 14:48:24.139334, 0.0, 0.0).
06/22/2022 10:48:25 ERROR
bad query: INSERT INTO "hr_payroll_contribution_register" ("id", "create_uid", "create_date", "write_uid", "write_date", "company_contrib_rate", "computation_method", "contribution_base", "date_from", "employee_contrib_rate", "employee_id", "max_contribution_company", "max_contribution_employee", "state", "type_id") VALUES (nextval('hr_payroll_contribution_register_id_seq'), 1, (now() at time zone 'UTC'), 1, (now() at time zone 'UTC'), 0.0, 'half_up', 0.0, '2021-03-01', 0.0, 816, 0.0, 0.0, 'draft', 5) RETURNING id
ERROR: null value in column "computation_block" violates not-null constraint
DETAIL: Failing row contains (49, null, 816, null, null, 5, null, null, half_up, null, null, 2021-03-01, null, null, null, 0.0, 0, 0, draft, null, 1, 2022-06-22 14:48:24.139334, 1, 2022-06-22 14:48:24.139334, 0.0, 0.0).
06/22/2022 10:48:25 ERROR
ERROR: TestPayrollContributionRegister.test_flow_contrib_register_suspended
Traceback (most recent call last):
File "/home/m5l6j01yiacz-116224/build_src/to_hr_payroll/tests/test_payroll_contribution_register.py", line 568, in test_flow_contrib_register_suspended
register = self.create_contrib_register(self.product_emp_A, self.type, fields.Date.from_string('2021-3-1'))
File "/home/m5l6j01yiacz-116224/build_src/to_hr_payroll/tests/common.py", line 280, in create_contrib_register
return ContribRegister.with_context(tracking_disable=True).create({
File "<decorator-gen-171>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 347, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/14.0/addons/mail/models/mail_thread.py", line 260, in create
threads = super(MailThread, self).create(vals_list)
File "<decorator-gen-534>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/home/m5l6j01yiacz-116224/build_src/viin_user_assignment_log/models/base.py", line 12, in create
records = super(Base, self).create(vals_list)
File "<decorator-gen-64>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/addons/base/models/ir_fields.py", line 534, in create
recs = super().create(vals_list)
File "<decorator-gen-13>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/models.py", line 3876, in create
records = self._create(data_list)
File "/opt/odoo/14.0/odoo/models.py", line 3982, in _create
cr.execute(query, params)
File "<decorator-gen-3>", line 2, in execute
File "/opt/odoo/14.0/odoo/sql_db.py", line 101, in check
return f(self, *args, **kwargs)
File "/opt/odoo/14.0/odoo/sql_db.py", line 300, in execute
res = self._obj.execute(query, params)
psycopg2.errors.NotNullViolation: null value in column "computation_block" violates not-null constraint
DETAIL: Failing row contains (49, null, 816, null, null, 5, null, null, half_up, null, null, 2021-03-01, null, null, null, 0.0, 0, 0, draft, null, 1, 2022-06-22 14:48:24.139334, 1, 2022-06-22 14:48:24.139334, 0.0, 0.0).
06/22/2022 10:48:27 ERROR
bad query: INSERT INTO "hr_payroll_contribution_register" ("id", "create_uid", "create_date", "write_uid", "write_date", "company_contrib_rate", "computation_method", "contribution_base", "date_from", "employee_contrib_rate", "employee_id", "max_contribution_company", "max_contribution_employee", "state", "type_id") VALUES (nextval('hr_payroll_contribution_register_id_seq'), 1, (now() at time zone 'UTC'), 1, (now() at time zone 'UTC'), 0.0, 'half_up', 0.0, '2021-01-01', 0.0, 819, 0.0, 0.0, 'draft', 5) RETURNING id
ERROR: null value in column "computation_block" violates not-null constraint
DETAIL: Failing row contains (50, null, 819, null, null, 5, null, null, half_up, null, null, 2021-01-01, null, null, null, 0.0, 0, 0, draft, null, 1, 2022-06-22 14:48:25.986788, 1, 2022-06-22 14:48:25.986788, 0.0, 0.0).
06/22/2022 10:48:27 ERROR
ERROR: TestPayrollContributionType.test_contribution_type_mass_change_rate
Traceback (most recent call last):
File "/home/m5l6j01yiacz-116224/build_src/to_hr_payroll/tests/test_payroll_contribution_type.py", line 105, in test_contribution_type_mass_change_rate
register_1 = self.create_contrib_register(self.product_emp_A, contrib_type, state="draft")
File "/home/m5l6j01yiacz-116224/build_src/to_hr_payroll/tests/common.py", line 280, in create_contrib_register
return ContribRegister.with_context(tracking_disable=True).create({
File "<decorator-gen-171>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 347, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/14.0/addons/mail/models/mail_thread.py", line 260, in create
threads = super(MailThread, self).create(vals_list)
File "<decorator-gen-534>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/home/m5l6j01yiacz-116224/build_src/viin_user_assignment_log/models/base.py", line 12, in create
records = super(Base, self).create(vals_list)
File "<decorator-gen-64>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/addons/base/models/ir_fields.py", line 534, in create
recs = super().create(vals_list)
File "<decorator-gen-13>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/models.py", line 3876, in create
records = self._create(data_list)
File "/opt/odoo/14.0/odoo/models.py", line 3982, in _create
cr.execute(query, params)
File "<decorator-gen-3>", line 2, in execute
File "/opt/odoo/14.0/odoo/sql_db.py", line 101, in check
return f(self, *args, **kwargs)
File "/opt/odoo/14.0/odoo/sql_db.py", line 300, in execute
res = self._obj.execute(query, params)
psycopg2.errors.NotNullViolation: null value in column "computation_block" violates not-null constraint
DETAIL: Failing row contains (50, null, 819, null, null, 5, null, null, half_up, null, null, 2021-01-01, null, null, null, 0.0, 0, 0, draft, null, 1, 2022-06-22 14:48:25.986788, 1, 2022-06-22 14:48:25.986788, 0.0, 0.0).
06/22/2022 10:48:27 ERROR
bad query: INSERT INTO "hr_payroll_contribution_register" ("id", "create_uid", "create_date", "write_uid", "write_date", "company_contrib_rate", "computation_method", "contribution_base", "date_from", "employee_contrib_rate", "employee_id", "max_contribution_company", "max_contribution_employee", "state", "type_id") VALUES (nextval('hr_payroll_contribution_register_id_seq'), 1, (now() at time zone 'UTC'), 1, (now() at time zone 'UTC'), 2.0, 'half_up', 50000.0, '2021-07-01', 1.0, 819, 0.0, 0.0, 'draft', 5) RETURNING id
ERROR: null value in column "computation_block" violates not-null constraint
DETAIL: Failing row contains (51, null, 819, null, null, 5, null, null, half_up, null, null, 2021-07-01, null, null, null, 50000.0, 1, 2, draft, null, 1, 2022-06-22 14:48:25.986788, 1, 2022-06-22 14:48:25.986788, 0.0, 0.0).
06/22/2022 10:48:27 ERROR
ERROR: TestPayrollContributionType.test_contribution_type_mass_change_rate_2
Traceback (most recent call last):
File "/home/m5l6j01yiacz-116224/build_src/to_hr_payroll/tests/test_payroll_contribution_type.py", line 206, in test_contribution_type_mass_change_rate_2
register_1 = self.create_contrib_register(
File "/home/m5l6j01yiacz-116224/build_src/to_hr_payroll/tests/common.py", line 280, in create_contrib_register
return ContribRegister.with_context(tracking_disable=True).create({
File "<decorator-gen-171>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 347, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/14.0/addons/mail/models/mail_thread.py", line 260, in create
threads = super(MailThread, self).create(vals_list)
File "<decorator-gen-534>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/home/m5l6j01yiacz-116224/build_src/viin_user_assignment_log/models/base.py", line 12, in create
records = super(Base, self).create(vals_list)
File "<decorator-gen-64>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/addons/base/models/ir_fields.py", line 534, in create
recs = super().create(vals_list)
File "<decorator-gen-13>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/models.py", line 3876, in create
records = self._create(data_list)
File "/opt/odoo/14.0/odoo/models.py", line 3982, in _create
cr.execute(query, params)
File "<decorator-gen-3>", line 2, in execute
File "/opt/odoo/14.0/odoo/sql_db.py", line 101, in check
return f(self, *args, **kwargs)
File "/opt/odoo/14.0/odoo/sql_db.py", line 300, in execute
res = self._obj.execute(query, params)
psycopg2.errors.NotNullViolation: null value in column "computation_block" violates not-null constraint
DETAIL: Failing row contains (51, null, 819, null, null, 5, null, null, half_up, null, null, 2021-07-01, null, null, null, 50000.0, 1, 2, draft, null, 1, 2022-06-22 14:48:25.986788, 1, 2022-06-22 14:48:25.986788, 0.0, 0.0).
06/22/2022 10:48:27 ERROR
bad query: INSERT INTO "hr_payroll_contribution_register" ("id", "create_uid", "create_date", "write_uid", "write_date", "company_contrib_rate", "computation_method", "contribution_base", "date_from", "employee_contrib_rate", "employee_id", "max_contribution_company", "max_contribution_employee", "state", "type_id") VALUES (nextval('hr_payroll_contribution_register_id_seq'), 1, (now() at time zone 'UTC'), 1, (now() at time zone 'UTC'), 2.0, 'half_up', 50000.0, '2021-07-01', 1.0, 819, 0.0, 0.0, 'draft', 5) RETURNING id
ERROR: null value in column "computation_block" violates not-null constraint
DETAIL: Failing row contains (52, null, 819, null, null, 5, null, null, half_up, null, null, 2021-07-01, null, null, null, 50000.0, 1, 2, draft, null, 1, 2022-06-22 14:48:25.986788, 1, 2022-06-22 14:48:25.986788, 0.0, 0.0).
06/22/2022 10:48:27 ERROR
ERROR: TestPayrollContributionType.test_contribution_type_mass_change_rate_3
Traceback (most recent call last):
File "/home/m5l6j01yiacz-116224/build_src/to_hr_payroll/tests/test_payroll_contribution_type.py", line 253, in test_contribution_type_mass_change_rate_3
register_1 = self.create_contrib_register(
File "/home/m5l6j01yiacz-116224/build_src/to_hr_payroll/tests/common.py", line 280, in create_contrib_register
return ContribRegister.with_context(tracking_disable=True).create({
File "<decorator-gen-171>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 347, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/14.0/addons/mail/models/mail_thread.py", line 260, in create
threads = super(MailThread, self).create(vals_list)
File "<decorator-gen-534>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/home/m5l6j01yiacz-116224/build_src/viin_user_assignment_log/models/base.py", line 12, in create
records = super(Base, self).create(vals_list)
File "<decorator-gen-64>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/addons/base/models/ir_fields.py", line 534, in create
recs = super().create(vals_list)
File "<decorator-gen-13>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/models.py", line 3876, in create
records = self._create(data_list)
File "/opt/odoo/14.0/odoo/models.py", line 3982, in _create
cr.execute(query, params)
File "<decorator-gen-3>", line 2, in execute
File "/opt/odoo/14.0/odoo/sql_db.py", line 101, in check
return f(self, *args, **kwargs)
File "/opt/odoo/14.0/odoo/sql_db.py", line 300, in execute
res = self._obj.execute(query, params)
psycopg2.errors.NotNullViolation: null value in column "computation_block" violates not-null constraint
DETAIL: Failing row contains (52, null, 819, null, null, 5, null, null, half_up, null, null, 2021-07-01, null, null, null, 50000.0, 1, 2, draft, null, 1, 2022-06-22 14:48:25.986788, 1, 2022-06-22 14:48:25.986788, 0.0, 0.0).
06/22/2022 10:48:27 ERROR
bad query: INSERT INTO "hr_payroll_contribution_register" ("id", "create_uid", "create_date", "write_uid", "write_date", "company_contrib_rate", "computation_method", "contribution_base", "date_from", "employee_contrib_rate", "employee_id", "max_contribution_company", "max_contribution_employee", "state", "type_id") VALUES (nextval('hr_payroll_contribution_register_id_seq'), 1, (now() at time zone 'UTC'), 1, (now() at time zone 'UTC'), 2.0, 'half_up', 50000.0, '2021-07-01', 2.0, 819, 0.0, 0.0, 'draft', 5) RETURNING id
ERROR: null value in column "computation_block" violates not-null constraint
DETAIL: Failing row contains (53, null, 819, null, null, 5, null, null, half_up, null, null, 2021-07-01, null, null, null, 50000.0, 2, 2, draft, null, 1, 2022-06-22 14:48:25.986788, 1, 2022-06-22 14:48:25.986788, 0.0, 0.0).
06/22/2022 10:48:27 ERROR
ERROR: TestPayrollContributionType.test_contribution_type_mass_change_rate_4
Traceback (most recent call last):
File "/home/m5l6j01yiacz-116224/build_src/to_hr_payroll/tests/test_payroll_contribution_type.py", line 288, in test_contribution_type_mass_change_rate_4
register_1 = self.create_contrib_register(
File "/home/m5l6j01yiacz-116224/build_src/to_hr_payroll/tests/common.py", line 280, in create_contrib_register
return ContribRegister.with_context(tracking_disable=True).create({
File "<decorator-gen-171>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 347, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/14.0/addons/mail/models/mail_thread.py", line 260, in create
threads = super(MailThread, self).create(vals_list)
File "<decorator-gen-534>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/home/m5l6j01yiacz-116224/build_src/viin_user_assignment_log/models/base.py", line 12, in create
records = super(Base, self).create(vals_list)
File "<decorator-gen-64>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/addons/base/models/ir_fields.py", line 534, in create
recs = super().create(vals_list)
File "<decorator-gen-13>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/models.py", line 3876, in create
records = self._create(data_list)
File "/opt/odoo/14.0/odoo/models.py", line 3982, in _create
cr.execute(query, params)
File "<decorator-gen-3>", line 2, in execute
File "/opt/odoo/14.0/odoo/sql_db.py", line 101, in check
return f(self, *args, **kwargs)
File "/opt/odoo/14.0/odoo/sql_db.py", line 300, in execute
res = self._obj.execute(query, params)
psycopg2.errors.NotNullViolation: null value in column "computation_block" violates not-null constraint
DETAIL: Failing row contains (53, null, 819, null, null, 5, null, null, half_up, null, null, 2021-07-01, null, null, null, 50000.0, 2, 2, draft, null, 1, 2022-06-22 14:48:25.986788, 1, 2022-06-22 14:48:25.986788, 0.0, 0.0).
06/22/2022 10:48:27 ERROR
bad query: INSERT INTO "hr_payroll_contribution_register" ("id", "create_uid", "create_date", "write_uid", "write_date", "company_contrib_rate", "computation_method", "contribution_base", "date_from", "employee_contrib_rate", "employee_id", "max_contribution_company", "max_contribution_employee", "state", "type_id") VALUES (nextval('hr_payroll_contribution_register_id_seq'), 1, (now() at time zone 'UTC'), 1, (now() at time zone 'UTC'), 2.0, 'half_up', 50000.0, '2021-07-01', 1.0, 819, 0.0, 0.0, 'draft', 5) RETURNING id
ERROR: null value in column "computation_block" violates not-null constraint
DETAIL: Failing row contains (54, null, 819, null, null, 5, null, null, half_up, null, null, 2021-07-01, null, null, null, 50000.0, 1, 2, draft, null, 1, 2022-06-22 14:48:25.986788, 1, 2022-06-22 14:48:25.986788, 0.0, 0.0).
06/22/2022 10:48:27 ERROR
ERROR: TestPayrollContributionType.test_contribution_type_mass_change_rate_5
Traceback (most recent call last):
File "/home/m5l6j01yiacz-116224/build_src/to_hr_payroll/tests/test_payroll_contribution_type.py", line 324, in test_contribution_type_mass_change_rate_5
register_1 = self.create_contrib_register(
File "/home/m5l6j01yiacz-116224/build_src/to_hr_payroll/tests/common.py", line 280, in create_contrib_register
return ContribRegister.with_context(tracking_disable=True).create({
File "<decorator-gen-171>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 347, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/14.0/addons/mail/models/mail_thread.py", line 260, in create
threads = super(MailThread, self).create(vals_list)
File "<decorator-gen-534>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/home/m5l6j01yiacz-116224/build_src/viin_user_assignment_log/models/base.py", line 12, in create
records = super(Base, self).create(vals_list)
File "<decorator-gen-64>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/addons/base/models/ir_fields.py", line 534, in create
recs = super().create(vals_list)
File "<decorator-gen-13>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/models.py", line 3876, in create
records = self._create(data_list)
File "/opt/odoo/14.0/odoo/models.py", line 3982, in _create
cr.execute(query, params)
File "<decorator-gen-3>", line 2, in execute
File "/opt/odoo/14.0/odoo/sql_db.py", line 101, in check
return f(self, *args, **kwargs)
File "/opt/odoo/14.0/odoo/sql_db.py", line 300, in execute
res = self._obj.execute(query, params)
psycopg2.errors.NotNullViolation: null value in column "computation_block" violates not-null constraint
DETAIL: Failing row contains (54, null, 819, null, null, 5, null, null, half_up, null, null, 2021-07-01, null, null, null, 50000.0, 1, 2, draft, null, 1, 2022-06-22 14:48:25.986788, 1, 2022-06-22 14:48:25.986788, 0.0, 0.0).
06/22/2022 10:49:29 ERROR
bad query: INSERT INTO "hr_payroll_contribution_register" ("id", "create_uid", "create_date", "write_uid", "write_date", "company_contrib_rate", "computation_method", "contribution_base", "date_from", "employee_contrib_rate", "employee_id", "max_contribution_company", "max_contribution_employee", "state", "type_id") VALUES (nextval('hr_payroll_contribution_register_id_seq'), 2152, (now() at time zone 'UTC'), 2152, (now() at time zone 'UTC'), 1.0, 'half_up', 5000.0, '2021-01-01', 1.0, 879, 0.0, 0.0, 'draft', 5) RETURNING id
ERROR: null value in column "computation_block" violates not-null constraint
DETAIL: Failing row contains (63, null, 879, null, null, 5, null, null, half_up, null, null, 2021-01-01, null, null, null, 5000.0, 1, 1, draft, null, 2152, 2022-06-22 14:49:18.415563, 2152, 2022-06-22 14:49:18.415563, 0.0, 0.0).
06/22/2022 10:49:29 ERROR
ERROR: TestPayrollSecurity.test_payroll_security_officer_10
Traceback (most recent call last):
File "/home/m5l6j01yiacz-116224/build_src/to_hr_payroll/tests/test_payroll_security.py", line 625, in test_payroll_security_officer_10
register = ContribRegister.with_user(self.officer_user).create({
File "<decorator-gen-171>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 347, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/14.0/addons/mail/models/mail_thread.py", line 264, in create
threads = super(MailThread, self).create(vals_list)
File "<decorator-gen-534>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/home/m5l6j01yiacz-116224/build_src/viin_user_assignment_log/models/base.py", line 12, in create
records = super(Base, self).create(vals_list)
File "<decorator-gen-64>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/addons/base/models/ir_fields.py", line 534, in create
recs = super().create(vals_list)
File "<decorator-gen-13>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/models.py", line 3876, in create
records = self._create(data_list)
File "/opt/odoo/14.0/odoo/models.py", line 3982, in _create
cr.execute(query, params)
File "<decorator-gen-3>", line 2, in execute
File "/opt/odoo/14.0/odoo/sql_db.py", line 101, in check
return f(self, *args, **kwargs)
File "/opt/odoo/14.0/odoo/sql_db.py", line 300, in execute
res = self._obj.execute(query, params)
psycopg2.errors.NotNullViolation: null value in column "computation_block" violates not-null constraint
DETAIL: Failing row contains (63, null, 879, null, null, 5, null, null, half_up, null, null, 2021-01-01, null, null, null, 5000.0, 1, 1, draft, null, 2152, 2022-06-22 14:49:18.415563, 2152, 2022-06-22 14:49:18.415563, 0.0, 0.0).
06/22/2022 10:59:13 ERROR
bad query: INSERT INTO "hr_payroll_contribution_register" ("id", "create_uid", "create_date", "write_uid", "write_date", "company_contrib_rate", "computation_method", "contribution_base", "date_from", "employee_contrib_rate", "employee_id", "max_contribution_company", "max_contribution_employee", "state", "type_id") VALUES (nextval('hr_payroll_contribution_register_id_seq'), 1, (now() at time zone 'UTC'), 1, (now() at time zone 'UTC'), 0.0, 'half_up', 0.0, '2021-03-01', 0.0, 1008, 0.0, 0.0, 'draft', 5) RETURNING id
ERROR: null value in column "computation_block" violates not-null constraint
DETAIL: Failing row contains (64, null, 1008, null, null, 5, null, null, half_up, null, null, 2021-03-01, null, null, null, 0.0, 0, 0, draft, null, 1, 2022-06-22 14:59:12.531643, 1, 2022-06-22 14:59:12.531643, 0.0, 0.0).
06/22/2022 10:59:13 ERROR
ERROR: TestVNPayrollContribution.test_01_vn_contribution_type_with_SOCIAL_INSURANCE_code
Traceback (most recent call last):
File "/home/m5l6j01yiacz-116224/build_src/to_l10n_vn_hr_payroll/tests/test_vn_payroll_contribution.py", line 24, in test_01_vn_contribution_type_with_SOCIAL_INSURANCE_code
social_insurance_register_draft = self.create_contrib_register(
File "/home/m5l6j01yiacz-116224/build_src/to_hr_payroll/tests/common.py", line 280, in create_contrib_register
return ContribRegister.with_context(tracking_disable=True).create({
File "<decorator-gen-171>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 347, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/14.0/addons/mail/models/mail_thread.py", line 260, in create
threads = super(MailThread, self).create(vals_list)
File "<decorator-gen-534>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/home/m5l6j01yiacz-116224/build_src/viin_user_assignment_log/models/base.py", line 12, in create
records = super(Base, self).create(vals_list)
File "<decorator-gen-64>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/addons/base/models/ir_fields.py", line 534, in create
recs = super().create(vals_list)
File "<decorator-gen-13>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/models.py", line 3876, in create
records = self._create(data_list)
File "/opt/odoo/14.0/odoo/models.py", line 3982, in _create
cr.execute(query, params)
File "<decorator-gen-3>", line 2, in execute
File "/opt/odoo/14.0/odoo/sql_db.py", line 101, in check
return f(self, *args, **kwargs)
File "/opt/odoo/14.0/odoo/sql_db.py", line 300, in execute
res = self._obj.execute(query, params)
psycopg2.errors.NotNullViolation: null value in column "computation_block" violates not-null constraint
DETAIL: Failing row contains (64, null, 1008, null, null, 5, null, null, half_up, null, null, 2021-03-01, null, null, null, 0.0, 0, 0, draft, null, 1, 2022-06-22 14:59:12.531643, 1, 2022-06-22 14:59:12.531643, 0.0, 0.0).
06/22/2022 10:59:13 ERROR
bad query: INSERT INTO "hr_payroll_contribution_register" ("id", "create_uid", "create_date", "write_uid", "write_date", "company_contrib_rate", "computation_method", "contribution_base", "date_from", "employee_contrib_rate", "employee_id", "max_contribution_company", "max_contribution_employee", "state", "type_id") VALUES (nextval('hr_payroll_contribution_register_id_seq'), 1, (now() at time zone 'UTC'), 1, (now() at time zone 'UTC'), 0.0, 'half_up', 0.0, '2021-03-01', 0.0, 1008, 0.0, 0.0, 'draft', 6) RETURNING id
ERROR: null value in column "computation_block" violates not-null constraint
DETAIL: Failing row contains (65, null, 1008, null, null, 6, null, null, half_up, null, null, 2021-03-01, null, null, null, 0.0, 0, 0, draft, null, 1, 2022-06-22 14:59:12.531643, 1, 2022-06-22 14:59:12.531643, 0.0, 0.0).
06/22/2022 10:59:13 ERROR
ERROR: TestVNPayrollContribution.test_03_vn_contribution_type_with_HEALTH_INSURANCE_code
Traceback (most recent call last):
File "/home/m5l6j01yiacz-116224/build_src/to_l10n_vn_hr_payroll/tests/test_vn_payroll_contribution.py", line 85, in test_03_vn_contribution_type_with_HEALTH_INSURANCE_code
health_insurance_register_draft = self.create_contrib_register(
File "/home/m5l6j01yiacz-116224/build_src/to_hr_payroll/tests/common.py", line 280, in create_contrib_register
return ContribRegister.with_context(tracking_disable=True).create({
File "<decorator-gen-171>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 347, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/14.0/addons/mail/models/mail_thread.py", line 260, in create
threads = super(MailThread, self).create(vals_list)
File "<decorator-gen-534>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/home/m5l6j01yiacz-116224/build_src/viin_user_assignment_log/models/base.py", line 12, in create
records = super(Base, self).create(vals_list)
File "<decorator-gen-64>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/addons/base/models/ir_fields.py", line 534, in create
recs = super().create(vals_list)
File "<decorator-gen-13>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/models.py", line 3876, in create
records = self._create(data_list)
File "/opt/odoo/14.0/odoo/models.py", line 3982, in _create
cr.execute(query, params)
File "<decorator-gen-3>", line 2, in execute
File "/opt/odoo/14.0/odoo/sql_db.py", line 101, in check
return f(self, *args, **kwargs)
File "/opt/odoo/14.0/odoo/sql_db.py", line 300, in execute
res = self._obj.execute(query, params)
psycopg2.errors.NotNullViolation: null value in column "computation_block" violates not-null constraint
DETAIL: Failing row contains (65, null, 1008, null, null, 6, null, null, half_up, null, null, 2021-03-01, null, null, null, 0.0, 0, 0, draft, null, 1, 2022-06-22 14:59:12.531643, 1, 2022-06-22 14:59:12.531643, 0.0, 0.0).
06/22/2022 10:59:13 ERROR
bad query: INSERT INTO "hr_payroll_contribution_register" ("id", "create_uid", "create_date", "write_uid", "write_date", "company_contrib_rate", "computation_method", "contribution_base", "date_from", "employee_contrib_rate", "employee_id", "max_contribution_company", "max_contribution_employee", "state", "type_id") VALUES (nextval('hr_payroll_contribution_register_id_seq'), 1, (now() at time zone 'UTC'), 1, (now() at time zone 'UTC'), 0.0, 'half_up', 0.0, '2021-03-01', 0.0, 1008, 0.0, 0.0, 'draft', 7) RETURNING id
ERROR: null value in column "computation_block" violates not-null constraint
DETAIL: Failing row contains (66, null, 1008, null, null, 7, null, null, half_up, null, null, 2021-03-01, null, null, null, 0.0, 0, 0, draft, null, 1, 2022-06-22 14:59:12.531643, 1, 2022-06-22 14:59:12.531643, 0.0, 0.0).
06/22/2022 10:59:13 ERROR
ERROR: TestVNPayrollContribution.test_05_vn_contribution_type_with_UNEMPLOYMENT_UNSURANCE_code
Traceback (most recent call last):
File "/home/m5l6j01yiacz-116224/build_src/to_l10n_vn_hr_payroll/tests/test_vn_payroll_contribution.py", line 146, in test_05_vn_contribution_type_with_UNEMPLOYMENT_UNSURANCE_code
unemployment_insurance_register_draft = self.create_contrib_register(
File "/home/m5l6j01yiacz-116224/build_src/to_hr_payroll/tests/common.py", line 280, in create_contrib_register
return ContribRegister.with_context(tracking_disable=True).create({
File "<decorator-gen-171>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 347, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/14.0/addons/mail/models/mail_thread.py", line 260, in create
threads = super(MailThread, self).create(vals_list)
File "<decorator-gen-534>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/home/m5l6j01yiacz-116224/build_src/viin_user_assignment_log/models/base.py", line 12, in create
records = super(Base, self).create(vals_list)
File "<decorator-gen-64>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/addons/base/models/ir_fields.py", line 534, in create
recs = super().create(vals_list)
File "<decorator-gen-13>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/models.py", line 3876, in create
records = self._create(data_list)
File "/opt/odoo/14.0/odoo/models.py", line 3982, in _create
cr.execute(query, params)
File "<decorator-gen-3>", line 2, in execute
File "/opt/odoo/14.0/odoo/sql_db.py", line 101, in check
return f(self, *args, **kwargs)
File "/opt/odoo/14.0/odoo/sql_db.py", line 300, in execute
res = self._obj.execute(query, params)
psycopg2.errors.NotNullViolation: null value in column "computation_block" violates not-null constraint
DETAIL: Failing row contains (66, null, 1008, null, null, 7, null, null, half_up, null, null, 2021-03-01, null, null, null, 0.0, 0, 0, draft, null, 1, 2022-06-22 14:59:12.531643, 1, 2022-06-22 14:59:12.531643, 0.0, 0.0).
06/22/2022 10:59:13 ERROR
bad query: INSERT INTO "hr_payroll_contribution_register" ("id", "create_uid", "create_date", "write_uid", "write_date", "company_contrib_rate", "computation_method", "contribution_base", "date_from", "employee_contrib_rate", "employee_id", "max_contribution_company", "max_contribution_employee", "state", "type_id") VALUES (nextval('hr_payroll_contribution_register_id_seq'), 1, (now() at time zone 'UTC'), 1, (now() at time zone 'UTC'), 0.0, 'half_up', 0.0, '2021-03-01', 0.0, 1008, 0.0, 0.0, 'draft', 8) RETURNING id
ERROR: null value in column "computation_block" violates not-null constraint
DETAIL: Failing row contains (67, null, 1008, null, null, 8, null, null, half_up, null, null, 2021-03-01, null, null, null, 0.0, 0, 0, draft, null, 1, 2022-06-22 14:59:12.531643, 1, 2022-06-22 14:59:12.531643, 0.0, 0.0).
06/22/2022 10:59:13 ERROR
ERROR: TestVNPayrollContribution.test_07_vn_contribution_type_with_LABOR_UNION_code
Traceback (most recent call last):
File "/home/m5l6j01yiacz-116224/build_src/to_l10n_vn_hr_payroll/tests/test_vn_payroll_contribution.py", line 206, in test_07_vn_contribution_type_with_LABOR_UNION_code
labor_union_register_draft = self.create_contrib_register(
File "/home/m5l6j01yiacz-116224/build_src/to_hr_payroll/tests/common.py", line 280, in create_contrib_register
return ContribRegister.with_context(tracking_disable=True).create({
File "<decorator-gen-171>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 347, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/14.0/addons/mail/models/mail_thread.py", line 260, in create
threads = super(MailThread, self).create(vals_list)
File "<decorator-gen-534>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/home/m5l6j01yiacz-116224/build_src/viin_user_assignment_log/models/base.py", line 12, in create
records = super(Base, self).create(vals_list)
File "<decorator-gen-64>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/addons/base/models/ir_fields.py", line 534, in create
recs = super().create(vals_list)
File "<decorator-gen-13>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/models.py", line 3876, in create
records = self._create(data_list)
File "/opt/odoo/14.0/odoo/models.py", line 3982, in _create
cr.execute(query, params)
File "<decorator-gen-3>", line 2, in execute
File "/opt/odoo/14.0/odoo/sql_db.py", line 101, in check
return f(self, *args, **kwargs)
File "/opt/odoo/14.0/odoo/sql_db.py", line 300, in execute
res = self._obj.execute(query, params)
psycopg2.errors.NotNullViolation: null value in column "computation_block" violates not-null constraint
DETAIL: Failing row contains (67, null, 1008, null, null, 8, null, null, half_up, null, null, 2021-03-01, null, null, null, 0.0, 0, 0, draft, null, 1, 2022-06-22 14:59:12.531643, 1, 2022-06-22 14:59:12.531643, 0.0, 0.0).
06/22/2022 11:01:20 ERROR
bad query: INSERT INTO "loan_borrowing_order" ("id", "create_uid", "create_date", "write_uid", "write_date", "account_id", "company_id", "date_confirmed", "date_end", "disbursement_method", "disbursement_method_number", "disbursement_method_period", "due_day", "expiry_interest_rate_type_id", "interest_cycle", "interest_incl_disburment_date", "interest_incl_refund_date", "interest_period_start_day", "interest_rate_type_id", "journal_id", "loan_amount", "loan_duration", "name", "partner_id", "principal_refund_method", "principal_refund_method_number", "principal_refund_method_period", "state", "user_id") VALUES (nextval('loan_borrowing_order_id_seq'), 1, (now() at time zone 'UTC'), 1, (now() at time zone 'UTC'), 21659, 519, '2021-10-15', '2023-06-21', 'number', 1, 1, 0, 27, 'monthly', false, true, 1, 27, 6446, 100000000.0, 12, 'BLC00008', 9, 'end_contract', 1, 1, 'draft', 1) RETURNING id
ERROR: null value in column "currency_id" violates not-null constraint
DETAIL: Failing row contains (8, 21659, 6446, null, null, null, draft, BLC00008, 9, null, 100000000.0, 2021-10-15, 2023-06-21, number, null, 1, 1, null, end_contract, null, 1, 1, 27, 27, null, monthly, 1, f, t, 0, null, null, 519, 12, null, null, null, 1, null, 1, 2022-06-22 15:01:13.551945, 1, 2022-06-22 15:01:13.551945).
06/22/2022 11:01:20 ERROR
ERROR: TestLoanL10nVn.test_auto_add_analytic_tag_borrowing_loan
Traceback (most recent call last):
File "/home/m5l6j01yiacz-116224/build_src/to_loan_management_l10n_vn/tests/test_loan_l10n.py", line 101, in test_auto_add_analytic_tag_borrowing_loan
order = self.create_loan_order('loan.borrowing.order', 100000000, self.interest_fixed_rate_type_month)
File "/home/m5l6j01yiacz-116224/build_src/to_loan_management_l10n_vn/tests/test_loan_l10n.py", line 43, in create_loan_order
return self.env[model].create({
File "<decorator-gen-896>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 347, in _model_create_multi
return create(self, [arg])
File "/home/m5l6j01yiacz-116224/build_src/to_loan_management/models/loan_borrowing_order.py", line 66, in create
return super(LoanBorrowingOrder, self).create(vals_list)
File "<decorator-gen-895>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 329, in _model_create_single
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/14.0/odoo/api.py", line 329, in <genexpr>
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/home/m5l6j01yiacz-116224/build_src/to_loan_management/models/abstract_loan_order.py", line 683, in create
res = super(AbstractLoanOrder, self).create(vals)
File "<decorator-gen-171>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 347, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/14.0/addons/mail/models/mail_thread.py", line 260, in create
threads = super(MailThread, self).create(vals_list)
File "<decorator-gen-534>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/home/m5l6j01yiacz-116224/build_src/viin_user_assignment_log/models/base.py", line 12, in create
records = super(Base, self).create(vals_list)
File "<decorator-gen-64>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/addons/base/models/ir_fields.py", line 534, in create
recs = super().create(vals_list)
File "<decorator-gen-13>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/models.py", line 3876, in create
records = self._create(data_list)
File "/opt/odoo/14.0/odoo/models.py", line 3982, in _create
cr.execute(query, params)
File "<decorator-gen-3>", line 2, in execute
File "/opt/odoo/14.0/odoo/sql_db.py", line 101, in check
return f(self, *args, **kwargs)
File "/opt/odoo/14.0/odoo/sql_db.py", line 300, in execute
res = self._obj.execute(query, params)
psycopg2.errors.NotNullViolation: null value in column "currency_id" violates not-null constraint
DETAIL: Failing row contains (8, 21659, 6446, null, null, null, draft, BLC00008, 9, null, 100000000.0, 2021-10-15, 2023-06-21, number, null, 1, 1, null, end_contract, null, 1, 1, 27, 27, null, monthly, 1, f, t, 0, null, null, 519, 12, null, null, null, 1, null, 1, 2022-06-22 15:01:13.551945, 1, 2022-06-22 15:01:13.551945).
06/22/2022 11:01:23 ERROR
bad query: INSERT INTO "loan_lending_order" ("id", "create_uid", "create_date", "write_uid", "write_date", "account_id", "company_id", "date_confirmed", "date_end", "disbursement_method", "disbursement_method_number", "disbursement_method_period", "due_day", "expiry_interest_rate_type_id", "interest_cycle", "interest_incl_disburment_date", "interest_incl_refund_date", "interest_period_start_day", "interest_rate_type_id", "journal_id", "loan_amount", "loan_duration", "name", "partner_id", "principal_refund_method", "principal_refund_method_number", "principal_refund_method_period", "state", "user_id") VALUES (nextval('loan_lending_order_id_seq'), 1, (now() at time zone 'UTC'), 1, (now() at time zone 'UTC'), 21564, 519, '2021-10-15', '2023-06-21', 'number', 1, 1, 0, 27, 'monthly', false, true, 1, 27, 6447, 100000000.0, 12, 'LLC00008', 9, 'end_contract', 1, 1, 'draft', 1) RETURNING id
ERROR: null value in column "currency_id" violates not-null constraint
DETAIL: Failing row contains (8, 21564, 6447, null, null, draft, LLC00008, 9, null, 100000000.0, 2021-10-15, 2023-06-21, number, null, 1, 1, null, end_contract, null, 1, 1, 27, 27, null, monthly, 1, f, t, 0, null, null, 519, 12, null, null, null, 1, null, null, 1, 2022-06-22 15:01:13.551945, 1, 2022-06-22 15:01:13.551945).
06/22/2022 11:01:23 ERROR
ERROR: TestLoanL10nVn.test_auto_add_analytic_tag_lending_loan
Traceback (most recent call last):
File "/home/m5l6j01yiacz-116224/build_src/to_loan_management_l10n_vn/tests/test_loan_l10n.py", line 105, in test_auto_add_analytic_tag_lending_loan
order = self.create_loan_order('loan.lending.order', 100000000, self.interest_fixed_rate_type_month)
File "/home/m5l6j01yiacz-116224/build_src/to_loan_management_l10n_vn/tests/test_loan_l10n.py", line 43, in create_loan_order
return self.env[model].create({
File "<decorator-gen-897>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 347, in _model_create_multi
return create(self, [arg])
File "/home/m5l6j01yiacz-116224/build_src/to_loan_management/models/loan_lending_order.py", line 61, in create
return super(LendingLoanOrder, self).create(vals_list)
File "<decorator-gen-895>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 329, in _model_create_single
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/14.0/odoo/api.py", line 329, in <genexpr>
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/home/m5l6j01yiacz-116224/build_src/to_loan_management/models/abstract_loan_order.py", line 683, in create
res = super(AbstractLoanOrder, self).create(vals)
File "<decorator-gen-171>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 347, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/14.0/addons/mail/models/mail_thread.py", line 260, in create
threads = super(MailThread, self).create(vals_list)
File "<decorator-gen-534>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/home/m5l6j01yiacz-116224/build_src/viin_user_assignment_log/models/base.py", line 12, in create
records = super(Base, self).create(vals_list)
File "<decorator-gen-64>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/addons/base/models/ir_fields.py", line 534, in create
recs = super().create(vals_list)
File "<decorator-gen-13>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/models.py", line 3876, in create
records = self._create(data_list)
File "/opt/odoo/14.0/odoo/models.py", line 3982, in _create
cr.execute(query, params)
File "<decorator-gen-3>", line 2, in execute
File "/opt/odoo/14.0/odoo/sql_db.py", line 101, in check
return f(self, *args, **kwargs)
File "/opt/odoo/14.0/odoo/sql_db.py", line 300, in execute
res = self._obj.execute(query, params)
psycopg2.errors.NotNullViolation: null value in column "currency_id" violates not-null constraint
DETAIL: Failing row contains (8, 21564, 6447, null, null, draft, LLC00008, 9, null, 100000000.0, 2021-10-15, 2023-06-21, number, null, 1, 1, null, end_contract, null, 1, 1, 27, 27, null, monthly, 1, f, t, 0, null, null, 519, 12, null, null, null, 1, null, null, 1, 2022-06-22 15:01:13.551945, 1, 2022-06-22 15:01:13.551945).
06/22/2022 11:03:40 ERROR
bad query: INSERT INTO "okr_node" ("id", "create_uid", "create_date", "write_uid", "write_date", "employee_id", "mode", "name", "state", "type") VALUES (nextval('okr_node_id_seq'), 2365, (now() at time zone 'UTC'), 2365, (now() at time zone 'UTC'), NULL, 'company', 'OKR Root Test', 'draft', 'committed') RETURNING id
ERROR: null value in column "year" violates not-null constraint
DETAIL: Failing row contains (1, null, OKR Root Test, null, null, null, company, committed, draft, null, null, null, null, null, null, null, null, null, null, 2365, 2022-06-22 15:03:39.734718, 2365, 2022-06-22 15:03:39.734718).
06/22/2022 11:03:40 ERROR
ERROR: setUpClass (odoo.addons.to_okr.tests.test_access_right.TestAccessRight)
Traceback (most recent call last):
File "/home/m5l6j01yiacz-116224/build_src/to_okr/tests/test_access_right.py", line 12, in setUpClass
super(TestAccessRight, cls).setUpClass()
File "/home/m5l6j01yiacz-116224/build_src/to_okr/tests/common.py", line 55, in setUpClass
cls.okr_node_root = cls.env['okr.node'].with_user(cls.okr_manager).create({
File "<decorator-gen-171>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 347, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/14.0/addons/mail/models/mail_thread.py", line 260, in create
threads = super(MailThread, self).create(vals_list)
File "<decorator-gen-534>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/home/m5l6j01yiacz-116224/build_src/viin_user_assignment_log/models/base.py", line 12, in create
records = super(Base, self).create(vals_list)
File "<decorator-gen-64>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/addons/base/models/ir_fields.py", line 534, in create
recs = super().create(vals_list)
File "<decorator-gen-13>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/models.py", line 3876, in create
records = self._create(data_list)
File "/opt/odoo/14.0/odoo/models.py", line 3982, in _create
cr.execute(query, params)
File "<decorator-gen-3>", line 2, in execute
File "/opt/odoo/14.0/odoo/sql_db.py", line 101, in check
return f(self, *args, **kwargs)
File "/opt/odoo/14.0/odoo/sql_db.py", line 300, in execute
res = self._obj.execute(query, params)
psycopg2.errors.NotNullViolation: null value in column "year" violates not-null constraint
DETAIL: Failing row contains (1, null, OKR Root Test, null, null, null, company, committed, draft, null, null, null, null, null, null, null, null, null, null, 2365, 2022-06-22 15:03:39.734718, 2365, 2022-06-22 15:03:39.734718).
06/22/2022 11:03:41 ERROR
bad query: INSERT INTO "okr_node" ("id", "create_uid", "create_date", "write_uid", "write_date", "employee_id", "mode", "name", "state", "type") VALUES (nextval('okr_node_id_seq'), 2369, (now() at time zone 'UTC'), 2369, (now() at time zone 'UTC'), NULL, 'company', 'OKR Root Test', 'draft', 'committed') RETURNING id
ERROR: null value in column "year" violates not-null constraint
DETAIL: Failing row contains (2, null, OKR Root Test, null, null, null, company, committed, draft, null, null, null, null, null, null, null, null, null, null, 2369, 2022-06-22 15:03:40.526648, 2369, 2022-06-22 15:03:40.526648).
06/22/2022 11:03:41 ERROR
ERROR: setUpClass (odoo.addons.to_okr.tests.test_to_okr.TestToOkr)
Traceback (most recent call last):
File "/home/m5l6j01yiacz-116224/build_src/to_okr/tests/common.py", line 55, in setUpClass
cls.okr_node_root = cls.env['okr.node'].with_user(cls.okr_manager).create({
File "<decorator-gen-171>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 347, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/14.0/addons/mail/models/mail_thread.py", line 260, in create
threads = super(MailThread, self).create(vals_list)
File "<decorator-gen-534>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/home/m5l6j01yiacz-116224/build_src/viin_user_assignment_log/models/base.py", line 12, in create
records = super(Base, self).create(vals_list)
File "<decorator-gen-64>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/addons/base/models/ir_fields.py", line 534, in create
recs = super().create(vals_list)
File "<decorator-gen-13>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/models.py", line 3876, in create
records = self._create(data_list)
File "/opt/odoo/14.0/odoo/models.py", line 3982, in _create
cr.execute(query, params)
File "<decorator-gen-3>", line 2, in execute
File "/opt/odoo/14.0/odoo/sql_db.py", line 101, in check
return f(self, *args, **kwargs)
File "/opt/odoo/14.0/odoo/sql_db.py", line 300, in execute
res = self._obj.execute(query, params)
psycopg2.errors.NotNullViolation: null value in column "year" violates not-null constraint
DETAIL: Failing row contains (2, null, OKR Root Test, null, null, null, company, committed, draft, null, null, null, null, null, null, null, null, null, null, 2369, 2022-06-22 15:03:40.526648, 2369, 2022-06-22 15:03:40.526648).
06/22/2022 11:03:41 ERROR
bad query: INSERT INTO "okr_node" ("id", "create_uid", "create_date", "write_uid", "write_date", "employee_id", "mode", "name", "state", "type") VALUES (nextval('okr_node_id_seq'), 1, (now() at time zone 'UTC'), 1, (now() at time zone 'UTC'), NULL, 'company', 'OKR Node Test 1', 'draft', 'committed') RETURNING id
ERROR: null value in column "year" violates not-null constraint
DETAIL: Failing row contains (3, null, OKR Node Test 1, null, null, null, company, committed, draft, null, null, null, null, null, null, null, null, null, null, 1, 2022-06-22 15:03:41.401687, 1, 2022-06-22 15:03:41.401687).
06/22/2022 11:03:41 ERROR
ERROR: TestOkrProject.test_01_check_okr_project
Traceback (most recent call last):
File "/home/m5l6j01yiacz-116224/build_src/to_okr_project/tests/common.py", line 19, in setUp
self.okr_1 = self.env['okr.node'].create({
File "<decorator-gen-171>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 347, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/14.0/addons/mail/models/mail_thread.py", line 264, in create
threads = super(MailThread, self).create(vals_list)
File "<decorator-gen-534>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/home/m5l6j01yiacz-116224/build_src/viin_user_assignment_log/models/base.py", line 12, in create
records = super(Base, self).create(vals_list)
File "<decorator-gen-64>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/addons/base/models/ir_fields.py", line 534, in create
recs = super().create(vals_list)
File "<decorator-gen-13>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/models.py", line 3876, in create
records = self._create(data_list)
File "/opt/odoo/14.0/odoo/models.py", line 3982, in _create
cr.execute(query, params)
File "<decorator-gen-3>", line 2, in execute
File "/opt/odoo/14.0/odoo/sql_db.py", line 101, in check
return f(self, *args, **kwargs)
File "/opt/odoo/14.0/odoo/sql_db.py", line 300, in execute
res = self._obj.execute(query, params)
psycopg2.errors.NotNullViolation: null value in column "year" violates not-null constraint
DETAIL: Failing row contains (3, null, OKR Node Test 1, null, null, null, company, committed, draft, null, null, null, null, null, null, null, null, null, null, 1, 2022-06-22 15:03:41.401687, 1, 2022-06-22 15:03:41.401687).
06/22/2022 11:03:41 ERROR
bad query: INSERT INTO "okr_node" ("id", "create_uid", "create_date", "write_uid", "write_date", "employee_id", "mode", "name", "state", "type") VALUES (nextval('okr_node_id_seq'), 1, (now() at time zone 'UTC'), 1, (now() at time zone 'UTC'), NULL, 'company', 'OKR Node Test 1', 'draft', 'committed') RETURNING id
ERROR: null value in column "year" violates not-null constraint
DETAIL: Failing row contains (4, null, OKR Node Test 1, null, null, null, company, committed, draft, null, null, null, null, null, null, null, null, null, null, 1, 2022-06-22 15:03:41.431166, 1, 2022-06-22 15:03:41.431166).
06/22/2022 11:03:41 ERROR
ERROR: TestOkrProject.test_02_check_okr_project
Traceback (most recent call last):
File "/home/m5l6j01yiacz-116224/build_src/to_okr_project/tests/common.py", line 19, in setUp
self.okr_1 = self.env['okr.node'].create({
File "<decorator-gen-171>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 347, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/14.0/addons/mail/models/mail_thread.py", line 264, in create
threads = super(MailThread, self).create(vals_list)
File "<decorator-gen-534>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/home/m5l6j01yiacz-116224/build_src/viin_user_assignment_log/models/base.py", line 12, in create
records = super(Base, self).create(vals_list)
File "<decorator-gen-64>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/addons/base/models/ir_fields.py", line 534, in create
recs = super().create(vals_list)
File "<decorator-gen-13>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/models.py", line 3876, in create
records = self._create(data_list)
File "/opt/odoo/14.0/odoo/models.py", line 3982, in _create
cr.execute(query, params)
File "<decorator-gen-3>", line 2, in execute
File "/opt/odoo/14.0/odoo/sql_db.py", line 101, in check
return f(self, *args, **kwargs)
File "/opt/odoo/14.0/odoo/sql_db.py", line 300, in execute
res = self._obj.execute(query, params)
psycopg2.errors.NotNullViolation: null value in column "year" violates not-null constraint
DETAIL: Failing row contains (4, null, OKR Node Test 1, null, null, null, company, committed, draft, null, null, null, null, null, null, null, null, null, null, 1, 2022-06-22 15:03:41.431166, 1, 2022-06-22 15:03:41.431166).
06/22/2022 11:03:41 ERROR
bad query: INSERT INTO "okr_node" ("id", "create_uid", "create_date", "write_uid", "write_date", "employee_id", "mode", "name", "state", "type") VALUES (nextval('okr_node_id_seq'), 1, (now() at time zone 'UTC'), 1, (now() at time zone 'UTC'), NULL, 'company', 'OKR Node Test 1', 'draft', 'committed') RETURNING id
ERROR: null value in column "year" violates not-null constraint
DETAIL: Failing row contains (5, null, OKR Node Test 1, null, null, null, company, committed, draft, null, null, null, null, null, null, null, null, null, null, 1, 2022-06-22 15:03:41.46005, 1, 2022-06-22 15:03:41.46005).
06/22/2022 11:03:41 ERROR
ERROR: TestOkrProject.test_03_check_okr_project
Traceback (most recent call last):
File "/home/m5l6j01yiacz-116224/build_src/to_okr_project/tests/common.py", line 19, in setUp
self.okr_1 = self.env['okr.node'].create({
File "<decorator-gen-171>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 347, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/14.0/addons/mail/models/mail_thread.py", line 264, in create
threads = super(MailThread, self).create(vals_list)
File "<decorator-gen-534>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/home/m5l6j01yiacz-116224/build_src/viin_user_assignment_log/models/base.py", line 12, in create
records = super(Base, self).create(vals_list)
File "<decorator-gen-64>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/addons/base/models/ir_fields.py", line 534, in create
recs = super().create(vals_list)
File "<decorator-gen-13>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/models.py", line 3876, in create
records = self._create(data_list)
File "/opt/odoo/14.0/odoo/models.py", line 3982, in _create
cr.execute(query, params)
File "<decorator-gen-3>", line 2, in execute
File "/opt/odoo/14.0/odoo/sql_db.py", line 101, in check
return f(self, *args, **kwargs)
File "/opt/odoo/14.0/odoo/sql_db.py", line 300, in execute
res = self._obj.execute(query, params)
psycopg2.errors.NotNullViolation: null value in column "year" violates not-null constraint
DETAIL: Failing row contains (5, null, OKR Node Test 1, null, null, null, company, committed, draft, null, null, null, null, null, null, null, null, null, null, 1, 2022-06-22 15:03:41.46005, 1, 2022-06-22 15:03:41.46005).
06/22/2022 11:03:41 ERROR
bad query: INSERT INTO "okr_node" ("id", "create_uid", "create_date", "write_uid", "write_date", "employee_id", "mode", "name", "state", "type") VALUES (nextval('okr_node_id_seq'), 1, (now() at time zone 'UTC'), 1, (now() at time zone 'UTC'), NULL, 'company', 'OKR Node Test 1', 'draft', 'committed') RETURNING id
ERROR: null value in column "year" violates not-null constraint
DETAIL: Failing row contains (6, null, OKR Node Test 1, null, null, null, company, committed, draft, null, null, null, null, null, null, null, null, null, null, 1, 2022-06-22 15:03:41.489682, 1, 2022-06-22 15:03:41.489682).
06/22/2022 11:03:41 ERROR
ERROR: TestOkrProject.test_04_check_okr_project
Traceback (most recent call last):
File "/home/m5l6j01yiacz-116224/build_src/to_okr_project/tests/common.py", line 19, in setUp
self.okr_1 = self.env['okr.node'].create({
File "<decorator-gen-171>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 347, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/14.0/addons/mail/models/mail_thread.py", line 264, in create
threads = super(MailThread, self).create(vals_list)
File "<decorator-gen-534>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/home/m5l6j01yiacz-116224/build_src/viin_user_assignment_log/models/base.py", line 12, in create
records = super(Base, self).create(vals_list)
File "<decorator-gen-64>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/addons/base/models/ir_fields.py", line 534, in create
recs = super().create(vals_list)
File "<decorator-gen-13>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/models.py", line 3876, in create
records = self._create(data_list)
File "/opt/odoo/14.0/odoo/models.py", line 3982, in _create
cr.execute(query, params)
File "<decorator-gen-3>", line 2, in execute
File "/opt/odoo/14.0/odoo/sql_db.py", line 101, in check
return f(self, *args, **kwargs)
File "/opt/odoo/14.0/odoo/sql_db.py", line 300, in execute
res = self._obj.execute(query, params)
psycopg2.errors.NotNullViolation: null value in column "year" violates not-null constraint
DETAIL: Failing row contains (6, null, OKR Node Test 1, null, null, null, company, committed, draft, null, null, null, null, null, null, null, null, null, null, 1, 2022-06-22 15:03:41.489682, 1, 2022-06-22 15:03:41.489682).
06/22/2022 11:03:41 ERROR
bad query: INSERT INTO "okr_node" ("id", "create_uid", "create_date", "write_uid", "write_date", "employee_id", "mode", "name", "state", "type") VALUES (nextval('okr_node_id_seq'), 1, (now() at time zone 'UTC'), 1, (now() at time zone 'UTC'), NULL, 'company', 'OKR Node Test 1', 'draft', 'committed') RETURNING id
ERROR: null value in column "year" violates not-null constraint
DETAIL: Failing row contains (7, null, OKR Node Test 1, null, null, null, company, committed, draft, null, null, null, null, null, null, null, null, null, null, 1, 2022-06-22 15:03:41.519295, 1, 2022-06-22 15:03:41.519295).
06/22/2022 11:03:41 ERROR
ERROR: TestOkrProject.test_05_check_okr_project
Traceback (most recent call last):
File "/home/m5l6j01yiacz-116224/build_src/to_okr_project/tests/common.py", line 19, in setUp
self.okr_1 = self.env['okr.node'].create({
File "<decorator-gen-171>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 347, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/14.0/addons/mail/models/mail_thread.py", line 264, in create
threads = super(MailThread, self).create(vals_list)
File "<decorator-gen-534>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/home/m5l6j01yiacz-116224/build_src/viin_user_assignment_log/models/base.py", line 12, in create
records = super(Base, self).create(vals_list)
File "<decorator-gen-64>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/addons/base/models/ir_fields.py", line 534, in create
recs = super().create(vals_list)
File "<decorator-gen-13>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/models.py", line 3876, in create
records = self._create(data_list)
File "/opt/odoo/14.0/odoo/models.py", line 3982, in _create
cr.execute(query, params)
File "<decorator-gen-3>", line 2, in execute
File "/opt/odoo/14.0/odoo/sql_db.py", line 101, in check
return f(self, *args, **kwargs)
File "/opt/odoo/14.0/odoo/sql_db.py", line 300, in execute
res = self._obj.execute(query, params)
psycopg2.errors.NotNullViolation: null value in column "year" violates not-null constraint
DETAIL: Failing row contains (7, null, OKR Node Test 1, null, null, null, company, committed, draft, null, null, null, null, null, null, null, null, null, null, 1, 2022-06-22 15:03:41.519295, 1, 2022-06-22 15:03:41.519295).
06/22/2022 11:03:41 ERROR
bad query: INSERT INTO "okr_node" ("id", "create_uid", "create_date", "write_uid", "write_date", "employee_id", "mode", "name", "state", "type") VALUES (nextval('okr_node_id_seq'), 1, (now() at time zone 'UTC'), 1, (now() at time zone 'UTC'), NULL, 'company', 'OKR Node Test 1', 'draft', 'committed') RETURNING id
ERROR: null value in column "year" violates not-null constraint
DETAIL: Failing row contains (8, null, OKR Node Test 1, null, null, null, company, committed, draft, null, null, null, null, null, null, null, null, null, null, 1, 2022-06-22 15:03:41.551206, 1, 2022-06-22 15:03:41.551206).
06/22/2022 11:03:41 ERROR
ERROR: TestOkrProject.test_06_check_access_task_associated_okr
Traceback (most recent call last):
File "/home/m5l6j01yiacz-116224/build_src/to_okr_project/tests/common.py", line 19, in setUp
self.okr_1 = self.env['okr.node'].create({
File "<decorator-gen-171>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 347, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/14.0/addons/mail/models/mail_thread.py", line 264, in create
threads = super(MailThread, self).create(vals_list)
File "<decorator-gen-534>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/home/m5l6j01yiacz-116224/build_src/viin_user_assignment_log/models/base.py", line 12, in create
records = super(Base, self).create(vals_list)
File "<decorator-gen-64>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/addons/base/models/ir_fields.py", line 534, in create
recs = super().create(vals_list)
File "<decorator-gen-13>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/models.py", line 3876, in create
records = self._create(data_list)
File "/opt/odoo/14.0/odoo/models.py", line 3982, in _create
cr.execute(query, params)
File "<decorator-gen-3>", line 2, in execute
File "/opt/odoo/14.0/odoo/sql_db.py", line 101, in check
return f(self, *args, **kwargs)
File "/opt/odoo/14.0/odoo/sql_db.py", line 300, in execute
res = self._obj.execute(query, params)
psycopg2.errors.NotNullViolation: null value in column "year" violates not-null constraint
DETAIL: Failing row contains (8, null, OKR Node Test 1, null, null, null, company, committed, draft, null, null, null, null, null, null, null, null, null, null, 1, 2022-06-22 15:03:41.551206, 1, 2022-06-22 15:03:41.551206).
06/22/2022 11:04:12 WARNING
Received a notification from Paypal using sandbox
06/22/2022 11:37:36 ERROR
bad query: INSERT INTO "hr_payroll_contribution_register" ("id", "create_uid", "create_date", "write_uid", "write_date", "company_contrib_rate", "computation_method", "contribution_base", "date_from", "employee_contrib_rate", "employee_id", "max_contribution_company", "max_contribution_employee", "state", "type_id") VALUES (nextval('hr_payroll_contribution_register_id_seq'), 1, (now() at time zone 'UTC'), 1, (now() at time zone 'UTC'), 0.0, 'half_up', 0.0, '2021-03-01', 0.0, 1093, 0.0, 0.0, 'draft', 5) RETURNING id
ERROR: null value in column "computation_block" violates not-null constraint
DETAIL: Failing row contains (84, null, 1093, null, null, 5, null, null, half_up, null, null, 2021-03-01, null, null, null, 0.0, 0, 0, draft, null, 1, 2022-06-22 15:37:35.192889, 1, 2022-06-22 15:37:35.192889, 0.0, 0.0).
06/22/2022 11:37:36 ERROR
ERROR: TestPayrollContributionRegister.test_contrib_register_check_overlap_1
Traceback (most recent call last):
File "/home/m5l6j01yiacz-116224/build_src/to_hr_payroll/tests/test_payroll_contribution_register.py", line 113, in test_contrib_register_check_overlap_1
self.create_contrib_register(self.product_emp_A, self.type, fields.Date.from_string('2021-3-1'))
File "/home/m5l6j01yiacz-116224/build_src/to_hr_payroll/tests/common.py", line 280, in create_contrib_register
return ContribRegister.with_context(tracking_disable=True).create({
File "<decorator-gen-171>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 347, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/14.0/addons/mail/models/mail_thread.py", line 260, in create
threads = super(MailThread, self).create(vals_list)
File "<decorator-gen-534>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/home/m5l6j01yiacz-116224/build_src/viin_user_assignment_log/models/base.py", line 12, in create
records = super(Base, self).create(vals_list)
File "<decorator-gen-64>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/addons/base/models/ir_fields.py", line 534, in create
recs = super().create(vals_list)
File "<decorator-gen-13>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/models.py", line 3876, in create
records = self._create(data_list)
File "/opt/odoo/14.0/odoo/models.py", line 3982, in _create
cr.execute(query, params)
File "<decorator-gen-3>", line 2, in execute
File "/opt/odoo/14.0/odoo/sql_db.py", line 101, in check
return f(self, *args, **kwargs)
File "/opt/odoo/14.0/odoo/sql_db.py", line 300, in execute
res = self._obj.execute(query, params)
psycopg2.errors.NotNullViolation: null value in column "computation_block" violates not-null constraint
DETAIL: Failing row contains (84, null, 1093, null, null, 5, null, null, half_up, null, null, 2021-03-01, null, null, null, 0.0, 0, 0, draft, null, 1, 2022-06-22 15:37:35.192889, 1, 2022-06-22 15:37:35.192889, 0.0, 0.0).
06/22/2022 11:37:36 ERROR
bad query: INSERT INTO "hr_payroll_contribution_register" ("id", "create_uid", "create_date", "write_uid", "write_date", "company_contrib_rate", "computation_method", "contribution_base", "date_from", "employee_contrib_rate", "employee_id", "max_contribution_company", "max_contribution_employee", "state", "type_id") VALUES (nextval('hr_payroll_contribution_register_id_seq'), 1, (now() at time zone 'UTC'), 1, (now() at time zone 'UTC'), 0.0, 'half_up', 0.0, '2021-03-01', 0.0, 1093, 0.0, 0.0, 'draft', 5) RETURNING id
ERROR: null value in column "computation_block" violates not-null constraint
DETAIL: Failing row contains (85, null, 1093, null, null, 5, null, null, half_up, null, null, 2021-03-01, null, null, null, 0.0, 0, 0, draft, null, 1, 2022-06-22 15:37:35.192889, 1, 2022-06-22 15:37:35.192889, 0.0, 0.0).
06/22/2022 11:37:36 ERROR
ERROR: TestPayrollContributionRegister.test_contrib_register_check_overlap_2
Traceback (most recent call last):
File "/home/m5l6j01yiacz-116224/build_src/to_hr_payroll/tests/test_payroll_contribution_register.py", line 137, in test_contrib_register_check_overlap_2
register_1 = self.create_contrib_register(self.product_emp_A, self.type, fields.Date.from_string('2021-3-1'))
File "/home/m5l6j01yiacz-116224/build_src/to_hr_payroll/tests/common.py", line 280, in create_contrib_register
return ContribRegister.with_context(tracking_disable=True).create({
File "<decorator-gen-171>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 347, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/14.0/addons/mail/models/mail_thread.py", line 260, in create
threads = super(MailThread, self).create(vals_list)
File "<decorator-gen-534>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/home/m5l6j01yiacz-116224/build_src/viin_user_assignment_log/models/base.py", line 12, in create
records = super(Base, self).create(vals_list)
File "<decorator-gen-64>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/addons/base/models/ir_fields.py", line 534, in create
recs = super().create(vals_list)
File "<decorator-gen-13>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/models.py", line 3876, in create
records = self._create(data_list)
File "/opt/odoo/14.0/odoo/models.py", line 3982, in _create
cr.execute(query, params)
File "<decorator-gen-3>", line 2, in execute
File "/opt/odoo/14.0/odoo/sql_db.py", line 101, in check
return f(self, *args, **kwargs)
File "/opt/odoo/14.0/odoo/sql_db.py", line 300, in execute
res = self._obj.execute(query, params)
psycopg2.errors.NotNullViolation: null value in column "computation_block" violates not-null constraint
DETAIL: Failing row contains (85, null, 1093, null, null, 5, null, null, half_up, null, null, 2021-03-01, null, null, null, 0.0, 0, 0, draft, null, 1, 2022-06-22 15:37:35.192889, 1, 2022-06-22 15:37:35.192889, 0.0, 0.0).
06/22/2022 11:37:36 ERROR
bad query: INSERT INTO "hr_payroll_contribution_register" ("id", "create_uid", "create_date", "write_uid", "write_date", "company_contrib_rate", "computation_method", "contribution_base", "date_from", "employee_contrib_rate", "employee_id", "max_contribution_company", "max_contribution_employee", "state", "type_id") VALUES (nextval('hr_payroll_contribution_register_id_seq'), 1, (now() at time zone 'UTC'), 1, (now() at time zone 'UTC'), 0.0, 'half_up', 0.0, '2021-03-01', 0.0, 1093, 0.0, 0.0, 'draft', 5) RETURNING id
ERROR: null value in column "computation_block" violates not-null constraint
DETAIL: Failing row contains (86, null, 1093, null, null, 5, null, null, half_up, null, null, 2021-03-01, null, null, null, 0.0, 0, 0, draft, null, 1, 2022-06-22 15:37:35.192889, 1, 2022-06-22 15:37:35.192889, 0.0, 0.0).
06/22/2022 11:37:36 ERROR
ERROR: TestPayrollContributionRegister.test_contrib_register_check_overlap_number
Traceback (most recent call last):
File "/home/m5l6j01yiacz-116224/build_src/to_hr_payroll/tests/test_payroll_contribution_register.py", line 92, in test_contrib_register_check_overlap_number
register_1 = self.create_contrib_register(self.product_emp_A, self.type, fields.Date.from_string('2021-3-1'))
File "/home/m5l6j01yiacz-116224/build_src/to_hr_payroll/tests/common.py", line 280, in create_contrib_register
return ContribRegister.with_context(tracking_disable=True).create({
File "<decorator-gen-171>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 347, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/14.0/addons/mail/models/mail_thread.py", line 260, in create
threads = super(MailThread, self).create(vals_list)
File "<decorator-gen-534>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/home/m5l6j01yiacz-116224/build_src/viin_user_assignment_log/models/base.py", line 12, in create
records = super(Base, self).create(vals_list)
File "<decorator-gen-64>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/addons/base/models/ir_fields.py", line 534, in create
recs = super().create(vals_list)
File "<decorator-gen-13>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/models.py", line 3876, in create
records = self._create(data_list)
File "/opt/odoo/14.0/odoo/models.py", line 3982, in _create
cr.execute(query, params)
File "<decorator-gen-3>", line 2, in execute
File "/opt/odoo/14.0/odoo/sql_db.py", line 101, in check
return f(self, *args, **kwargs)
File "/opt/odoo/14.0/odoo/sql_db.py", line 300, in execute
res = self._obj.execute(query, params)
psycopg2.errors.NotNullViolation: null value in column "computation_block" violates not-null constraint
DETAIL: Failing row contains (86, null, 1093, null, null, 5, null, null, half_up, null, null, 2021-03-01, null, null, null, 0.0, 0, 0, draft, null, 1, 2022-06-22 15:37:35.192889, 1, 2022-06-22 15:37:35.192889, 0.0, 0.0).
06/22/2022 11:37:36 ERROR
bad query: INSERT INTO "hr_payroll_contribution_register" ("id", "create_uid", "create_date", "write_uid", "write_date", "company_contrib_rate", "computation_method", "contribution_base", "date_from", "employee_contrib_rate", "employee_id", "max_contribution_company", "max_contribution_employee", "state", "type_id") VALUES (nextval('hr_payroll_contribution_register_id_seq'), 1, (now() at time zone 'UTC'), 1, (now() at time zone 'UTC'), 0.0, 'half_up', 0.0, '2021-03-01', 0.0, 1093, 0.0, 0.0, 'draft', 5) RETURNING id
ERROR: null value in column "computation_block" violates not-null constraint
DETAIL: Failing row contains (87, null, 1093, null, null, 5, null, null, half_up, null, null, 2021-03-01, null, null, null, 0.0, 0, 0, draft, null, 1, 2022-06-22 15:37:35.192889, 1, 2022-06-22 15:37:35.192889, 0.0, 0.0).
06/22/2022 11:37:36 ERROR
ERROR: TestPayrollContributionRegister.test_contrib_register_current_history
Traceback (most recent call last):
File "/home/m5l6j01yiacz-116224/build_src/to_hr_payroll/tests/test_payroll_contribution_register.py", line 159, in test_contrib_register_current_history
register_1 = self.create_contrib_register(self.product_emp_A, self.type, fields.Date.from_string('2021-3-1'))
File "/home/m5l6j01yiacz-116224/build_src/to_hr_payroll/tests/common.py", line 280, in create_contrib_register
return ContribRegister.with_context(tracking_disable=True).create({
File "<decorator-gen-171>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 347, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/14.0/addons/mail/models/mail_thread.py", line 260, in create
threads = super(MailThread, self).create(vals_list)
File "<decorator-gen-534>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/home/m5l6j01yiacz-116224/build_src/viin_user_assignment_log/models/base.py", line 12, in create
records = super(Base, self).create(vals_list)
File "<decorator-gen-64>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/addons/base/models/ir_fields.py", line 534, in create
recs = super().create(vals_list)
File "<decorator-gen-13>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/models.py", line 3876, in create
records = self._create(data_list)
File "/opt/odoo/14.0/odoo/models.py", line 3982, in _create
cr.execute(query, params)
File "<decorator-gen-3>", line 2, in execute
File "/opt/odoo/14.0/odoo/sql_db.py", line 101, in check
return f(self, *args, **kwargs)
File "/opt/odoo/14.0/odoo/sql_db.py", line 300, in execute
res = self._obj.execute(query, params)
psycopg2.errors.NotNullViolation: null value in column "computation_block" violates not-null constraint
DETAIL: Failing row contains (87, null, 1093, null, null, 5, null, null, half_up, null, null, 2021-03-01, null, null, null, 0.0, 0, 0, draft, null, 1, 2022-06-22 15:37:35.192889, 1, 2022-06-22 15:37:35.192889, 0.0, 0.0).
06/22/2022 11:37:36 ERROR
bad query: INSERT INTO "hr_payroll_contribution_register" ("id", "create_uid", "create_date", "write_uid", "write_date", "company_contrib_rate", "computation_method", "contribution_base", "date_from", "employee_contrib_rate", "employee_id", "max_contribution_company", "max_contribution_employee", "state", "type_id") VALUES (nextval('hr_payroll_contribution_register_id_seq'), 1, (now() at time zone 'UTC'), 1, (now() at time zone 'UTC'), 0.0, 'half_up', 0.0, '2021-03-01', 0.0, 1093, 0.0, 0.0, 'draft', 5) RETURNING id
ERROR: null value in column "computation_block" violates not-null constraint
DETAIL: Failing row contains (88, null, 1093, null, null, 5, null, null, half_up, null, null, 2021-03-01, null, null, null, 0.0, 0, 0, draft, null, 1, 2022-06-22 15:37:35.192889, 1, 2022-06-22 15:37:35.192889, 0.0, 0.0).
06/22/2022 11:37:36 ERROR
ERROR: TestPayrollContributionRegister.test_contrib_register_history_lines
Traceback (most recent call last):
File "/home/m5l6j01yiacz-116224/build_src/to_hr_payroll/tests/test_payroll_contribution_register.py", line 202, in test_contrib_register_history_lines
register_1 = self.create_contrib_register(self.product_emp_A, self.type, fields.Date.from_string('2021-3-1'))
File "/home/m5l6j01yiacz-116224/build_src/to_hr_payroll/tests/common.py", line 280, in create_contrib_register
return ContribRegister.with_context(tracking_disable=True).create({
File "<decorator-gen-171>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 347, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/14.0/addons/mail/models/mail_thread.py", line 260, in create
threads = super(MailThread, self).create(vals_list)
File "<decorator-gen-534>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/home/m5l6j01yiacz-116224/build_src/viin_user_assignment_log/models/base.py", line 12, in create
records = super(Base, self).create(vals_list)
File "<decorator-gen-64>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/addons/base/models/ir_fields.py", line 534, in create
recs = super().create(vals_list)
File "<decorator-gen-13>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/models.py", line 3876, in create
records = self._create(data_list)
File "/opt/odoo/14.0/odoo/models.py", line 3982, in _create
cr.execute(query, params)
File "<decorator-gen-3>", line 2, in execute
File "/opt/odoo/14.0/odoo/sql_db.py", line 101, in check
return f(self, *args, **kwargs)
File "/opt/odoo/14.0/odoo/sql_db.py", line 300, in execute
res = self._obj.execute(query, params)
psycopg2.errors.NotNullViolation: null value in column "computation_block" violates not-null constraint
DETAIL: Failing row contains (88, null, 1093, null, null, 5, null, null, half_up, null, null, 2021-03-01, null, null, null, 0.0, 0, 0, draft, null, 1, 2022-06-22 15:37:35.192889, 1, 2022-06-22 15:37:35.192889, 0.0, 0.0).
06/22/2022 11:37:36 ERROR
bad query: INSERT INTO "hr_payroll_contribution_register" ("id", "create_uid", "create_date", "write_uid", "write_date", "company_contrib_rate", "computation_method", "contribution_base", "date_from", "employee_contrib_rate", "employee_id", "max_contribution_company", "max_contribution_employee", "state", "type_id") VALUES (nextval('hr_payroll_contribution_register_id_seq'), 1, (now() at time zone 'UTC'), 1, (now() at time zone 'UTC'), 0.0, 'half_up', 0.0, '2021-03-01', 0.0, 1093, 0.0, 0.0, 'draft', 5) RETURNING id
ERROR: null value in column "computation_block" violates not-null constraint
DETAIL: Failing row contains (89, null, 1093, null, null, 5, null, null, half_up, null, null, 2021-03-01, null, null, null, 0.0, 0, 0, draft, null, 1, 2022-06-22 15:37:35.192889, 1, 2022-06-22 15:37:35.192889, 0.0, 0.0).
06/22/2022 11:37:36 ERROR
ERROR: TestPayrollContributionRegister.test_flow_contrib_register_cancel
Traceback (most recent call last):
File "/home/m5l6j01yiacz-116224/build_src/to_hr_payroll/tests/test_payroll_contribution_register.py", line 754, in test_flow_contrib_register_cancel
register_1 = self.create_contrib_register(self.product_emp_A, self.type, fields.Date.from_string('2021-3-1'))
File "/home/m5l6j01yiacz-116224/build_src/to_hr_payroll/tests/common.py", line 280, in create_contrib_register
return ContribRegister.with_context(tracking_disable=True).create({
File "<decorator-gen-171>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 347, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/14.0/addons/mail/models/mail_thread.py", line 260, in create
threads = super(MailThread, self).create(vals_list)
File "<decorator-gen-534>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/home/m5l6j01yiacz-116224/build_src/viin_user_assignment_log/models/base.py", line 12, in create
records = super(Base, self).create(vals_list)
File "<decorator-gen-64>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/addons/base/models/ir_fields.py", line 534, in create
recs = super().create(vals_list)
File "<decorator-gen-13>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/models.py", line 3876, in create
records = self._create(data_list)
File "/opt/odoo/14.0/odoo/models.py", line 3982, in _create
cr.execute(query, params)
File "<decorator-gen-3>", line 2, in execute
File "/opt/odoo/14.0/odoo/sql_db.py", line 101, in check
return f(self, *args, **kwargs)
File "/opt/odoo/14.0/odoo/sql_db.py", line 300, in execute
res = self._obj.execute(query, params)
psycopg2.errors.NotNullViolation: null value in column "computation_block" violates not-null constraint
DETAIL: Failing row contains (89, null, 1093, null, null, 5, null, null, half_up, null, null, 2021-03-01, null, null, null, 0.0, 0, 0, draft, null, 1, 2022-06-22 15:37:35.192889, 1, 2022-06-22 15:37:35.192889, 0.0, 0.0).
06/22/2022 11:37:36 ERROR
bad query: INSERT INTO "hr_payroll_contribution_register" ("id", "create_uid", "create_date", "write_uid", "write_date", "company_contrib_rate", "computation_method", "contribution_base", "date_from", "employee_contrib_rate", "employee_id", "max_contribution_company", "max_contribution_employee", "state", "type_id") VALUES (nextval('hr_payroll_contribution_register_id_seq'), 1, (now() at time zone 'UTC'), 1, (now() at time zone 'UTC'), 0.0, 'half_up', 0.0, '2021-03-01', 0.0, 1093, 0.0, 0.0, 'draft', 5) RETURNING id
ERROR: null value in column "computation_block" violates not-null constraint
DETAIL: Failing row contains (90, null, 1093, null, null, 5, null, null, half_up, null, null, 2021-03-01, null, null, null, 0.0, 0, 0, draft, null, 1, 2022-06-22 15:37:35.192889, 1, 2022-06-22 15:37:35.192889, 0.0, 0.0).
06/22/2022 11:37:36 ERROR
ERROR: TestPayrollContributionRegister.test_flow_contrib_register_change_base
Traceback (most recent call last):
File "/home/m5l6j01yiacz-116224/build_src/to_hr_payroll/tests/test_payroll_contribution_register.py", line 348, in test_flow_contrib_register_change_base
register = self.create_contrib_register(self.product_emp_A, self.type, fields.Date.from_string('2021-3-1'))
File "/home/m5l6j01yiacz-116224/build_src/to_hr_payroll/tests/common.py", line 280, in create_contrib_register
return ContribRegister.with_context(tracking_disable=True).create({
File "<decorator-gen-171>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 347, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/14.0/addons/mail/models/mail_thread.py", line 260, in create
threads = super(MailThread, self).create(vals_list)
File "<decorator-gen-534>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/home/m5l6j01yiacz-116224/build_src/viin_user_assignment_log/models/base.py", line 12, in create
records = super(Base, self).create(vals_list)
File "<decorator-gen-64>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/addons/base/models/ir_fields.py", line 534, in create
recs = super().create(vals_list)
File "<decorator-gen-13>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/models.py", line 3876, in create
records = self._create(data_list)
File "/opt/odoo/14.0/odoo/models.py", line 3982, in _create
cr.execute(query, params)
File "<decorator-gen-3>", line 2, in execute
File "/opt/odoo/14.0/odoo/sql_db.py", line 101, in check
return f(self, *args, **kwargs)
File "/opt/odoo/14.0/odoo/sql_db.py", line 300, in execute
res = self._obj.execute(query, params)
psycopg2.errors.NotNullViolation: null value in column "computation_block" violates not-null constraint
DETAIL: Failing row contains (90, null, 1093, null, null, 5, null, null, half_up, null, null, 2021-03-01, null, null, null, 0.0, 0, 0, draft, null, 1, 2022-06-22 15:37:35.192889, 1, 2022-06-22 15:37:35.192889, 0.0, 0.0).
06/22/2022 11:37:36 ERROR
bad query: INSERT INTO "hr_payroll_contribution_register" ("id", "create_uid", "create_date", "write_uid", "write_date", "company_contrib_rate", "computation_method", "contribution_base", "date_from", "employee_contrib_rate", "employee_id", "max_contribution_company", "max_contribution_employee", "state", "type_id") VALUES (nextval('hr_payroll_contribution_register_id_seq'), 1, (now() at time zone 'UTC'), 1, (now() at time zone 'UTC'), 0.0, 'half_up', 0.0, '2021-03-01', 0.0, 1093, 0.0, 0.0, 'draft', 5) RETURNING id
ERROR: null value in column "computation_block" violates not-null constraint
DETAIL: Failing row contains (91, null, 1093, null, null, 5, null, null, half_up, null, null, 2021-03-01, null, null, null, 0.0, 0, 0, draft, null, 1, 2022-06-22 15:37:35.192889, 1, 2022-06-22 15:37:35.192889, 0.0, 0.0).
06/22/2022 11:37:36 ERROR
ERROR: TestPayrollContributionRegister.test_flow_contrib_register_change_rate
Traceback (most recent call last):
File "/home/m5l6j01yiacz-116224/build_src/to_hr_payroll/tests/test_payroll_contribution_register.py", line 276, in test_flow_contrib_register_change_rate
register = self.create_contrib_register(self.product_emp_A, self.type, fields.Date.from_string('2021-3-1'))
File "/home/m5l6j01yiacz-116224/build_src/to_hr_payroll/tests/common.py", line 280, in create_contrib_register
return ContribRegister.with_context(tracking_disable=True).create({
File "<decorator-gen-171>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 347, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/14.0/addons/mail/models/mail_thread.py", line 260, in create
threads = super(MailThread, self).create(vals_list)
File "<decorator-gen-534>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/home/m5l6j01yiacz-116224/build_src/viin_user_assignment_log/models/base.py", line 12, in create
records = super(Base, self).create(vals_list)
File "<decorator-gen-64>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/addons/base/models/ir_fields.py", line 534, in create
recs = super().create(vals_list)
File "<decorator-gen-13>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/models.py", line 3876, in create
records = self._create(data_list)
File "/opt/odoo/14.0/odoo/models.py", line 3982, in _create
cr.execute(query, params)
File "<decorator-gen-3>", line 2, in execute
File "/opt/odoo/14.0/odoo/sql_db.py", line 101, in check
return f(self, *args, **kwargs)
File "/opt/odoo/14.0/odoo/sql_db.py", line 300, in execute
res = self._obj.execute(query, params)
psycopg2.errors.NotNullViolation: null value in column "computation_block" violates not-null constraint
DETAIL: Failing row contains (91, null, 1093, null, null, 5, null, null, half_up, null, null, 2021-03-01, null, null, null, 0.0, 0, 0, draft, null, 1, 2022-06-22 15:37:35.192889, 1, 2022-06-22 15:37:35.192889, 0.0, 0.0).
06/22/2022 11:37:36 ERROR
bad query: INSERT INTO "hr_payroll_contribution_register" ("id", "create_uid", "create_date", "write_uid", "write_date", "company_contrib_rate", "computation_method", "contribution_base", "date_from", "employee_contrib_rate", "employee_id", "max_contribution_company", "max_contribution_employee", "state", "type_id") VALUES (nextval('hr_payroll_contribution_register_id_seq'), 1, (now() at time zone 'UTC'), 1, (now() at time zone 'UTC'), 0.0, 'half_up', 0.0, '2021-03-01', 0.0, 1093, 0.0, 0.0, 'draft', 5) RETURNING id
ERROR: null value in column "computation_block" violates not-null constraint
DETAIL: Failing row contains (92, null, 1093, null, null, 5, null, null, half_up, null, null, 2021-03-01, null, null, null, 0.0, 0, 0, draft, null, 1, 2022-06-22 15:37:35.192889, 1, 2022-06-22 15:37:35.192889, 0.0, 0.0).
06/22/2022 11:37:36 ERROR
ERROR: TestPayrollContributionRegister.test_flow_contrib_register_confirmed
Traceback (most recent call last):
File "/home/m5l6j01yiacz-116224/build_src/to_hr_payroll/tests/test_payroll_contribution_register.py", line 486, in test_flow_contrib_register_confirmed
register = self.create_contrib_register(self.product_emp_A, self.type, fields.Date.from_string('2021-3-1'))
File "/home/m5l6j01yiacz-116224/build_src/to_hr_payroll/tests/common.py", line 280, in create_contrib_register
return ContribRegister.with_context(tracking_disable=True).create({
File "<decorator-gen-171>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 347, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/14.0/addons/mail/models/mail_thread.py", line 260, in create
threads = super(MailThread, self).create(vals_list)
File "<decorator-gen-534>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/home/m5l6j01yiacz-116224/build_src/viin_user_assignment_log/models/base.py", line 12, in create
records = super(Base, self).create(vals_list)
File "<decorator-gen-64>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/addons/base/models/ir_fields.py", line 534, in create
recs = super().create(vals_list)
File "<decorator-gen-13>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/models.py", line 3876, in create
records = self._create(data_list)
File "/opt/odoo/14.0/odoo/models.py", line 3982, in _create
cr.execute(query, params)
File "<decorator-gen-3>", line 2, in execute
File "/opt/odoo/14.0/odoo/sql_db.py", line 101, in check
return f(self, *args, **kwargs)
File "/opt/odoo/14.0/odoo/sql_db.py", line 300, in execute
res = self._obj.execute(query, params)
psycopg2.errors.NotNullViolation: null value in column "computation_block" violates not-null constraint
DETAIL: Failing row contains (92, null, 1093, null, null, 5, null, null, half_up, null, null, 2021-03-01, null, null, null, 0.0, 0, 0, draft, null, 1, 2022-06-22 15:37:35.192889, 1, 2022-06-22 15:37:35.192889, 0.0, 0.0).
06/22/2022 11:37:36 ERROR
bad query: INSERT INTO "hr_payroll_contribution_register" ("id", "create_uid", "create_date", "write_uid", "write_date", "company_contrib_rate", "computation_method", "contribution_base", "date_from", "employee_contrib_rate", "employee_id", "max_contribution_company", "max_contribution_employee", "state", "type_id") VALUES (nextval('hr_payroll_contribution_register_id_seq'), 1, (now() at time zone 'UTC'), 1, (now() at time zone 'UTC'), 0.0, 'half_up', 0.0, '2021-03-01', 0.0, 1093, 0.0, 0.0, 'draft', 5) RETURNING id
ERROR: null value in column "computation_block" violates not-null constraint
DETAIL: Failing row contains (93, null, 1093, null, null, 5, null, null, half_up, null, null, 2021-03-01, null, null, null, 0.0, 0, 0, draft, null, 1, 2022-06-22 15:37:35.192889, 1, 2022-06-22 15:37:35.192889, 0.0, 0.0).
06/22/2022 11:37:36 ERROR
ERROR: TestPayrollContributionRegister.test_flow_contrib_register_done
Traceback (most recent call last):
File "/home/m5l6j01yiacz-116224/build_src/to_hr_payroll/tests/test_payroll_contribution_register.py", line 724, in test_flow_contrib_register_done
register_1 = self.create_contrib_register(self.product_emp_A, self.type, fields.Date.from_string('2021-3-1'))
File "/home/m5l6j01yiacz-116224/build_src/to_hr_payroll/tests/common.py", line 280, in create_contrib_register
return ContribRegister.with_context(tracking_disable=True).create({
File "<decorator-gen-171>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 347, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/14.0/addons/mail/models/mail_thread.py", line 260, in create
threads = super(MailThread, self).create(vals_list)
File "<decorator-gen-534>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/home/m5l6j01yiacz-116224/build_src/viin_user_assignment_log/models/base.py", line 12, in create
records = super(Base, self).create(vals_list)
File "<decorator-gen-64>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/addons/base/models/ir_fields.py", line 534, in create
recs = super().create(vals_list)
File "<decorator-gen-13>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/models.py", line 3876, in create
records = self._create(data_list)
File "/opt/odoo/14.0/odoo/models.py", line 3982, in _create
cr.execute(query, params)
File "<decorator-gen-3>", line 2, in execute
File "/opt/odoo/14.0/odoo/sql_db.py", line 101, in check
return f(self, *args, **kwargs)
File "/opt/odoo/14.0/odoo/sql_db.py", line 300, in execute
res = self._obj.execute(query, params)
psycopg2.errors.NotNullViolation: null value in column "computation_block" violates not-null constraint
DETAIL: Failing row contains (93, null, 1093, null, null, 5, null, null, half_up, null, null, 2021-03-01, null, null, null, 0.0, 0, 0, draft, null, 1, 2022-06-22 15:37:35.192889, 1, 2022-06-22 15:37:35.192889, 0.0, 0.0).
06/22/2022 11:37:36 ERROR
bad query: INSERT INTO "hr_payroll_contribution_register" ("id", "create_uid", "create_date", "write_uid", "write_date", "company_contrib_rate", "computation_method", "contribution_base", "date_from", "employee_contrib_rate", "employee_id", "max_contribution_company", "max_contribution_employee", "state", "type_id") VALUES (nextval('hr_payroll_contribution_register_id_seq'), 1, (now() at time zone 'UTC'), 1, (now() at time zone 'UTC'), 0.0, 'half_up', 0.0, '2021-03-01', 0.0, 1093, 0.0, 0.0, 'draft', 5) RETURNING id
ERROR: null value in column "computation_block" violates not-null constraint
DETAIL: Failing row contains (94, null, 1093, null, null, 5, null, null, half_up, null, null, 2021-03-01, null, null, null, 0.0, 0, 0, draft, null, 1, 2022-06-22 15:37:35.192889, 1, 2022-06-22 15:37:35.192889, 0.0, 0.0).
06/22/2022 11:37:36 ERROR
ERROR: TestPayrollContributionRegister.test_flow_contrib_register_draft
Traceback (most recent call last):
File "/home/m5l6j01yiacz-116224/build_src/to_hr_payroll/tests/test_payroll_contribution_register.py", line 416, in test_flow_contrib_register_draft
register = self.create_contrib_register(self.product_emp_A, self.type, fields.Date.from_string('2021-3-1'))
File "/home/m5l6j01yiacz-116224/build_src/to_hr_payroll/tests/common.py", line 280, in create_contrib_register
return ContribRegister.with_context(tracking_disable=True).create({
File "<decorator-gen-171>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 347, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/14.0/addons/mail/models/mail_thread.py", line 260, in create
threads = super(MailThread, self).create(vals_list)
File "<decorator-gen-534>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/home/m5l6j01yiacz-116224/build_src/viin_user_assignment_log/models/base.py", line 12, in create
records = super(Base, self).create(vals_list)
File "<decorator-gen-64>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/addons/base/models/ir_fields.py", line 534, in create
recs = super().create(vals_list)
File "<decorator-gen-13>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/models.py", line 3876, in create
records = self._create(data_list)
File "/opt/odoo/14.0/odoo/models.py", line 3982, in _create
cr.execute(query, params)
File "<decorator-gen-3>", line 2, in execute
File "/opt/odoo/14.0/odoo/sql_db.py", line 101, in check
return f(self, *args, **kwargs)
File "/opt/odoo/14.0/odoo/sql_db.py", line 300, in execute
res = self._obj.execute(query, params)
psycopg2.errors.NotNullViolation: null value in column "computation_block" violates not-null constraint
DETAIL: Failing row contains (94, null, 1093, null, null, 5, null, null, half_up, null, null, 2021-03-01, null, null, null, 0.0, 0, 0, draft, null, 1, 2022-06-22 15:37:35.192889, 1, 2022-06-22 15:37:35.192889, 0.0, 0.0).
06/22/2022 11:37:36 ERROR
bad query: INSERT INTO "hr_payroll_contribution_register" ("id", "create_uid", "create_date", "write_uid", "write_date", "company_contrib_rate", "computation_method", "contribution_base", "date_from", "employee_contrib_rate", "employee_id", "max_contribution_company", "max_contribution_employee", "state", "type_id") VALUES (nextval('hr_payroll_contribution_register_id_seq'), 1, (now() at time zone 'UTC'), 1, (now() at time zone 'UTC'), 0.0, 'half_up', 0.0, '2021-03-01', 0.0, 1093, 0.0, 0.0, 'draft', 5) RETURNING id
ERROR: null value in column "computation_block" violates not-null constraint
DETAIL: Failing row contains (95, null, 1093, null, null, 5, null, null, half_up, null, null, 2021-03-01, null, null, null, 0.0, 0, 0, draft, null, 1, 2022-06-22 15:37:35.192889, 1, 2022-06-22 15:37:35.192889, 0.0, 0.0).
06/22/2022 11:37:36 ERROR
ERROR: TestPayrollContributionRegister.test_flow_contrib_register_resumed
Traceback (most recent call last):
File "/home/m5l6j01yiacz-116224/build_src/to_hr_payroll/tests/test_payroll_contribution_register.py", line 651, in test_flow_contrib_register_resumed
register = self.create_contrib_register(self.product_emp_A, self.type, fields.Date.from_string('2021-3-1'))
File "/home/m5l6j01yiacz-116224/build_src/to_hr_payroll/tests/common.py", line 280, in create_contrib_register
return ContribRegister.with_context(tracking_disable=True).create({
File "<decorator-gen-171>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 347, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/14.0/addons/mail/models/mail_thread.py", line 260, in create
threads = super(MailThread, self).create(vals_list)
File "<decorator-gen-534>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/home/m5l6j01yiacz-116224/build_src/viin_user_assignment_log/models/base.py", line 12, in create
records = super(Base, self).create(vals_list)
File "<decorator-gen-64>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/addons/base/models/ir_fields.py", line 534, in create
recs = super().create(vals_list)
File "<decorator-gen-13>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/models.py", line 3876, in create
records = self._create(data_list)
File "/opt/odoo/14.0/odoo/models.py", line 3982, in _create
cr.execute(query, params)
File "<decorator-gen-3>", line 2, in execute
File "/opt/odoo/14.0/odoo/sql_db.py", line 101, in check
return f(self, *args, **kwargs)
File "/opt/odoo/14.0/odoo/sql_db.py", line 300, in execute
res = self._obj.execute(query, params)
psycopg2.errors.NotNullViolation: null value in column "computation_block" violates not-null constraint
DETAIL: Failing row contains (95, null, 1093, null, null, 5, null, null, half_up, null, null, 2021-03-01, null, null, null, 0.0, 0, 0, draft, null, 1, 2022-06-22 15:37:35.192889, 1, 2022-06-22 15:37:35.192889, 0.0, 0.0).
06/22/2022 11:37:36 ERROR
bad query: INSERT INTO "hr_payroll_contribution_register" ("id", "create_uid", "create_date", "write_uid", "write_date", "company_contrib_rate", "computation_method", "contribution_base", "date_from", "employee_contrib_rate", "employee_id", "max_contribution_company", "max_contribution_employee", "state", "type_id") VALUES (nextval('hr_payroll_contribution_register_id_seq'), 1, (now() at time zone 'UTC'), 1, (now() at time zone 'UTC'), 0.0, 'half_up', 0.0, '2021-03-01', 0.0, 1093, 0.0, 0.0, 'draft', 5) RETURNING id
ERROR: null value in column "computation_block" violates not-null constraint
DETAIL: Failing row contains (96, null, 1093, null, null, 5, null, null, half_up, null, null, 2021-03-01, null, null, null, 0.0, 0, 0, draft, null, 1, 2022-06-22 15:37:35.192889, 1, 2022-06-22 15:37:35.192889, 0.0, 0.0).
06/22/2022 11:37:36 ERROR
ERROR: TestPayrollContributionRegister.test_flow_contrib_register_suspended
Traceback (most recent call last):
File "/home/m5l6j01yiacz-116224/build_src/to_hr_payroll/tests/test_payroll_contribution_register.py", line 568, in test_flow_contrib_register_suspended
register = self.create_contrib_register(self.product_emp_A, self.type, fields.Date.from_string('2021-3-1'))
File "/home/m5l6j01yiacz-116224/build_src/to_hr_payroll/tests/common.py", line 280, in create_contrib_register
return ContribRegister.with_context(tracking_disable=True).create({
File "<decorator-gen-171>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 347, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/14.0/addons/mail/models/mail_thread.py", line 260, in create
threads = super(MailThread, self).create(vals_list)
File "<decorator-gen-534>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/home/m5l6j01yiacz-116224/build_src/viin_user_assignment_log/models/base.py", line 12, in create
records = super(Base, self).create(vals_list)
File "<decorator-gen-64>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/addons/base/models/ir_fields.py", line 534, in create
recs = super().create(vals_list)
File "<decorator-gen-13>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/models.py", line 3876, in create
records = self._create(data_list)
File "/opt/odoo/14.0/odoo/models.py", line 3982, in _create
cr.execute(query, params)
File "<decorator-gen-3>", line 2, in execute
File "/opt/odoo/14.0/odoo/sql_db.py", line 101, in check
return f(self, *args, **kwargs)
File "/opt/odoo/14.0/odoo/sql_db.py", line 300, in execute
res = self._obj.execute(query, params)
psycopg2.errors.NotNullViolation: null value in column "computation_block" violates not-null constraint
DETAIL: Failing row contains (96, null, 1093, null, null, 5, null, null, half_up, null, null, 2021-03-01, null, null, null, 0.0, 0, 0, draft, null, 1, 2022-06-22 15:37:35.192889, 1, 2022-06-22 15:37:35.192889, 0.0, 0.0).
06/22/2022 11:37:37 ERROR
bad query: INSERT INTO "hr_payroll_contribution_register" ("id", "create_uid", "create_date", "write_uid", "write_date", "company_contrib_rate", "computation_method", "contribution_base", "date_from", "employee_contrib_rate", "employee_id", "max_contribution_company", "max_contribution_employee", "state", "type_id") VALUES (nextval('hr_payroll_contribution_register_id_seq'), 1, (now() at time zone 'UTC'), 1, (now() at time zone 'UTC'), 1.5, 'half_up', 1500.0, '2021-01-01', 1.5, 1096, 200.0, 150.0, 'draft', 5) RETURNING id
ERROR: null value in column "computation_block" violates not-null constraint
DETAIL: Failing row contains (97, null, 1096, null, null, 5, null, null, half_up, null, null, 2021-01-01, null, null, null, 1500.0, 1.5, 1.5, draft, null, 1, 2022-06-22 15:37:36.965512, 1, 2022-06-22 15:37:36.965512, 150.0, 200.0).
06/22/2022 11:37:38 ERROR
ERROR: TestPayrollContributionRegisterRegion.test_contrains_contribution_amount
Traceback (most recent call last):
File "/home/m5l6j01yiacz-116224/build_src/viin_hr_payroll_administrative_region/tests/test_payroll_contribution_register.py", line 48, in test_contrains_contribution_amount
register = self.env['hr.payroll.contribution.register'].with_context(tracking_disable=True).create({
File "<decorator-gen-171>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 347, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/14.0/addons/mail/models/mail_thread.py", line 260, in create
threads = super(MailThread, self).create(vals_list)
File "<decorator-gen-534>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/home/m5l6j01yiacz-116224/build_src/viin_user_assignment_log/models/base.py", line 12, in create
records = super(Base, self).create(vals_list)
File "<decorator-gen-64>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/addons/base/models/ir_fields.py", line 534, in create
recs = super().create(vals_list)
File "<decorator-gen-13>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/models.py", line 3876, in create
records = self._create(data_list)
File "/opt/odoo/14.0/odoo/models.py", line 3982, in _create
cr.execute(query, params)
File "<decorator-gen-3>", line 2, in execute
File "/opt/odoo/14.0/odoo/sql_db.py", line 101, in check
return f(self, *args, **kwargs)
File "/opt/odoo/14.0/odoo/sql_db.py", line 300, in execute
res = self._obj.execute(query, params)
psycopg2.errors.NotNullViolation: null value in column "computation_block" violates not-null constraint
DETAIL: Failing row contains (97, null, 1096, null, null, 5, null, null, half_up, null, null, 2021-01-01, null, null, null, 1500.0, 1.5, 1.5, draft, null, 1, 2022-06-22 15:37:36.965512, 1, 2022-06-22 15:37:36.965512, 150.0, 200.0).
06/22/2022 11:37:38 ERROR
bad query: INSERT INTO "hr_payroll_contribution_register" ("id", "create_uid", "create_date", "write_uid", "write_date", "company_contrib_rate", "computation_method", "contribution_base", "date_from", "employee_contrib_rate", "employee_id", "max_contribution_company", "max_contribution_employee", "state", "type_id") VALUES (nextval('hr_payroll_contribution_register_id_seq'), 1, (now() at time zone 'UTC'), 1, (now() at time zone 'UTC'), 0.0, 'half_up', 0.0, '2021-03-01', 0.0, 1096, 0.0, 0.0, 'draft', 5) RETURNING id
ERROR: null value in column "computation_block" violates not-null constraint
DETAIL: Failing row contains (98, null, 1096, null, null, 5, null, null, half_up, null, null, 2021-03-01, null, null, null, 0.0, 0, 0, draft, null, 1, 2022-06-22 15:37:36.965512, 1, 2022-06-22 15:37:36.965512, 0.0, 0.0).
06/22/2022 11:37:38 ERROR
ERROR: TestPayrollContributionRegisterRegion.test_contrib_register_check_overlap_1
Traceback (most recent call last):
File "/home/m5l6j01yiacz-116224/build_src/to_hr_payroll/tests/test_payroll_contribution_register.py", line 113, in test_contrib_register_check_overlap_1
self.create_contrib_register(self.product_emp_A, self.type, fields.Date.from_string('2021-3-1'))
File "/home/m5l6j01yiacz-116224/build_src/to_hr_payroll/tests/common.py", line 280, in create_contrib_register
return ContribRegister.with_context(tracking_disable=True).create({
File "<decorator-gen-171>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 347, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/14.0/addons/mail/models/mail_thread.py", line 260, in create
threads = super(MailThread, self).create(vals_list)
File "<decorator-gen-534>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/home/m5l6j01yiacz-116224/build_src/viin_user_assignment_log/models/base.py", line 12, in create
records = super(Base, self).create(vals_list)
File "<decorator-gen-64>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/addons/base/models/ir_fields.py", line 534, in create
recs = super().create(vals_list)
File "<decorator-gen-13>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/models.py", line 3876, in create
records = self._create(data_list)
File "/opt/odoo/14.0/odoo/models.py", line 3982, in _create
cr.execute(query, params)
File "<decorator-gen-3>", line 2, in execute
File "/opt/odoo/14.0/odoo/sql_db.py", line 101, in check
return f(self, *args, **kwargs)
File "/opt/odoo/14.0/odoo/sql_db.py", line 300, in execute
res = self._obj.execute(query, params)
psycopg2.errors.NotNullViolation: null value in column "computation_block" violates not-null constraint
DETAIL: Failing row contains (98, null, 1096, null, null, 5, null, null, half_up, null, null, 2021-03-01, null, null, null, 0.0, 0, 0, draft, null, 1, 2022-06-22 15:37:36.965512, 1, 2022-06-22 15:37:36.965512, 0.0, 0.0).
06/22/2022 11:37:38 ERROR
bad query: INSERT INTO "hr_payroll_contribution_register" ("id", "create_uid", "create_date", "write_uid", "write_date", "company_contrib_rate", "computation_method", "contribution_base", "date_from", "employee_contrib_rate", "employee_id", "max_contribution_company", "max_contribution_employee", "state", "type_id") VALUES (nextval('hr_payroll_contribution_register_id_seq'), 1, (now() at time zone 'UTC'), 1, (now() at time zone 'UTC'), 0.0, 'half_up', 0.0, '2021-03-01', 0.0, 1096, 0.0, 0.0, 'draft', 5) RETURNING id
ERROR: null value in column "computation_block" violates not-null constraint
DETAIL: Failing row contains (99, null, 1096, null, null, 5, null, null, half_up, null, null, 2021-03-01, null, null, null, 0.0, 0, 0, draft, null, 1, 2022-06-22 15:37:36.965512, 1, 2022-06-22 15:37:36.965512, 0.0, 0.0).
06/22/2022 11:37:38 ERROR
ERROR: TestPayrollContributionRegisterRegion.test_contrib_register_check_overlap_2
Traceback (most recent call last):
File "/home/m5l6j01yiacz-116224/build_src/to_hr_payroll/tests/test_payroll_contribution_register.py", line 137, in test_contrib_register_check_overlap_2
register_1 = self.create_contrib_register(self.product_emp_A, self.type, fields.Date.from_string('2021-3-1'))
File "/home/m5l6j01yiacz-116224/build_src/to_hr_payroll/tests/common.py", line 280, in create_contrib_register
return ContribRegister.with_context(tracking_disable=True).create({
File "<decorator-gen-171>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 347, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/14.0/addons/mail/models/mail_thread.py", line 260, in create
threads = super(MailThread, self).create(vals_list)
File "<decorator-gen-534>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/home/m5l6j01yiacz-116224/build_src/viin_user_assignment_log/models/base.py", line 12, in create
records = super(Base, self).create(vals_list)
File "<decorator-gen-64>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/addons/base/models/ir_fields.py", line 534, in create
recs = super().create(vals_list)
File "<decorator-gen-13>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/models.py", line 3876, in create
records = self._create(data_list)
File "/opt/odoo/14.0/odoo/models.py", line 3982, in _create
cr.execute(query, params)
File "<decorator-gen-3>", line 2, in execute
File "/opt/odoo/14.0/odoo/sql_db.py", line 101, in check
return f(self, *args, **kwargs)
File "/opt/odoo/14.0/odoo/sql_db.py", line 300, in execute
res = self._obj.execute(query, params)
psycopg2.errors.NotNullViolation: null value in column "computation_block" violates not-null constraint
DETAIL: Failing row contains (99, null, 1096, null, null, 5, null, null, half_up, null, null, 2021-03-01, null, null, null, 0.0, 0, 0, draft, null, 1, 2022-06-22 15:37:36.965512, 1, 2022-06-22 15:37:36.965512, 0.0, 0.0).
06/22/2022 11:37:38 ERROR
bad query: INSERT INTO "hr_payroll_contribution_register" ("id", "create_uid", "create_date", "write_uid", "write_date", "company_contrib_rate", "computation_method", "contribution_base", "date_from", "employee_contrib_rate", "employee_id", "max_contribution_company", "max_contribution_employee", "state", "type_id") VALUES (nextval('hr_payroll_contribution_register_id_seq'), 1, (now() at time zone 'UTC'), 1, (now() at time zone 'UTC'), 0.0, 'half_up', 0.0, '2021-03-01', 0.0, 1096, 0.0, 0.0, 'draft', 5) RETURNING id
ERROR: null value in column "computation_block" violates not-null constraint
DETAIL: Failing row contains (100, null, 1096, null, null, 5, null, null, half_up, null, null, 2021-03-01, null, null, null, 0.0, 0, 0, draft, null, 1, 2022-06-22 15:37:36.965512, 1, 2022-06-22 15:37:36.965512, 0.0, 0.0).
06/22/2022 11:37:38 ERROR
ERROR: TestPayrollContributionRegisterRegion.test_contrib_register_check_overlap_number
Traceback (most recent call last):
File "/home/m5l6j01yiacz-116224/build_src/to_hr_payroll/tests/test_payroll_contribution_register.py", line 92, in test_contrib_register_check_overlap_number
register_1 = self.create_contrib_register(self.product_emp_A, self.type, fields.Date.from_string('2021-3-1'))
File "/home/m5l6j01yiacz-116224/build_src/to_hr_payroll/tests/common.py", line 280, in create_contrib_register
return ContribRegister.with_context(tracking_disable=True).create({
File "<decorator-gen-171>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 347, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/14.0/addons/mail/models/mail_thread.py", line 260, in create
threads = super(MailThread, self).create(vals_list)
File "<decorator-gen-534>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/home/m5l6j01yiacz-116224/build_src/viin_user_assignment_log/models/base.py", line 12, in create
records = super(Base, self).create(vals_list)
File "<decorator-gen-64>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/addons/base/models/ir_fields.py", line 534, in create
recs = super().create(vals_list)
File "<decorator-gen-13>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/models.py", line 3876, in create
records = self._create(data_list)
File "/opt/odoo/14.0/odoo/models.py", line 3982, in _create
cr.execute(query, params)
File "<decorator-gen-3>", line 2, in execute
File "/opt/odoo/14.0/odoo/sql_db.py", line 101, in check
return f(self, *args, **kwargs)
File "/opt/odoo/14.0/odoo/sql_db.py", line 300, in execute
res = self._obj.execute(query, params)
psycopg2.errors.NotNullViolation: null value in column "computation_block" violates not-null constraint
DETAIL: Failing row contains (100, null, 1096, null, null, 5, null, null, half_up, null, null, 2021-03-01, null, null, null, 0.0, 0, 0, draft, null, 1, 2022-06-22 15:37:36.965512, 1, 2022-06-22 15:37:36.965512, 0.0, 0.0).
06/22/2022 11:37:38 ERROR
bad query: INSERT INTO "hr_payroll_contribution_register" ("id", "create_uid", "create_date", "write_uid", "write_date", "company_contrib_rate", "computation_method", "contribution_base", "date_from", "employee_contrib_rate", "employee_id", "max_contribution_company", "max_contribution_employee", "state", "type_id") VALUES (nextval('hr_payroll_contribution_register_id_seq'), 1, (now() at time zone 'UTC'), 1, (now() at time zone 'UTC'), 0.0, 'half_up', 0.0, '2021-03-01', 0.0, 1096, 0.0, 0.0, 'draft', 5) RETURNING id
ERROR: null value in column "computation_block" violates not-null constraint
DETAIL: Failing row contains (101, null, 1096, null, null, 5, null, null, half_up, null, null, 2021-03-01, null, null, null, 0.0, 0, 0, draft, null, 1, 2022-06-22 15:37:36.965512, 1, 2022-06-22 15:37:36.965512, 0.0, 0.0).
06/22/2022 11:37:38 ERROR
ERROR: TestPayrollContributionRegisterRegion.test_contrib_register_current_history
Traceback (most recent call last):
File "/home/m5l6j01yiacz-116224/build_src/to_hr_payroll/tests/test_payroll_contribution_register.py", line 159, in test_contrib_register_current_history
register_1 = self.create_contrib_register(self.product_emp_A, self.type, fields.Date.from_string('2021-3-1'))
File "/home/m5l6j01yiacz-116224/build_src/to_hr_payroll/tests/common.py", line 280, in create_contrib_register
return ContribRegister.with_context(tracking_disable=True).create({
File "<decorator-gen-171>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 347, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/14.0/addons/mail/models/mail_thread.py", line 260, in create
threads = super(MailThread, self).create(vals_list)
File "<decorator-gen-534>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/home/m5l6j01yiacz-116224/build_src/viin_user_assignment_log/models/base.py", line 12, in create
records = super(Base, self).create(vals_list)
File "<decorator-gen-64>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/addons/base/models/ir_fields.py", line 534, in create
recs = super().create(vals_list)
File "<decorator-gen-13>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/models.py", line 3876, in create
records = self._create(data_list)
File "/opt/odoo/14.0/odoo/models.py", line 3982, in _create
cr.execute(query, params)
File "<decorator-gen-3>", line 2, in execute
File "/opt/odoo/14.0/odoo/sql_db.py", line 101, in check
return f(self, *args, **kwargs)
File "/opt/odoo/14.0/odoo/sql_db.py", line 300, in execute
res = self._obj.execute(query, params)
psycopg2.errors.NotNullViolation: null value in column "computation_block" violates not-null constraint
DETAIL: Failing row contains (101, null, 1096, null, null, 5, null, null, half_up, null, null, 2021-03-01, null, null, null, 0.0, 0, 0, draft, null, 1, 2022-06-22 15:37:36.965512, 1, 2022-06-22 15:37:36.965512, 0.0, 0.0).
06/22/2022 11:37:38 ERROR
bad query: INSERT INTO "hr_payroll_contribution_register" ("id", "create_uid", "create_date", "write_uid", "write_date", "company_contrib_rate", "computation_method", "contribution_base", "date_from", "employee_contrib_rate", "employee_id", "max_contribution_company", "max_contribution_employee", "state", "type_id") VALUES (nextval('hr_payroll_contribution_register_id_seq'), 1, (now() at time zone 'UTC'), 1, (now() at time zone 'UTC'), 0.0, 'half_up', 0.0, '2021-03-01', 0.0, 1096, 0.0, 0.0, 'draft', 5) RETURNING id
ERROR: null value in column "computation_block" violates not-null constraint
DETAIL: Failing row contains (102, null, 1096, null, null, 5, null, null, half_up, null, null, 2021-03-01, null, null, null, 0.0, 0, 0, draft, null, 1, 2022-06-22 15:37:36.965512, 1, 2022-06-22 15:37:36.965512, 0.0, 0.0).
06/22/2022 11:37:38 ERROR
ERROR: TestPayrollContributionRegisterRegion.test_contrib_register_history_lines
Traceback (most recent call last):
File "/home/m5l6j01yiacz-116224/build_src/to_hr_payroll/tests/test_payroll_contribution_register.py", line 202, in test_contrib_register_history_lines
register_1 = self.create_contrib_register(self.product_emp_A, self.type, fields.Date.from_string('2021-3-1'))
File "/home/m5l6j01yiacz-116224/build_src/to_hr_payroll/tests/common.py", line 280, in create_contrib_register
return ContribRegister.with_context(tracking_disable=True).create({
File "<decorator-gen-171>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 347, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/14.0/addons/mail/models/mail_thread.py", line 260, in create
threads = super(MailThread, self).create(vals_list)
File "<decorator-gen-534>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/home/m5l6j01yiacz-116224/build_src/viin_user_assignment_log/models/base.py", line 12, in create
records = super(Base, self).create(vals_list)
File "<decorator-gen-64>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/addons/base/models/ir_fields.py", line 534, in create
recs = super().create(vals_list)
File "<decorator-gen-13>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/models.py", line 3876, in create
records = self._create(data_list)
File "/opt/odoo/14.0/odoo/models.py", line 3982, in _create
cr.execute(query, params)
File "<decorator-gen-3>", line 2, in execute
File "/opt/odoo/14.0/odoo/sql_db.py", line 101, in check
return f(self, *args, **kwargs)
File "/opt/odoo/14.0/odoo/sql_db.py", line 300, in execute
res = self._obj.execute(query, params)
psycopg2.errors.NotNullViolation: null value in column "computation_block" violates not-null constraint
DETAIL: Failing row contains (102, null, 1096, null, null, 5, null, null, half_up, null, null, 2021-03-01, null, null, null, 0.0, 0, 0, draft, null, 1, 2022-06-22 15:37:36.965512, 1, 2022-06-22 15:37:36.965512, 0.0, 0.0).
06/22/2022 11:37:38 ERROR
bad query: INSERT INTO "hr_payroll_contribution_register" ("id", "create_uid", "create_date", "write_uid", "write_date", "company_contrib_rate", "computation_method", "contribution_base", "date_from", "employee_contrib_rate", "employee_id", "max_contribution_company", "max_contribution_employee", "state", "type_id") VALUES (nextval('hr_payroll_contribution_register_id_seq'), 1, (now() at time zone 'UTC'), 1, (now() at time zone 'UTC'), 0.0, 'half_up', 0.0, '2021-03-01', 0.0, 1096, 0.0, 0.0, 'draft', 5) RETURNING id
ERROR: null value in column "computation_block" violates not-null constraint
DETAIL: Failing row contains (103, null, 1096, null, null, 5, null, null, half_up, null, null, 2021-03-01, null, null, null, 0.0, 0, 0, draft, null, 1, 2022-06-22 15:37:36.965512, 1, 2022-06-22 15:37:36.965512, 0.0, 0.0).
06/22/2022 11:37:38 ERROR
ERROR: TestPayrollContributionRegisterRegion.test_contrib_register_history_lines_2
Traceback (most recent call last):
File "/home/m5l6j01yiacz-116224/build_src/viin_hr_payroll_administrative_region/tests/test_payroll_contribution_register.py", line 81, in test_contrib_register_history_lines_2
register_1 = self.create_contrib_register(self.product_emp_A, self.type, fields.Date.from_string('2021-3-1'))
File "/home/m5l6j01yiacz-116224/build_src/to_hr_payroll/tests/common.py", line 280, in create_contrib_register
return ContribRegister.with_context(tracking_disable=True).create({
File "<decorator-gen-171>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 347, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/14.0/addons/mail/models/mail_thread.py", line 260, in create
threads = super(MailThread, self).create(vals_list)
File "<decorator-gen-534>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/home/m5l6j01yiacz-116224/build_src/viin_user_assignment_log/models/base.py", line 12, in create
records = super(Base, self).create(vals_list)
File "<decorator-gen-64>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/addons/base/models/ir_fields.py", line 534, in create
recs = super().create(vals_list)
File "<decorator-gen-13>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/models.py", line 3876, in create
records = self._create(data_list)
File "/opt/odoo/14.0/odoo/models.py", line 3982, in _create
cr.execute(query, params)
File "<decorator-gen-3>", line 2, in execute
File "/opt/odoo/14.0/odoo/sql_db.py", line 101, in check
return f(self, *args, **kwargs)
File "/opt/odoo/14.0/odoo/sql_db.py", line 300, in execute
res = self._obj.execute(query, params)
psycopg2.errors.NotNullViolation: null value in column "computation_block" violates not-null constraint
DETAIL: Failing row contains (103, null, 1096, null, null, 5, null, null, half_up, null, null, 2021-03-01, null, null, null, 0.0, 0, 0, draft, null, 1, 2022-06-22 15:37:36.965512, 1, 2022-06-22 15:37:36.965512, 0.0, 0.0).
06/22/2022 11:37:38 ERROR
bad query: INSERT INTO "hr_payroll_contribution_register" ("id", "create_uid", "create_date", "write_uid", "write_date", "company_contrib_rate", "computation_method", "contribution_base", "date_from", "employee_contrib_rate", "employee_id", "max_contribution_company", "max_contribution_employee", "state", "type_id") VALUES (nextval('hr_payroll_contribution_register_id_seq'), 1, (now() at time zone 'UTC'), 1, (now() at time zone 'UTC'), 0.0, 'half_up', 0.0, '2021-03-01', 0.0, 1096, 0.0, 0.0, 'draft', 5) RETURNING id
ERROR: null value in column "computation_block" violates not-null constraint
DETAIL: Failing row contains (104, null, 1096, null, null, 5, null, null, half_up, null, null, 2021-03-01, null, null, null, 0.0, 0, 0, draft, null, 1, 2022-06-22 15:37:36.965512, 1, 2022-06-22 15:37:36.965512, 0.0, 0.0).
06/22/2022 11:37:38 ERROR
ERROR: TestPayrollContributionRegisterRegion.test_flow_contrib_register_cancel
Traceback (most recent call last):
File "/home/m5l6j01yiacz-116224/build_src/to_hr_payroll/tests/test_payroll_contribution_register.py", line 754, in test_flow_contrib_register_cancel
register_1 = self.create_contrib_register(self.product_emp_A, self.type, fields.Date.from_string('2021-3-1'))
File "/home/m5l6j01yiacz-116224/build_src/to_hr_payroll/tests/common.py", line 280, in create_contrib_register
return ContribRegister.with_context(tracking_disable=True).create({
File "<decorator-gen-171>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 347, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/14.0/addons/mail/models/mail_thread.py", line 260, in create
threads = super(MailThread, self).create(vals_list)
File "<decorator-gen-534>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/home/m5l6j01yiacz-116224/build_src/viin_user_assignment_log/models/base.py", line 12, in create
records = super(Base, self).create(vals_list)
File "<decorator-gen-64>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/addons/base/models/ir_fields.py", line 534, in create
recs = super().create(vals_list)
File "<decorator-gen-13>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/models.py", line 3876, in create
records = self._create(data_list)
File "/opt/odoo/14.0/odoo/models.py", line 3982, in _create
cr.execute(query, params)
File "<decorator-gen-3>", line 2, in execute
File "/opt/odoo/14.0/odoo/sql_db.py", line 101, in check
return f(self, *args, **kwargs)
File "/opt/odoo/14.0/odoo/sql_db.py", line 300, in execute
res = self._obj.execute(query, params)
psycopg2.errors.NotNullViolation: null value in column "computation_block" violates not-null constraint
DETAIL: Failing row contains (104, null, 1096, null, null, 5, null, null, half_up, null, null, 2021-03-01, null, null, null, 0.0, 0, 0, draft, null, 1, 2022-06-22 15:37:36.965512, 1, 2022-06-22 15:37:36.965512, 0.0, 0.0).
06/22/2022 11:37:38 ERROR
bad query: INSERT INTO "hr_payroll_contribution_register" ("id", "create_uid", "create_date", "write_uid", "write_date", "company_contrib_rate", "computation_method", "contribution_base", "date_from", "employee_contrib_rate", "employee_id", "max_contribution_company", "max_contribution_employee", "state", "type_id") VALUES (nextval('hr_payroll_contribution_register_id_seq'), 1, (now() at time zone 'UTC'), 1, (now() at time zone 'UTC'), 0.0, 'half_up', 0.0, '2021-03-01', 0.0, 1096, 0.0, 0.0, 'draft', 5) RETURNING id
ERROR: null value in column "computation_block" violates not-null constraint
DETAIL: Failing row contains (105, null, 1096, null, null, 5, null, null, half_up, null, null, 2021-03-01, null, null, null, 0.0, 0, 0, draft, null, 1, 2022-06-22 15:37:36.965512, 1, 2022-06-22 15:37:36.965512, 0.0, 0.0).
06/22/2022 11:37:38 ERROR
ERROR: TestPayrollContributionRegisterRegion.test_flow_contrib_register_change_base
Traceback (most recent call last):
File "/home/m5l6j01yiacz-116224/build_src/to_hr_payroll/tests/test_payroll_contribution_register.py", line 348, in test_flow_contrib_register_change_base
register = self.create_contrib_register(self.product_emp_A, self.type, fields.Date.from_string('2021-3-1'))
File "/home/m5l6j01yiacz-116224/build_src/to_hr_payroll/tests/common.py", line 280, in create_contrib_register
return ContribRegister.with_context(tracking_disable=True).create({
File "<decorator-gen-171>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 347, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/14.0/addons/mail/models/mail_thread.py", line 260, in create
threads = super(MailThread, self).create(vals_list)
File "<decorator-gen-534>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/home/m5l6j01yiacz-116224/build_src/viin_user_assignment_log/models/base.py", line 12, in create
records = super(Base, self).create(vals_list)
File "<decorator-gen-64>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/addons/base/models/ir_fields.py", line 534, in create
recs = super().create(vals_list)
File "<decorator-gen-13>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/models.py", line 3876, in create
records = self._create(data_list)
File "/opt/odoo/14.0/odoo/models.py", line 3982, in _create
cr.execute(query, params)
File "<decorator-gen-3>", line 2, in execute
File "/opt/odoo/14.0/odoo/sql_db.py", line 101, in check
return f(self, *args, **kwargs)
File "/opt/odoo/14.0/odoo/sql_db.py", line 300, in execute
res = self._obj.execute(query, params)
psycopg2.errors.NotNullViolation: null value in column "computation_block" violates not-null constraint
DETAIL: Failing row contains (105, null, 1096, null, null, 5, null, null, half_up, null, null, 2021-03-01, null, null, null, 0.0, 0, 0, draft, null, 1, 2022-06-22 15:37:36.965512, 1, 2022-06-22 15:37:36.965512, 0.0, 0.0).
06/22/2022 11:37:38 ERROR
bad query: INSERT INTO "hr_payroll_contribution_register" ("id", "create_uid", "create_date", "write_uid", "write_date", "company_contrib_rate", "computation_method", "contribution_base", "date_from", "employee_contrib_rate", "employee_id", "max_contribution_company", "max_contribution_employee", "state", "type_id") VALUES (nextval('hr_payroll_contribution_register_id_seq'), 1, (now() at time zone 'UTC'), 1, (now() at time zone 'UTC'), 0.0, 'half_up', 0.0, '2021-03-01', 0.0, 1096, 0.0, 0.0, 'draft', 5) RETURNING id
ERROR: null value in column "computation_block" violates not-null constraint
DETAIL: Failing row contains (106, null, 1096, null, null, 5, null, null, half_up, null, null, 2021-03-01, null, null, null, 0.0, 0, 0, draft, null, 1, 2022-06-22 15:37:36.965512, 1, 2022-06-22 15:37:36.965512, 0.0, 0.0).
06/22/2022 11:37:38 ERROR
ERROR: TestPayrollContributionRegisterRegion.test_flow_contrib_register_change_rate
Traceback (most recent call last):
File "/home/m5l6j01yiacz-116224/build_src/to_hr_payroll/tests/test_payroll_contribution_register.py", line 276, in test_flow_contrib_register_change_rate
register = self.create_contrib_register(self.product_emp_A, self.type, fields.Date.from_string('2021-3-1'))
File "/home/m5l6j01yiacz-116224/build_src/to_hr_payroll/tests/common.py", line 280, in create_contrib_register
return ContribRegister.with_context(tracking_disable=True).create({
File "<decorator-gen-171>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 347, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/14.0/addons/mail/models/mail_thread.py", line 260, in create
threads = super(MailThread, self).create(vals_list)
File "<decorator-gen-534>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/home/m5l6j01yiacz-116224/build_src/viin_user_assignment_log/models/base.py", line 12, in create
records = super(Base, self).create(vals_list)
File "<decorator-gen-64>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/addons/base/models/ir_fields.py", line 534, in create
recs = super().create(vals_list)
File "<decorator-gen-13>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/models.py", line 3876, in create
records = self._create(data_list)
File "/opt/odoo/14.0/odoo/models.py", line 3982, in _create
cr.execute(query, params)
File "<decorator-gen-3>", line 2, in execute
File "/opt/odoo/14.0/odoo/sql_db.py", line 101, in check
return f(self, *args, **kwargs)
File "/opt/odoo/14.0/odoo/sql_db.py", line 300, in execute
res = self._obj.execute(query, params)
psycopg2.errors.NotNullViolation: null value in column "computation_block" violates not-null constraint
DETAIL: Failing row contains (106, null, 1096, null, null, 5, null, null, half_up, null, null, 2021-03-01, null, null, null, 0.0, 0, 0, draft, null, 1, 2022-06-22 15:37:36.965512, 1, 2022-06-22 15:37:36.965512, 0.0, 0.0).
06/22/2022 11:37:38 ERROR
bad query: INSERT INTO "hr_payroll_contribution_register" ("id", "create_uid", "create_date", "write_uid", "write_date", "company_contrib_rate", "computation_method", "contribution_base", "date_from", "employee_contrib_rate", "employee_id", "max_contribution_company", "max_contribution_employee", "state", "type_id") VALUES (nextval('hr_payroll_contribution_register_id_seq'), 1, (now() at time zone 'UTC'), 1, (now() at time zone 'UTC'), 0.0, 'half_up', 0.0, '2021-03-01', 0.0, 1096, 0.0, 0.0, 'draft', 5) RETURNING id
ERROR: null value in column "computation_block" violates not-null constraint
DETAIL: Failing row contains (107, null, 1096, null, null, 5, null, null, half_up, null, null, 2021-03-01, null, null, null, 0.0, 0, 0, draft, null, 1, 2022-06-22 15:37:36.965512, 1, 2022-06-22 15:37:36.965512, 0.0, 0.0).
06/22/2022 11:37:38 ERROR
ERROR: TestPayrollContributionRegisterRegion.test_flow_contrib_register_confirmed
Traceback (most recent call last):
File "/home/m5l6j01yiacz-116224/build_src/to_hr_payroll/tests/test_payroll_contribution_register.py", line 486, in test_flow_contrib_register_confirmed
register = self.create_contrib_register(self.product_emp_A, self.type, fields.Date.from_string('2021-3-1'))
File "/home/m5l6j01yiacz-116224/build_src/to_hr_payroll/tests/common.py", line 280, in create_contrib_register
return ContribRegister.with_context(tracking_disable=True).create({
File "<decorator-gen-171>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 347, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/14.0/addons/mail/models/mail_thread.py", line 260, in create
threads = super(MailThread, self).create(vals_list)
File "<decorator-gen-534>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/home/m5l6j01yiacz-116224/build_src/viin_user_assignment_log/models/base.py", line 12, in create
records = super(Base, self).create(vals_list)
File "<decorator-gen-64>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/addons/base/models/ir_fields.py", line 534, in create
recs = super().create(vals_list)
File "<decorator-gen-13>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/models.py", line 3876, in create
records = self._create(data_list)
File "/opt/odoo/14.0/odoo/models.py", line 3982, in _create
cr.execute(query, params)
File "<decorator-gen-3>", line 2, in execute
File "/opt/odoo/14.0/odoo/sql_db.py", line 101, in check
return f(self, *args, **kwargs)
File "/opt/odoo/14.0/odoo/sql_db.py", line 300, in execute
res = self._obj.execute(query, params)
psycopg2.errors.NotNullViolation: null value in column "computation_block" violates not-null constraint
DETAIL: Failing row contains (107, null, 1096, null, null, 5, null, null, half_up, null, null, 2021-03-01, null, null, null, 0.0, 0, 0, draft, null, 1, 2022-06-22 15:37:36.965512, 1, 2022-06-22 15:37:36.965512, 0.0, 0.0).
06/22/2022 11:37:38 ERROR
bad query: INSERT INTO "hr_payroll_contribution_register" ("id", "create_uid", "create_date", "write_uid", "write_date", "company_contrib_rate", "computation_method", "contribution_base", "date_from", "employee_contrib_rate", "employee_id", "max_contribution_company", "max_contribution_employee", "state", "type_id") VALUES (nextval('hr_payroll_contribution_register_id_seq'), 1, (now() at time zone 'UTC'), 1, (now() at time zone 'UTC'), 0.0, 'half_up', 0.0, '2021-03-01', 0.0, 1096, 0.0, 0.0, 'draft', 5) RETURNING id
ERROR: null value in column "computation_block" violates not-null constraint
DETAIL: Failing row contains (108, null, 1096, null, null, 5, null, null, half_up, null, null, 2021-03-01, null, null, null, 0.0, 0, 0, draft, null, 1, 2022-06-22 15:37:36.965512, 1, 2022-06-22 15:37:36.965512, 0.0, 0.0).
06/22/2022 11:37:38 ERROR
ERROR: TestPayrollContributionRegisterRegion.test_flow_contrib_register_done
Traceback (most recent call last):
File "/home/m5l6j01yiacz-116224/build_src/to_hr_payroll/tests/test_payroll_contribution_register.py", line 724, in test_flow_contrib_register_done
register_1 = self.create_contrib_register(self.product_emp_A, self.type, fields.Date.from_string('2021-3-1'))
File "/home/m5l6j01yiacz-116224/build_src/to_hr_payroll/tests/common.py", line 280, in create_contrib_register
return ContribRegister.with_context(tracking_disable=True).create({
File "<decorator-gen-171>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 347, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/14.0/addons/mail/models/mail_thread.py", line 260, in create
threads = super(MailThread, self).create(vals_list)
File "<decorator-gen-534>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/home/m5l6j01yiacz-116224/build_src/viin_user_assignment_log/models/base.py", line 12, in create
records = super(Base, self).create(vals_list)
File "<decorator-gen-64>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/addons/base/models/ir_fields.py", line 534, in create
recs = super().create(vals_list)
File "<decorator-gen-13>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/models.py", line 3876, in create
records = self._create(data_list)
File "/opt/odoo/14.0/odoo/models.py", line 3982, in _create
cr.execute(query, params)
File "<decorator-gen-3>", line 2, in execute
File "/opt/odoo/14.0/odoo/sql_db.py", line 101, in check
return f(self, *args, **kwargs)
File "/opt/odoo/14.0/odoo/sql_db.py", line 300, in execute
res = self._obj.execute(query, params)
psycopg2.errors.NotNullViolation: null value in column "computation_block" violates not-null constraint
DETAIL: Failing row contains (108, null, 1096, null, null, 5, null, null, half_up, null, null, 2021-03-01, null, null, null, 0.0, 0, 0, draft, null, 1, 2022-06-22 15:37:36.965512, 1, 2022-06-22 15:37:36.965512, 0.0, 0.0).
06/22/2022 11:37:38 ERROR
bad query: INSERT INTO "hr_payroll_contribution_register" ("id", "create_uid", "create_date", "write_uid", "write_date", "company_contrib_rate", "computation_method", "contribution_base", "date_from", "employee_contrib_rate", "employee_id", "max_contribution_company", "max_contribution_employee", "state", "type_id") VALUES (nextval('hr_payroll_contribution_register_id_seq'), 1, (now() at time zone 'UTC'), 1, (now() at time zone 'UTC'), 0.0, 'half_up', 0.0, '2021-03-01', 0.0, 1096, 0.0, 0.0, 'draft', 5) RETURNING id
ERROR: null value in column "computation_block" violates not-null constraint
DETAIL: Failing row contains (109, null, 1096, null, null, 5, null, null, half_up, null, null, 2021-03-01, null, null, null, 0.0, 0, 0, draft, null, 1, 2022-06-22 15:37:36.965512, 1, 2022-06-22 15:37:36.965512, 0.0, 0.0).
06/22/2022 11:37:38 ERROR
ERROR: TestPayrollContributionRegisterRegion.test_flow_contrib_register_draft
Traceback (most recent call last):
File "/home/m5l6j01yiacz-116224/build_src/to_hr_payroll/tests/test_payroll_contribution_register.py", line 416, in test_flow_contrib_register_draft
register = self.create_contrib_register(self.product_emp_A, self.type, fields.Date.from_string('2021-3-1'))
File "/home/m5l6j01yiacz-116224/build_src/to_hr_payroll/tests/common.py", line 280, in create_contrib_register
return ContribRegister.with_context(tracking_disable=True).create({
File "<decorator-gen-171>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 347, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/14.0/addons/mail/models/mail_thread.py", line 260, in create
threads = super(MailThread, self).create(vals_list)
File "<decorator-gen-534>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/home/m5l6j01yiacz-116224/build_src/viin_user_assignment_log/models/base.py", line 12, in create
records = super(Base, self).create(vals_list)
File "<decorator-gen-64>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/addons/base/models/ir_fields.py", line 534, in create
recs = super().create(vals_list)
File "<decorator-gen-13>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/models.py", line 3876, in create
records = self._create(data_list)
File "/opt/odoo/14.0/odoo/models.py", line 3982, in _create
cr.execute(query, params)
File "<decorator-gen-3>", line 2, in execute
File "/opt/odoo/14.0/odoo/sql_db.py", line 101, in check
return f(self, *args, **kwargs)
File "/opt/odoo/14.0/odoo/sql_db.py", line 300, in execute
res = self._obj.execute(query, params)
psycopg2.errors.NotNullViolation: null value in column "computation_block" violates not-null constraint
DETAIL: Failing row contains (109, null, 1096, null, null, 5, null, null, half_up, null, null, 2021-03-01, null, null, null, 0.0, 0, 0, draft, null, 1, 2022-06-22 15:37:36.965512, 1, 2022-06-22 15:37:36.965512, 0.0, 0.0).
06/22/2022 11:37:38 ERROR
bad query: INSERT INTO "hr_payroll_contribution_register" ("id", "create_uid", "create_date", "write_uid", "write_date", "company_contrib_rate", "computation_method", "contribution_base", "date_from", "employee_contrib_rate", "employee_id", "max_contribution_company", "max_contribution_employee", "state", "type_id") VALUES (nextval('hr_payroll_contribution_register_id_seq'), 1, (now() at time zone 'UTC'), 1, (now() at time zone 'UTC'), 0.0, 'half_up', 0.0, '2021-03-01', 0.0, 1096, 0.0, 0.0, 'draft', 5) RETURNING id
ERROR: null value in column "computation_block" violates not-null constraint
DETAIL: Failing row contains (110, null, 1096, null, null, 5, null, null, half_up, null, null, 2021-03-01, null, null, null, 0.0, 0, 0, draft, null, 1, 2022-06-22 15:37:36.965512, 1, 2022-06-22 15:37:36.965512, 0.0, 0.0).
06/22/2022 11:37:38 ERROR
ERROR: TestPayrollContributionRegisterRegion.test_flow_contrib_register_resumed
Traceback (most recent call last):
File "/home/m5l6j01yiacz-116224/build_src/to_hr_payroll/tests/test_payroll_contribution_register.py", line 651, in test_flow_contrib_register_resumed
register = self.create_contrib_register(self.product_emp_A, self.type, fields.Date.from_string('2021-3-1'))
File "/home/m5l6j01yiacz-116224/build_src/to_hr_payroll/tests/common.py", line 280, in create_contrib_register
return ContribRegister.with_context(tracking_disable=True).create({
File "<decorator-gen-171>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 347, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/14.0/addons/mail/models/mail_thread.py", line 260, in create
threads = super(MailThread, self).create(vals_list)
File "<decorator-gen-534>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/home/m5l6j01yiacz-116224/build_src/viin_user_assignment_log/models/base.py", line 12, in create
records = super(Base, self).create(vals_list)
File "<decorator-gen-64>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/addons/base/models/ir_fields.py", line 534, in create
recs = super().create(vals_list)
File "<decorator-gen-13>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/models.py", line 3876, in create
records = self._create(data_list)
File "/opt/odoo/14.0/odoo/models.py", line 3982, in _create
cr.execute(query, params)
File "<decorator-gen-3>", line 2, in execute
File "/opt/odoo/14.0/odoo/sql_db.py", line 101, in check
return f(self, *args, **kwargs)
File "/opt/odoo/14.0/odoo/sql_db.py", line 300, in execute
res = self._obj.execute(query, params)
psycopg2.errors.NotNullViolation: null value in column "computation_block" violates not-null constraint
DETAIL: Failing row contains (110, null, 1096, null, null, 5, null, null, half_up, null, null, 2021-03-01, null, null, null, 0.0, 0, 0, draft, null, 1, 2022-06-22 15:37:36.965512, 1, 2022-06-22 15:37:36.965512, 0.0, 0.0).
06/22/2022 11:37:38 ERROR
bad query: INSERT INTO "hr_payroll_contribution_register" ("id", "create_uid", "create_date", "write_uid", "write_date", "company_contrib_rate", "computation_method", "contribution_base", "date_from", "employee_contrib_rate", "employee_id", "max_contribution_company", "max_contribution_employee", "state", "type_id") VALUES (nextval('hr_payroll_contribution_register_id_seq'), 1, (now() at time zone 'UTC'), 1, (now() at time zone 'UTC'), 0.0, 'half_up', 0.0, '2021-03-01', 0.0, 1096, 0.0, 0.0, 'draft', 5) RETURNING id
ERROR: null value in column "computation_block" violates not-null constraint
DETAIL: Failing row contains (111, null, 1096, null, null, 5, null, null, half_up, null, null, 2021-03-01, null, null, null, 0.0, 0, 0, draft, null, 1, 2022-06-22 15:37:36.965512, 1, 2022-06-22 15:37:36.965512, 0.0, 0.0).
06/22/2022 11:37:38 ERROR
ERROR: TestPayrollContributionRegisterRegion.test_flow_contrib_register_suspended
Traceback (most recent call last):
File "/home/m5l6j01yiacz-116224/build_src/to_hr_payroll/tests/test_payroll_contribution_register.py", line 568, in test_flow_contrib_register_suspended
register = self.create_contrib_register(self.product_emp_A, self.type, fields.Date.from_string('2021-3-1'))
File "/home/m5l6j01yiacz-116224/build_src/to_hr_payroll/tests/common.py", line 280, in create_contrib_register
return ContribRegister.with_context(tracking_disable=True).create({
File "<decorator-gen-171>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 347, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/14.0/addons/mail/models/mail_thread.py", line 260, in create
threads = super(MailThread, self).create(vals_list)
File "<decorator-gen-534>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/home/m5l6j01yiacz-116224/build_src/viin_user_assignment_log/models/base.py", line 12, in create
records = super(Base, self).create(vals_list)
File "<decorator-gen-64>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/addons/base/models/ir_fields.py", line 534, in create
recs = super().create(vals_list)
File "<decorator-gen-13>", line 2, in create
File "/opt/odoo/14.0/odoo/api.py", line 348, in _model_create_multi
return create(self, arg)
File "/opt/odoo/14.0/odoo/models.py", line 3876, in create
records = self._create(data_list)
File "/opt/odoo/14.0/odoo/models.py", line 3982, in _create
cr.execute(query, params)
File "<decorator-gen-3>", line 2, in execute
File "/opt/odoo/14.0/odoo/sql_db.py", line 101, in check
return f(self, *args, **kwargs)
File "/opt/odoo/14.0/odoo/sql_db.py", line 300, in execute
res = self._obj.execute(query, params)
psycopg2.errors.NotNullViolation: null value in column "computation_block" violates not-null constraint
DETAIL: Failing row contains (111, null, 1096, null, null, 5, null, null, half_up, null, null, 2021-03-01, null, null, null, 0.0, 0, 0, draft, null, 1, 2022-06-22 15:37:36.965512, 1, 2022-06-22 15:37:36.965512, 0.0, 0.0).
06/22/2022 12:30:31 ERROR
0 failed, 70 error(s) of 4179 tests when loading database 'm5l6j01yiacz-116224_db'
06/22/2022 12:30:36 ERROR
Odoo command execution ended with error
06/22/2022 12:30:39 INFO
Finished step: Test post install odoo 14.0 in 4h 20m
06/22/2022 13:00:37 INFO
Revoking Proxy
06/22/2022 13:00:37 INFO
Revoked Proxy
06/22/2022 13:00:38 INFO
Revoking DNS
06/22/2022 13:00:39 INFO
Revoked DNS
06/22/2022 13:00:39 INFO
Revoking backend
06/22/2022 13:00:41 INFO
Revoked backend
06/22/2022 13:00:41 INFO
Revoking database
06/22/2022 13:00:43 INFO
Revoked database
06/22/2022 13:00:43 INFO
Marked as unlink
06/22/2022 13:00:43 INFO
Revoked Build