Name: [FIX] hr_contract: Calendar Mismatch Interface Eror

State: Revoked

PR State: open

PR Author: Hoàng Văn Hiếu

PR Author Email:

PR: #128

Committer: louis

Committer Email: hoanghieu.hp.15@gmail.com

Commit: f1edffb3dbb2de027eb49414584311b40aba9df4

Description:

                                            [FIX] hr_contract: Calendar Mismatch Interface Eror
                                            

Branch: 14.0

Instance ID: 26768

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,-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

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
Create Date Level Message
01/13/2022 01:33:39 INFO
Start setup environment for runbot instance nnvyhjeqruds-28745
01/13/2022 01:34:27 INFO
Fetching repository source code
01/13/2022 01:34:28 INFO
Create ref local branch to remote source
01/13/2022 01:34:29 INFO
Create working tree from branch: pr_nnvyhjeqruds-28745
01/13/2022 01:34:35 INFO
Validating git dependencies source code
01/13/2022 01:34:35 INFO
Repository do not had viin_dependencies.txt
01/13/2022 01:34:37 INFO
Deployed config file
01/13/2022 01:34:39 INFO
Running step: Test at install odoo 14.0
01/13/2022 01:34:39 INFO
Run command: create_db args: db
01/13/2022 01:34:40 INFO
Created database: nnvyhjeqruds-28745_db
01/13/2022 01:34:40 INFO
Run command: set_opt args: demo,test
01/13/2022 01:34:41 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
01/13/2022 01:34:41 INFO
Run command: install_module args: {all},-hw_drivers,-hw_escpos,-hw_posbox_homepage,-hw_proxy,-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
01/13/2022 01:34:43 INFO
Installed module(s): test_data_module,test_assetsbundle,test_search_panel,test_converter,test_new_api,test_action_bindings,test_inherit,test_uninstall,test_performance,test_rpc,base,test_apikeys,test_inherits,test_lint,test_auth_custom,test_read_group,test_inherits_depends,test_limits,test_exceptions,test_testing_utilities,test_access_rights,test_translation_import,test_populate,test_main_flows,test_data_module_install,test_mimetypes,test_impex,test_convert,to_attendance_device,to_erponline_utility,to_company_hotline,to_sale_purchase_multi_comp,to_l10n_vn_account_balance_carry_forward,to_maintenance_request_simple_mediate,to_sale_desc_short_link,to_hr_payroll,viin_base_district,to_orderpoint_mail_thread,viin_hr,test_stock_dropshipping,to_purchase_bom_stock_value,to_promotion_voucher_pos_return,to_payment_terms_extended,viin_hr_overtime_attendance,to_fleet_vehicle_revenue_accounting,viin_helpdesk_sale,viin_l10n_vn_account_payment_internal_transfer,viin_account_regenerate_analytic_line,to_git_odoo_version,to_website_docs,to_accounting_entry_report_flag,to_hr_employee_grade,to_partner_employee_size,viin_account_bank_statement_import,to_location_warehouse,to_hr_shift_rotation,to_accounting_vninvoice_summary,to_replace_loyalty_pos_config,to_product_standard_price_access,viin_l10n_vn_vat_counterpart,to_sales_team_advanced_crm,to_partner_dob_send_email,to_http_reroute_encoding,to_pos_delivery,viin_resource_calendar_rate,viin_sale_product_duplication_warning,viin_helpdesk,to_uom_subscription,to_wallet_adjustment,to_okr,to_product_odoo_version,to_upload_file,to_maintenance_by_working_hours,viin_l10n_vn_payment_print,to_multi_warehouse_access_control,to_partner_dob,to_res_state_group,viin_mobile,to_loyalty,to_employee_documents,to_registration_email_blacklist,to_stock_equipment_bom_kit,to_partner_business_type,to_purchase_line_numbering,viin_hr_overtime_timesheet,to_website_recaptcha,to_fleet_insurance_basic,viin_hr_overtime_timesheet_attendance,viin_hr_overtime_approval_payroll,to_odoo_module,to_geo_routes,viin_user_assignment_log,to_website_docs_odoo_data,to_stock_block_quantity,to_sales_team_advanced_sale,to_equipment_hierarchy,payment_momo,to_odoo_module_sale,to_einvoice_summary,to_website_recaptcha_signup,to_repair_partner_info_from_lot,to_hr_employee_advance,to_legal_invoice_number,to_partner_nationality,to_hr_employee_birthday_filters,to_product_standard_price_access_account,to_hr_timesheet_payroll,to_repair_with_maintenance_schedule,to_token_expiration_test,viin_hr_seniority,to_accounting_vninvoice,to_backdate,to_web_thousand_sep,viin_repair_discount,viin_hr_overtime_timesheet_approval,to_hr_expense,viin_sales_unlink_stock,to_fleet_accounting,viin_stock_specific_identification_landed_costs,to_repair_request_from_maintenance,to_fleet_stock,to_sale_backdate,viin_web_countup_timer,viin_hr_payroll_administrative_region,viin_survey_exam,to_hr_expense_payroll,to_loan_management,to_product_collection_sale,to_safe_confirm_button,to_config_management,viin_product_categ_mail_thread_stock_account,to_product_function,viin_sales_unlink,to_wallet,to_l10n_vn_stock_reports,to_hr_payroll_attendance,to_sale_price_lock,to_wallet_currency_conversion_diff,to_procurement_approval,to_cash_flow_forecast,viin_project_timesheet_leave,to_website_docs_odoo,to_vietnam_bank_icons,l10n_vn_c200,to_account_income_deduct,to_product_license,to_l10n_vn_picking_operation,to_sale_wallet,viin_crm_employee_size,to_hr_barcode_in_emp_name,viin_fleet_accounting_purchase,to_payroll_payment_acb_templates,to_loyalty_pos,to_token_expiration,to_account_financial_income,to_stock_age_report,l10n_vn_c133,to_equipment_image,to_stock_report_common,to_purchase_order_advance,to_partner_multilang_partner_autocomplete,to_event_project,viin_pricelist_recurring,to_hr_contract_actions,to_fleet_driver_job_wage,to_affiliate,to_vietnamese_number2words,to_affiliate_sale,to_promotion_voucher_sale,to_fee_definition,viin_remove_only_reference_from_one2many,to_odoo_module_sale_template,viin_foreign_trade_currency_rate,to_accounting_sinvoice,to_sales_stock_schedule,to_base,to_refund_account,to_stock_equipment,to_equipment_maintenance_schedule,to_paypal_unsupported_currencies,to_repair_supply,viin_hr_recruitment,to_promotion_voucher_pos,viin_social_facebook_verify,to_l10n_vn_hr_payroll,to_mail_template_multilang_fix,to_warranty_purchase_stock,to_partner_ownership_type,viin_mobile_login,viin_hr_timesheet_timer,viin_social_linkedin,viin_crm_dob,to_invoice_line_summary,to_hr_timesheet_approval,to_sale_line_numbering,to_sales_target,to_fleet_specs,to_signup_email_verification,viin_l10n_vn_stock_reports_multi_warehouse_access_control,to_multi_warehouse_access_control_sale,to_product_function_sale,to_repair_request_from_warranty,l10n_vn_common,to_account_payment,viin_foreign_trade,to_product_return_reason_pos,viin_fleet_vehicle_revenue_accounting_sale,viin_hr_overtime_approval,viin_website_helpdesk,to_loan_management_l10n_vn,viin_hr_activity_planning,to_partner_equity_range,to_purchase_landed_cost,viin_social_lead,viin_hr_attendance_validation,viin_message_emoji,to_fee_definition_sale,to_maintenance_notification,to_account_delegation_partner,to_hr_employee_resign,to_product_license_sale,to_product_code_sequence,to_hr_payroll_meal,viin_l10n_vn_hr_account,to_slugify_l10n_vn,viin_meeting_room,to_hr_meal,viin_multi_warehouse_access_control_purchase_requisition,viin_stock_internal_transit_valuation_specific_identification,to_common_uom,to_l10n_vn_employee_advance,to_promotion_voucher_pos_sale,viin_website_page_access_right,viin_administrative_region,viin_product_categ_mail_thread,viin_contacts_district,to_promotion_voucher_account_payment,viin_website_gtm,to_pos_frontend_return,viin_website_forum_security_groups,to_stock_account_moves_link,to_account_counterpart,viin_crm_detect_partner,to_multi_warehouse_access_control_mrp,viin_account_reconciliation,to_product_return_reason,to_fleet_stock_account,viin_queue,viin_survey_printing,to_sales_team_advanced,payment_nganluong,to_employee_changes_tracking,to_website_slides_event,viin_crm_business_type,to_invoice_tax_details,to_loyalty_sales,to_promotion_voucher,to_product_standard_price_access_purchase,viin_l10n_vn_hr_payroll_account_overtime,viin_stock_internal_transit_valuation,payment_vnpay,to_pos_order_to_sales_order,to_product_function_pos,to_repair_extend,to_sales_target_sale,viin_hr_holidays,to_promotion_voucher_l10n_vn,to_stock_equipment_hierarchy,viin_helpdesk_timesheet,l10n_vn_c200_pos,to_procurement_requests,to_sshkey,to_stock_production_lot_partner_infor,viin_product_categ_mail_thread_purchase,viin_hr_overtime,to_org_chart,to_okr_project,to_pos_note,to_vat_counterpart,viin_social,to_bank_currency_rate,to_hr_expense_employee_advance,to_purchase_order_lines,to_mail_notif_and_email,to_stock_backdate,viin_l10n_vn_account_move_print,to_website_odoo_version,to_website_base,to_uom_mail_thread,viin_social_facebook,viin_hr_employee_resource_calendar,to_einvoice_common,viin_website_livechat,viin_mail_show_recipient,to_maintenance_approval,viin_website_hr_recruitment_website_editor,to_fleet_accounting_fleet_operation,to_hr_skills_recruitment,to_product_dimensions,viin_l10n_vn_foreign_trade,to_fleet_load_params,to_website_affiliate,viin_project_kanban_state_notification,to_partner_check_unique_vat,to_product_pricelist_weekdays,viin_hr_account,viin_hr_recruitment_approval,viin_sale_crm_follower_access_right,to_warranty_purchase,to_website_apps_store,to_repair_access_group,viin_survey_recompute_results,to_fleet_operation_planning,to_stock_picking_backdate,to_odoo_module_sale_project,viin_partner_gender,viin_partner_shareholder,to_l10n_vn_hr_payroll_account,to_product_collection,viin_website_nofollow,to_vendor_price_lock,to_fleet_accounting_fleet_operation_revenue,to_account_balance_carry_forward,to_project_access,to_warranty_management,to_approvals,viin_hr_project,to_accounting_bi,to_partner_tax_code,to_product_milestone,to_mrp_bom_component_percentage,viin_website_blog_access_right,viin_l10n_vn_hr_payroll_administrative_region,to_hr_employee_relative,viin_l10n_vn_einvoice_common,to_multi_warehouse_access_control_purchase,viin_helpdesk_livechat,to_l10n_vn_hr_payroll_meal_account,viin_sale_project,to_hr_training,to_product_return_reason_stock,to_project_stages,viin_hr_assignment_log,to_git,to_git_project,to_fleet_vehicle_revenue,to_mrp_backdate,to_lines_count_on_account_move,viin_inventory_adjustment_with_cost_price,viin_partner_filter,to_stock_product_allocation,to_hr_employee_private_fields_access,viin_hr_equipment_hierarchy,viin_stock_specific_identification,viin_reverse_move_line,to_currency_conversion_diff,to_partner_multilang,viin_hr_overtime_payroll,to_warranty_sale,to_partner_track_change,to_document_template,viin_account_bank_statement_import_rje,to_sale_order_advance,viin_sale_quotation_template_access,to_pos_refund_origin,viin_helpdesk_crm,to_repair_timesheet,to_fleet_driver,to_fleet_stock_picking,viin_payment_mediate,to_odoo_version,to_l10n_vn_currency_conversion_diff,to_mrp_bom_stock_value,to_hr_payroll_account,to_payment_transaction_protection,to_zoom_calendar,to_unique_product_code,payment_zalopay,to_multi_company_stock_location_account,to_bank_currency_rate_purchase_stock,to_product_maintenance_schedule,to_warranty_stock,to_tax_is_vat,to_equipment_partner_infor,to_warranty_sale_stock,to_event_timesheet,to_hr_work_day_type,to_hr_public_employee_birthday_filters,to_currency_rate,to_pos_analytics,to_sales_target_pos,to_purchase_backdate,to_product_collection_pos,viin_sale_project_technician,to_hr_project_timesheet_timeoff_payroll,to_equipment_woking_frequency,to_account_reports_report_off,viin_auto_currency_rate,to_enterprice_marks_inter_company,to_mrp_maintenance,to_enterprise_mobile,viin_web_map,to_mrp_mps,to_sale_subscription,to_mrp_account,viin_sale,to_account_accountant,to_account_asset,to_stock_asset_equipment,to_inter_company_invoice,to_account_budget_hr_timesheet,to_stock_barcode,to_quality_mrp,viin_mobile_notification,to_account_reports,to_mrp_barcode,viin_employee_map,to_inter_company_sale_purchase,to_stock_asset,to_cost_revenue_deferred,viin_auto_currency_rate_acb,to_l10n_vn_account_asset_sale,to_enterprise_marks_account,viin_web_dashboard,viin_website,to_hide_ent_modules,to_enterprice_marks_stock,to_inter_company_base,to_account_reports_l10n_vn,viin_crm,to_enterprise_marks_mrp,to_account_asset_purchase,viin_contacts_map,to_inter_company_sale_purchase_stock,viin_stock,to_quality_stock,to_account_budget,to_mrp_plm,to_quality,viin_auto_currency_rate_vcb,viin_web_cohort,to_hide_ent_modules_website_theme,to_mrp_workorder,to_purchase_receipt,to_l10n_vn_account_asset,viin_mrp_barcode_backdate,viin_mobile_notification_firebase,viin_mrp_gantt,viin_web_gantt,viin_project_gantt,viin_brand_website_livechat,viin_brand_common,viin_brand,viin_brand_mail,viin_brand_im_livechat,web_responsive,to_backend_theme
01/13/2022 01:56:04 ERROR
FAIL: TestMrpValuationStandard.test_fifo_std_1
Traceback (most recent call last):
File "/opt/odoo/14.0/addons/mrp_account/tests/test_valuation_layers.py", line 139, in test_fifo_std_1
self.assertEqual(self.product1.value_svl, 8.8)
AssertionError: 9.0 != 8.8
01/13/2022 01:56:05 ERROR
FAIL: TestMrpValuationStandard.test_fifo_std_2
Traceback (most recent call last):
File "/opt/odoo/14.0/addons/mrp_account/tests/test_valuation_layers.py", line 160, in test_fifo_std_2
self.assertEqual(self.product1.value_svl, 8.8 * 2)
AssertionError: 18.0 != 17.6
01/13/2022 01:56:07 ERROR
FAIL: TestMrpValuationStandard.test_std_avco_1
Traceback (most recent call last):
File "/opt/odoo/14.0/addons/mrp_account/tests/test_valuation_layers.py", line 176, in test_std_avco_1
self.assertEqual(self.component.value_svl, 8.8)
AssertionError: 9.0 != 8.8
01/13/2022 01:56:09 ERROR
FAIL: TestMrpValuationStandard.test_std_avco_2
Traceback (most recent call last):
File "/opt/odoo/14.0/addons/mrp_account/tests/test_valuation_layers.py", line 198, in test_std_avco_2
self.assertEqual(self.product1.value_svl, 8.8 * 2)
AssertionError: 18.0 != 17.6
01/13/2022 01:56:11 ERROR
FAIL: TestMrpValuationStandard.test_std_std_1
Traceback (most recent call last):
File "/opt/odoo/14.0/addons/mrp_account/tests/test_valuation_layers.py", line 215, in test_std_std_1
self.assertEqual(self.component.value_svl, 8.8)
AssertionError: 9.0 != 8.8
01/13/2022 01:56:13 ERROR
FAIL: TestMrpValuationStandard.test_std_std_2
Traceback (most recent call last):
File "/opt/odoo/14.0/addons/mrp_account/tests/test_valuation_layers.py", line 238, in test_std_std_2
self.assertEqual(self.product1.value_svl, 7.2 * 2)
AssertionError: 14.0 != 14.4
01/13/2022 01:56:13 ERROR
Module mrp_account: 6 failures, 0 errors of 15 tests
01/13/2022 01:58:58 ERROR
FAIL: TestStockValuation.test_at_date_standard_1
Traceback (most recent call last):
File "/opt/odoo/14.0/addons/stock_account/tests/test_stockvaluation.py", line 3353, in test_at_date_standard_1
self.assertEqual(self.product1.value_svl, 712.5)
AssertionError: 712.0 != 712.5
01/13/2022 01:59:02 ERROR
FAIL: TestStockValuation.test_average_perpetual_1
Traceback (most recent call last):
File "/opt/odoo/14.0/addons/stock_account/tests/test_stockvaluation.py", line 2057, in test_average_perpetual_1
self.assertEqual(move3.stock_valuation_layer_ids.value, -2916.5)
AssertionError: -2917.0 != -2916.5
01/13/2022 01:59:03 ERROR
FAIL: TestStockValuation.test_average_perpetual_2
Traceback (most recent call last):
File "/opt/odoo/14.0/addons/stock_account/tests/test_stockvaluation.py", line 2190, in test_average_perpetual_2
self.assertEqual(self.product1.value_svl, -62.5)
AssertionError: -64.0 != -62.5
01/13/2022 01:59:04 ERROR
FAIL: TestStockValuation.test_average_perpetual_3
Traceback (most recent call last):
File "/opt/odoo/14.0/addons/stock_account/tests/test_stockvaluation.py", line 2257, in test_average_perpetual_3
self.assertEqual(self.product1.value_svl, -187.5)
AssertionError: -187.0 != -187.5
01/13/2022 01:59:20 ERROR
FAIL: TestStockValuation.test_fifo_perpetual_4
Traceback (most recent call last):
File "/opt/odoo/14.0/addons/stock_account/tests/test_stockvaluation.py", line 960, in test_fifo_perpetual_4
self.assertAlmostEqual(return_pick.move_lines.stock_valuation_layer_ids.unit_cost, 11.2)
AssertionError: 11.0 != 11.2 within 7 places (0.1999999999999993 difference)
01/13/2022 01:59:31 ERROR
FAIL: TestStockValuationRetest.test_at_date_standard_1
Traceback (most recent call last):
File "/opt/odoo/14.0/addons/stock_account/tests/test_stockvaluation.py", line 3353, in test_at_date_standard_1
self.assertEqual(self.product1.value_svl, 712.5)
AssertionError: 712.0 != 712.5
01/13/2022 01:59:35 ERROR
FAIL: TestStockValuationRetest.test_average_perpetual_1
Traceback (most recent call last):
File "/opt/odoo/14.0/addons/stock_account/tests/test_stockvaluation.py", line 2057, in test_average_perpetual_1
self.assertEqual(move3.stock_valuation_layer_ids.value, -2916.5)
AssertionError: -2917.0 != -2916.5
01/13/2022 01:59:36 ERROR
FAIL: TestStockValuationRetest.test_average_perpetual_2
Traceback (most recent call last):
File "/opt/odoo/14.0/addons/stock_account/tests/test_stockvaluation.py", line 2190, in test_average_perpetual_2
self.assertEqual(self.product1.value_svl, -62.5)
AssertionError: -64.0 != -62.5
01/13/2022 01:59:37 ERROR
FAIL: TestStockValuationRetest.test_average_perpetual_3
Traceback (most recent call last):
File "/opt/odoo/14.0/addons/stock_account/tests/test_stockvaluation.py", line 2257, in test_average_perpetual_3
self.assertEqual(self.product1.value_svl, -187.5)
AssertionError: -187.0 != -187.5
01/13/2022 01:59:53 ERROR
FAIL: TestStockValuationRetest.test_fifo_perpetual_4
Traceback (most recent call last):
File "/opt/odoo/14.0/addons/stock_account/tests/test_stockvaluation.py", line 960, in test_fifo_perpetual_4
self.assertAlmostEqual(return_pick.move_lines.stock_valuation_layer_ids.unit_cost, 11.2)
AssertionError: 11.0 != 11.2 within 7 places (0.1999999999999993 difference)
01/13/2022 02:00:04 ERROR
FAIL: TestStockValuationAVCO.test_negative_3
Traceback (most recent call last):
File "/opt/odoo/14.0/addons/stock_account/tests/test_stockvaluationlayer.py", line 428, in test_negative_3
self.assertEqual(move1.stock_valuation_layer_ids[1].value, -6.66)
AssertionError: -7.0 != -6.66
01/13/2022 02:00:08 ERROR
FAIL: TestStockValuationAVCO.test_rounding_slv_1
Traceback (most recent call last):
File "/opt/odoo/14.0/addons/stock_account/tests/test_stockvaluationlayer.py", line 493, in test_rounding_slv_1
self.assertAlmostEqual(self.product1.value_svl, 3.01)
AssertionError: 3.0 != 3.01 within 7 places (0.009999999999999787 difference)
01/13/2022 02:00:08 ERROR
FAIL: TestStockValuationAVCO.test_rounding_slv_2
Traceback (most recent call last):
File "/opt/odoo/14.0/addons/stock_account/tests/test_stockvaluationlayer.py", line 508, in test_rounding_slv_2
self.assertAlmostEqual(self.product1.value_svl, 3.02)
AssertionError: 3.0 != 3.02 within 7 places (0.020000000000000018 difference)
01/13/2022 02:00:13 ERROR
FAIL: TestStockValuationAVCORetest.test_negative_3
Traceback (most recent call last):
File "/opt/odoo/14.0/addons/stock_account/tests/test_stockvaluationlayer.py", line 428, in test_negative_3
self.assertEqual(move1.stock_valuation_layer_ids[1].value, -6.66)
AssertionError: -7.0 != -6.66
01/13/2022 02:00:17 ERROR
FAIL: TestStockValuationAVCORetest.test_rounding_slv_1
Traceback (most recent call last):
File "/opt/odoo/14.0/addons/stock_account/tests/test_stockvaluationlayer.py", line 493, in test_rounding_slv_1
self.assertAlmostEqual(self.product1.value_svl, 3.01)
AssertionError: 3.0 != 3.01 within 7 places (0.009999999999999787 difference)
01/13/2022 02:00:18 ERROR
FAIL: TestStockValuationAVCORetest.test_rounding_slv_2
Traceback (most recent call last):
File "/opt/odoo/14.0/addons/stock_account/tests/test_stockvaluationlayer.py", line 508, in test_rounding_slv_2
self.assertAlmostEqual(self.product1.value_svl, 3.02)
AssertionError: 3.0 != 3.02 within 7 places (0.020000000000000018 difference)
01/13/2022 02:00:57 ERROR
Module viin_stock_specific_identification: 16 failures, 0 errors of 197 tests
01/13/2022 02:02:32 ERROR
ERROR: TestUnbuildCheckSvl.test_01
Traceback (most recent call last):
File "/opt/odoo/viindooaddons14.0/to_mrp_bom_stock_value/tests/test_unbuild_check_svl.py", line 94, in test_01
test_manufacturing_order = self._create_mo()
File "/opt/odoo/viindooaddons14.0/to_mrp_bom_stock_value/tests/test_unbuild_check_svl.py", line 74, in _create_mo
manufacturing_order.button_mark_done()
File "/opt/odoo/14.0/addons/mrp_account/models/mrp_production.py", line 79, in button_mark_done
res = super(MrpProduction, self).button_mark_done()
File "/opt/odoo/14.0/addons/mrp/models/mrp_production.py", line 1513, in button_mark_done
productions_not_to_backorder._post_inventory(cancel_backorder=True)
File "/opt/odoo/14.0/addons/mrp/models/mrp_production.py", line 1391, in _post_inventory
moves_to_do = moves_to_do._action_done()
File "/opt/odoo/viindooaddons14.0/to_stock_picking_backdate/models/stock_move.py", line 17, in _action_done
res = super(StockMove, self)._action_done(cancel_backorder)
File "/opt/odoo/14.0/addons/stock_account/models/stock_move.py", line 277, in _action_done
svl.stock_move_id._account_entry_move(svl.quantity, svl.description, svl.id, svl.value)
File "/opt/odoo/viindooaddons14.0/viin_stock_specific_identification/models/stock_move.py", line 175, in _account_entry_move
return super(StockMove, self)._account_entry_move(qty, description, svl_id, cost)
File "/opt/odoo/viindooaddons14.0/viin_stock_internal_transit_valuation/models/stock_move.py", line 39, in _account_entry_move
super(StockMove, self)._account_entry_move(qty, description, svl_id, cost)
File "/opt/odoo/14.0/addons/stock_account/models/stock_move.py", line 479, in _account_entry_move
journal_id, acc_src, acc_dest, acc_valuation = self._get_accounting_data_for_valuation()
File "/opt/odoo/14.0/addons/stock_account/models/stock_move.py", line 358, in _get_accounting_data_for_valuation
raise UserError(_('Cannot find a stock input account for the product %s. You must define one on the product category, or on the location, before processing this operation.') % (self.product_id.display_name))
odoo.exceptions.UserError: Cannot find a stock input account for the product [E-COM10] Pedal Bin. You must define one on the product category, or on the location, before processing this operation.
01/13/2022 02:02:32 ERROR
ERROR: TestUnbuildCheckSvl.test_02
Traceback (most recent call last):
File "/opt/odoo/viindooaddons14.0/to_mrp_bom_stock_value/tests/test_unbuild_check_svl.py", line 152, in test_02
test_receipt.button_validate()
File "/opt/odoo/viindooaddons14.0/viin_stock_specific_identification/models/stock_picking.py", line 12, in button_validate
return super(StockPicking, self).button_validate()
File "/opt/odoo/viindooaddons14.0/to_stock_picking_backdate/models/stock_picking.py", line 24, in button_validate
return super(StockPicking, self).button_validate()
File "/opt/odoo/viindooaddons14.0/to_stock_production_lot_partner_infor/models/stock_picking.py", line 8, in button_validate
res = super(Picking, self).button_validate()
File "/opt/odoo/viindooaddons14.0/to_stock_block_quantity/models/stock_picking.py", line 20, in button_validate
return super(StockPicking, self).button_validate()
File "/opt/odoo/14.0/addons/stock/models/stock_picking.py", line 958, in button_validate
pickings_to_backorder.with_context(cancel_backorder=False)._action_done()
File "/opt/odoo/14.0/addons/sale_stock/models/stock.py", line 91, in _action_done
res = super()._action_done()
File "/opt/odoo/viindooaddons14.0/to_stock_picking_backdate/models/stock_picking.py", line 27, in _action_done
res = super(StockPicking, self)._action_done()
File "/opt/odoo/14.0/addons/stock/models/stock_picking.py", line 778, in _action_done
todo_moves._action_done(cancel_backorder=self.env.context.get('cancel_backorder'))
File "/opt/odoo/viindooaddons14.0/to_stock_picking_backdate/models/stock_move.py", line 17, in _action_done
res = super(StockMove, self)._action_done(cancel_backorder)
File "/opt/odoo/14.0/addons/stock_account/models/stock_move.py", line 277, in _action_done
svl.stock_move_id._account_entry_move(svl.quantity, svl.description, svl.id, svl.value)
File "/opt/odoo/viindooaddons14.0/viin_stock_specific_identification/models/stock_move.py", line 175, in _account_entry_move
return super(StockMove, self)._account_entry_move(qty, description, svl_id, cost)
File "/opt/odoo/viindooaddons14.0/viin_stock_internal_transit_valuation/models/stock_move.py", line 39, in _account_entry_move
super(StockMove, self)._account_entry_move(qty, description, svl_id, cost)
File "/opt/odoo/14.0/addons/stock_account/models/stock_move.py", line 479, in _account_entry_move
journal_id, acc_src, acc_dest, acc_valuation = self._get_accounting_data_for_valuation()
File "/opt/odoo/14.0/addons/stock_account/models/stock_move.py", line 358, in _get_accounting_data_for_valuation
raise UserError(_('Cannot find a stock input account for the product %s. You must define one on the product category, or on the location, before processing this operation.') % (self.product_id.display_name))
odoo.exceptions.UserError: Cannot find a stock input account for the product Product To Build. You must define one on the product category, or on the location, before processing this operation.
01/13/2022 02:02:33 ERROR
Module to_mrp_bom_stock_value: 0 failures, 2 errors of 2 tests
01/13/2022 02:04:13 ERROR
bad query: DELETE FROM account_account WHERE id IN (25, 204, 205)
ERROR: update or delete on table "account_account" violates foreign key constraint "pos_payment_method_receivable_account_id_fkey" on table "pos_payment_method"
DETAIL: Key (id)=(25) is still referenced from table "pos_payment_method".
01/13/2022 02:04:13 WARNING
Transient module states were reset
01/13/2022 02:04:13 ERROR
Failed to load registry
01/13/2022 02:04:13 CRITICAL
Failed to initialize database `nnvyhjeqruds-28745_db`.
Traceback (most recent call last):
File "/opt/odoo/14.0/odoo/service/server.py", line 1199, in preload_registries
registry = Registry.new(dbname, update_module=update_module)
File "/opt/odoo/14.0/odoo/modules/registry.py", line 89, in new
odoo.modules.load_modules(registry._db, force_demo, status, update_module)
File "/opt/odoo/14.0/odoo/modules/loading.py", line 459, in load_modules
processed_modules += load_marked_modules(cr, graph,
File "/opt/odoo/14.0/odoo/modules/loading.py", line 347, in load_marked_modules
loaded, processed = load_module_graph(
File "/opt/odoo/14.0/odoo/modules/loading.py", line 240, in load_module_graph
getattr(py_module, post_init)(cr, registry)
File "/opt/odoo/viindooaddons14.0/l10n_vn_c200/__init__.py", line 28, in post_init_hook
RES_COMPANY._change_info_account_child()
File "/opt/odoo/viindooaddons14.0/l10n_vn_common/models/res_company.py", line 193, in _change_info_account_child
company._remove_account(accounts)
File "/opt/odoo/viindooaddons14.0/l10n_vn_common/models/res_company.py", line 80, in _remove_account
Account_Account.unlink()
File "/opt/odoo/14.0/addons/account/models/account_account.py", line 495, in unlink
return super(AccountAccount, self).unlink()
File "/opt/odoo/viindooaddons14.0/viin_user_assignment_log/models/base.py", line 44, in unlink
res = super(Base, self).unlink()
File "/opt/odoo/14.0/odoo/models.py", line 3453, in unlink
cr.execute(query, (sub_ids,))
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 298, in execute
res = self._obj.execute(query, params)
psycopg2.errors.ForeignKeyViolation: update or delete on table "account_account" violates foreign key constraint "pos_payment_method_receivable_account_id_fkey" on table "pos_payment_method"
DETAIL: Key (id)=(25) is still referenced from table "pos_payment_method".
01/13/2022 02:04:16 INFO
Finished step: Test at install odoo 14.0 in 29m 36.70s
01/13/2022 02:04:16 INFO
Running step: Test post install odoo 14.0
01/13/2022 02:04:16 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
01/13/2022 02:07:14 ERROR
ERROR: TestBalanceCarryForward.test_01_balance_carry_forward_journal_multi_company
Traceback (most recent call last):
File "/opt/odoo/14.0/odoo/tools/cache.py", line 85, in lookup
r = d[key]
File "/opt/odoo/14.0/odoo/tools/func.py", line 71, in wrapper
return func(self, *args, **kwargs)
File "/opt/odoo/14.0/odoo/tools/lru.py", line 34, in __getitem__
a = self.d[obj]
KeyError: ('ir.model.data', <function IrModelData.xmlid_lookup at 0x7fdaf59c6f70>, 'l10n_generic_coa.configurable_chart_template')

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/odoo/viindooaddons14.0/to_account_balance_carry_forward/tests/test_balance_carry_forward_journal_multi_company.py", line 10, in test_01_balance_carry_forward_journal_multi_company
self.env.ref('l10n_generic_coa.configurable_chart_template').try_loading()
File "/opt/odoo/14.0/odoo/api.py", line 514, in ref
return self['ir.model.data'].xmlid_to_object(xml_id, raise_if_not_found=raise_if_not_found)
File "/opt/odoo/14.0/odoo/addons/base/models/ir_model.py", line 1944, in xmlid_to_object
t = self.xmlid_to_res_model_res_id(xmlid, raise_if_not_found)
File "/opt/odoo/14.0/odoo/addons/base/models/ir_model.py", line 1928, in xmlid_to_res_model_res_id
return self.xmlid_lookup(xmlid)[1:3]
File "<decorator-gen-35>", line 2, in xmlid_lookup
File "/opt/odoo/14.0/odoo/tools/cache.py", line 90, in lookup
value = d[key] = self.method(*args, **kwargs)
File "/opt/odoo/14.0/odoo/addons/base/models/ir_model.py", line 1921, in xmlid_lookup
raise ValueError('External ID not found in the system: %s' % xmlid)
ValueError: External ID not found in the system: l10n_generic_coa.configurable_chart_template
01/13/2022 02:07:23 ERROR
FAIL: TestPracticalAmount.test_01_practical_amount_with_analytic_account
Traceback (most recent call last):
File "/usr/lib/python3.8/unittest/mock.py", line 1325, in patched
return func(*newargs, **newkeywargs)
File "/opt/odoo/ent14.0/to_account_budget/tests/test_practical_amount.py", line 92, in test_01_practical_amount_with_analytic_account
self.assertEqual(self.budget_line.percentage, 1.314000000094608)
AssertionError: 1.3139999939556 != 1.314000000094608
01/13/2022 02:07:26 ERROR
FAIL: TestPracticalAmount.test_02_practical_amount_with_analytic_account_and_budgetary_position
Traceback (most recent call last):
File "/usr/lib/python3.8/unittest/mock.py", line 1325, in patched
return func(*newargs, **newkeywargs)
File "/opt/odoo/ent14.0/to_account_budget/tests/test_practical_amount.py", line 149, in test_02_practical_amount_with_analytic_account_and_budgetary_position
self.assertEqual(self.budget_line.percentage, 0.29200000002102394)
AssertionError: 0.2919999986568 != 0.29200000002102394
01/13/2022 02:07:30 ERROR
FAIL: TestPracticalAmount.test_03_practical_amount_without_analytic_account
Traceback (most recent call last):
File "/usr/lib/python3.8/unittest/mock.py", line 1325, in patched
return func(*newargs, **newkeywargs)
File "/opt/odoo/ent14.0/to_account_budget/tests/test_practical_amount.py", line 202, in test_03_practical_amount_without_analytic_account
self.assertEqual(self.budget_line.percentage, 1.6060000001156318)
AssertionError: 1.6059999926124 != 1.6060000001156318
01/13/2022 02:07:43 WARNING
Test skipped because there is no chart of account defined ...
01/13/2022 02:07:43 WARNING
Test skipped because there is no chart of account defined ...
01/13/2022 02:07:43 WARNING
Test skipped because there is no chart of account defined ...
01/13/2022 02:07:43 WARNING
Test skipped because there is no chart of account defined ...
01/13/2022 02:07:44 WARNING
Test skipped because there is no chart of account defined ...
01/13/2022 02:07:44 WARNING
Test skipped because there is no chart of account defined ...
01/13/2022 02:07:44 WARNING
Test skipped because there is no chart of account defined ...
01/13/2022 02:07:44 WARNING
Test skipped because there is no chart of account defined ...
01/13/2022 02:08:13 ERROR
FAIL: TestCurrencyRateInvoices.test_credit_note_invoice_rate_have_bank_default
Traceback (most recent call last):
File "/opt/odoo/viindooaddons14.0/to_bank_currency_rate/tests/test_currency_rate_invoices.py", line 101, in test_credit_note_invoice_rate_have_bank_default
self.test_sales_invoice_rate_have_bank_default(type_invoice='out_refund')
File "/opt/odoo/viindooaddons14.0/to_bank_currency_rate/tests/test_currency_rate_invoices.py", line 20, in test_sales_invoice_rate_have_bank_default
self.assertEqual(journal_product.credit or journal_product.debit, 12000)
AssertionError: 1.0 != 12000
01/13/2022 02:08:13 ERROR
FAIL: TestCurrencyRateInvoices.test_credit_note_invoice_rate_have_bank_default_but_no_have_rate
Traceback (most recent call last):
File "/opt/odoo/viindooaddons14.0/to_bank_currency_rate/tests/test_currency_rate_invoices.py", line 106, in test_credit_note_invoice_rate_have_bank_default_but_no_have_rate
self.test_sales_invoice_rate_have_bank_default_but_no_have_rate(type_invoice='out_refund')
File "/opt/odoo/viindooaddons14.0/to_bank_currency_rate/tests/test_currency_rate_invoices.py", line 33, in test_sales_invoice_rate_have_bank_default_but_no_have_rate
self.assertEqual(journal_product.credit, 17000)
AssertionError: 1.0 != 17000
01/13/2022 02:08:14 ERROR
FAIL: TestCurrencyRateInvoices.test_credit_note_invoice_rate_no_have_bank_default
Traceback (most recent call last):
File "/opt/odoo/viindooaddons14.0/to_bank_currency_rate/tests/test_currency_rate_invoices.py", line 111, in test_credit_note_invoice_rate_no_have_bank_default
self.test_sales_invoice_rate_no_have_bank_default(type_invoice='out_refund')
File "/opt/odoo/viindooaddons14.0/to_bank_currency_rate/tests/test_currency_rate_invoices.py", line 46, in test_sales_invoice_rate_no_have_bank_default
self.assertEqual(journal_product.credit or journal_product.debit, 18000)
AssertionError: 1.0 != 18000
01/13/2022 02:08:15 ERROR
FAIL: TestCurrencyRateInvoices.test_purchase_invoice_rate_have_bank_default
Traceback (most recent call last):
File "/opt/odoo/viindooaddons14.0/to_bank_currency_rate/tests/test_currency_rate_invoices.py", line 74, in test_purchase_invoice_rate_have_bank_default
self.assertEqual(journal_product.debit or journal_product.credit, 10000)
AssertionError: 1.0 != 10000
01/13/2022 02:08:15 ERROR
FAIL: TestCurrencyRateInvoices.test_purchase_invoice_rate_have_bank_default_but_no_have_rate
Traceback (most recent call last):
File "/opt/odoo/viindooaddons14.0/to_bank_currency_rate/tests/test_currency_rate_invoices.py", line 87, in test_purchase_invoice_rate_have_bank_default_but_no_have_rate
self.assertEqual(journal_product.debit, 15000)
AssertionError: 1.0 != 15000
01/13/2022 02:08:16 ERROR
FAIL: TestCurrencyRateInvoices.test_purchase_invoice_rate_no_have_bank_default
Traceback (most recent call last):
File "/opt/odoo/viindooaddons14.0/to_bank_currency_rate/tests/test_currency_rate_invoices.py", line 96, in test_purchase_invoice_rate_no_have_bank_default
self.test_sales_invoice_rate_no_have_bank_default(type_invoice='in_invoice')
File "/opt/odoo/viindooaddons14.0/to_bank_currency_rate/tests/test_currency_rate_invoices.py", line 46, in test_sales_invoice_rate_no_have_bank_default
self.assertEqual(journal_product.credit or journal_product.debit, 18000)
AssertionError: 1.0 != 18000
01/13/2022 02:08:17 ERROR
FAIL: TestCurrencyRateInvoices.test_refund_invoice_rate_have_bank_default
Traceback (most recent call last):
File "/opt/odoo/viindooaddons14.0/to_bank_currency_rate/tests/test_currency_rate_invoices.py", line 55, in test_refund_invoice_rate_have_bank_default
self.test_purchase_invoice_rate_have_bank_default(type_invoice='in_refund')
File "/opt/odoo/viindooaddons14.0/to_bank_currency_rate/tests/test_currency_rate_invoices.py", line 74, in test_purchase_invoice_rate_have_bank_default
self.assertEqual(journal_product.debit or journal_product.credit, 10000)
AssertionError: 1.0 != 10000
01/13/2022 02:08:18 ERROR
FAIL: TestCurrencyRateInvoices.test_refund_invoice_rate_have_bank_default_but_no_have_rate
Traceback (most recent call last):
File "/opt/odoo/viindooaddons14.0/to_bank_currency_rate/tests/test_currency_rate_invoices.py", line 60, in test_refund_invoice_rate_have_bank_default_but_no_have_rate
self.test_sales_invoice_rate_have_bank_default_but_no_have_rate(type_invoice='in_refund')
File "/opt/odoo/viindooaddons14.0/to_bank_currency_rate/tests/test_currency_rate_invoices.py", line 33, in test_sales_invoice_rate_have_bank_default_but_no_have_rate
self.assertEqual(journal_product.credit, 17000)
AssertionError: 1.0 != 17000
01/13/2022 02:08:18 ERROR
FAIL: TestCurrencyRateInvoices.test_refund_invoice_rate_no_have_bank_default
Traceback (most recent call last):
File "/opt/odoo/viindooaddons14.0/to_bank_currency_rate/tests/test_currency_rate_invoices.py", line 65, in test_refund_invoice_rate_no_have_bank_default
self.test_sales_invoice_rate_no_have_bank_default(type_invoice='in_refund')
File "/opt/odoo/viindooaddons14.0/to_bank_currency_rate/tests/test_currency_rate_invoices.py", line 46, in test_sales_invoice_rate_no_have_bank_default
self.assertEqual(journal_product.credit or journal_product.debit, 18000)
AssertionError: 1.0 != 18000
01/13/2022 02:08:20 ERROR
FAIL: TestCurrencyRateInvoices.test_sales_invoice_rate_have_bank_default
Traceback (most recent call last):
File "/opt/odoo/viindooaddons14.0/to_bank_currency_rate/tests/test_currency_rate_invoices.py", line 20, in test_sales_invoice_rate_have_bank_default
self.assertEqual(journal_product.credit or journal_product.debit, 12000)
AssertionError: 1.0 != 12000
01/13/2022 02:08:20 ERROR
FAIL: TestCurrencyRateInvoices.test_sales_invoice_rate_have_bank_default_but_no_have_rate
Traceback (most recent call last):
File "/opt/odoo/viindooaddons14.0/to_bank_currency_rate/tests/test_currency_rate_invoices.py", line 33, in test_sales_invoice_rate_have_bank_default_but_no_have_rate
self.assertEqual(journal_product.credit, 17000)
AssertionError: 1.0 != 17000
01/13/2022 02:08:21 ERROR
FAIL: TestCurrencyRateInvoices.test_sales_invoice_rate_no_have_bank_default
Traceback (most recent call last):
File "/opt/odoo/viindooaddons14.0/to_bank_currency_rate/tests/test_currency_rate_invoices.py", line 46, in test_sales_invoice_rate_no_have_bank_default
self.assertEqual(journal_product.credit or journal_product.debit, 18000)
AssertionError: 1.0 != 18000
01/13/2022 02:08:22 ERROR
FAIL: TestCurrencyRatePayments.test_rate_payment_internal_config_bank_journal
Traceback (most recent call last):
File "/opt/odoo/viindooaddons14.0/to_bank_currency_rate/tests/test_currency_rate_payments.py", line 220, in test_rate_payment_internal_config_bank_journal
self.assertEqual(dest_journal_payment.debit, 17000)
AssertionError: 1.0 != 17000
01/13/2022 02:08:22 ERROR
FAIL: TestCurrencyRatePayments.test_rate_payment_internal_money_have_bank_default_but_no_have_rate
Traceback (most recent call last):
File "/opt/odoo/viindooaddons14.0/to_bank_currency_rate/tests/test_currency_rate_payments.py", line 139, in test_rate_payment_internal_money_have_bank_default_but_no_have_rate
self.assertEqual(dest_journal_payment.debit, 17000)
AssertionError: 1.0 != 17000
01/13/2022 02:08:23 ERROR
FAIL: TestCurrencyRatePayments.test_rate_payment_internal_money_no_have_bank_default
Traceback (most recent call last):
File "/opt/odoo/viindooaddons14.0/to_bank_currency_rate/tests/test_currency_rate_payments.py", line 156, in test_rate_payment_internal_money_no_have_bank_default
self.assertEqual(dest_journal_payment.debit, 18000)
AssertionError: 1.0 != 18000
01/13/2022 02:08:23 ERROR
FAIL: TestCurrencyRatePayments.test_rate_payment_internal_monney_have_bank_default
Traceback (most recent call last):
File "/opt/odoo/viindooaddons14.0/to_bank_currency_rate/tests/test_currency_rate_payments.py", line 122, in test_rate_payment_internal_monney_have_bank_default
self.assertEqual(dest_journal_payment.debit, 12000)
AssertionError: 1.0 != 12000
01/13/2022 02:08:24 ERROR
FAIL: TestCurrencyRatePayments.test_rate_payment_receive_config_bank_journal
Traceback (most recent call last):
File "/opt/odoo/viindooaddons14.0/to_bank_currency_rate/tests/test_currency_rate_payments.py", line 195, in test_rate_payment_receive_config_bank_journal
self.assertEqual(journal_payment.debit or journal_payment.credit, 17000)
AssertionError: 1.0 != 17000
01/13/2022 02:08:24 ERROR
FAIL: TestCurrencyRatePayments.test_rate_payment_receive_config_bank_journal_but_no_rate
Traceback (most recent call last):
File "/opt/odoo/viindooaddons14.0/to_bank_currency_rate/tests/test_currency_rate_payments.py", line 207, in test_rate_payment_receive_config_bank_journal_but_no_rate
self.assertEqual(journal_payment.debit or journal_payment.credit, 12000)
AssertionError: 1.0 != 12000
01/13/2022 02:08:24 ERROR
FAIL: TestCurrencyRatePayments.test_rate_payment_receive_money_have_bank_default_but_no_have_rate
Traceback (most recent call last):
File "/opt/odoo/viindooaddons14.0/to_bank_currency_rate/tests/test_currency_rate_payments.py", line 96, in test_rate_payment_receive_money_have_bank_default_but_no_have_rate
self.assertEqual(journal_payment.debit or journal_payment.credit, 17000)
AssertionError: 1.0 != 17000
01/13/2022 02:08:25 ERROR
FAIL: TestCurrencyRatePayments.test_rate_payment_receive_money_no_have_bank_default
Traceback (most recent call last):
File "/opt/odoo/viindooaddons14.0/to_bank_currency_rate/tests/test_currency_rate_payments.py", line 109, in test_rate_payment_receive_money_no_have_bank_default
self.assertEqual(journal_payment.debit or journal_payment.credit, 18000)
AssertionError: 1.0 != 18000
01/13/2022 02:08:25 ERROR
FAIL: TestCurrencyRatePayments.test_rate_payment_receive_monney_have_bank_default
Traceback (most recent call last):
File "/opt/odoo/viindooaddons14.0/to_bank_currency_rate/tests/test_currency_rate_payments.py", line 77, in test_rate_payment_receive_monney_have_bank_default
self.assertEqual(journal_payment.debit or journal_payment.credit, 12000)
AssertionError: 1.0 != 12000
01/13/2022 02:08:26 ERROR
FAIL: TestCurrencyRatePayments.test_rate_payment_send_config_bank_journal
Traceback (most recent call last):
File "/opt/odoo/viindooaddons14.0/to_bank_currency_rate/tests/test_currency_rate_payments.py", line 172, in test_rate_payment_send_config_bank_journal
self.assertEqual(journal_payment.debit or journal_payment.credit, 15000)
AssertionError: 1.0 != 15000
01/13/2022 02:08:26 ERROR
FAIL: TestCurrencyRatePayments.test_rate_payment_send_config_bank_journal_but_no_rate
Traceback (most recent call last):
File "/opt/odoo/viindooaddons14.0/to_bank_currency_rate/tests/test_currency_rate_payments.py", line 184, in test_rate_payment_send_config_bank_journal_but_no_rate
self.assertEqual(journal_payment.debit or journal_payment.credit, 10000)
AssertionError: 1.0 != 10000
01/13/2022 02:08:26 ERROR
FAIL: TestCurrencyRatePayments.test_rate_payment_send_money_have_bank_default
Traceback (most recent call last):
File "/opt/odoo/viindooaddons14.0/to_bank_currency_rate/tests/test_currency_rate_payments.py", line 33, in test_rate_payment_send_money_have_bank_default
self.assertEqual(journal_payment.debit or journal_payment.credit, 10000)
AssertionError: 1.0 != 10000
01/13/2022 02:08:27 ERROR
FAIL: TestCurrencyRatePayments.test_rate_payment_send_money_have_bank_default_but_no_have_rate
Traceback (most recent call last):
File "/opt/odoo/viindooaddons14.0/to_bank_currency_rate/tests/test_currency_rate_payments.py", line 52, in test_rate_payment_send_money_have_bank_default_but_no_have_rate
self.assertEqual(journal_payment.debit or journal_payment.credit, 15000)
AssertionError: 1.0 != 15000
01/13/2022 02:08:27 ERROR
FAIL: TestCurrencyRatePayments.test_rate_payment_send_money_no_have_bank_default
Traceback (most recent call last):
File "/opt/odoo/viindooaddons14.0/to_bank_currency_rate/tests/test_currency_rate_payments.py", line 65, in test_rate_payment_send_money_no_have_bank_default
self.assertEqual(journal_payment.debit or journal_payment.credit, 18000)
AssertionError: 1.0 != 18000
01/13/2022 02:08:29 ERROR
FAIL: TestCurrencyRatePurchaseStock.test_rate_autofill_po_create_manual_have_bank_default
Traceback (most recent call last):
File "/opt/odoo/viindooaddons14.0/to_bank_currency_rate_purchase_stock/tests/test_currency_rate_purchase_stock.py", line 61, in test_rate_autofill_po_create_manual_have_bank_default
self.assertEqual(po_line.price_unit, 10000)
AssertionError: 1.0 != 10000
01/13/2022 02:08:29 ERROR
FAIL: TestCurrencyRatePurchaseStock.test_rate_autofill_po_create_manual_have_bank_default_but_no_rate
Traceback (most recent call last):
File "/opt/odoo/viindooaddons14.0/to_bank_currency_rate_purchase_stock/tests/test_currency_rate_purchase_stock.py", line 70, in test_rate_autofill_po_create_manual_have_bank_default_but_no_rate
self.assertEqual(po_line.price_unit, 15000)
AssertionError: 1.0 != 15000
01/13/2022 02:08:30 ERROR
FAIL: TestCurrencyRatePurchaseStock.test_rate_autofill_po_create_manual_not_have_bank_default
Traceback (most recent call last):
File "/opt/odoo/viindooaddons14.0/to_bank_currency_rate_purchase_stock/tests/test_currency_rate_purchase_stock.py", line 79, in test_rate_autofill_po_create_manual_not_have_bank_default
self.assertEqual(po_line.price_unit, 18000)
AssertionError: 1.0 != 18000
01/13/2022 02:08:32 ERROR
FAIL: TestCurrencyRatePurchaseStock.test_rate_multi_company
Traceback (most recent call last):
File "/opt/odoo/viindooaddons14.0/to_bank_currency_rate_purchase_stock/tests/test_currency_rate_purchase_stock.py", line 111, in test_rate_multi_company
self.assertEqual(po_line.price_unit, 990000)
AssertionError: 1.0 != 990000
01/13/2022 02:08:32 ERROR
FAIL: TestCurrencyRatePurchaseStock.test_supply_po_rate_have_bank_default
Traceback (most recent call last):
File "/opt/odoo/viindooaddons14.0/to_bank_currency_rate_purchase_stock/tests/test_currency_rate_purchase_stock.py", line 87, in test_supply_po_rate_have_bank_default
self.assertEqual(po_supply.order_line.price_unit, 20000)
AssertionError: 0.0 != 20000
01/13/2022 02:08:32 ERROR
FAIL: TestCurrencyRatePurchaseStock.test_supply_po_rate_have_bank_default_no_rate
Traceback (most recent call last):
File "/opt/odoo/viindooaddons14.0/to_bank_currency_rate_purchase_stock/tests/test_currency_rate_purchase_stock.py", line 94, in test_supply_po_rate_have_bank_default_no_rate
self.assertEqual(po_supply.order_line.price_unit, 25000)
AssertionError: 0.0 != 25000
01/13/2022 02:08:32 ERROR
FAIL: TestCurrencyRatePurchaseStock.test_supply_po_rate_no_have_bank_default
Traceback (most recent call last):
File "/opt/odoo/viindooaddons14.0/to_bank_currency_rate_purchase_stock/tests/test_currency_rate_purchase_stock.py", line 101, in test_supply_po_rate_no_have_bank_default
self.assertEqual(po_supply.order_line.price_unit, 28000)
AssertionError: 0.0 != 28000
01/13/2022 02:08:33 ERROR
ERROR: setUpClass (odoo.addons.to_currency_conversion_diff.tests.test_payment.TestPayment)
Traceback (most recent call last):
File "/opt/odoo/14.0/odoo/tools/cache.py", line 85, in lookup
r = d[key]
File "/opt/odoo/14.0/odoo/tools/func.py", line 71, in wrapper
return func(self, *args, **kwargs)
File "/opt/odoo/14.0/odoo/tools/lru.py", line 34, in __getitem__
a = self.d[obj]
KeyError: ('ir.model.data', <function IrModelData.xmlid_lookup at 0x7fdaf59c6f70>, 'l10n_generic_coa.1_cash_diff_income')

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/odoo/viindooaddons14.0/to_currency_conversion_diff/tests/test_payment.py", line 62, in setUpClass
'income_currency_conversion_diff_account_id': cls.env.ref('l10n_generic_coa.%s_cash_diff_income' % cls.env.company.id),
File "/opt/odoo/14.0/odoo/api.py", line 514, in ref
return self['ir.model.data'].xmlid_to_object(xml_id, raise_if_not_found=raise_if_not_found)
File "/opt/odoo/14.0/odoo/addons/base/models/ir_model.py", line 1944, in xmlid_to_object
t = self.xmlid_to_res_model_res_id(xmlid, raise_if_not_found)
File "/opt/odoo/14.0/odoo/addons/base/models/ir_model.py", line 1928, in xmlid_to_res_model_res_id
return self.xmlid_lookup(xmlid)[1:3]
File "<decorator-gen-35>", line 2, in xmlid_lookup
File "/opt/odoo/14.0/odoo/tools/cache.py", line 90, in lookup
value = d[key] = self.method(*args, **kwargs)
File "/opt/odoo/14.0/odoo/addons/base/models/ir_model.py", line 1921, in xmlid_lookup
raise ValueError('External ID not found in the system: %s' % xmlid)
ValueError: External ID not found in the system: l10n_generic_coa.1_cash_diff_income
01/13/2022 02:10:35 ERROR
FAIL: TestAccount.test_exception_create_accmount_move_lines_1
Traceback (most recent call last):
File "/opt/odoo/viindooaddons14.0/to_hr_payroll_account/tests/test_account.py", line 651, in test_exception_create_accmount_move_lines_1
payslip.action_payslip_verify()
File "/usr/lib/python3.8/contextlib.py", line 120, in __exit__
next(self.gen)
File "/opt/odoo/14.0/odoo/tests/common.py", line 373, in _assertRaises
yield cm
AssertionError: UserError not raised
01/13/2022 02:10:44 ERROR
FAIL: TestPartner.test_priority_partner_1
Traceback (most recent call last):
File "/opt/odoo/viindooaddons14.0/to_hr_payroll_account/tests/test_partner.py", line 48, in test_priority_partner_1
self.assertEqual(move_lines.partner_id, self.rule_babic.register_id.partner_id)
AssertionError: res.partner() != res.partner(3628,)
01/13/2022 02:10:44 ERROR
FAIL: TestPartner.test_priority_partner_2
Traceback (most recent call last):
File "/opt/odoo/viindooaddons14.0/to_hr_payroll_account/tests/test_partner.py", line 71, in test_priority_partner_2
self.assertEqual(move_lines.partner_id, self.rule_babic.register_id.partner_id)
AssertionError: res.partner(3626,) != res.partner(3628,)
01/13/2022 02:10:48 ERROR
ERROR: TestPayslip.test_payslip_cancel_that_have_been_link_to_reconciled_entries
Traceback (most recent call last):
File "/opt/odoo/viindooaddons14.0/to_hr_payroll_account/tests/test_payslip.py", line 330, in test_payslip_cancel_that_have_been_link_to_reconciled_entries
bank_stmt.line_ids[0].process_reconciliation(counterpart_aml_dicts=[{
File "/opt/odoo/viindooaddons14.0/viin_account_reconciliation/models/account_bank_statement_line.py", line 143, in process_reconciliation
(new_aml | counterpart_move_line).reconcile()
File "/opt/odoo/viindooaddons14.0/to_currency_conversion_diff/models/account_move_line.py", line 20, in reconcile
return super(AccountMoveLine, self).reconcile()
File "/opt/odoo/14.0/addons/hr_expense/models/account_move_line.py", line 16, in reconcile
res = super().reconcile()
File "/opt/odoo/14.0/addons/account_edi/models/account_move.py", line 427, in reconcile
res = super().reconcile()
File "/opt/odoo/14.0/addons/account/models/account_move.py", line 4830, in reconcile
raise UserError(_("Account %s does not allow reconciliation. First change the configuration of this account to allow it.")
odoo.exceptions.UserError: Account 3335 Personal income tax does not allow reconciliation. First change the configuration of this account to allow it.
01/13/2022 02:11:07 ERROR
FAIL: TestHrTimesheetPayroll.test_09_hr_timesheet_payroll
Traceback (most recent call last):
File "/opt/odoo/viindooaddons14.0/to_hr_timesheet_payroll/tests/test_hr_timesheet_payroll.py", line 248, in test_09_hr_timesheet_payroll
self.assertEqual(self.employee_4.timesheet_cost, 59.52)
AssertionError: 60.0 != 59.52
01/13/2022 02:11:07 ERROR
FAIL: TestHrTimesheetPayroll.test_10_hr_timesheet_payroll
Traceback (most recent call last):
File "/opt/odoo/viindooaddons14.0/to_hr_timesheet_payroll/tests/test_hr_timesheet_payroll.py", line 281, in test_10_hr_timesheet_payroll
self.assertEqual(self.employee_4.timesheet_cost, 36.85)
AssertionError: 37.0 != 36.85
01/13/2022 02:11:07 ERROR
FAIL: TestHrTimesheetPayroll.test_11_hr_timesheet_payroll
Traceback (most recent call last):
File "/opt/odoo/viindooaddons14.0/to_hr_timesheet_payroll/tests/test_hr_timesheet_payroll.py", line 316, in test_11_hr_timesheet_payroll
self.assertEqual(self.employee_4.timesheet_cost, 29.76)
AssertionError: 30.0 != 29.76
01/13/2022 02:11:11 ERROR
FAIL: TestHrContract.test_03_vn_contract
Traceback (most recent call last):
File "/opt/odoo/viindooaddons14.0/to_l10n_vn_hr_payroll/tests/test_vn_hr_contract.py", line 44, in test_03_vn_contract
self.assertRecordValues(
File "/opt/odoo/14.0/odoo/tests/common.py", line 573, in assertRecordValues
self.fail('\n'.join(errors))
AssertionError: The records and expected_values do not match.
Wrong number of records to compare: 1 records versus 2 expected values.

==== Differences at index 0 ====
---

+++

@@ -1,3 +1,3 @@

-country_id:241
-personal_tax_policy:escalation
-apply_tax_base_deduction:True
+country_id:False
+personal_tax_policy:False
+apply_tax_base_deduction:False

==== Missing record ====
{'apply_tax_base_deduction': True,
'country_id': 241,
'personal_tax_policy': 'escalation'}
01/13/2022 02:11:16 ERROR
bad query: DELETE FROM account_account WHERE id IN (25, 204, 205)
ERROR: update or delete on table "account_account" violates foreign key constraint "pos_payment_method_receivable_account_id_fkey" on table "pos_payment_method"
DETAIL: Key (id)=(25) is still referenced from table "pos_payment_method".
01/13/2022 02:11:16 ERROR
ERROR: TestAccountOnCompany133.test_account_on_company_1
Traceback (most recent call last):
File "/opt/odoo/viindooaddons14.0/to_l10n_vn_hr_payroll_account/tests/test_account_on_company.py", line 18, in test_account_on_company_1
chart_template_133.try_loading(company=company)
File "/opt/odoo/14.0/addons/account/models/chart_template.py", line 186, in try_loading
template.with_context(default_company_id=company.id)._load(15.0, 15.0, company)
File "/opt/odoo/viindooaddons14.0/l10n_vn_common/models/account_chart_template.py", line 13, in _load
company._change_info_account_child()
File "/opt/odoo/viindooaddons14.0/l10n_vn_common/models/res_company.py", line 193, in _change_info_account_child
company._remove_account(accounts)
File "/opt/odoo/viindooaddons14.0/l10n_vn_common/models/res_company.py", line 80, in _remove_account
Account_Account.unlink()
File "/opt/odoo/14.0/addons/account/models/account_account.py", line 495, in unlink
return super(AccountAccount, self).unlink()
File "/opt/odoo/viindooaddons14.0/viin_user_assignment_log/models/base.py", line 44, in unlink
res = super(Base, self).unlink()
File "/opt/odoo/14.0/odoo/models.py", line 3453, in unlink
cr.execute(query, (sub_ids,))
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 298, in execute
res = self._obj.execute(query, params)
psycopg2.errors.ForeignKeyViolation: update or delete on table "account_account" violates foreign key constraint "pos_payment_method_receivable_account_id_fkey" on table "pos_payment_method"
DETAIL: Key (id)=(25) is still referenced from table "pos_payment_method".
01/13/2022 02:11:19 ERROR
bad query: DELETE FROM account_account WHERE id IN (25, 204, 205)
ERROR: update or delete on table "account_account" violates foreign key constraint "pos_payment_method_receivable_account_id_fkey" on table "pos_payment_method"
DETAIL: Key (id)=(25) is still referenced from table "pos_payment_method".
01/13/2022 02:11:19 ERROR
ERROR: TestAccountOnCompany133.test_account_on_company_2
Traceback (most recent call last):
File "/opt/odoo/viindooaddons14.0/to_l10n_vn_hr_payroll_account/tests/test_account_on_company.py", line 32, in test_account_on_company_2
chart_template_200.try_loading(company=company)
File "/opt/odoo/14.0/addons/account/models/chart_template.py", line 186, in try_loading
template.with_context(default_company_id=company.id)._load(15.0, 15.0, company)
File "/opt/odoo/viindooaddons14.0/l10n_vn_common/models/account_chart_template.py", line 13, in _load
company._change_info_account_child()
File "/opt/odoo/viindooaddons14.0/l10n_vn_common/models/res_company.py", line 193, in _change_info_account_child
company._remove_account(accounts)
File "/opt/odoo/viindooaddons14.0/l10n_vn_common/models/res_company.py", line 80, in _remove_account
Account_Account.unlink()
File "/opt/odoo/14.0/addons/account/models/account_account.py", line 495, in unlink
return super(AccountAccount, self).unlink()
File "/opt/odoo/viindooaddons14.0/viin_user_assignment_log/models/base.py", line 44, in unlink
res = super(Base, self).unlink()
File "/opt/odoo/14.0/odoo/models.py", line 3453, in unlink
cr.execute(query, (sub_ids,))
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 298, in execute
res = self._obj.execute(query, params)
psycopg2.errors.ForeignKeyViolation: update or delete on table "account_account" violates foreign key constraint "pos_payment_method_receivable_account_id_fkey" on table "pos_payment_method"
DETAIL: Key (id)=(25) is still referenced from table "pos_payment_method".
01/13/2022 02:11:22 ERROR
bad query: DELETE FROM account_account WHERE id IN (25, 204, 205)
ERROR: update or delete on table "account_account" violates foreign key constraint "pos_payment_method_receivable_account_id_fkey" on table "pos_payment_method"
DETAIL: Key (id)=(25) is still referenced from table "pos_payment_method".
01/13/2022 02:11:22 ERROR
ERROR: TestAccountOnDepartment133.test_01_account_on_department
Traceback (most recent call last):
File "/opt/odoo/viindooaddons14.0/to_l10n_vn_hr_payroll_account/tests/test_account_on_department_c133.py", line 46, in test_01_account_on_department
self.vn_chart_template.try_loading(company=company)
File "/opt/odoo/14.0/addons/account/models/chart_template.py", line 186, in try_loading
template.with_context(default_company_id=company.id)._load(15.0, 15.0, company)
File "/opt/odoo/viindooaddons14.0/l10n_vn_common/models/account_chart_template.py", line 13, in _load
company._change_info_account_child()
File "/opt/odoo/viindooaddons14.0/l10n_vn_common/models/res_company.py", line 193, in _change_info_account_child
company._remove_account(accounts)
File "/opt/odoo/viindooaddons14.0/l10n_vn_common/models/res_company.py", line 80, in _remove_account
Account_Account.unlink()
File "/opt/odoo/14.0/addons/account/models/account_account.py", line 495, in unlink
return super(AccountAccount, self).unlink()
File "/opt/odoo/viindooaddons14.0/viin_user_assignment_log/models/base.py", line 44, in unlink
res = super(Base, self).unlink()
File "/opt/odoo/14.0/odoo/models.py", line 3453, in unlink
cr.execute(query, (sub_ids,))
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 298, in execute
res = self._obj.execute(query, params)
psycopg2.errors.ForeignKeyViolation: update or delete on table "account_account" violates foreign key constraint "pos_payment_method_receivable_account_id_fkey" on table "pos_payment_method"
DETAIL: Key (id)=(25) is still referenced from table "pos_payment_method".
01/13/2022 02:11:26 ERROR
bad query: DELETE FROM account_account WHERE id IN (25, 204, 205)
ERROR: update or delete on table "account_account" violates foreign key constraint "pos_payment_method_receivable_account_id_fkey" on table "pos_payment_method"
DETAIL: Key (id)=(25) is still referenced from table "pos_payment_method".
01/13/2022 02:11:26 ERROR
ERROR: TestAccountOnDepartment200.test_01_account_on_department
Traceback (most recent call last):
File "/opt/odoo/viindooaddons14.0/to_l10n_vn_hr_payroll_account/tests/test_account_on_department_c200.py", line 47, in test_01_account_on_department
self.vn_chart_template.try_loading(company=company)
File "/opt/odoo/14.0/addons/account/models/chart_template.py", line 186, in try_loading
template.with_context(default_company_id=company.id)._load(15.0, 15.0, company)
File "/opt/odoo/viindooaddons14.0/l10n_vn_common/models/account_chart_template.py", line 13, in _load
company._change_info_account_child()
File "/opt/odoo/viindooaddons14.0/l10n_vn_common/models/res_company.py", line 193, in _change_info_account_child
company._remove_account(accounts)
File "/opt/odoo/viindooaddons14.0/l10n_vn_common/models/res_company.py", line 80, in _remove_account
Account_Account.unlink()
File "/opt/odoo/14.0/addons/account/models/account_account.py", line 495, in unlink
return super(AccountAccount, self).unlink()
File "/opt/odoo/viindooaddons14.0/viin_user_assignment_log/models/base.py", line 44, in unlink
res = super(Base, self).unlink()
File "/opt/odoo/14.0/odoo/models.py", line 3453, in unlink
cr.execute(query, (sub_ids,))
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 298, in execute
res = self._obj.execute(query, params)
psycopg2.errors.ForeignKeyViolation: update or delete on table "account_account" violates foreign key constraint "pos_payment_method_receivable_account_id_fkey" on table "pos_payment_method"
DETAIL: Key (id)=(25) is still referenced from table "pos_payment_method".
01/13/2022 02:11:28 ERROR
bad query: DELETE FROM account_account WHERE id IN (25, 204, 205)
ERROR: update or delete on table "account_account" violates foreign key constraint "pos_payment_method_receivable_account_id_fkey" on table "pos_payment_method"
DETAIL: Key (id)=(25) is still referenced from table "pos_payment_method".
01/13/2022 02:11:28 ERROR
ERROR: setUpClass (odoo.addons.to_l10n_vn_hr_payroll_account.tests.test_account_on_employee_c133.TestAccountOnEmployee133)
Traceback (most recent call last):
File "/opt/odoo/viindooaddons14.0/to_l10n_vn_hr_payroll_account/tests/common.py", line 61, in setUpClass
chart_template_133.try_loading(company=cls.company_c133)
File "/opt/odoo/14.0/addons/account/models/chart_template.py", line 186, in try_loading
template.with_context(default_company_id=company.id)._load(15.0, 15.0, company)
File "/opt/odoo/viindooaddons14.0/l10n_vn_common/models/account_chart_template.py", line 13, in _load
company._change_info_account_child()
File "/opt/odoo/viindooaddons14.0/l10n_vn_common/models/res_company.py", line 193, in _change_info_account_child
company._remove_account(accounts)
File "/opt/odoo/viindooaddons14.0/l10n_vn_common/models/res_company.py", line 80, in _remove_account
Account_Account.unlink()
File "/opt/odoo/14.0/addons/account/models/account_account.py", line 495, in unlink
return super(AccountAccount, self).unlink()
File "/opt/odoo/viindooaddons14.0/viin_user_assignment_log/models/base.py", line 44, in unlink
res = super(Base, self).unlink()
File "/opt/odoo/14.0/odoo/models.py", line 3453, in unlink
cr.execute(query, (sub_ids,))
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 298, in execute
res = self._obj.execute(query, params)
psycopg2.errors.ForeignKeyViolation: update or delete on table "account_account" violates foreign key constraint "pos_payment_method_receivable_account_id_fkey" on table "pos_payment_method"
DETAIL: Key (id)=(25) is still referenced from table "pos_payment_method".
01/13/2022 02:11:32 ERROR
bad query: DELETE FROM account_account WHERE id IN (25, 204, 205)
ERROR: update or delete on table "account_account" violates foreign key constraint "pos_payment_method_receivable_account_id_fkey" on table "pos_payment_method"
DETAIL: Key (id)=(25) is still referenced from table "pos_payment_method".
01/13/2022 02:11:32 ERROR
ERROR: setUpClass (odoo.addons.to_l10n_vn_hr_payroll_account.tests.test_account_on_employee_c200.TestAccountOnEmployee200)
Traceback (most recent call last):
File "/opt/odoo/viindooaddons14.0/to_l10n_vn_hr_payroll_account/tests/common.py", line 16, in setUpClass
chart_template_200.try_loading(company=cls.company_c200)
File "/opt/odoo/14.0/addons/account/models/chart_template.py", line 186, in try_loading
template.with_context(default_company_id=company.id)._load(15.0, 15.0, company)
File "/opt/odoo/viindooaddons14.0/l10n_vn_common/models/account_chart_template.py", line 13, in _load
company._change_info_account_child()
File "/opt/odoo/viindooaddons14.0/l10n_vn_common/models/res_company.py", line 193, in _change_info_account_child
company._remove_account(accounts)
File "/opt/odoo/viindooaddons14.0/l10n_vn_common/models/res_company.py", line 80, in _remove_account
Account_Account.unlink()
File "/opt/odoo/14.0/addons/account/models/account_account.py", line 495, in unlink
return super(AccountAccount, self).unlink()
File "/opt/odoo/viindooaddons14.0/viin_user_assignment_log/models/base.py", line 44, in unlink
res = super(Base, self).unlink()
File "/opt/odoo/14.0/odoo/models.py", line 3453, in unlink
cr.execute(query, (sub_ids,))
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 298, in execute
res = self._obj.execute(query, params)
psycopg2.errors.ForeignKeyViolation: update or delete on table "account_account" violates foreign key constraint "pos_payment_method_receivable_account_id_fkey" on table "pos_payment_method"
DETAIL: Key (id)=(25) is still referenced from table "pos_payment_method".
01/13/2022 02:11:34 ERROR
bad query: DELETE FROM account_account WHERE id IN (25, 204, 205)
ERROR: update or delete on table "account_account" violates foreign key constraint "pos_payment_method_receivable_account_id_fkey" on table "pos_payment_method"
DETAIL: Key (id)=(25) is still referenced from table "pos_payment_method".
01/13/2022 02:11:34 ERROR
ERROR: setUpClass (odoo.addons.to_l10n_vn_hr_payroll_account.tests.test_partner_on_salary_entry_c133.TestPartnerOnSalaryEntry133)
Traceback (most recent call last):
File "/opt/odoo/viindooaddons14.0/to_l10n_vn_hr_payroll_account/tests/test_partner_on_salary_entry_c133.py", line 12, in setUpClass
super(TestPartnerOnSalaryEntry133, cls).setUpClass()
File "/opt/odoo/viindooaddons14.0/to_l10n_vn_hr_payroll_account/tests/common.py", line 61, in setUpClass
chart_template_133.try_loading(company=cls.company_c133)
File "/opt/odoo/14.0/addons/account/models/chart_template.py", line 186, in try_loading
template.with_context(default_company_id=company.id)._load(15.0, 15.0, company)
File "/opt/odoo/viindooaddons14.0/l10n_vn_common/models/account_chart_template.py", line 13, in _load
company._change_info_account_child()
File "/opt/odoo/viindooaddons14.0/l10n_vn_common/models/res_company.py", line 193, in _change_info_account_child
company._remove_account(accounts)
File "/opt/odoo/viindooaddons14.0/l10n_vn_common/models/res_company.py", line 80, in _remove_account
Account_Account.unlink()
File "/opt/odoo/14.0/addons/account/models/account_account.py", line 495, in unlink
return super(AccountAccount, self).unlink()
File "/opt/odoo/viindooaddons14.0/viin_user_assignment_log/models/base.py", line 44, in unlink
res = super(Base, self).unlink()
File "/opt/odoo/14.0/odoo/models.py", line 3453, in unlink
cr.execute(query, (sub_ids,))
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 298, in execute
res = self._obj.execute(query, params)
psycopg2.errors.ForeignKeyViolation: update or delete on table "account_account" violates foreign key constraint "pos_payment_method_receivable_account_id_fkey" on table "pos_payment_method"
DETAIL: Key (id)=(25) is still referenced from table "pos_payment_method".
01/13/2022 02:11:38 ERROR
bad query: DELETE FROM account_account WHERE id IN (25, 204, 205)
ERROR: update or delete on table "account_account" violates foreign key constraint "pos_payment_method_receivable_account_id_fkey" on table "pos_payment_method"
DETAIL: Key (id)=(25) is still referenced from table "pos_payment_method".
01/13/2022 02:11:38 ERROR
ERROR: setUpClass (odoo.addons.to_l10n_vn_hr_payroll_account.tests.test_partner_on_salary_entry_c200.TestPartnerOnSalaryEntry200)
Traceback (most recent call last):
File "/opt/odoo/viindooaddons14.0/to_l10n_vn_hr_payroll_account/tests/test_partner_on_salary_entry_c200.py", line 12, in setUpClass
super(TestPartnerOnSalaryEntry200, cls).setUpClass()
File "/opt/odoo/viindooaddons14.0/to_l10n_vn_hr_payroll_account/tests/common.py", line 16, in setUpClass
chart_template_200.try_loading(company=cls.company_c200)
File "/opt/odoo/14.0/addons/account/models/chart_template.py", line 186, in try_loading
template.with_context(default_company_id=company.id)._load(15.0, 15.0, company)
File "/opt/odoo/viindooaddons14.0/l10n_vn_common/models/account_chart_template.py", line 13, in _load
company._change_info_account_child()
File "/opt/odoo/viindooaddons14.0/l10n_vn_common/models/res_company.py", line 193, in _change_info_account_child
company._remove_account(accounts)
File "/opt/odoo/viindooaddons14.0/l10n_vn_common/models/res_company.py", line 80, in _remove_account
Account_Account.unlink()
File "/opt/odoo/14.0/addons/account/models/account_account.py", line 495, in unlink
return super(AccountAccount, self).unlink()
File "/opt/odoo/viindooaddons14.0/viin_user_assignment_log/models/base.py", line 44, in unlink
res = super(Base, self).unlink()
File "/opt/odoo/14.0/odoo/models.py", line 3453, in unlink
cr.execute(query, (sub_ids,))
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 298, in execute
res = self._obj.execute(query, params)
psycopg2.errors.ForeignKeyViolation: update or delete on table "account_account" violates foreign key constraint "pos_payment_method_receivable_account_id_fkey" on table "pos_payment_method"
DETAIL: Key (id)=(25) is still referenced from table "pos_payment_method".
01/13/2022 02:11:40 ERROR
bad query: DELETE FROM account_account WHERE id IN (25, 204, 205)
ERROR: update or delete on table "account_account" violates foreign key constraint "pos_payment_method_receivable_account_id_fkey" on table "pos_payment_method"
DETAIL: Key (id)=(25) is still referenced from table "pos_payment_method".
01/13/2022 02:11:40 ERROR
ERROR: setUpClass (odoo.addons.to_l10n_vn_hr_payroll_account.tests.test_vn_salary_rule_c133.TestVNSalaryRule133)
Traceback (most recent call last):
File "/opt/odoo/viindooaddons14.0/to_l10n_vn_hr_payroll_account/tests/common.py", line 61, in setUpClass
chart_template_133.try_loading(company=cls.company_c133)
File "/opt/odoo/14.0/addons/account/models/chart_template.py", line 186, in try_loading
template.with_context(default_company_id=company.id)._load(15.0, 15.0, company)
File "/opt/odoo/viindooaddons14.0/l10n_vn_common/models/account_chart_template.py", line 13, in _load
company._change_info_account_child()
File "/opt/odoo/viindooaddons14.0/l10n_vn_common/models/res_company.py", line 193, in _change_info_account_child
company._remove_account(accounts)
File "/opt/odoo/viindooaddons14.0/l10n_vn_common/models/res_company.py", line 80, in _remove_account
Account_Account.unlink()
File "/opt/odoo/14.0/addons/account/models/account_account.py", line 495, in unlink
return super(AccountAccount, self).unlink()
File "/opt/odoo/viindooaddons14.0/viin_user_assignment_log/models/base.py", line 44, in unlink
res = super(Base, self).unlink()
File "/opt/odoo/14.0/odoo/models.py", line 3453, in unlink
cr.execute(query, (sub_ids,))
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 298, in execute
res = self._obj.execute(query, params)
psycopg2.errors.ForeignKeyViolation: update or delete on table "account_account" violates foreign key constraint "pos_payment_method_receivable_account_id_fkey" on table "pos_payment_method"
DETAIL: Key (id)=(25) is still referenced from table "pos_payment_method".
01/13/2022 02:11:44 ERROR
bad query: DELETE FROM account_account WHERE id IN (25, 204, 205)
ERROR: update or delete on table "account_account" violates foreign key constraint "pos_payment_method_receivable_account_id_fkey" on table "pos_payment_method"
DETAIL: Key (id)=(25) is still referenced from table "pos_payment_method".
01/13/2022 02:11:44 ERROR
ERROR: setUpClass (odoo.addons.to_l10n_vn_hr_payroll_account.tests.test_vn_salary_rule_c200.TestVNSalaryRule200)
Traceback (most recent call last):
File "/opt/odoo/viindooaddons14.0/to_l10n_vn_hr_payroll_account/tests/common.py", line 16, in setUpClass
chart_template_200.try_loading(company=cls.company_c200)
File "/opt/odoo/14.0/addons/account/models/chart_template.py", line 186, in try_loading
template.with_context(default_company_id=company.id)._load(15.0, 15.0, company)
File "/opt/odoo/viindooaddons14.0/l10n_vn_common/models/account_chart_template.py", line 13, in _load
company._change_info_account_child()
File "/opt/odoo/viindooaddons14.0/l10n_vn_common/models/res_company.py", line 193, in _change_info_account_child
company._remove_account(accounts)
File "/opt/odoo/viindooaddons14.0/l10n_vn_common/models/res_company.py", line 80, in _remove_account
Account_Account.unlink()
File "/opt/odoo/14.0/addons/account/models/account_account.py", line 495, in unlink
return super(AccountAccount, self).unlink()
File "/opt/odoo/viindooaddons14.0/viin_user_assignment_log/models/base.py", line 44, in unlink
res = super(Base, self).unlink()
File "/opt/odoo/14.0/odoo/models.py", line 3453, in unlink
cr.execute(query, (sub_ids,))
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 298, in execute
res = self._obj.execute(query, params)
psycopg2.errors.ForeignKeyViolation: update or delete on table "account_account" violates foreign key constraint "pos_payment_method_receivable_account_id_fkey" on table "pos_payment_method"
DETAIL: Key (id)=(25) is still referenced from table "pos_payment_method".
01/13/2022 02:12:20 WARNING
Received a notification from Paypal using sandbox
01/13/2022 02:14:03 ERROR
ERROR: TestAccessRight.test_access_right_user_accountant
Traceback (most recent call last):
File "/opt/odoo/viindooaddons14.0/to_stock_account_moves_link/tests/test_access_right.py", line 39, in test_access_right_user_accountant
picking = self._make_in_picking(self.product_storeable)
File "/opt/odoo/viindooaddons14.0/to_stock_account_moves_link/tests/common.py", line 111, in _make_in_picking
picking.move_lines._action_done()
File "/opt/odoo/viindooaddons14.0/to_stock_picking_backdate/models/stock_move.py", line 17, in _action_done
res = super(StockMove, self)._action_done(cancel_backorder)
File "/opt/odoo/14.0/addons/stock_account/models/stock_move.py", line 277, in _action_done
svl.stock_move_id._account_entry_move(svl.quantity, svl.description, svl.id, svl.value)
File "/opt/odoo/viindooaddons14.0/viin_stock_specific_identification/models/stock_move.py", line 175, in _account_entry_move
return super(StockMove, self)._account_entry_move(qty, description, svl_id, cost)
File "/opt/odoo/viindooaddons14.0/viin_stock_internal_transit_valuation/models/stock_move.py", line 39, in _account_entry_move
super(StockMove, self)._account_entry_move(qty, description, svl_id, cost)
File "/opt/odoo/14.0/addons/stock_account/models/stock_move.py", line 479, in _account_entry_move
journal_id, acc_src, acc_dest, acc_valuation = self._get_accounting_data_for_valuation()
File "/opt/odoo/14.0/addons/stock_account/models/stock_move.py", line 358, in _get_accounting_data_for_valuation
raise UserError(_('Cannot find a stock input account for the product %s. You must define one on the product category, or on the location, before processing this operation.') % (self.product_id.display_name))
odoo.exceptions.UserError: Cannot find a stock input account for the product [FURN_6666] Acoustic Bloc Screens. You must define one on the product category, or on the location, before processing this operation.
01/13/2022 02:14:03 ERROR
ERROR: TestAccessRight.test_access_right_user_accountant_billing
Traceback (most recent call last):
File "/opt/odoo/viindooaddons14.0/to_stock_account_moves_link/tests/test_access_right.py", line 32, in test_access_right_user_accountant_billing
self.picking = self._make_in_picking(self.product_storeable)
File "/opt/odoo/viindooaddons14.0/to_stock_account_moves_link/tests/common.py", line 111, in _make_in_picking
picking.move_lines._action_done()
File "/opt/odoo/viindooaddons14.0/to_stock_picking_backdate/models/stock_move.py", line 17, in _action_done
res = super(StockMove, self)._action_done(cancel_backorder)
File "/opt/odoo/14.0/addons/stock_account/models/stock_move.py", line 277, in _action_done
svl.stock_move_id._account_entry_move(svl.quantity, svl.description, svl.id, svl.value)
File "/opt/odoo/viindooaddons14.0/viin_stock_specific_identification/models/stock_move.py", line 175, in _account_entry_move
return super(StockMove, self)._account_entry_move(qty, description, svl_id, cost)
File "/opt/odoo/viindooaddons14.0/viin_stock_internal_transit_valuation/models/stock_move.py", line 39, in _account_entry_move
super(StockMove, self)._account_entry_move(qty, description, svl_id, cost)
File "/opt/odoo/14.0/addons/stock_account/models/stock_move.py", line 479, in _account_entry_move
journal_id, acc_src, acc_dest, acc_valuation = self._get_accounting_data_for_valuation()
File "/opt/odoo/14.0/addons/stock_account/models/stock_move.py", line 358, in _get_accounting_data_for_valuation
raise UserError(_('Cannot find a stock input account for the product %s. You must define one on the product category, or on the location, before processing this operation.') % (self.product_id.display_name))
odoo.exceptions.UserError: Cannot find a stock input account for the product [FURN_6666] Acoustic Bloc Screens. You must define one on the product category, or on the location, before processing this operation.
01/13/2022 02:14:04 ERROR
ERROR: TestAccessRight.test_access_right_user_inventory
Traceback (most recent call last):
File "/opt/odoo/viindooaddons14.0/to_stock_account_moves_link/tests/test_access_right.py", line 12, in test_access_right_user_inventory
self.picking = self._make_in_picking(self.product_storeable)
File "/opt/odoo/viindooaddons14.0/to_stock_account_moves_link/tests/common.py", line 111, in _make_in_picking
picking.move_lines._action_done()
File "/opt/odoo/viindooaddons14.0/to_stock_picking_backdate/models/stock_move.py", line 17, in _action_done
res = super(StockMove, self)._action_done(cancel_backorder)
File "/opt/odoo/14.0/addons/stock_account/models/stock_move.py", line 277, in _action_done
svl.stock_move_id._account_entry_move(svl.quantity, svl.description, svl.id, svl.value)
File "/opt/odoo/viindooaddons14.0/viin_stock_specific_identification/models/stock_move.py", line 175, in _account_entry_move
return super(StockMove, self)._account_entry_move(qty, description, svl_id, cost)
File "/opt/odoo/viindooaddons14.0/viin_stock_internal_transit_valuation/models/stock_move.py", line 39, in _account_entry_move
super(StockMove, self)._account_entry_move(qty, description, svl_id, cost)
File "/opt/odoo/14.0/addons/stock_account/models/stock_move.py", line 479, in _account_entry_move
journal_id, acc_src, acc_dest, acc_valuation = self._get_accounting_data_for_valuation()
File "/opt/odoo/14.0/addons/stock_account/models/stock_move.py", line 358, in _get_accounting_data_for_valuation
raise UserError(_('Cannot find a stock input account for the product %s. You must define one on the product category, or on the location, before processing this operation.') % (self.product_id.display_name))
odoo.exceptions.UserError: Cannot find a stock input account for the product [FURN_6666] Acoustic Bloc Screens. You must define one on the product category, or on the location, before processing this operation.
01/13/2022 02:14:04 ERROR
ERROR: TestAccessRight.test_access_right_user_inventory_accountant_admin
Traceback (most recent call last):
File "/opt/odoo/viindooaddons14.0/to_stock_account_moves_link/tests/test_access_right.py", line 26, in test_access_right_user_inventory_accountant_admin
self.picking = self._make_in_picking(self.product_storeable)
File "/opt/odoo/viindooaddons14.0/to_stock_account_moves_link/tests/common.py", line 111, in _make_in_picking
picking.move_lines._action_done()
File "/opt/odoo/viindooaddons14.0/to_stock_picking_backdate/models/stock_move.py", line 17, in _action_done
res = super(StockMove, self)._action_done(cancel_backorder)
File "/opt/odoo/14.0/addons/stock_account/models/stock_move.py", line 277, in _action_done
svl.stock_move_id._account_entry_move(svl.quantity, svl.description, svl.id, svl.value)
File "/opt/odoo/viindooaddons14.0/viin_stock_specific_identification/models/stock_move.py", line 175, in _account_entry_move
return super(StockMove, self)._account_entry_move(qty, description, svl_id, cost)
File "/opt/odoo/viindooaddons14.0/viin_stock_internal_transit_valuation/models/stock_move.py", line 39, in _account_entry_move
super(StockMove, self)._account_entry_move(qty, description, svl_id, cost)
File "/opt/odoo/14.0/addons/stock_account/models/stock_move.py", line 479, in _account_entry_move
journal_id, acc_src, acc_dest, acc_valuation = self._get_accounting_data_for_valuation()
File "/opt/odoo/14.0/addons/stock_account/models/stock_move.py", line 358, in _get_accounting_data_for_valuation
raise UserError(_('Cannot find a stock input account for the product %s. You must define one on the product category, or on the location, before processing this operation.') % (self.product_id.display_name))
odoo.exceptions.UserError: Cannot find a stock input account for the product [FURN_6666] Acoustic Bloc Screens. You must define one on the product category, or on the location, before processing this operation.
01/13/2022 02:14:05 ERROR
ERROR: TestAccessRight.test_access_right_user_inventory_billing
Traceback (most recent call last):
File "/opt/odoo/viindooaddons14.0/to_stock_account_moves_link/tests/test_access_right.py", line 19, in test_access_right_user_inventory_billing
self.picking = self._make_in_picking(self.product_storeable)
File "/opt/odoo/viindooaddons14.0/to_stock_account_moves_link/tests/common.py", line 111, in _make_in_picking
picking.move_lines._action_done()
File "/opt/odoo/viindooaddons14.0/to_stock_picking_backdate/models/stock_move.py", line 17, in _action_done
res = super(StockMove, self)._action_done(cancel_backorder)
File "/opt/odoo/14.0/addons/stock_account/models/stock_move.py", line 277, in _action_done
svl.stock_move_id._account_entry_move(svl.quantity, svl.description, svl.id, svl.value)
File "/opt/odoo/viindooaddons14.0/viin_stock_specific_identification/models/stock_move.py", line 175, in _account_entry_move
return super(StockMove, self)._account_entry_move(qty, description, svl_id, cost)
File "/opt/odoo/viindooaddons14.0/viin_stock_internal_transit_valuation/models/stock_move.py", line 39, in _account_entry_move
super(StockMove, self)._account_entry_move(qty, description, svl_id, cost)
File "/opt/odoo/14.0/addons/stock_account/models/stock_move.py", line 479, in _account_entry_move
journal_id, acc_src, acc_dest, acc_valuation = self._get_accounting_data_for_valuation()
File "/opt/odoo/14.0/addons/stock_account/models/stock_move.py", line 358, in _get_accounting_data_for_valuation
raise UserError(_('Cannot find a stock input account for the product %s. You must define one on the product category, or on the location, before processing this operation.') % (self.product_id.display_name))
odoo.exceptions.UserError: Cannot find a stock input account for the product [FURN_6666] Acoustic Bloc Screens. You must define one on the product category, or on the location, before processing this operation.
01/13/2022 02:14:05 ERROR
ERROR: TestStockPicking.test_delivery_picking
Traceback (most recent call last):
File "/opt/odoo/viindooaddons14.0/to_stock_account_moves_link/tests/test_stock_picking.py", line 23, in test_delivery_picking
self._make_in_picking(self.product_storeable)
File "/opt/odoo/viindooaddons14.0/to_stock_account_moves_link/tests/common.py", line 111, in _make_in_picking
picking.move_lines._action_done()
File "/opt/odoo/viindooaddons14.0/to_stock_picking_backdate/models/stock_move.py", line 17, in _action_done
res = super(StockMove, self)._action_done(cancel_backorder)
File "/opt/odoo/14.0/addons/stock_account/models/stock_move.py", line 277, in _action_done
svl.stock_move_id._account_entry_move(svl.quantity, svl.description, svl.id, svl.value)
File "/opt/odoo/viindooaddons14.0/viin_stock_specific_identification/models/stock_move.py", line 175, in _account_entry_move
return super(StockMove, self)._account_entry_move(qty, description, svl_id, cost)
File "/opt/odoo/viindooaddons14.0/viin_stock_internal_transit_valuation/models/stock_move.py", line 39, in _account_entry_move
super(StockMove, self)._account_entry_move(qty, description, svl_id, cost)
File "/opt/odoo/14.0/addons/stock_account/models/stock_move.py", line 479, in _account_entry_move
journal_id, acc_src, acc_dest, acc_valuation = self._get_accounting_data_for_valuation()
File "/opt/odoo/14.0/addons/stock_account/models/stock_move.py", line 358, in _get_accounting_data_for_valuation
raise UserError(_('Cannot find a stock input account for the product %s. You must define one on the product category, or on the location, before processing this operation.') % (self.product_id.display_name))
odoo.exceptions.UserError: Cannot find a stock input account for the product [FURN_6666] Acoustic Bloc Screens. You must define one on the product category, or on the location, before processing this operation.
01/13/2022 02:14:07 ERROR
ERROR: TestStockPicking.test_inventory_transfer_type_receipts
Traceback (most recent call last):
File "/opt/odoo/viindooaddons14.0/to_stock_account_moves_link/tests/test_stock_picking.py", line 11, in test_inventory_transfer_type_receipts
picking = self._make_in_picking(self.product_storeable)
File "/opt/odoo/viindooaddons14.0/to_stock_account_moves_link/tests/common.py", line 111, in _make_in_picking
picking.move_lines._action_done()
File "/opt/odoo/viindooaddons14.0/to_stock_picking_backdate/models/stock_move.py", line 17, in _action_done
res = super(StockMove, self)._action_done(cancel_backorder)
File "/opt/odoo/14.0/addons/stock_account/models/stock_move.py", line 277, in _action_done
svl.stock_move_id._account_entry_move(svl.quantity, svl.description, svl.id, svl.value)
File "/opt/odoo/viindooaddons14.0/viin_stock_specific_identification/models/stock_move.py", line 175, in _account_entry_move
return super(StockMove, self)._account_entry_move(qty, description, svl_id, cost)
File "/opt/odoo/viindooaddons14.0/viin_stock_internal_transit_valuation/models/stock_move.py", line 39, in _account_entry_move
super(StockMove, self)._account_entry_move(qty, description, svl_id, cost)
File "/opt/odoo/14.0/addons/stock_account/models/stock_move.py", line 479, in _account_entry_move
journal_id, acc_src, acc_dest, acc_valuation = self._get_accounting_data_for_valuation()
File "/opt/odoo/14.0/addons/stock_account/models/stock_move.py", line 358, in _get_accounting_data_for_valuation
raise UserError(_('Cannot find a stock input account for the product %s. You must define one on the product category, or on the location, before processing this operation.') % (self.product_id.display_name))
odoo.exceptions.UserError: Cannot find a stock input account for the product [FURN_6666] Acoustic Bloc Screens. You must define one on the product category, or on the location, before processing this operation.
01/13/2022 02:15:19 WARNING
Message notify called without recipient_ids, skipping
01/13/2022 02:16:46 ERROR
bad query: INSERT INTO "admin_region_payroll_contrib" ("id", "create_uid", "create_date", "write_uid", "write_date", "administrative_region_id", "max_contribution_base", "max_contribution_company", "max_contribution_employee", "min_contribution_base", "payroll_contribution_type_id") VALUES (nextval('admin_region_payroll_contrib_id_seq'), 1, (now() at time zone 'UTC'), 1, (now() at time zone 'UTC'), 1, 5000.0, 200.0, 150.0, 1000.0, 5) RETURNING id
ERROR: duplicate key value violates unique constraint "admin_region_payroll_contrib_check_unique"
DETAIL: Key (administrative_region_id, payroll_contribution_type_id)=(1, 5) already exists.
01/13/2022 02:16:46 ERROR
ERROR: setUpClass (odoo.addons.viin_hr_payroll_administrative_region.tests.test_hr_contract.TestHRContract)
Traceback (most recent call last):
File "/opt/odoo/viindooaddons14.0/viin_hr_payroll_administrative_region/tests/test_hr_contract.py", line 18, in setUpClass
cls.contrib_social_insurance_v1 = cls.env['admin.region.payroll.contrib'].with_context(tracking_disable=True).create({
File "<decorator-gen-168>", 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-390>", 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/viindooaddons14.0/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 3877, in create
records = self._create(data_list)
File "/opt/odoo/14.0/odoo/models.py", line 3983, 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 298, in execute
res = self._obj.execute(query, params)
psycopg2.errors.UniqueViolation: duplicate key value violates unique constraint "admin_region_payroll_contrib_check_unique"
DETAIL: Key (administrative_region_id, payroll_contribution_type_id)=(1, 5) already exists.
01/13/2022 02:16:50 ERROR
bad query: INSERT INTO "admin_region_payroll_contrib" ("id", "create_uid", "create_date", "write_uid", "write_date", "administrative_region_id", "max_contribution_base", "max_contribution_company", "max_contribution_employee", "min_contribution_base", "payroll_contribution_type_id") VALUES (nextval('admin_region_payroll_contrib_id_seq'), 1, (now() at time zone 'UTC'), 1, (now() at time zone 'UTC'), 1, 5000.0, 200.0, 150.0, 1000.0, 5) RETURNING id
ERROR: duplicate key value violates unique constraint "admin_region_payroll_contrib_check_unique"
DETAIL: Key (administrative_region_id, payroll_contribution_type_id)=(1, 5) already exists.
01/13/2022 02:16:50 ERROR
ERROR: setUpClass (odoo.addons.viin_hr_payroll_administrative_region.tests.test_payroll_contribution_register.TestPayrollContributionRegisterRegion)
Traceback (most recent call last):
File "/opt/odoo/viindooaddons14.0/viin_hr_payroll_administrative_region/tests/test_payroll_contribution_register.py", line 15, in setUpClass
cls.contrib_social_insurance_v1 = cls.env['admin.region.payroll.contrib'].with_context(tracking_disable=True).create({
File "<decorator-gen-168>", 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-390>", 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/viindooaddons14.0/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 3877, in create
records = self._create(data_list)
File "/opt/odoo/14.0/odoo/models.py", line 3983, 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 298, in execute
res = self._obj.execute(query, params)
psycopg2.errors.UniqueViolation: duplicate key value violates unique constraint "admin_region_payroll_contrib_check_unique"
DETAIL: Key (administrative_region_id, payroll_contribution_type_id)=(1, 5) already exists.
01/13/2022 02:17:10 ERROR
FAIL: TestPorjectTaskManager.test_01_test_access_rule_with_user
Traceback (most recent call last):
File "/opt/odoo/viindooaddons14.0/viin_hr_timesheet_timer/tests/test_timesheet_access_rules.py", line 33, in test_01_test_access_rule_with_user
self.r_d_task1.with_user(self.user_demo).action_start()
File "/usr/lib/python3.8/contextlib.py", line 120, in __exit__
next(self.gen)
File "/opt/odoo/14.0/odoo/tests/common.py", line 373, in _assertRaises
yield cm
AssertionError: AccessError not raised
01/13/2022 02:17:10 ERROR
FAIL: TestPorjectTaskManager.test_02_test_access_rule_with_user
Traceback (most recent call last):
File "/opt/odoo/viindooaddons14.0/viin_hr_timesheet_timer/tests/test_timesheet_access_rules.py", line 63, in test_02_test_access_rule_with_user
self.r_d_task1.with_user(self.user_demo).action_start()
File "/usr/lib/python3.8/contextlib.py", line 120, in __exit__
next(self.gen)
File "/opt/odoo/14.0/odoo/tests/common.py", line 373, in _assertRaises
yield cm
AssertionError: AccessError not raised
01/13/2022 02:17:11 ERROR
FAIL: TestPorjectTaskManager.test_03_test_access_rule_with_user
Traceback (most recent call last):
File "/opt/odoo/viindooaddons14.0/viin_hr_timesheet_timer/tests/test_timesheet_access_rules.py", line 101, in test_03_test_access_rule_with_user
marc_demo_timesheet.with_user(self.user_demo).write({'time_start': 9})
File "/usr/lib/python3.8/contextlib.py", line 120, in __exit__
next(self.gen)
File "/opt/odoo/14.0/odoo/tests/common.py", line 373, in _assertRaises
yield cm
AssertionError: AccessError not raised
01/13/2022 02:17:11 ERROR
FAIL: TestPorjectTaskManager.test_04_test_access_rule_with_user
Traceback (most recent call last):
File "/opt/odoo/viindooaddons14.0/viin_hr_timesheet_timer/tests/test_timesheet_access_rules.py", line 147, in test_04_test_access_rule_with_user
marc_demo_timesheet.with_user(self.user_demo).unlink()
File "/usr/lib/python3.8/contextlib.py", line 120, in __exit__
next(self.gen)
File "/opt/odoo/14.0/odoo/tests/common.py", line 373, in _assertRaises
yield cm
AssertionError: AccessError not raised
01/13/2022 02:17:11 ERROR
FAIL: TestPorjectTaskManager.test_05_test_access_rule_with_user
Traceback (most recent call last):
File "/opt/odoo/viindooaddons14.0/viin_hr_timesheet_timer/tests/test_timesheet_access_rules.py", line 194, in test_05_test_access_rule_with_user
self.r_d_task1.with_user(self.user_demo).action_start()
File "/usr/lib/python3.8/contextlib.py", line 120, in __exit__
next(self.gen)
File "/opt/odoo/14.0/odoo/tests/common.py", line 373, in _assertRaises
yield cm
AssertionError: AccessError not raised
01/13/2022 02:18:39 ERROR
ERROR: setUpClass (odoo.addons.viin_stock_internal_transit_valuation.tests.test_transit_account_entry.TestTransitTransfer)
Traceback (most recent call last):
File "/opt/odoo/14.0/odoo/tools/cache.py", line 85, in lookup
r = d[key]
File "/opt/odoo/14.0/odoo/tools/func.py", line 71, in wrapper
return func(self, *args, **kwargs)
File "/opt/odoo/14.0/odoo/tools/lru.py", line 34, in __getitem__
a = self.d[obj]
KeyError: ('ir.model.data', <function IrModelData.xmlid_lookup at 0x7fdaf59c6f70>, 'l10n_generic_coa.1_stock_valuation')

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/odoo/viindooaddons14.0/viin_stock_internal_transit_valuation/tests/common.py", line 11, in setUpClass
cls.account_stock_valuation = cls.env.ref('l10n_generic_coa.1_stock_valuation')
File "/opt/odoo/14.0/odoo/api.py", line 514, in ref
return self['ir.model.data'].xmlid_to_object(xml_id, raise_if_not_found=raise_if_not_found)
File "/opt/odoo/14.0/odoo/addons/base/models/ir_model.py", line 1944, in xmlid_to_object
t = self.xmlid_to_res_model_res_id(xmlid, raise_if_not_found)
File "/opt/odoo/14.0/odoo/addons/base/models/ir_model.py", line 1928, in xmlid_to_res_model_res_id
return self.xmlid_lookup(xmlid)[1:3]
File "<decorator-gen-35>", line 2, in xmlid_lookup
File "/opt/odoo/14.0/odoo/tools/cache.py", line 90, in lookup
value = d[key] = self.method(*args, **kwargs)
File "/opt/odoo/14.0/odoo/addons/base/models/ir_model.py", line 1921, in xmlid_lookup
raise ValueError('External ID not found in the system: %s' % xmlid)
ValueError: External ID not found in the system: l10n_generic_coa.1_stock_valuation
01/13/2022 02:18:39 ERROR
ERROR: setUpClass (odoo.addons.viin_stock_internal_transit_valuation.tests.test_transit_account_entry_with_route.TestTransitTransferWithRoute)
Traceback (most recent call last):
File "/opt/odoo/14.0/odoo/tools/cache.py", line 85, in lookup
r = d[key]
File "/opt/odoo/14.0/odoo/tools/func.py", line 71, in wrapper
return func(self, *args, **kwargs)
File "/opt/odoo/14.0/odoo/tools/lru.py", line 34, in __getitem__
a = self.d[obj]
KeyError: ('ir.model.data', <function IrModelData.xmlid_lookup at 0x7fdaf59c6f70>, 'l10n_generic_coa.1_stock_valuation')

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/odoo/viindooaddons14.0/viin_stock_internal_transit_valuation/tests/common.py", line 11, in setUpClass
cls.account_stock_valuation = cls.env.ref('l10n_generic_coa.1_stock_valuation')
File "/opt/odoo/14.0/odoo/api.py", line 514, in ref
return self['ir.model.data'].xmlid_to_object(xml_id, raise_if_not_found=raise_if_not_found)
File "/opt/odoo/14.0/odoo/addons/base/models/ir_model.py", line 1944, in xmlid_to_object
t = self.xmlid_to_res_model_res_id(xmlid, raise_if_not_found)
File "/opt/odoo/14.0/odoo/addons/base/models/ir_model.py", line 1928, in xmlid_to_res_model_res_id
return self.xmlid_lookup(xmlid)[1:3]
File "<decorator-gen-35>", line 2, in xmlid_lookup
File "/opt/odoo/14.0/odoo/tools/cache.py", line 90, in lookup
value = d[key] = self.method(*args, **kwargs)
File "/opt/odoo/14.0/odoo/addons/base/models/ir_model.py", line 1921, in xmlid_lookup
raise ValueError('External ID not found in the system: %s' % xmlid)
ValueError: External ID not found in the system: l10n_generic_coa.1_stock_valuation
01/13/2022 02:18:39 ERROR
ERROR: setUpClass (odoo.addons.viin_stock_internal_transit_valuation_specific_identification.tests.test_transit_account_entry.TestTransitAccountTrySpecificIdentification)
Traceback (most recent call last):
File "/opt/odoo/14.0/odoo/tools/cache.py", line 85, in lookup
r = d[key]
File "/opt/odoo/14.0/odoo/tools/func.py", line 71, in wrapper
return func(self, *args, **kwargs)
File "/opt/odoo/14.0/odoo/tools/lru.py", line 34, in __getitem__
a = self.d[obj]
KeyError: ('ir.model.data', <function IrModelData.xmlid_lookup at 0x7fdaf59c6f70>, 'l10n_generic_coa.1_stock_valuation')

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/odoo/viindooaddons14.0/viin_stock_internal_transit_valuation/tests/common.py", line 11, in setUpClass
cls.account_stock_valuation = cls.env.ref('l10n_generic_coa.1_stock_valuation')
File "/opt/odoo/14.0/odoo/api.py", line 514, in ref
return self['ir.model.data'].xmlid_to_object(xml_id, raise_if_not_found=raise_if_not_found)
File "/opt/odoo/14.0/odoo/addons/base/models/ir_model.py", line 1944, in xmlid_to_object
t = self.xmlid_to_res_model_res_id(xmlid, raise_if_not_found)
File "/opt/odoo/14.0/odoo/addons/base/models/ir_model.py", line 1928, in xmlid_to_res_model_res_id
return self.xmlid_lookup(xmlid)[1:3]
File "<decorator-gen-35>", line 2, in xmlid_lookup
File "/opt/odoo/14.0/odoo/tools/cache.py", line 90, in lookup
value = d[key] = self.method(*args, **kwargs)
File "/opt/odoo/14.0/odoo/addons/base/models/ir_model.py", line 1921, in xmlid_lookup
raise ValueError('External ID not found in the system: %s' % xmlid)
ValueError: External ID not found in the system: l10n_generic_coa.1_stock_valuation
01/13/2022 02:24:05 ERROR
48 failed, 25 error(s) of 1701 tests when loading database 'nnvyhjeqruds-28745_db'
01/13/2022 02:24:08 INFO
Finished step: Test post install odoo 14.0 in 19m 51.81s
01/13/2022 12:00:52 INFO
Revoking Proxy
01/13/2022 12:00:52 INFO
Revoked Proxy
01/13/2022 12:00:52 INFO
Revoking DNS
01/13/2022 12:00:54 INFO
Revoked DNS
01/13/2022 12:00:54 INFO
Revoking backend
01/13/2022 12:00:56 INFO
Revoked backend
01/13/2022 12:00:56 INFO
Revoking database
01/13/2022 12:00:56 INFO
Revoked database
01/13/2022 12:00:56 INFO
Marked as unlink
01/13/2022 12:00:57 INFO
Revoked Build