Name: [FIX][13.0] viin_mobile_notification: fix error can only concatenate str (not "bool") to str

State: Killed

PR State: merged

PR Author: Dao Van Nam

PR Author Email:

PR: #379

Committer: Nam Dao

Committer Email: daonamutc@gmail.com

Commit: 5421280a5a82180f925119a98a03eaa607b411ea

Description:

                                            [FIX] viin_mobile_notification: fix error can only concatenate str (not "bool") to str
                                            

Branch: 13.0

Instance ID: 26839

Age:

Up-time:

Odoo 13.0

Test at install odoo 13.0

  • create_db create_db: db
  • set_opt set_opt: demo,test
  • set_opt set_opt: test-tags=-post_install,-:TestLeadAssign,-:TestJournalMethods,-/test_l10n_be_hr_payroll_account:TestUi,-.test_01_sale_vat_book_vouchers,-.test_01_content_image_resize_placeholder,-.test_02_content_image_Etag_304,-.test_redirect_to_records,-.test_randomized_certification,-.test_flow_certificate,-.test_flow_public,-.test_unpublished_page,-.test_search,-.test_10_perf_sql_queries_page,-.test_20_perf_sql_queries_homepage,-.test_30_perf_sql_queries_page_no_layout,-.test_process_att_no_request,-.test_process_att_no_website,-.test_process_att_monolang_route,-.test_process_att_no_request_lang,-.test_process_att_with_request_lang,-.test_process_att_matching_cdn_and_lang,-.test_process_att_no_route,-.test_process_att_url_crap,-.test_get_switchable_related_views,-.test_create_visitor_on_tracked_page,-.test_long_period_inactivity,-.test_not_subscribed,-.test_not_subscribed_no_template,-.test_wrong_token,-.test_successful_unsubscribe,-.test_multi_website_views_retrieving,-.test_leave_whole_company_07,-hr_contract:TestHrContracts,-hr_contract:TestContractCalendars,-hr_contract:TestHrContracts2,-stock_account:TestStockValuation,-stock_account:TestStockValuationStandard,-stock_account:TestStockValuationAVCO,-stock_account:TestStockValuationFIFO,-stock_account:TestStockValuationChangeCostMethod,-stock_account:TestStockValuationChangeValuation,-sale_timesheet:TestProjectBilling,-sale_timesheet:TestProjectBillingMulticompany,-sale_timesheet:TestReInvoice,-sale_timesheet:TestReporting,-sale_timesheet:TestSaleService,-sale_timesheet:TestSaleTimesheet,-test_mail,-test_mail_full,-test_mass_mailing,-test_xlsx_export,-.test_02_url_lang_code_underscore,-:TestTermCount.test_export_empty_string,-/test_lint:PotLinter.test_pot_duplicate_entries,-:TestPacking.test_picking_state_with_null_qty,-:TestLifoPrice.test_lifoprice
  • install_module install_module: {all},-web_decimal_numpad_dot,-web_widget_x2many_2d_matrix,-web_widget_open_tab,-web_widget_many2one_simple,-web_widget_x2many_2d_matrix_example,-web_editor_background_color,-web_disable_export_group,-web_dialog_size,-web_drop_target,-web_widget_url_advanced,-web_ir_actions_act_window_message,-web_tree_dynamic_colored_field,-web_advanced_search,-web_widget_domain_editor_dialog,-web_listview_range_select,-web_widget_one2many_product_picker_sale_stock,-web_translate_dialog,-web_pivot_computed_measure,-web_sheet_full_width,-web_widget_dropdown_dynamic,-web_environment_ribbon,-web_company_color,-web_timeline,-web_widget_numeric_step,-web_tree_image_tooltip,-web_tree_many2one_clickable,-web_widget_dropdown_dynamic_example,-web_ir_actions_act_view_reload,-web_domain_field,-web_widget_bokeh_chart,-web_widget_one2many_product_picker,-web_widget_image_download,-web_m2x_options,-web_refresher,-web_widget_one2many_product_picker_sale_secondary_unit,-web_notify,-web_group_expand,-web_no_bubble,-web_action_conditionable,-web_ir_actions_act_multi,-web_search_with_and,-web_pwa_oca,-web_calendar_slot_duration,-web_widget_mpld3_chart,-web_send_message_popup,-test_mail,-test_mail_full,-test_mass_mailing,-test_xlsx_export,-hw_drivers,-hw_escpos,-hw_posbox_homepage,-hw_proxy,-note_pad,-odoo_referral,-odoo_referral_portal,-pad,-pad_project,-pos_cache,-pos_six,-theme_bootswatch,-theme_default,-website_gengo,-web_tour,-web_unsplash,-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 13.0

  • exec_odoo exec_odoo: --log-level=info --workers=0 --test-enable --http-interface 127.0.0.1 --test-tags=-at_install,-:TestLeadAssign,-:TestJournalMethods,-/test_l10n_be_hr_payroll_account:TestUi,-.test_01_sale_vat_book_vouchers,-.test_01_content_image_resize_placeholder,-.test_02_content_image_Etag_304,-.test_redirect_to_records,-.test_randomized_certification,-.test_flow_certificate,-.test_flow_public,-.test_unpublished_page,-.test_search,-.test_10_perf_sql_queries_page,-.test_20_perf_sql_queries_homepage,-.test_30_perf_sql_queries_page_no_layout,-.test_process_att_no_request,-.test_process_att_no_website,-.test_process_att_monolang_route,-.test_process_att_no_request_lang,-.test_process_att_with_request_lang,-.test_process_att_matching_cdn_and_lang,-.test_process_att_no_route,-.test_process_att_url_crap,-.test_get_switchable_related_views,-.test_create_visitor_on_tracked_page,-.test_long_period_inactivity,-.test_not_subscribed,-.test_not_subscribed_no_template,-.test_wrong_token,-.test_successful_unsubscribe,-.test_multi_website_views_retrieving,-.test_leave_whole_company_07,-.test_01_portal_attachment,-.test_10_crawl_public,-.test_20_crawl_demo,-.test_30_crawl_admin,-.test_check_suite,-.test_02_url_lang_code_underscore,-hr_contract:TestHrContracts,-hr_contract:TestContractCalendars,-hr_contract:TestHrContracts2,-stock_account:TestStockValuation,-stock_account:TestStockValuationStandard,-stock_account:TestStockValuationAVCO,-stock_account:TestStockValuationFIFO,-stock_account:TestStockValuationChangeCostMethod,-stock_account:TestStockValuationChangeValuation,-sale_timesheet:TestProjectBilling,-sale_timesheet:TestProjectBillingMulticompany,-sale_timesheet:TestReInvoice,-sale_timesheet:TestReporting,-sale_timesheet:TestSaleService,-sale_timesheet:TestSaleTimesheet,-test_mail,-test_mail_full,-test_mass_mailing,-test_xlsx_export,-.test_02_url_lang_code_underscore,-repair,-:TestPacking.test_picking_state_with_null_qty,-:TestLifoPrice.test_lifoprice
Create Date Level Message
01/13/2022 23:21:13 INFO
Start setup environment for runbot instance my077ib0t8sl-28822
01/13/2022 23:21:20 INFO
Fetching repository source code
01/13/2022 23:21:21 INFO
Create ref local branch to remote source
01/13/2022 23:21:23 INFO
Create working tree from branch: pr_my077ib0t8sl-28822
01/13/2022 23:21:24 INFO
Validating git dependencies source code
01/13/2022 23:21:25 INFO
Check and clone git dependencies source code
01/13/2022 23:21:25 INFO
Checking https://github.com/Viindoo/tvtmaaddons.git#13.0
01/13/2022 23:21:25 INFO
Collected build addons: /opt/odoo/viindooaddons13.0
01/13/2022 23:21:27 INFO
Deployed config file
01/13/2022 23:21:28 INFO
Running step: Test at install odoo 13.0
01/13/2022 23:21:29 INFO
Run command: create_db args: db
01/13/2022 23:21:30 INFO
Created database: my077ib0t8sl-28822_db
01/13/2022 23:21:30 INFO
Run command: set_opt args: demo,test
01/13/2022 23:21:30 INFO
Run command: set_opt args: test-tags=-post_install,-:TestLeadAssign,-:TestJournalMethods,-/test_l10n_be_hr_payroll_account:TestUi,-.test_01_sale_vat_book_vouchers,-.test_01_content_image_resize_placeholder,-.test_02_content_image_Etag_304,-.test_redirect_to_records,-.test_randomized_certification,-.test_flow_certificate,-.test_flow_public,-.test_unpublished_page,-.test_search,-.test_10_perf_sql_queries_page,-.test_20_perf_sql_queries_homepage,-.test_30_perf_sql_queries_page_no_layout,-.test_process_att_no_request,-.test_process_att_no_website,-.test_process_att_monolang_route,-.test_process_att_no_request_lang,-.test_process_att_with_request_lang,-.test_process_att_matching_cdn_and_lang,-.test_process_att_no_route,-.test_process_att_url_crap,-.test_get_switchable_related_views,-.test_create_visitor_on_tracked_page,-.test_long_period_inactivity,-.test_not_subscribed,-.test_not_subscribed_no_template,-.test_wrong_token,-.test_successful_unsubscribe,-.test_multi_website_views_retrieving,-.test_leave_whole_company_07,-hr_contract:TestHrContracts,-hr_contract:TestContractCalendars,-hr_contract:TestHrContracts2,-stock_account:TestStockValuation,-stock_account:TestStockValuationStandard,-stock_account:TestStockValuationAVCO,-stock_account:TestStockValuationFIFO,-stock_account:TestStockValuationChangeCostMethod,-stock_account:TestStockValuationChangeValuation,-sale_timesheet:TestProjectBilling,-sale_timesheet:TestProjectBillingMulticompany,-sale_timesheet:TestReInvoice,-sale_timesheet:TestReporting,-sale_timesheet:TestSaleService,-sale_timesheet:TestSaleTimesheet,-test_mail,-test_mail_full,-test_mass_mailing,-test_xlsx_export,-.test_02_url_lang_code_underscore,-:TestTermCount.test_export_empty_string,-/test_lint:PotLinter.test_pot_duplicate_entries,-:TestPacking.test_picking_state_with_null_qty,-:TestLifoPrice.test_lifoprice
01/13/2022 23:21:31 INFO
Run command: install_module args: {all},-web_decimal_numpad_dot,-web_widget_x2many_2d_matrix,-web_widget_open_tab,-web_widget_many2one_simple,-web_widget_x2many_2d_matrix_example,-web_editor_background_color,-web_disable_export_group,-web_dialog_size,-web_drop_target,-web_widget_url_advanced,-web_ir_actions_act_window_message,-web_tree_dynamic_colored_field,-web_advanced_search,-web_widget_domain_editor_dialog,-web_listview_range_select,-web_widget_one2many_product_picker_sale_stock,-web_translate_dialog,-web_pivot_computed_measure,-web_sheet_full_width,-web_widget_dropdown_dynamic,-web_environment_ribbon,-web_company_color,-web_timeline,-web_widget_numeric_step,-web_tree_image_tooltip,-web_tree_many2one_clickable,-web_widget_dropdown_dynamic_example,-web_ir_actions_act_view_reload,-web_domain_field,-web_widget_bokeh_chart,-web_widget_one2many_product_picker,-web_widget_image_download,-web_m2x_options,-web_refresher,-web_widget_one2many_product_picker_sale_secondary_unit,-web_notify,-web_group_expand,-web_no_bubble,-web_action_conditionable,-web_ir_actions_act_multi,-web_search_with_and,-web_pwa_oca,-web_calendar_slot_duration,-web_widget_mpld3_chart,-web_send_message_popup,-test_mail,-test_mail_full,-test_mass_mailing,-test_xlsx_export,-hw_drivers,-hw_escpos,-hw_posbox_homepage,-hw_proxy,-note_pad,-odoo_referral,-odoo_referral_portal,-pad,-pad_project,-pos_cache,-pos_six,-theme_bootswatch,-theme_default,-website_gengo,-web_tour,-web_unsplash,-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 23:21:33 INFO
Installed module(s): base,test_access_rights,test_action_bindings,test_assetsbundle,test_convert,test_converter,test_exceptions,test_impex,test_inherit,test_inherits,test_inherits_depends,test_limits,test_lint,test_main_flows,test_mimetypes,test_new_api,test_performance,test_read_group,test_rpc,test_testing_utilities,test_translation_import,test_uninstall,account,account_analytic_default,account_analytic_default_hr_expense,account_analytic_default_purchase,account_bank_statement_import,account_check_printing,account_debit_note,account_facturx,account_lock,account_payment,account_tax_python,account_test,analytic,association,attachment_indexation,auth_ldap,auth_oauth,auth_password_policy,auth_password_policy_signup,auth_signup,barcodes,base_address_city,base_address_extended,base_automation,base_gengo,base_geolocalize,base_iban,base_import,base_import_module,base_setup,base_sparse_field,base_vat,board,bus,calendar,calendar_sms,contacts,crm,crm_iap_lead,crm_iap_lead_enrich,crm_iap_lead_website,crm_livechat,crm_sms,delivery,digest,event,event_sale,event_sms,fetchmail,fleet,gamification,gamification_sale_crm,google_account,google_calendar,google_drive,google_spreadsheet,hr,hr_attendance,hr_contract,hr_expense,hr_expense_check,hr_fleet,hr_gamification,hr_holidays,hr_holidays_attendance,hr_holidays_calendar,hr_maintenance,hr_org_chart,hr_presence,hr_recruitment,hr_recruitment_survey,hr_skills,hr_skills_slides,hr_skills_survey,hr_timesheet,hr_timesheet_attendance,hr_work_entry,http_routing,iap,im_livechat,im_livechat_mail_bot,im_support,l10n_generic_coa,link_tracker,lunch,mail,mail_bot,maintenance,mass_mailing,mass_mailing_crm,mass_mailing_event,mass_mailing_event_sms,mass_mailing_event_track,mass_mailing_event_track_sms,mass_mailing_sale,mass_mailing_slides,mass_mailing_sms,membership,mrp,mrp_account,mrp_subcontracting,mrp_subcontracting_account,mrp_subcontracting_dropshipping,note,partner_autocomplete,partner_autocomplete_address_extended,payment,payment_adyen,payment_alipay,payment_authorize,payment_buckaroo,payment_ingenico,payment_paypal,payment_payulatam,payment_payumoney,payment_sips,payment_stripe,payment_stripe_checkout_webhook,payment_test,payment_transfer,phone_validation,point_of_sale,portal,pos_adyen,pos_cash_rounding,pos_discount,pos_epson_printer,pos_epson_printer_restaurant,pos_hr,pos_kitchen_printer,pos_mercury,pos_reprint,pos_restaurant,pos_sale,procurement_jit,product,product_email_template,product_expiry,product_margin,product_matrix,project,project_timesheet_holidays,purchase,purchase_mrp,purchase_product_matrix,purchase_requisition,purchase_requisition_stock,purchase_stock,rating,repair,resource,sale,sale_coupon,sale_coupon_delivery,sale_crm,sale_expense,sale_management,sale_margin,sale_mrp,sale_product_configurator,sale_product_matrix,sale_purchase,sale_quotation_builder,sale_stock,sale_timesheet,sale_timesheet_purchase,sales_team,sms,snailmail,snailmail_account,social_media,stock,stock_account,stock_dropshipping,stock_landed_costs,stock_picking_batch,stock_sms,survey,test_website,test_website_slides_full,transifex,uom,utm,web,web_diagram,web_editor,web_kanban_gauge,website,website_blog,website_crm,website_crm_livechat,website_crm_partner_assign,website_crm_sms,website_customer,website_event,website_event_questions,website_event_sale,website_event_track,website_form,website_form_project,website_forum,website_google_map,website_hr_recruitment,website_links,website_livechat,website_mail,website_mail_channel,website_mass_mailing,website_membership,website_partner,website_payment,website_profile,website_rating,website_sale,website_sale_comparison,website_sale_coupon,website_sale_coupon_delivery,website_sale_delivery,website_sale_digital,website_sale_management,website_sale_product_configurator,website_sale_slides,website_sale_stock,website_sale_stock_product_configurator,website_sale_wishlist,website_slides,website_slides_forum,website_slides_survey,website_sms,website_theme_install,website_twitter,web_responsive,to_backend_theme,viin_brand,viin_brand_common,viin_brand_im_livechat,viin_brand_mail,viin_mrp_gantt,viin_project_gantt,viin_web_gantt,viin_api,viin_api_client,viin_webhook,viin_webhook_client,to_account_accountant,to_account_asset,to_account_asset_purchase,to_account_budget,to_account_budget_hr_timesheet,to_account_reports,to_account_reports_l10n_vn,to_account_reports_report_off,to_cost_revenue_deferred,to_enterprice_marks_account,to_enterprice_marks_inter_company,to_enterprice_marks_mrp,to_enterprice_marks_stock,to_enterprise_mobile,to_hide_ent_modules,to_hide_ent_modules_website_theme_install,to_inter_company_base,to_inter_company_invoice,to_inter_company_sale_purchase,to_inter_company_sale_purchase_stock,to_l10n_vn_account_asset,to_l10n_vn_account_asset_sale,to_mrp_account,to_mrp_barcode,to_mrp_maintenance,to_mrp_mps,to_mrp_plm,to_mrp_workorder,to_quality,to_quality_mrp,to_quality_stock,to_sale_subscription,to_stock_asset,to_stock_asset_equipment,to_stock_barcode,viin_auto_currency_rate,viin_auto_currency_rate_acb,viin_auto_currency_rate_vcb,viin_contacts_map,viin_crm,viin_employee_map,viin_mobile_notification,viin_mobile_notification_firebase,viin_mrp_barcode_backdate,viin_sale,viin_stock,viin_web_cohort,viin_web_dashboard,viin_web_map,viin_website,l10n_vn_c133,l10n_vn_c200,l10n_vn_c200_pos,payment_momo,payment_nganluong,payment_vnpay,payment_zalopay,to_account_balance_carry_forward,to_account_bank_statement_import_rje,to_account_counterpart,to_account_counterpart_partner_balance,to_account_counterpart_reports,to_account_delegation_partner,to_account_expense_tracking,to_account_financial_income,to_account_income_deduct,to_account_payment,to_accounting_bi,to_accounting_entry_report_flag,to_accounting_sinvoice,to_accounting_vninvoice,to_accounting_vninvoice_summary,to_affiliate,to_affiliate_sale,to_approvals,to_attendance_device,to_backdate,to_bank_currency_rate,to_bank_currency_rate_purchase_stock,to_bank_statement_reconcile_batch,to_base,to_cash_flow_forecast,to_common_uom,to_company_hotline,to_config_management,to_currency_conversion_diff,to_currency_rate,to_document_template,to_einvoice_common,to_einvoice_summary,to_employee_changes_tracking,to_employee_documents,to_equipment_hierarchy,to_equipment_image,to_equipment_maintenance_schedule,to_equipment_partner_infor,to_equipment_woking_frequency,to_erponline_utility,to_event_project,to_event_timesheet,to_fee_definition,to_fee_definition_sale,to_fleet_accounting,to_fleet_accounting_fleet_operation,to_fleet_accounting_fleet_operation_revenue,to_fleet_driver,to_fleet_driver_job_wage,to_fleet_insurance_basic,to_fleet_load_params,to_fleet_operation_planning,to_fleet_specs,to_fleet_stock,to_fleet_stock_account,to_fleet_stock_picking,to_fleet_vehicle_revenue,to_fleet_vehicle_revenue_accounting,to_foreign_trade,to_foreign_trade_currency_rate,to_foreign_trade_landed_cost,to_geo_routes,to_git,to_git_odoo_version,to_git_project,to_holidays_in_years,to_hr_barcode_in_emp_name,to_hr_contract_actions,to_hr_employee_advance,to_hr_employee_birthday_filters,to_hr_employee_grade,to_hr_employee_private_fields_access,to_hr_employee_relative,to_hr_employee_resign,to_hr_expense,to_hr_expense_employee_advance,to_hr_expense_payroll,to_hr_holidays_period_limit,to_hr_meal,to_hr_payroll,to_hr_payroll_account,to_hr_payroll_attendance,to_hr_payroll_meal,to_hr_project_timesheet_timeoff_payroll,to_hr_public_employee_birthday_filters,to_hr_recruitment_request,to_hr_resoucre_calendar_rate,to_hr_shift_rotation,to_hr_skills_recruitment,to_hr_timesheet_approval,to_hr_timesheet_payroll,to_hr_training,to_hr_work_day_type,to_http_reroute_encoding,to_invoice_line_summary,to_invoice_tax_details,to_l10n_vn_account_balance_carry_forward,to_l10n_vn_account_detail_sheet,to_l10n_vn_currency_conversion_diff,to_l10n_vn_employee_advance,to_l10n_vn_fleet_driver,to_l10n_vn_foreign_trade,to_l10n_vn_general_ledger,to_l10n_vn_hr_payroll,to_l10n_vn_hr_payroll_account,to_l10n_vn_hr_payroll_meal_account,to_l10n_vn_picking_operation,to_l10n_vn_qweb_layout,to_l10n_vn_state_group,to_l10n_vn_stock_reports,to_legal_invoice_number,to_lines_count_on_account_move,to_loan_management,to_loan_management_l10n_vn,to_location_warehouse,to_loyalty,to_loyalty_pos,to_loyalty_sales,to_mail_notif_and_email,to_mail_template_multilang_fix,to_maintenance_approval,to_maintenance_by_working_hours,to_maintenance_notification,to_maintenance_request_simple_mediate,to_mrp_backdate,to_mrp_bom_component_percentage,to_mrp_bom_stock_value,to_multi_company_stock_location_account,to_multi_warehouse_access_control,to_multi_warehouse_access_control_mrp,to_multi_warehouse_access_control_purchase,to_multi_warehouse_access_control_sale,to_odoo_module,to_odoo_module_sale,to_odoo_module_sale_project,to_odoo_module_sale_template,to_odoo_version,to_okr,to_okr_project,to_orderpoint_mail_thread,to_org_chart,to_partner_business_type,to_partner_check_unique_vat,to_partner_dob,to_partner_dob_send_email,to_partner_employee_size,to_partner_equity_range,to_partner_multilang,to_partner_multilang_partner_autocomplete,to_partner_nationality,to_partner_ownership_type,to_partner_share_holder,to_partner_tax_code,to_partner_track_change,to_payment_terms_extended,to_payment_transaction_protection,to_paypal_unsupported_currencies,to_payroll_payment_acb_templates,to_pos_analytics,to_pos_delivery,to_pos_frontend_return,to_pos_note,to_pos_order_to_sales_order,to_pos_refund_origin,to_print_payment_vi,to_procurement_approval,to_procurement_requests,to_product_code_sequence,to_product_collection,to_product_collection_pos,to_product_collection_sale,to_product_dimensions,to_product_function,to_product_function_pos,to_product_function_sale,to_product_license,to_product_license_sale,to_product_maintenance_schedule,to_product_milestone,to_product_odoo_version,to_product_pricelist_weekdays,to_product_return_reason,to_product_return_reason_pos,to_product_return_reason_stock,to_product_standard_price_access,to_product_standard_price_access_account,to_product_standard_price_access_purchase,to_project_access,to_project_stages,to_promotion_voucher,to_promotion_voucher_account_payment,to_promotion_voucher_l10n_vn,to_promotion_voucher_pos,to_promotion_voucher_pos_return,to_promotion_voucher_pos_sale,to_promotion_voucher_sale,to_purchase_backdate,to_purchase_bom_stock_value,to_purchase_landed_cost,to_purchase_line_numbering,to_purchase_order_advance,to_purchase_order_lines,to_purchase_receipt,to_refund_account,to_registration_email_blacklist,to_repair_access_group,to_repair_extend,to_repair_partner_info_from_lot,to_repair_request_from_maintenance,to_repair_request_from_warranty,to_repair_supply,to_repair_timesheet,to_repair_with_maintenance_schedule,to_replace_loyalty_pos_config,to_res_state_group,to_safe_confirm_button,to_sale_backdate,to_sale_desc_short_link,to_sale_line_numbering,to_sale_order_advance,to_sale_price_lock,to_sale_purchase_multi_comp,to_sale_wallet,to_sales_stock_schedule,to_sales_target,to_sales_target_pos,to_sales_target_sale,to_sales_team_advanced,to_sales_team_advanced_crm,to_sales_team_advanced_sale,to_shorten_url,to_signup_email_verification,to_slugify_l10n_vn,to_sshkey,to_stock_account_moves_link,to_stock_age_report,to_stock_backdate,to_stock_block_quantity,to_stock_equipment,to_stock_equipment_bom_kit,to_stock_equipment_hierarchy,to_stock_landed_costs,to_stock_picking_backdate,to_stock_product_allocation,to_stock_production_lot_partner_infor,to_stock_report_common,to_tax_is_vat,to_token_expiration,to_token_expiration_test,to_transit_loc_accounts,to_tvtma_hr,to_unique_product_code,to_uom_mail_thread,to_uom_subscription,to_upload_file,to_vat_counterpart,to_vendor_price_lock,to_vietnam_bank_icons,to_vietnamese_number2words,to_wallet,to_wallet_adjustment,to_wallet_currency_conversion_diff,to_warehouse_imp,to_warranty_management,to_warranty_purchase,to_warranty_purchase_stock,to_warranty_sale,to_warranty_sale_stock,to_warranty_stock,to_web_thousand_sep,to_website_affiliate,to_website_apps_store,to_website_base,to_website_docs,to_website_docs_odoo,to_website_docs_odoo_data,to_website_odoo_version,to_website_recaptcha,to_website_recaptcha_signup,to_website_registration_email_blacklist,to_website_search_suggestion,to_website_search_suggestion_product,to_website_slides_event,to_zoom_calendar,viin_account_regenerate_analytic_line,viin_administrative_region,viin_base_district,viin_contacts_district,viin_crm_business_type,viin_crm_detect_partner,viin_crm_dob,viin_crm_employee_size,viin_fleet_accounting_purchase,viin_fleet_vehicle_revenue_accounting_sale,viin_helpdesk,viin_helpdesk_crm,viin_helpdesk_livechat,viin_helpdesk_sale,viin_helpdesk_timesheet,viin_hr_account,viin_hr_activity_planning,viin_hr_assignment_log,viin_hr_attendance_validation,viin_hr_employee_resource_calendar,viin_hr_holidays,viin_hr_overtime,viin_hr_overtime_approval,viin_hr_overtime_approval_payroll,viin_hr_overtime_attendance,viin_hr_overtime_payroll,viin_hr_overtime_timesheet,viin_hr_overtime_timesheet_approval,viin_hr_overtime_timesheet_attendance,viin_hr_payroll_administrative_region,viin_hr_project,viin_hr_seniority,viin_hr_timesheet_timer,viin_inventory_adjustment_with_cost_price,viin_l10n_vn_account_cash_book,viin_l10n_vn_account_payment_internal_transfer,viin_l10n_vn_einvoice_common,viin_l10n_vn_hr_payroll_account_overtime,viin_l10n_vn_hr_payroll_administrative_region,viin_l10n_vn_invoice_declaration,viin_l10n_vn_stock_reports_multi_warehouse_access_control,viin_l10n_vn_vat_counterpart,viin_mail_show_recipient,viin_meeting_room,viin_message_emoji,viin_mobile,viin_mobile_login,viin_multi_warehouse_access_control_purchase_requisition,viin_partner_filter,viin_partner_gender,viin_payment_mediate,viin_pricelist_recurring,viin_product_categ_mail_thread,viin_product_categ_mail_thread_purchase,viin_product_categ_mail_thread_stock_account,viin_product_standard_price_access_stock_account,viin_project_kanban_state_notification,viin_project_timesheet_leave,viin_queue,viin_remove_only_reference_from_one2many,viin_repair_delete,viin_repair_discount,viin_reverse_move_line,viin_sale_crm_follower_access_right,viin_sale_product_duplication_warning,viin_sale_project,viin_sale_project_technician,viin_sale_quotation_template_access,viin_sales_unlink,viin_sales_unlink_stock,viin_social,viin_social_facebook,viin_social_facebook_verify,viin_social_linkedin,viin_stock_specific_identification,viin_stock_specific_identification_landed_costs,viin_survey_exam,viin_survey_printing,viin_survey_recompute_results,viin_survey_time_limit_gt_1h,viin_transit_loc_accounts_specific_identification,viin_user_assignment_log,viin_web_countup_timer,viin_website_blog_access_right,viin_website_forum_security_groups,viin_website_gtm,viin_website_helpdesk,viin_website_hr_recruitment_website_editor,viin_website_livechat,viin_website_nofollow,viin_website_page_access_right
01/14/2022 00:37:25 INFO
Finished step: Test at install odoo 13.0 in 1h 15m
01/14/2022 00:37:25 INFO
Running step: Test post install odoo 13.0
01/14/2022 00:37:25 INFO
Run command: exec_odoo args: --log-level=info --workers=0 --test-enable --http-interface 127.0.0.1 --test-tags=-at_install,-:TestLeadAssign,-:TestJournalMethods,-/test_l10n_be_hr_payroll_account:TestUi,-.test_01_sale_vat_book_vouchers,-.test_01_content_image_resize_placeholder,-.test_02_content_image_Etag_304,-.test_redirect_to_records,-.test_randomized_certification,-.test_flow_certificate,-.test_flow_public,-.test_unpublished_page,-.test_search,-.test_10_perf_sql_queries_page,-.test_20_perf_sql_queries_homepage,-.test_30_perf_sql_queries_page_no_layout,-.test_process_att_no_request,-.test_process_att_no_website,-.test_process_att_monolang_route,-.test_process_att_no_request_lang,-.test_process_att_with_request_lang,-.test_process_att_matching_cdn_and_lang,-.test_process_att_no_route,-.test_process_att_url_crap,-.test_get_switchable_related_views,-.test_create_visitor_on_tracked_page,-.test_long_period_inactivity,-.test_not_subscribed,-.test_not_subscribed_no_template,-.test_wrong_token,-.test_successful_unsubscribe,-.test_multi_website_views_retrieving,-.test_leave_whole_company_07,-.test_01_portal_attachment,-.test_10_crawl_public,-.test_20_crawl_demo,-.test_30_crawl_admin,-.test_check_suite,-.test_02_url_lang_code_underscore,-hr_contract:TestHrContracts,-hr_contract:TestContractCalendars,-hr_contract:TestHrContracts2,-stock_account:TestStockValuation,-stock_account:TestStockValuationStandard,-stock_account:TestStockValuationAVCO,-stock_account:TestStockValuationFIFO,-stock_account:TestStockValuationChangeCostMethod,-stock_account:TestStockValuationChangeValuation,-sale_timesheet:TestProjectBilling,-sale_timesheet:TestProjectBillingMulticompany,-sale_timesheet:TestReInvoice,-sale_timesheet:TestReporting,-sale_timesheet:TestSaleService,-sale_timesheet:TestSaleTimesheet,-test_mail,-test_mail_full,-test_mass_mailing,-test_xlsx_export,-.test_02_url_lang_code_underscore,-repair,-:TestPacking.test_picking_state_with_null_qty,-:TestLifoPrice.test_lifoprice
01/14/2022 00:37:37 ERROR
bad query: SELECT "res_company"."id" as "id","res_company"."sequence" as "sequence","res_company"."parent_id" as "parent_id","res_company"."partner_id" as "partner_id","res_company"."report_header" as "report_header","res_company"."report_footer" as "report_footer","res_company"."currency_id" as "currency_id","res_company"."account_no" as "account_no","res_company"."email" as "email","res_company"."phone" as "phone","res_company"."company_registry" as "company_registry","res_company"."paperformat_id" as "paperformat_id","res_company"."external_report_layout_id" as "external_report_layout_id","res_company"."base_onboarding_company_state" as "base_onboarding_company_state","res_company"."primary_color" as "primary_color","res_company"."secondary_color" as "secondary_color","res_company"."font" as "font","res_company"."social_twitter" as "social_twitter","res_company"."social_facebook" as "social_facebook","res_company"."social_github" as "social_github","res_company"."social_linkedin" as "social_linkedin","res_company"."social_youtube" as "social_youtube","res_company"."social_instagram" as "social_instagram","res_company"."hotline" as "hotline","res_company"."nomenclature_id" as "nomenclature_id","res_company"."resource_calendar_id" as "resource_calendar_id","res_company"."name" as "name","res_company"."gengo_private_key" as "gengo_private_key","res_company"."gengo_public_key" as "gengo_public_key","res_company"."gengo_comment" as "gengo_comment","res_company"."gengo_auto_approve" as "gengo_auto_approve","res_company"."gengo_sandbox" as "gengo_sandbox","res_company"."check_unique_vat" as "check_unique_vat","res_company"."rotating_token_life" as "rotating_token_life","res_company"."lunch_minimum_threshold" as "lunch_minimum_threshold","res_company"."partner_gid" as "partner_gid","res_company"."snailmail_color" as "snailmail_color","res_company"."snailmail_cover" as "snailmail_cover","res_company"."snailmail_duplex" as "snailmail_duplex","res_company"."intercompany_user_id" as "intercompany_user_id","res_company"."hr_presence_control_email_amount" as "hr_presence_control_email_amount","res_company"."hr_presence_control_ip_list" as "hr_presence_control_ip_list","res_company"."internal_transit_location_id" as "internal_transit_location_id","res_company"."stock_move_email_validation" as "stock_move_email_validation","res_company"."stock_mail_confirmation_template_id" as "stock_mail_confirmation_template_id","res_company"."send_hbd_email" as "send_hbd_email","res_company"."hdb_email_template_id" as "hdb_email_template_id","res_company"."check_unique_product_default_code" as "check_unique_product_default_code","res_company"."zoom_api_key" as "zoom_api_key","res_company"."zoom_secret_key" as "zoom_secret_key","res_company"."facebook_app_id" as "facebook_app_id","res_company"."facebook_client_secret" as "facebook_client_secret","res_company"."linkedin_app_id" as "linkedin_app_id","res_company"."linkedin_client_secret" as "linkedin_client_secret","res_company"."manufacturing_lead" as "manufacturing_lead","res_company"."stock_move_sms_validation" as "stock_move_sms_validation","res_company"."stock_sms_confirmation_template_id" as "stock_sms_confirmation_template_id","res_company"."has_received_warning_stock_sms" as "has_received_warning_stock_sms","res_company"."fiscalyear_last_day" as "fiscalyear_last_day","res_company"."fiscalyear_last_month" as "fiscalyear_last_month","res_company"."period_lock_date" as "period_lock_date","res_company"."fiscalyear_lock_date" as "fiscalyear_lock_date","res_company"."tax_lock_date" as "tax_lock_date","res_company"."transfer_account_id" as "transfer_account_id","res_company"."expects_chart_of_accounts" as "expects_chart_of_accounts","res_company"."chart_template_id" as "chart_template_id","res_company"."bank_account_code_prefix" as "bank_account_code_prefix","res_company"."cash_account_code_prefix" as "cash_account_code_prefix","res_company"."default_cash_difference_income_account_id" as "default_cash_difference_income_account_id","res_company"."default_cash_difference_expense_account_id" as "default_cash_difference_expense_account_id","res_company"."transfer_account_code_prefix" as "transfer_account_code_prefix","res_company"."account_sale_tax_id" as "account_sale_tax_id","res_company"."account_purchase_tax_id" as "account_purchase_tax_id","res_company"."tax_cash_basis_journal_id" as "tax_cash_basis_journal_id","res_company"."tax_calculation_rounding_method" as "tax_calculation_rounding_method","res_company"."currency_exchange_journal_id" as "currency_exchange_journal_id","res_company"."anglo_saxon_accounting" as "anglo_saxon_accounting","res_company"."property_stock_account_input_categ_id" as "property_stock_account_input_categ_id","res_company"."property_stock_account_output_categ_id" as "property_stock_account_output_categ_id","res_company"."property_stock_valuation_account_id" as "property_stock_valuation_account_id","res_company"."tax_exigibility" as "tax_exigibility","res_company"."account_bank_reconciliation_start" as "account_bank_reconciliation_start","res_company"."incoterm_id" as "incoterm_id","res_company"."qr_code" as "qr_code","res_company"."invoice_is_email" as "invoice_is_email","res_company"."invoice_is_print" as "invoice_is_print","res_company"."account_opening_move_id" as "account_opening_move_id","res_company"."account_setup_bank_data_state" as "account_setup_bank_data_state","res_company"."account_setup_fy_data_state" as "account_setup_fy_data_state","res_company"."account_setup_coa_state" as "account_setup_coa_state","res_company"."account_onboarding_invoice_layout_state" as "account_onboarding_invoice_layout_state","res_company"."account_onboarding_sample_invoice_state" as "account_onboarding_sample_invoice_state","res_company"."account_onboarding_sale_tax_state" as "account_onboarding_sale_tax_state","res_company"."account_invoice_onboarding_state" as "account_invoice_onboarding_state","res_company"."account_dashboard_onboarding_state" as "account_dashboard_onboarding_state","res_company"."invoice_terms" as "invoice_terms","res_company"."account_default_pos_receivable_account_id" as "account_default_pos_receivable_account_id","res_company"."expense_accrual_account_id" as "expense_accrual_account_id","res_company"."revenue_accrual_account_id" as "revenue_accrual_account_id","res_company"."accrual_default_journal_id" as "accrual_default_journal_id","res_company"."hr_presence_last_compute_date" as "hr_presence_last_compute_date","res_company"."subcontracting_location_id" as "subcontracting_location_id","res_company"."default_helpdesk_team_id" as "default_helpdesk_team_id","res_company"."account_check_printing_layout" as "account_check_printing_layout","res_company"."account_check_printing_date_label" as "account_check_printing_date_label","res_company"."account_check_printing_multi_stub" as "account_check_printing_multi_stub","res_company"."account_check_printing_margin_top" as "account_check_printing_margin_top","res_company"."account_check_printing_margin_left" as "account_check_printing_margin_left","res_company"."account_check_printing_margin_right" as "account_check_printing_margin_right","res_company"."vat_check_vies" as "vat_check_vies","res_company"."project_time_mode_id" as "project_time_mode_id","res_company"."timesheet_encode_uom_id" as "timesheet_encode_uom_id","res_company"."payment_acquirer_onboarding_state" as "payment_acquirer_onboarding_state","res_company"."payment_onboarding_payment_method" as "payment_onboarding_payment_method","res_company"."po_lead" as "po_lead","res_company"."po_lock" as "po_lock","res_company"."po_double_validation" as "po_double_validation","res_company"."po_double_validation_amount" as "po_double_validation_amount","res_company"."invoice_is_snailmail" as "invoice_is_snailmail","res_company"."balance_carry_forward_journal_id" as "balance_carry_forward_journal_id","res_company"."affiliate_comm_percentage" as "affiliate_comm_percentage","res_company"."affiliate_cookie_age" as "affiliate_cookie_age","res_company"."affiliate_min_payout" as "affiliate_min_payout","res_company"."commission_product_id" as "commission_product_id","res_company"."aff_allowed" as "aff_allowed","res_company"."compute_aff_method" as "compute_aff_method","res_company"."main_currency_bank_id" as "main_currency_bank_id","res_company"."amount_double_validation" as "amount_double_validation","res_company"."use_employee_advance_pass_through_account" as "use_employee_advance_pass_through_account","res_company"."loan_borrowing_journal_id" as "loan_borrowing_journal_id","res_company"."loan_borrowing_account_id" as "loan_borrowing_account_id","res_company"."loan_lending_journal_id" as "loan_lending_journal_id","res_company"."loan_lending_account_id" as "loan_lending_account_id","res_company"."vendor_app_comm_percent" as "vendor_app_comm_percent","res_company"."vendor_app_min_payout" as "vendor_app_min_payout","res_company"."dedicated_app_download_token_lifetime" as "dedicated_app_download_token_lifetime","res_company"."app_download_token_lifetime" as "app_download_token_lifetime","res_company"."leave_timesheet_project_id" as "leave_timesheet_project_id","res_company"."leave_timesheet_task_id" as "leave_timesheet_task_id","res_company"."portal_confirmation_sign" as "portal_confirmation_sign","res_company"."portal_confirmation_pay" as "portal_confirmation_pay","res_company"."quotation_validity_days" as "quotation_validity_days","res_company"."sale_quotation_onboarding_state" as "sale_quotation_onboarding_state","res_company"."sale_onboarding_order_confirmation_state" as "sale_onboarding_order_confirmation_state","res_company"."sale_onboarding_sample_quotation_state" as "sale_onboarding_sample_quotation_state","res_company"."sale_onboarding_payment_method" as "sale_onboarding_payment_method","res_company"."days_between_two_followups" as "days_between_two_followups","res_company"."overdue_msg" as "overdue_msg","res_company"."totals_below_sections" as "totals_below_sections","res_company"."currency_conversion_diff_journal_id" as "currency_conversion_diff_journal_id","res_company"."einvoice_lock_legal_number" as "einvoice_lock_legal_number","res_company"."einvoice_issue_earliest_invoice_first" as "einvoice_issue_earliest_invoice_first","res_company"."sinvoice_exchange_file_as_attachment" as "sinvoice_exchange_file_as_attachment","res_company"."sinvoice_representation_file_as_attachment" as "sinvoice_representation_file_as_attachment","res_company"."einvoice_auto_issue" as "einvoice_auto_issue","res_company"."basic_wage_rule_categ_id" as "basic_wage_rule_categ_id","res_company"."gross_salary_rule_categ_id" as "gross_salary_rule_categ_id","res_company"."tax_base_rule_categ_id" as "tax_base_rule_categ_id","res_company"."net_income_salary_rule_categ_id" as "net_income_salary_rule_categ_id","res_company"."payslips_auto_generation" as "payslips_auto_generation","res_company"."payslips_auto_generation_mode" as "payslips_auto_generation_mode","res_company"."payslips_auto_generation_day" as "payslips_auto_generation_day","res_company"."payslips_auto_generation_lang" as "payslips_auto_generation_lang","res_company"."salary_cycle_id" as "salary_cycle_id","res_company"."property_promotion_voucher_profit_account_id" as "property_promotion_voucher_profit_account_id","res_company"."property_promotion_voucher_loss_account_id" as "property_promotion_voucher_loss_account_id","res_company"."property_unearn_revenue_account_id" as "property_unearn_revenue_account_id","res_company"."allow_edit_website_jobs_company_setting" as "allow_edit_website_jobs_company_setting","res_company"."security_lead" as "security_lead","res_company"."lc_journal_id" as "lc_journal_id","res_company"."payslip_batch_journal_entry" as "payslip_batch_journal_entry","res_company"."default_meal_emp_price" as "default_meal_emp_price","res_company"."general_overhead" as "general_overhead","res_company"."loyalty_points_reward_policy" as "loyalty_points_reward_policy","res_company"."manufacturing_period" as "manufacturing_period","res_company"."manufacturing_period_to_display" as "manufacturing_period_to_display","res_company"."mrp_mps_show_starting_inventory" as "mrp_mps_show_starting_inventory","res_company"."mrp_mps_show_demand_forecast" as "mrp_mps_show_demand_forecast","res_company"."mrp_mps_show_actual_demand" as "mrp_mps_show_actual_demand","res_company"."mrp_mps_show_indirect_demand" as "mrp_mps_show_indirect_demand","res_company"."mrp_mps_show_to_replenish" as "mrp_mps_show_to_replenish","res_company"."mrp_mps_show_actual_replenishment" as "mrp_mps_show_actual_replenishment","res_company"."mrp_mps_show_safety_stock" as "mrp_mps_show_safety_stock","res_company"."mrp_mps_show_available_to_promise" as "mrp_mps_show_available_to_promise","res_company"."sales_price_modifying_group_id" as "sales_price_modifying_group_id","res_company"."prevent_unlink_related_invoices" as "prevent_unlink_related_invoices","res_company"."website_sale_onboarding_payment_acquirer_state" as "website_sale_onboarding_payment_acquirer_state","res_company"."sinvoice_mode" as "sinvoice_mode","res_company"."sinvoice_start" as "sinvoice_start","res_company"."account_sinvoice_serial_id" as "account_sinvoice_serial_id","res_company"."account_sinvoice_template_id" as "account_sinvoice_template_id","res_company"."account_sinvoice_type_id" as "account_sinvoice_type_id","res_company"."sinvoice_synch_payment_status" as "sinvoice_synch_payment_status","res_company"."sinvoice_conversion_user_id" as "sinvoice_conversion_user_id","res_company"."sinvoice_api_username" as "sinvoice_api_username","res_company"."sinvoice_api_password" as "sinvoice_api_password","res_company"."sinvoice_max_len_bank_name" as "sinvoice_max_len_bank_name","res_company"."sinvoice_max_len_bank_account" as "sinvoice_max_len_bank_account","res_company"."einvoice_provider" as "einvoice_provider","res_company"."vninvoice_mode" as "vninvoice_mode","res_company"."vninvoice_start_date" as "vninvoice_start_date","res_company"."account_vninvoice_serial_id" as "account_vninvoice_serial_id","res_company"."account_vninvoice_template_id" as "account_vninvoice_template_id","res_company"."account_vninvoice_type_id" as "account_vninvoice_type_id","res_company"."vninvoice_api_username" as "vninvoice_api_username","res_company"."vninvoice_api_password" as "vninvoice_api_password","res_company"."account_journal_custom_clearance" as "account_journal_custom_clearance","res_company"."imp_custom_dec_sequence_id" as "imp_custom_dec_sequence_id","res_company"."exp_custom_dec_sequence_id" as "exp_custom_dec_sequence_id","res_company"."overtime_recognition_mode" as "overtime_recognition_mode","res_company"."prevent_unlink_related_pickings" as "prevent_unlink_related_pickings","res_company"."landed_cost_journal_id" as "landed_cost_journal_id","res_company"."applicable_on" as "applicable_on","res_company"."so_po_auto_validation" as "so_po_auto_validation","res_company"."import_vat_ctp_account_id" as "import_vat_ctp_account_id","res_company"."import_tax_payment_term" as "import_tax_payment_term","res_company"."export_vat_ctp_account_id" as "export_vat_ctp_account_id","res_company"."export_tax_payment_term" as "export_tax_payment_term","res_company"."use_intermediary_account" as "use_intermediary_account","res_company"."inter_comp_warehouse_id" as "inter_comp_warehouse_id","res_company"."create_uid" as "create_uid","res_company"."create_date" as "create_date","res_company"."write_uid" as "write_uid","res_company"."write_date" as "write_date" FROM "res_company" WHERE "res_company".id IN (1)
ERROR: column res_company.einvoice_auto_issue does not exist
LINE 1: ..." as "sinvoice_representation_file_as_attachment","res_compa...
^
01/14/2022 00:37:37 ERROR
ERROR: setUpClass (odoo.addons.account.tests.test_account_account.TestAccountAccount)
Traceback (most recent call last):
File "/opt/odoo/13.0/odoo/api.py", line 748, in get
value = self._data[field][record._ids[0]]
KeyError: 1

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/odoo/13.0/odoo/fields.py", line 1038, in __get__
value = env.cache.get(record, self)
File "/opt/odoo/13.0/odoo/api.py", line 754, in get
raise CacheMiss(record, field)
odoo.exceptions.CacheMiss: ('res.company(1,).country_id', None)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/odoo/13.0/odoo/api.py", line 748, in get
value = self._data[field][record._ids[0]]
KeyError: 1

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/odoo/13.0/odoo/fields.py", line 1038, in __get__
value = env.cache.get(record, self)
File "/opt/odoo/13.0/odoo/api.py", line 754, in get
raise CacheMiss(record, field)
odoo.exceptions.CacheMiss: ('res.company(1,).partner_id', None)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/odoo/13.0/odoo/tests/common.py", line 191, in _handleClassSetUp
setUpClass()
File "/opt/odoo/13.0/addons/account/tests/test_account_account.py", line 12, in setUpClass
super().setUpClass(chart_template_ref=chart_template_ref)
File "/opt/odoo/13.0/addons/account/tests/account_test_savepoint.py", line 51, in setUpClass
cls.company_data_2 = cls.setup_company_data('company_2_data', chart_template)
File "/opt/odoo/13.0/addons/account/tests/account_test_savepoint.py", line 197, in setup_company_data
**kwargs,
File "<decorator-gen-435>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 338, in _model_create_multi
return create(self, [arg])
File "/home/my077ib0t8sl-28822/build_src/to_inter_company_sale_purchase_stock/models/res_company.py", line 13, in create
res = super(ResCompany, self).create(vals_list)
File "<decorator-gen-425>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 320, in _model_create_single
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/odoo/api.py", line 320, in <genexpr>
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/viindooaddons13.0/to_foreign_trade/models/res_company.py", line 28, in create
res = super(ResCompany, self).create(vals)
File "<decorator-gen-364>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 338, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/viindooaddons13.0/to_hr_payroll/models/res_company.py", line 736, in create
companies = super(ResCompany, self).create(vals_list)
File "<decorator-gen-354>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 320, in _model_create_single
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/odoo/api.py", line 320, in <genexpr>
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/addons/project_timesheet_holidays/models/res_company.py", line 30, in create
company = super(Company, self).create(values)
File "<decorator-gen-341>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 338, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/viindooaddons13.0/viin_hr_overtime/models/res_company.py", line 17, in create
companies = super(ResCompany, self).create(vals_list)
File "<decorator-gen-331>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 320, in _model_create_single
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/odoo/api.py", line 320, in <genexpr>
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/viindooaddons13.0/to_maintenance_approval/models/res_company.py", line 27, in create
company = super(ResCompany, self).create(values)
File "<decorator-gen-289>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 338, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/viindooaddons13.0/viin_helpdesk/models/res_company.py", line 14, in create
companies = super(Company, self).create(vals_list)
File "<decorator-gen-280>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/viindooaddons13.0/to_approvals/models/res_company.py", line 31, in create
companies = super(ResCompany, self).create(vals_list)
File "<decorator-gen-190>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 320, in _model_create_single
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/odoo/api.py", line 320, in <genexpr>
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/addons/stock/models/res_company.py", line 181, in create
company = super(Company, self).create(vals)
File "<decorator-gen-152>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 317, in _model_create_single
return create(self, arg)
File "/opt/odoo/13.0/addons/product/models/res_company.py", line 12, in create
new_company = super(ResCompany, self).create(vals)
File "<decorator-gen-102>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 317, in _model_create_single
return create(self, arg)
File "/opt/odoo/13.0/addons/resource/models/res_company.py", line 28, in create
company = super(ResCompany, self).create(values)
File "<decorator-gen-95>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 317, in _model_create_single
return create(self, arg)
File "/opt/odoo/13.0/addons/web/models/models.py", line 397, in create
res = super().create(values)
File "<decorator-gen-84>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 317, in _model_create_single
return create(self, arg)
File "/opt/odoo/13.0/odoo/addons/base/models/res_company.py", line 227, in create
'country_id': vals.get('country_id'),
File "<decorator-gen-420>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 338, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/viindooaddons13.0/to_foreign_trade/models/res_partner.py", line 72, in create
partners = super(res_partner, self).create(vals_list)
File "<decorator-gen-297>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 320, in _model_create_single
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/odoo/api.py", line 320, in <genexpr>
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/addons/base_vat/models/res_partner.py", line 529, in create
return super(ResPartner, self).create(values)
File "<decorator-gen-262>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 338, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/13.0/addons/account/models/partner.py", line 515, in create
return super().create(vals_list)
File "<decorator-gen-143>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/13.0/addons/partner_autocomplete/models/res_partner.py", line 183, in create
partners = super(ResPartner, self).create(vals_list)
File "<decorator-gen-83>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/13.0/odoo/addons/base/models/res_partner.py", line 544, in create
partners = super(Partner, self).create(vals_list)
File "<decorator-gen-115>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/13.0/addons/mail/models/mail_thread.py", line 269, in create
threads = super(MailThread, self).create(vals_list)
File "<decorator-gen-253>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/13.0/addons/website/models/mixins.py", line 152, in create
records = super(WebsitePublishedMixin, self).create(vals_list)
File "<decorator-gen-98>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/viindooaddons13.0/viin_user_assignment_log/models/base.py", line 11, in create
records = super(Base, self).create(vals_list)
File "<decorator-gen-3>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/13.0/odoo/models.py", line 3825, in create
records = self._create(data_list)
File "/opt/odoo/13.0/odoo/models.py", line 3998, in _create
records._validate_fields(name for data in data_list for name in data['stored'])
File "/opt/odoo/13.0/odoo/models.py", line 1212, in _validate_fields
check(self)
File "/opt/odoo/viindooaddons13.0/to_partner_check_unique_vat/models/res_partner.py", line 10, in _check_unique_vat
self.flush()
File "/opt/odoo/13.0/odoo/models.py", line 5514, in flush
self.recompute()
File "/opt/odoo/13.0/odoo/models.py", line 5956, in recompute
process(field)
File "/opt/odoo/13.0/odoo/models.py", line 5940, in process
recs.mapped(field.name)
File "/opt/odoo/13.0/odoo/models.py", line 5322, in mapped
recs = recs._mapped_func(operator.itemgetter(name))
File "/opt/odoo/13.0/odoo/models.py", line 5281, in _mapped_func
vals = [func(rec) for rec in self]
File "/opt/odoo/13.0/odoo/models.py", line 5281, in <listcomp>
vals = [func(rec) for rec in self]
File "/opt/odoo/13.0/odoo/models.py", line 5746, in __getitem__
return self._fields[key].__get__(self, type(self))
File "/opt/odoo/13.0/odoo/fields.py", line 1033, in __get__
self.compute_value(recs)
File "/opt/odoo/13.0/odoo/fields.py", line 1147, in compute_value
records._compute_field_value(self)
File "/opt/odoo/13.0/odoo/models.py", line 4018, in _compute_field_value
getattr(self, field.compute)()
File "/opt/odoo/13.0/addons/phone_validation/models/mail_thread_phone.py", line 44, in _compute_phone_sanitized
sanitized = record.phone_get_sanitized_number(number_fname=fname)
File "/opt/odoo/13.0/addons/phone_validation/models/mail_thread_phone.py", line 117, in phone_get_sanitized_number
return phone_validation.phone_sanitize_numbers_w_record([number], self, record_country_fname=country_fname, force_format=force_format)[number]['sanitized']
File "/opt/odoo/13.0/addons/phone_validation/tools/phone_validation.py", line 113, in phone_sanitize_numbers_w_record
country = record.env.company.country_id
File "/opt/odoo/13.0/odoo/fields.py", line 2370, in __get__
return super().__get__(records, owner)
File "/opt/odoo/13.0/odoo/fields.py", line 1062, in __get__
self.compute_value(recs)
File "/opt/odoo/13.0/odoo/fields.py", line 1147, in compute_value
records._compute_field_value(self)
File "/opt/odoo/13.0/odoo/models.py", line 4018, in _compute_field_value
getattr(self, field.compute)()
File "/opt/odoo/13.0/odoo/addons/base/models/res_company.py", line 127, in _compute_address
for company in self.filtered(lambda company: company.partner_id):
File "/opt/odoo/13.0/odoo/models.py", line 5359, in filtered
return self.browse([rec.id for rec in self if func(rec)])
File "/opt/odoo/13.0/odoo/models.py", line 5359, in <listcomp>
return self.browse([rec.id for rec in self if func(rec)])
File "/opt/odoo/13.0/odoo/addons/base/models/res_company.py", line 127, in <lambda>
for company in self.filtered(lambda company: company.partner_id):
File "/opt/odoo/13.0/odoo/fields.py", line 2370, in __get__
return super().__get__(records, owner)
File "/opt/odoo/13.0/odoo/fields.py", line 1045, in __get__
recs._fetch_field(self)
File "/opt/odoo/13.0/odoo/models.py", line 3002, in _fetch_field
self._read(fnames)
File "/opt/odoo/13.0/odoo/models.py", line 3074, in _read
cr.execute(query_str, params)
File "/opt/odoo/13.0/odoo/sql_db.py", line 173, in wrapper
return f(self, *args, **kwargs)
File "/opt/odoo/13.0/odoo/sql_db.py", line 250, in execute
res = self._obj.execute(query, params)
psycopg2.ProgrammingError: column res_company.einvoice_auto_issue does not exist
LINE 1: ..." as "sinvoice_representation_file_as_attachment","res_compa...
^
01/14/2022 00:37:37 ERROR
Module account: 0 failures, 1 errors
01/14/2022 00:37:37 ERROR
bad query: SELECT "res_company"."id" as "id","res_company"."sequence" as "sequence","res_company"."parent_id" as "parent_id","res_company"."partner_id" as "partner_id","res_company"."report_header" as "report_header","res_company"."report_footer" as "report_footer","res_company"."currency_id" as "currency_id","res_company"."account_no" as "account_no","res_company"."email" as "email","res_company"."phone" as "phone","res_company"."company_registry" as "company_registry","res_company"."paperformat_id" as "paperformat_id","res_company"."external_report_layout_id" as "external_report_layout_id","res_company"."base_onboarding_company_state" as "base_onboarding_company_state","res_company"."primary_color" as "primary_color","res_company"."secondary_color" as "secondary_color","res_company"."font" as "font","res_company"."social_twitter" as "social_twitter","res_company"."social_facebook" as "social_facebook","res_company"."social_github" as "social_github","res_company"."social_linkedin" as "social_linkedin","res_company"."social_youtube" as "social_youtube","res_company"."social_instagram" as "social_instagram","res_company"."hotline" as "hotline","res_company"."nomenclature_id" as "nomenclature_id","res_company"."resource_calendar_id" as "resource_calendar_id","res_company"."name" as "name","res_company"."gengo_private_key" as "gengo_private_key","res_company"."gengo_public_key" as "gengo_public_key","res_company"."gengo_comment" as "gengo_comment","res_company"."gengo_auto_approve" as "gengo_auto_approve","res_company"."gengo_sandbox" as "gengo_sandbox","res_company"."check_unique_vat" as "check_unique_vat","res_company"."rotating_token_life" as "rotating_token_life","res_company"."lunch_minimum_threshold" as "lunch_minimum_threshold","res_company"."partner_gid" as "partner_gid","res_company"."snailmail_color" as "snailmail_color","res_company"."snailmail_cover" as "snailmail_cover","res_company"."snailmail_duplex" as "snailmail_duplex","res_company"."intercompany_user_id" as "intercompany_user_id","res_company"."hr_presence_control_email_amount" as "hr_presence_control_email_amount","res_company"."hr_presence_control_ip_list" as "hr_presence_control_ip_list","res_company"."internal_transit_location_id" as "internal_transit_location_id","res_company"."stock_move_email_validation" as "stock_move_email_validation","res_company"."stock_mail_confirmation_template_id" as "stock_mail_confirmation_template_id","res_company"."send_hbd_email" as "send_hbd_email","res_company"."hdb_email_template_id" as "hdb_email_template_id","res_company"."check_unique_product_default_code" as "check_unique_product_default_code","res_company"."zoom_api_key" as "zoom_api_key","res_company"."zoom_secret_key" as "zoom_secret_key","res_company"."facebook_app_id" as "facebook_app_id","res_company"."facebook_client_secret" as "facebook_client_secret","res_company"."linkedin_app_id" as "linkedin_app_id","res_company"."linkedin_client_secret" as "linkedin_client_secret","res_company"."manufacturing_lead" as "manufacturing_lead","res_company"."stock_move_sms_validation" as "stock_move_sms_validation","res_company"."stock_sms_confirmation_template_id" as "stock_sms_confirmation_template_id","res_company"."has_received_warning_stock_sms" as "has_received_warning_stock_sms","res_company"."fiscalyear_last_day" as "fiscalyear_last_day","res_company"."fiscalyear_last_month" as "fiscalyear_last_month","res_company"."period_lock_date" as "period_lock_date","res_company"."fiscalyear_lock_date" as "fiscalyear_lock_date","res_company"."tax_lock_date" as "tax_lock_date","res_company"."transfer_account_id" as "transfer_account_id","res_company"."expects_chart_of_accounts" as "expects_chart_of_accounts","res_company"."chart_template_id" as "chart_template_id","res_company"."bank_account_code_prefix" as "bank_account_code_prefix","res_company"."cash_account_code_prefix" as "cash_account_code_prefix","res_company"."default_cash_difference_income_account_id" as "default_cash_difference_income_account_id","res_company"."default_cash_difference_expense_account_id" as "default_cash_difference_expense_account_id","res_company"."transfer_account_code_prefix" as "transfer_account_code_prefix","res_company"."account_sale_tax_id" as "account_sale_tax_id","res_company"."account_purchase_tax_id" as "account_purchase_tax_id","res_company"."tax_cash_basis_journal_id" as "tax_cash_basis_journal_id","res_company"."tax_calculation_rounding_method" as "tax_calculation_rounding_method","res_company"."currency_exchange_journal_id" as "currency_exchange_journal_id","res_company"."anglo_saxon_accounting" as "anglo_saxon_accounting","res_company"."property_stock_account_input_categ_id" as "property_stock_account_input_categ_id","res_company"."property_stock_account_output_categ_id" as "property_stock_account_output_categ_id","res_company"."property_stock_valuation_account_id" as "property_stock_valuation_account_id","res_company"."tax_exigibility" as "tax_exigibility","res_company"."account_bank_reconciliation_start" as "account_bank_reconciliation_start","res_company"."incoterm_id" as "incoterm_id","res_company"."qr_code" as "qr_code","res_company"."invoice_is_email" as "invoice_is_email","res_company"."invoice_is_print" as "invoice_is_print","res_company"."account_opening_move_id" as "account_opening_move_id","res_company"."account_setup_bank_data_state" as "account_setup_bank_data_state","res_company"."account_setup_fy_data_state" as "account_setup_fy_data_state","res_company"."account_setup_coa_state" as "account_setup_coa_state","res_company"."account_onboarding_invoice_layout_state" as "account_onboarding_invoice_layout_state","res_company"."account_onboarding_sample_invoice_state" as "account_onboarding_sample_invoice_state","res_company"."account_onboarding_sale_tax_state" as "account_onboarding_sale_tax_state","res_company"."account_invoice_onboarding_state" as "account_invoice_onboarding_state","res_company"."account_dashboard_onboarding_state" as "account_dashboard_onboarding_state","res_company"."invoice_terms" as "invoice_terms","res_company"."account_default_pos_receivable_account_id" as "account_default_pos_receivable_account_id","res_company"."expense_accrual_account_id" as "expense_accrual_account_id","res_company"."revenue_accrual_account_id" as "revenue_accrual_account_id","res_company"."accrual_default_journal_id" as "accrual_default_journal_id","res_company"."hr_presence_last_compute_date" as "hr_presence_last_compute_date","res_company"."subcontracting_location_id" as "subcontracting_location_id","res_company"."default_helpdesk_team_id" as "default_helpdesk_team_id","res_company"."account_check_printing_layout" as "account_check_printing_layout","res_company"."account_check_printing_date_label" as "account_check_printing_date_label","res_company"."account_check_printing_multi_stub" as "account_check_printing_multi_stub","res_company"."account_check_printing_margin_top" as "account_check_printing_margin_top","res_company"."account_check_printing_margin_left" as "account_check_printing_margin_left","res_company"."account_check_printing_margin_right" as "account_check_printing_margin_right","res_company"."vat_check_vies" as "vat_check_vies","res_company"."project_time_mode_id" as "project_time_mode_id","res_company"."timesheet_encode_uom_id" as "timesheet_encode_uom_id","res_company"."payment_acquirer_onboarding_state" as "payment_acquirer_onboarding_state","res_company"."payment_onboarding_payment_method" as "payment_onboarding_payment_method","res_company"."po_lead" as "po_lead","res_company"."po_lock" as "po_lock","res_company"."po_double_validation" as "po_double_validation","res_company"."po_double_validation_amount" as "po_double_validation_amount","res_company"."invoice_is_snailmail" as "invoice_is_snailmail","res_company"."balance_carry_forward_journal_id" as "balance_carry_forward_journal_id","res_company"."affiliate_comm_percentage" as "affiliate_comm_percentage","res_company"."affiliate_cookie_age" as "affiliate_cookie_age","res_company"."affiliate_min_payout" as "affiliate_min_payout","res_company"."commission_product_id" as "commission_product_id","res_company"."aff_allowed" as "aff_allowed","res_company"."compute_aff_method" as "compute_aff_method","res_company"."main_currency_bank_id" as "main_currency_bank_id","res_company"."amount_double_validation" as "amount_double_validation","res_company"."use_employee_advance_pass_through_account" as "use_employee_advance_pass_through_account","res_company"."loan_borrowing_journal_id" as "loan_borrowing_journal_id","res_company"."loan_borrowing_account_id" as "loan_borrowing_account_id","res_company"."loan_lending_journal_id" as "loan_lending_journal_id","res_company"."loan_lending_account_id" as "loan_lending_account_id","res_company"."vendor_app_comm_percent" as "vendor_app_comm_percent","res_company"."vendor_app_min_payout" as "vendor_app_min_payout","res_company"."dedicated_app_download_token_lifetime" as "dedicated_app_download_token_lifetime","res_company"."app_download_token_lifetime" as "app_download_token_lifetime","res_company"."leave_timesheet_project_id" as "leave_timesheet_project_id","res_company"."leave_timesheet_task_id" as "leave_timesheet_task_id","res_company"."portal_confirmation_sign" as "portal_confirmation_sign","res_company"."portal_confirmation_pay" as "portal_confirmation_pay","res_company"."quotation_validity_days" as "quotation_validity_days","res_company"."sale_quotation_onboarding_state" as "sale_quotation_onboarding_state","res_company"."sale_onboarding_order_confirmation_state" as "sale_onboarding_order_confirmation_state","res_company"."sale_onboarding_sample_quotation_state" as "sale_onboarding_sample_quotation_state","res_company"."sale_onboarding_payment_method" as "sale_onboarding_payment_method","res_company"."days_between_two_followups" as "days_between_two_followups","res_company"."overdue_msg" as "overdue_msg","res_company"."totals_below_sections" as "totals_below_sections","res_company"."currency_conversion_diff_journal_id" as "currency_conversion_diff_journal_id","res_company"."einvoice_lock_legal_number" as "einvoice_lock_legal_number","res_company"."einvoice_issue_earliest_invoice_first" as "einvoice_issue_earliest_invoice_first","res_company"."sinvoice_exchange_file_as_attachment" as "sinvoice_exchange_file_as_attachment","res_company"."sinvoice_representation_file_as_attachment" as "sinvoice_representation_file_as_attachment","res_company"."einvoice_auto_issue" as "einvoice_auto_issue","res_company"."basic_wage_rule_categ_id" as "basic_wage_rule_categ_id","res_company"."gross_salary_rule_categ_id" as "gross_salary_rule_categ_id","res_company"."tax_base_rule_categ_id" as "tax_base_rule_categ_id","res_company"."net_income_salary_rule_categ_id" as "net_income_salary_rule_categ_id","res_company"."payslips_auto_generation" as "payslips_auto_generation","res_company"."payslips_auto_generation_mode" as "payslips_auto_generation_mode","res_company"."payslips_auto_generation_day" as "payslips_auto_generation_day","res_company"."payslips_auto_generation_lang" as "payslips_auto_generation_lang","res_company"."salary_cycle_id" as "salary_cycle_id","res_company"."property_promotion_voucher_profit_account_id" as "property_promotion_voucher_profit_account_id","res_company"."property_promotion_voucher_loss_account_id" as "property_promotion_voucher_loss_account_id","res_company"."property_unearn_revenue_account_id" as "property_unearn_revenue_account_id","res_company"."allow_edit_website_jobs_company_setting" as "allow_edit_website_jobs_company_setting","res_company"."security_lead" as "security_lead","res_company"."lc_journal_id" as "lc_journal_id","res_company"."payslip_batch_journal_entry" as "payslip_batch_journal_entry","res_company"."default_meal_emp_price" as "default_meal_emp_price","res_company"."general_overhead" as "general_overhead","res_company"."loyalty_points_reward_policy" as "loyalty_points_reward_policy","res_company"."manufacturing_period" as "manufacturing_period","res_company"."manufacturing_period_to_display" as "manufacturing_period_to_display","res_company"."mrp_mps_show_starting_inventory" as "mrp_mps_show_starting_inventory","res_company"."mrp_mps_show_demand_forecast" as "mrp_mps_show_demand_forecast","res_company"."mrp_mps_show_actual_demand" as "mrp_mps_show_actual_demand","res_company"."mrp_mps_show_indirect_demand" as "mrp_mps_show_indirect_demand","res_company"."mrp_mps_show_to_replenish" as "mrp_mps_show_to_replenish","res_company"."mrp_mps_show_actual_replenishment" as "mrp_mps_show_actual_replenishment","res_company"."mrp_mps_show_safety_stock" as "mrp_mps_show_safety_stock","res_company"."mrp_mps_show_available_to_promise" as "mrp_mps_show_available_to_promise","res_company"."sales_price_modifying_group_id" as "sales_price_modifying_group_id","res_company"."prevent_unlink_related_invoices" as "prevent_unlink_related_invoices","res_company"."website_sale_onboarding_payment_acquirer_state" as "website_sale_onboarding_payment_acquirer_state","res_company"."sinvoice_mode" as "sinvoice_mode","res_company"."sinvoice_start" as "sinvoice_start","res_company"."account_sinvoice_serial_id" as "account_sinvoice_serial_id","res_company"."account_sinvoice_template_id" as "account_sinvoice_template_id","res_company"."account_sinvoice_type_id" as "account_sinvoice_type_id","res_company"."sinvoice_synch_payment_status" as "sinvoice_synch_payment_status","res_company"."sinvoice_conversion_user_id" as "sinvoice_conversion_user_id","res_company"."sinvoice_api_username" as "sinvoice_api_username","res_company"."sinvoice_api_password" as "sinvoice_api_password","res_company"."sinvoice_max_len_bank_name" as "sinvoice_max_len_bank_name","res_company"."sinvoice_max_len_bank_account" as "sinvoice_max_len_bank_account","res_company"."einvoice_provider" as "einvoice_provider","res_company"."vninvoice_mode" as "vninvoice_mode","res_company"."vninvoice_start_date" as "vninvoice_start_date","res_company"."account_vninvoice_serial_id" as "account_vninvoice_serial_id","res_company"."account_vninvoice_template_id" as "account_vninvoice_template_id","res_company"."account_vninvoice_type_id" as "account_vninvoice_type_id","res_company"."vninvoice_api_username" as "vninvoice_api_username","res_company"."vninvoice_api_password" as "vninvoice_api_password","res_company"."account_journal_custom_clearance" as "account_journal_custom_clearance","res_company"."imp_custom_dec_sequence_id" as "imp_custom_dec_sequence_id","res_company"."exp_custom_dec_sequence_id" as "exp_custom_dec_sequence_id","res_company"."overtime_recognition_mode" as "overtime_recognition_mode","res_company"."prevent_unlink_related_pickings" as "prevent_unlink_related_pickings","res_company"."landed_cost_journal_id" as "landed_cost_journal_id","res_company"."applicable_on" as "applicable_on","res_company"."so_po_auto_validation" as "so_po_auto_validation","res_company"."import_vat_ctp_account_id" as "import_vat_ctp_account_id","res_company"."import_tax_payment_term" as "import_tax_payment_term","res_company"."export_vat_ctp_account_id" as "export_vat_ctp_account_id","res_company"."export_tax_payment_term" as "export_tax_payment_term","res_company"."use_intermediary_account" as "use_intermediary_account","res_company"."inter_comp_warehouse_id" as "inter_comp_warehouse_id","res_company"."create_uid" as "create_uid","res_company"."create_date" as "create_date","res_company"."write_uid" as "write_uid","res_company"."write_date" as "write_date" FROM "res_company" WHERE "res_company".id IN (1)
ERROR: column res_company.einvoice_auto_issue does not exist
LINE 1: ..." as "sinvoice_representation_file_as_attachment","res_compa...
^
01/14/2022 00:37:37 ERROR
ERROR: setUpClass (odoo.addons.account.tests.test_account_analytic.TestAccountAnalyticAccount)
Traceback (most recent call last):
File "/opt/odoo/13.0/odoo/api.py", line 748, in get
value = self._data[field][record._ids[0]]
KeyError: 1

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/odoo/13.0/odoo/fields.py", line 1038, in __get__
value = env.cache.get(record, self)
File "/opt/odoo/13.0/odoo/api.py", line 754, in get
raise CacheMiss(record, field)
odoo.exceptions.CacheMiss: ('res.company(1,).country_id', None)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/odoo/13.0/odoo/api.py", line 748, in get
value = self._data[field][record._ids[0]]
KeyError: 1

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/odoo/13.0/odoo/fields.py", line 1038, in __get__
value = env.cache.get(record, self)
File "/opt/odoo/13.0/odoo/api.py", line 754, in get
raise CacheMiss(record, field)
odoo.exceptions.CacheMiss: ('res.company(1,).partner_id', None)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/odoo/13.0/odoo/tests/common.py", line 191, in _handleClassSetUp
setUpClass()
File "/opt/odoo/13.0/addons/account/tests/test_account_analytic.py", line 12, in setUpClass
super().setUpClass(chart_template_ref=chart_template_ref)
File "/opt/odoo/13.0/addons/account/tests/account_test_savepoint.py", line 51, in setUpClass
cls.company_data_2 = cls.setup_company_data('company_2_data', chart_template)
File "/opt/odoo/13.0/addons/account/tests/account_test_savepoint.py", line 197, in setup_company_data
**kwargs,
File "<decorator-gen-435>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 338, in _model_create_multi
return create(self, [arg])
File "/home/my077ib0t8sl-28822/build_src/to_inter_company_sale_purchase_stock/models/res_company.py", line 13, in create
res = super(ResCompany, self).create(vals_list)
File "<decorator-gen-425>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 320, in _model_create_single
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/odoo/api.py", line 320, in <genexpr>
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/viindooaddons13.0/to_foreign_trade/models/res_company.py", line 28, in create
res = super(ResCompany, self).create(vals)
File "<decorator-gen-364>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 338, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/viindooaddons13.0/to_hr_payroll/models/res_company.py", line 736, in create
companies = super(ResCompany, self).create(vals_list)
File "<decorator-gen-354>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 320, in _model_create_single
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/odoo/api.py", line 320, in <genexpr>
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/addons/project_timesheet_holidays/models/res_company.py", line 30, in create
company = super(Company, self).create(values)
File "<decorator-gen-341>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 338, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/viindooaddons13.0/viin_hr_overtime/models/res_company.py", line 17, in create
companies = super(ResCompany, self).create(vals_list)
File "<decorator-gen-331>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 320, in _model_create_single
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/odoo/api.py", line 320, in <genexpr>
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/viindooaddons13.0/to_maintenance_approval/models/res_company.py", line 27, in create
company = super(ResCompany, self).create(values)
File "<decorator-gen-289>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 338, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/viindooaddons13.0/viin_helpdesk/models/res_company.py", line 14, in create
companies = super(Company, self).create(vals_list)
File "<decorator-gen-280>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/viindooaddons13.0/to_approvals/models/res_company.py", line 31, in create
companies = super(ResCompany, self).create(vals_list)
File "<decorator-gen-190>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 320, in _model_create_single
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/odoo/api.py", line 320, in <genexpr>
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/addons/stock/models/res_company.py", line 181, in create
company = super(Company, self).create(vals)
File "<decorator-gen-152>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 317, in _model_create_single
return create(self, arg)
File "/opt/odoo/13.0/addons/product/models/res_company.py", line 12, in create
new_company = super(ResCompany, self).create(vals)
File "<decorator-gen-102>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 317, in _model_create_single
return create(self, arg)
File "/opt/odoo/13.0/addons/resource/models/res_company.py", line 28, in create
company = super(ResCompany, self).create(values)
File "<decorator-gen-95>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 317, in _model_create_single
return create(self, arg)
File "/opt/odoo/13.0/addons/web/models/models.py", line 397, in create
res = super().create(values)
File "<decorator-gen-84>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 317, in _model_create_single
return create(self, arg)
File "/opt/odoo/13.0/odoo/addons/base/models/res_company.py", line 227, in create
'country_id': vals.get('country_id'),
File "<decorator-gen-420>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 338, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/viindooaddons13.0/to_foreign_trade/models/res_partner.py", line 72, in create
partners = super(res_partner, self).create(vals_list)
File "<decorator-gen-297>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 320, in _model_create_single
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/odoo/api.py", line 320, in <genexpr>
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/addons/base_vat/models/res_partner.py", line 529, in create
return super(ResPartner, self).create(values)
File "<decorator-gen-262>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 338, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/13.0/addons/account/models/partner.py", line 515, in create
return super().create(vals_list)
File "<decorator-gen-143>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/13.0/addons/partner_autocomplete/models/res_partner.py", line 183, in create
partners = super(ResPartner, self).create(vals_list)
File "<decorator-gen-83>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/13.0/odoo/addons/base/models/res_partner.py", line 544, in create
partners = super(Partner, self).create(vals_list)
File "<decorator-gen-115>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/13.0/addons/mail/models/mail_thread.py", line 269, in create
threads = super(MailThread, self).create(vals_list)
File "<decorator-gen-253>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/13.0/addons/website/models/mixins.py", line 152, in create
records = super(WebsitePublishedMixin, self).create(vals_list)
File "<decorator-gen-98>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/viindooaddons13.0/viin_user_assignment_log/models/base.py", line 11, in create
records = super(Base, self).create(vals_list)
File "<decorator-gen-3>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/13.0/odoo/models.py", line 3825, in create
records = self._create(data_list)
File "/opt/odoo/13.0/odoo/models.py", line 3998, in _create
records._validate_fields(name for data in data_list for name in data['stored'])
File "/opt/odoo/13.0/odoo/models.py", line 1212, in _validate_fields
check(self)
File "/opt/odoo/viindooaddons13.0/to_partner_check_unique_vat/models/res_partner.py", line 10, in _check_unique_vat
self.flush()
File "/opt/odoo/13.0/odoo/models.py", line 5514, in flush
self.recompute()
File "/opt/odoo/13.0/odoo/models.py", line 5956, in recompute
process(field)
File "/opt/odoo/13.0/odoo/models.py", line 5940, in process
recs.mapped(field.name)
File "/opt/odoo/13.0/odoo/models.py", line 5322, in mapped
recs = recs._mapped_func(operator.itemgetter(name))
File "/opt/odoo/13.0/odoo/models.py", line 5281, in _mapped_func
vals = [func(rec) for rec in self]
File "/opt/odoo/13.0/odoo/models.py", line 5281, in <listcomp>
vals = [func(rec) for rec in self]
File "/opt/odoo/13.0/odoo/models.py", line 5746, in __getitem__
return self._fields[key].__get__(self, type(self))
File "/opt/odoo/13.0/odoo/fields.py", line 1033, in __get__
self.compute_value(recs)
File "/opt/odoo/13.0/odoo/fields.py", line 1147, in compute_value
records._compute_field_value(self)
File "/opt/odoo/13.0/odoo/models.py", line 4018, in _compute_field_value
getattr(self, field.compute)()
File "/opt/odoo/13.0/addons/phone_validation/models/mail_thread_phone.py", line 44, in _compute_phone_sanitized
sanitized = record.phone_get_sanitized_number(number_fname=fname)
File "/opt/odoo/13.0/addons/phone_validation/models/mail_thread_phone.py", line 117, in phone_get_sanitized_number
return phone_validation.phone_sanitize_numbers_w_record([number], self, record_country_fname=country_fname, force_format=force_format)[number]['sanitized']
File "/opt/odoo/13.0/addons/phone_validation/tools/phone_validation.py", line 113, in phone_sanitize_numbers_w_record
country = record.env.company.country_id
File "/opt/odoo/13.0/odoo/fields.py", line 2370, in __get__
return super().__get__(records, owner)
File "/opt/odoo/13.0/odoo/fields.py", line 1062, in __get__
self.compute_value(recs)
File "/opt/odoo/13.0/odoo/fields.py", line 1147, in compute_value
records._compute_field_value(self)
File "/opt/odoo/13.0/odoo/models.py", line 4018, in _compute_field_value
getattr(self, field.compute)()
File "/opt/odoo/13.0/odoo/addons/base/models/res_company.py", line 127, in _compute_address
for company in self.filtered(lambda company: company.partner_id):
File "/opt/odoo/13.0/odoo/models.py", line 5359, in filtered
return self.browse([rec.id for rec in self if func(rec)])
File "/opt/odoo/13.0/odoo/models.py", line 5359, in <listcomp>
return self.browse([rec.id for rec in self if func(rec)])
File "/opt/odoo/13.0/odoo/addons/base/models/res_company.py", line 127, in <lambda>
for company in self.filtered(lambda company: company.partner_id):
File "/opt/odoo/13.0/odoo/fields.py", line 2370, in __get__
return super().__get__(records, owner)
File "/opt/odoo/13.0/odoo/fields.py", line 1045, in __get__
recs._fetch_field(self)
File "/opt/odoo/13.0/odoo/models.py", line 3002, in _fetch_field
self._read(fnames)
File "/opt/odoo/13.0/odoo/models.py", line 3074, in _read
cr.execute(query_str, params)
File "/opt/odoo/13.0/odoo/sql_db.py", line 173, in wrapper
return f(self, *args, **kwargs)
File "/opt/odoo/13.0/odoo/sql_db.py", line 250, in execute
res = self._obj.execute(query, params)
psycopg2.ProgrammingError: column res_company.einvoice_auto_issue does not exist
LINE 1: ..." as "sinvoice_representation_file_as_attachment","res_compa...
^
01/14/2022 00:37:37 ERROR
Module account: 0 failures, 1 errors
01/14/2022 00:37:37 ERROR
bad query: SELECT "res_company"."id" as "id","res_company"."sequence" as "sequence","res_company"."parent_id" as "parent_id","res_company"."partner_id" as "partner_id","res_company"."report_header" as "report_header","res_company"."report_footer" as "report_footer","res_company"."currency_id" as "currency_id","res_company"."account_no" as "account_no","res_company"."email" as "email","res_company"."phone" as "phone","res_company"."company_registry" as "company_registry","res_company"."paperformat_id" as "paperformat_id","res_company"."external_report_layout_id" as "external_report_layout_id","res_company"."base_onboarding_company_state" as "base_onboarding_company_state","res_company"."primary_color" as "primary_color","res_company"."secondary_color" as "secondary_color","res_company"."font" as "font","res_company"."social_twitter" as "social_twitter","res_company"."social_facebook" as "social_facebook","res_company"."social_github" as "social_github","res_company"."social_linkedin" as "social_linkedin","res_company"."social_youtube" as "social_youtube","res_company"."social_instagram" as "social_instagram","res_company"."hotline" as "hotline","res_company"."nomenclature_id" as "nomenclature_id","res_company"."resource_calendar_id" as "resource_calendar_id","res_company"."name" as "name","res_company"."gengo_private_key" as "gengo_private_key","res_company"."gengo_public_key" as "gengo_public_key","res_company"."gengo_comment" as "gengo_comment","res_company"."gengo_auto_approve" as "gengo_auto_approve","res_company"."gengo_sandbox" as "gengo_sandbox","res_company"."check_unique_vat" as "check_unique_vat","res_company"."rotating_token_life" as "rotating_token_life","res_company"."lunch_minimum_threshold" as "lunch_minimum_threshold","res_company"."partner_gid" as "partner_gid","res_company"."snailmail_color" as "snailmail_color","res_company"."snailmail_cover" as "snailmail_cover","res_company"."snailmail_duplex" as "snailmail_duplex","res_company"."intercompany_user_id" as "intercompany_user_id","res_company"."hr_presence_control_email_amount" as "hr_presence_control_email_amount","res_company"."hr_presence_control_ip_list" as "hr_presence_control_ip_list","res_company"."internal_transit_location_id" as "internal_transit_location_id","res_company"."stock_move_email_validation" as "stock_move_email_validation","res_company"."stock_mail_confirmation_template_id" as "stock_mail_confirmation_template_id","res_company"."send_hbd_email" as "send_hbd_email","res_company"."hdb_email_template_id" as "hdb_email_template_id","res_company"."check_unique_product_default_code" as "check_unique_product_default_code","res_company"."zoom_api_key" as "zoom_api_key","res_company"."zoom_secret_key" as "zoom_secret_key","res_company"."facebook_app_id" as "facebook_app_id","res_company"."facebook_client_secret" as "facebook_client_secret","res_company"."linkedin_app_id" as "linkedin_app_id","res_company"."linkedin_client_secret" as "linkedin_client_secret","res_company"."manufacturing_lead" as "manufacturing_lead","res_company"."stock_move_sms_validation" as "stock_move_sms_validation","res_company"."stock_sms_confirmation_template_id" as "stock_sms_confirmation_template_id","res_company"."has_received_warning_stock_sms" as "has_received_warning_stock_sms","res_company"."fiscalyear_last_day" as "fiscalyear_last_day","res_company"."fiscalyear_last_month" as "fiscalyear_last_month","res_company"."period_lock_date" as "period_lock_date","res_company"."fiscalyear_lock_date" as "fiscalyear_lock_date","res_company"."tax_lock_date" as "tax_lock_date","res_company"."transfer_account_id" as "transfer_account_id","res_company"."expects_chart_of_accounts" as "expects_chart_of_accounts","res_company"."chart_template_id" as "chart_template_id","res_company"."bank_account_code_prefix" as "bank_account_code_prefix","res_company"."cash_account_code_prefix" as "cash_account_code_prefix","res_company"."default_cash_difference_income_account_id" as "default_cash_difference_income_account_id","res_company"."default_cash_difference_expense_account_id" as "default_cash_difference_expense_account_id","res_company"."transfer_account_code_prefix" as "transfer_account_code_prefix","res_company"."account_sale_tax_id" as "account_sale_tax_id","res_company"."account_purchase_tax_id" as "account_purchase_tax_id","res_company"."tax_cash_basis_journal_id" as "tax_cash_basis_journal_id","res_company"."tax_calculation_rounding_method" as "tax_calculation_rounding_method","res_company"."currency_exchange_journal_id" as "currency_exchange_journal_id","res_company"."anglo_saxon_accounting" as "anglo_saxon_accounting","res_company"."property_stock_account_input_categ_id" as "property_stock_account_input_categ_id","res_company"."property_stock_account_output_categ_id" as "property_stock_account_output_categ_id","res_company"."property_stock_valuation_account_id" as "property_stock_valuation_account_id","res_company"."tax_exigibility" as "tax_exigibility","res_company"."account_bank_reconciliation_start" as "account_bank_reconciliation_start","res_company"."incoterm_id" as "incoterm_id","res_company"."qr_code" as "qr_code","res_company"."invoice_is_email" as "invoice_is_email","res_company"."invoice_is_print" as "invoice_is_print","res_company"."account_opening_move_id" as "account_opening_move_id","res_company"."account_setup_bank_data_state" as "account_setup_bank_data_state","res_company"."account_setup_fy_data_state" as "account_setup_fy_data_state","res_company"."account_setup_coa_state" as "account_setup_coa_state","res_company"."account_onboarding_invoice_layout_state" as "account_onboarding_invoice_layout_state","res_company"."account_onboarding_sample_invoice_state" as "account_onboarding_sample_invoice_state","res_company"."account_onboarding_sale_tax_state" as "account_onboarding_sale_tax_state","res_company"."account_invoice_onboarding_state" as "account_invoice_onboarding_state","res_company"."account_dashboard_onboarding_state" as "account_dashboard_onboarding_state","res_company"."invoice_terms" as "invoice_terms","res_company"."account_default_pos_receivable_account_id" as "account_default_pos_receivable_account_id","res_company"."expense_accrual_account_id" as "expense_accrual_account_id","res_company"."revenue_accrual_account_id" as "revenue_accrual_account_id","res_company"."accrual_default_journal_id" as "accrual_default_journal_id","res_company"."hr_presence_last_compute_date" as "hr_presence_last_compute_date","res_company"."subcontracting_location_id" as "subcontracting_location_id","res_company"."default_helpdesk_team_id" as "default_helpdesk_team_id","res_company"."account_check_printing_layout" as "account_check_printing_layout","res_company"."account_check_printing_date_label" as "account_check_printing_date_label","res_company"."account_check_printing_multi_stub" as "account_check_printing_multi_stub","res_company"."account_check_printing_margin_top" as "account_check_printing_margin_top","res_company"."account_check_printing_margin_left" as "account_check_printing_margin_left","res_company"."account_check_printing_margin_right" as "account_check_printing_margin_right","res_company"."vat_check_vies" as "vat_check_vies","res_company"."project_time_mode_id" as "project_time_mode_id","res_company"."timesheet_encode_uom_id" as "timesheet_encode_uom_id","res_company"."payment_acquirer_onboarding_state" as "payment_acquirer_onboarding_state","res_company"."payment_onboarding_payment_method" as "payment_onboarding_payment_method","res_company"."po_lead" as "po_lead","res_company"."po_lock" as "po_lock","res_company"."po_double_validation" as "po_double_validation","res_company"."po_double_validation_amount" as "po_double_validation_amount","res_company"."invoice_is_snailmail" as "invoice_is_snailmail","res_company"."balance_carry_forward_journal_id" as "balance_carry_forward_journal_id","res_company"."affiliate_comm_percentage" as "affiliate_comm_percentage","res_company"."affiliate_cookie_age" as "affiliate_cookie_age","res_company"."affiliate_min_payout" as "affiliate_min_payout","res_company"."commission_product_id" as "commission_product_id","res_company"."aff_allowed" as "aff_allowed","res_company"."compute_aff_method" as "compute_aff_method","res_company"."main_currency_bank_id" as "main_currency_bank_id","res_company"."amount_double_validation" as "amount_double_validation","res_company"."use_employee_advance_pass_through_account" as "use_employee_advance_pass_through_account","res_company"."loan_borrowing_journal_id" as "loan_borrowing_journal_id","res_company"."loan_borrowing_account_id" as "loan_borrowing_account_id","res_company"."loan_lending_journal_id" as "loan_lending_journal_id","res_company"."loan_lending_account_id" as "loan_lending_account_id","res_company"."vendor_app_comm_percent" as "vendor_app_comm_percent","res_company"."vendor_app_min_payout" as "vendor_app_min_payout","res_company"."dedicated_app_download_token_lifetime" as "dedicated_app_download_token_lifetime","res_company"."app_download_token_lifetime" as "app_download_token_lifetime","res_company"."leave_timesheet_project_id" as "leave_timesheet_project_id","res_company"."leave_timesheet_task_id" as "leave_timesheet_task_id","res_company"."portal_confirmation_sign" as "portal_confirmation_sign","res_company"."portal_confirmation_pay" as "portal_confirmation_pay","res_company"."quotation_validity_days" as "quotation_validity_days","res_company"."sale_quotation_onboarding_state" as "sale_quotation_onboarding_state","res_company"."sale_onboarding_order_confirmation_state" as "sale_onboarding_order_confirmation_state","res_company"."sale_onboarding_sample_quotation_state" as "sale_onboarding_sample_quotation_state","res_company"."sale_onboarding_payment_method" as "sale_onboarding_payment_method","res_company"."days_between_two_followups" as "days_between_two_followups","res_company"."overdue_msg" as "overdue_msg","res_company"."totals_below_sections" as "totals_below_sections","res_company"."currency_conversion_diff_journal_id" as "currency_conversion_diff_journal_id","res_company"."einvoice_lock_legal_number" as "einvoice_lock_legal_number","res_company"."einvoice_issue_earliest_invoice_first" as "einvoice_issue_earliest_invoice_first","res_company"."sinvoice_exchange_file_as_attachment" as "sinvoice_exchange_file_as_attachment","res_company"."sinvoice_representation_file_as_attachment" as "sinvoice_representation_file_as_attachment","res_company"."einvoice_auto_issue" as "einvoice_auto_issue","res_company"."basic_wage_rule_categ_id" as "basic_wage_rule_categ_id","res_company"."gross_salary_rule_categ_id" as "gross_salary_rule_categ_id","res_company"."tax_base_rule_categ_id" as "tax_base_rule_categ_id","res_company"."net_income_salary_rule_categ_id" as "net_income_salary_rule_categ_id","res_company"."payslips_auto_generation" as "payslips_auto_generation","res_company"."payslips_auto_generation_mode" as "payslips_auto_generation_mode","res_company"."payslips_auto_generation_day" as "payslips_auto_generation_day","res_company"."payslips_auto_generation_lang" as "payslips_auto_generation_lang","res_company"."salary_cycle_id" as "salary_cycle_id","res_company"."property_promotion_voucher_profit_account_id" as "property_promotion_voucher_profit_account_id","res_company"."property_promotion_voucher_loss_account_id" as "property_promotion_voucher_loss_account_id","res_company"."property_unearn_revenue_account_id" as "property_unearn_revenue_account_id","res_company"."allow_edit_website_jobs_company_setting" as "allow_edit_website_jobs_company_setting","res_company"."security_lead" as "security_lead","res_company"."lc_journal_id" as "lc_journal_id","res_company"."payslip_batch_journal_entry" as "payslip_batch_journal_entry","res_company"."default_meal_emp_price" as "default_meal_emp_price","res_company"."general_overhead" as "general_overhead","res_company"."loyalty_points_reward_policy" as "loyalty_points_reward_policy","res_company"."manufacturing_period" as "manufacturing_period","res_company"."manufacturing_period_to_display" as "manufacturing_period_to_display","res_company"."mrp_mps_show_starting_inventory" as "mrp_mps_show_starting_inventory","res_company"."mrp_mps_show_demand_forecast" as "mrp_mps_show_demand_forecast","res_company"."mrp_mps_show_actual_demand" as "mrp_mps_show_actual_demand","res_company"."mrp_mps_show_indirect_demand" as "mrp_mps_show_indirect_demand","res_company"."mrp_mps_show_to_replenish" as "mrp_mps_show_to_replenish","res_company"."mrp_mps_show_actual_replenishment" as "mrp_mps_show_actual_replenishment","res_company"."mrp_mps_show_safety_stock" as "mrp_mps_show_safety_stock","res_company"."mrp_mps_show_available_to_promise" as "mrp_mps_show_available_to_promise","res_company"."sales_price_modifying_group_id" as "sales_price_modifying_group_id","res_company"."prevent_unlink_related_invoices" as "prevent_unlink_related_invoices","res_company"."website_sale_onboarding_payment_acquirer_state" as "website_sale_onboarding_payment_acquirer_state","res_company"."sinvoice_mode" as "sinvoice_mode","res_company"."sinvoice_start" as "sinvoice_start","res_company"."account_sinvoice_serial_id" as "account_sinvoice_serial_id","res_company"."account_sinvoice_template_id" as "account_sinvoice_template_id","res_company"."account_sinvoice_type_id" as "account_sinvoice_type_id","res_company"."sinvoice_synch_payment_status" as "sinvoice_synch_payment_status","res_company"."sinvoice_conversion_user_id" as "sinvoice_conversion_user_id","res_company"."sinvoice_api_username" as "sinvoice_api_username","res_company"."sinvoice_api_password" as "sinvoice_api_password","res_company"."sinvoice_max_len_bank_name" as "sinvoice_max_len_bank_name","res_company"."sinvoice_max_len_bank_account" as "sinvoice_max_len_bank_account","res_company"."einvoice_provider" as "einvoice_provider","res_company"."vninvoice_mode" as "vninvoice_mode","res_company"."vninvoice_start_date" as "vninvoice_start_date","res_company"."account_vninvoice_serial_id" as "account_vninvoice_serial_id","res_company"."account_vninvoice_template_id" as "account_vninvoice_template_id","res_company"."account_vninvoice_type_id" as "account_vninvoice_type_id","res_company"."vninvoice_api_username" as "vninvoice_api_username","res_company"."vninvoice_api_password" as "vninvoice_api_password","res_company"."account_journal_custom_clearance" as "account_journal_custom_clearance","res_company"."imp_custom_dec_sequence_id" as "imp_custom_dec_sequence_id","res_company"."exp_custom_dec_sequence_id" as "exp_custom_dec_sequence_id","res_company"."overtime_recognition_mode" as "overtime_recognition_mode","res_company"."prevent_unlink_related_pickings" as "prevent_unlink_related_pickings","res_company"."landed_cost_journal_id" as "landed_cost_journal_id","res_company"."applicable_on" as "applicable_on","res_company"."so_po_auto_validation" as "so_po_auto_validation","res_company"."import_vat_ctp_account_id" as "import_vat_ctp_account_id","res_company"."import_tax_payment_term" as "import_tax_payment_term","res_company"."export_vat_ctp_account_id" as "export_vat_ctp_account_id","res_company"."export_tax_payment_term" as "export_tax_payment_term","res_company"."use_intermediary_account" as "use_intermediary_account","res_company"."inter_comp_warehouse_id" as "inter_comp_warehouse_id","res_company"."create_uid" as "create_uid","res_company"."create_date" as "create_date","res_company"."write_uid" as "write_uid","res_company"."write_date" as "write_date" FROM "res_company" WHERE "res_company".id IN (1)
ERROR: column res_company.einvoice_auto_issue does not exist
LINE 1: ..." as "sinvoice_representation_file_as_attachment","res_compa...
^
01/14/2022 00:37:37 ERROR
ERROR: TestFiscalPosition.test_custom_fiscal_year
Traceback (most recent call last):
File "/opt/odoo/13.0/odoo/api.py", line 748, in get
value = self._data[field][record._ids[0]]
KeyError: 1

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/odoo/13.0/odoo/fields.py", line 1038, in __get__
value = env.cache.get(record, self)
File "/opt/odoo/13.0/odoo/api.py", line 754, in get
raise CacheMiss(record, field)
odoo.exceptions.CacheMiss: ('res.company(1,).account_opening_date', None)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/odoo/13.0/odoo/api.py", line 748, in get
value = self._data[field][record._ids[0]]
KeyError: 1

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/odoo/13.0/odoo/fields.py", line 1038, in __get__
value = env.cache.get(record, self)
File "/opt/odoo/13.0/odoo/api.py", line 754, in get
raise CacheMiss(record, field)
odoo.exceptions.CacheMiss: ('res.company(1,).account_opening_move_id', None)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/odoo/13.0/addons/account/tests/test_account_fiscal_year.py", line 90, in test_custom_fiscal_year
company.fiscalyear_last_day = 31
File "/opt/odoo/13.0/odoo/fields.py", line 1123, in __set__
records.write({self.name: write_value})
File "/opt/odoo/viindooaddons13.0/viin_l10n_vn_account_payment_internal_transfer/models/res_company.py", line 17, in write
return super(ResCompany, self).write(values)
File "/opt/odoo/viindooaddons13.0/viin_l10n_vn_hr_payroll_administrative_region/models/res_company.py", line 9, in write
res = super(ResCompany, self).write(vals)
File "/opt/odoo/viindooaddons13.0/to_l10n_vn_hr_payroll/models/res_company.py", line 139, in write
res = super(ResCompany, self).write(vals)
File "/opt/odoo/13.0/addons/account_lock/models/res_company.py", line 81, in write
return super(ResCompany, self).write(vals)
File "/opt/odoo/13.0/addons/account/models/company.py", line 254, in write
return super(ResCompany, self).write(values)
File "/opt/odoo/13.0/addons/product/models/res_company.py", line 65, in write
return super(ResCompany, self).write(values)
File "/opt/odoo/13.0/addons/web/models/models.py", line 404, in write
res = super().write(values)
File "/opt/odoo/13.0/odoo/addons/base/models/res_company.py", line 252, in write
return super(Company, self).write(values)
File "/opt/odoo/viindooaddons13.0/viin_user_assignment_log/models/base.py", line 36, in write
res = super(Base, self).write(vals)
File "/opt/odoo/13.0/odoo/models.py", line 3647, in write
real_recs._validate_fields(vals, inverse_fields)
File "/opt/odoo/13.0/odoo/models.py", line 1212, in _validate_fields
check(self)
File "/opt/odoo/13.0/addons/account/models/company.py", line 118, in _check_fiscalyear_last_day
if rec.account_opening_date:
File "/opt/odoo/13.0/odoo/fields.py", line 1062, in __get__
self.compute_value(recs)
File "/opt/odoo/13.0/odoo/fields.py", line 1147, in compute_value
records._compute_field_value(self)
File "/opt/odoo/13.0/odoo/models.py", line 4020, in _compute_field_value
field.compute(self)
File "/opt/odoo/13.0/odoo/fields.py", line 569, in _compute_related
values = [first(value[name]) for value in values]
File "/opt/odoo/13.0/odoo/fields.py", line 569, in <listcomp>
values = [first(value[name]) for value in values]
File "/opt/odoo/13.0/odoo/models.py", line 5746, in __getitem__
return self._fields[key].__get__(self, type(self))
File "/opt/odoo/13.0/odoo/fields.py", line 2370, in __get__
return super().__get__(records, owner)
File "/opt/odoo/13.0/odoo/fields.py", line 1045, in __get__
recs._fetch_field(self)
File "/opt/odoo/13.0/odoo/models.py", line 3002, in _fetch_field
self._read(fnames)
File "/opt/odoo/13.0/odoo/models.py", line 3074, in _read
cr.execute(query_str, params)
File "/opt/odoo/13.0/odoo/sql_db.py", line 173, in wrapper
return f(self, *args, **kwargs)
File "/opt/odoo/13.0/odoo/sql_db.py", line 250, in execute
res = self._obj.execute(query, params)
psycopg2.ProgrammingError: column res_company.einvoice_auto_issue does not exist
LINE 1: ..." as "sinvoice_representation_file_as_attachment","res_compa...
^
01/14/2022 00:37:38 ERROR
bad query: SELECT "res_company"."id" as "id","res_company"."sequence" as "sequence","res_company"."parent_id" as "parent_id","res_company"."partner_id" as "partner_id","res_company"."report_header" as "report_header","res_company"."report_footer" as "report_footer","res_company"."currency_id" as "currency_id","res_company"."account_no" as "account_no","res_company"."email" as "email","res_company"."phone" as "phone","res_company"."company_registry" as "company_registry","res_company"."paperformat_id" as "paperformat_id","res_company"."external_report_layout_id" as "external_report_layout_id","res_company"."base_onboarding_company_state" as "base_onboarding_company_state","res_company"."primary_color" as "primary_color","res_company"."secondary_color" as "secondary_color","res_company"."font" as "font","res_company"."social_twitter" as "social_twitter","res_company"."social_facebook" as "social_facebook","res_company"."social_github" as "social_github","res_company"."social_linkedin" as "social_linkedin","res_company"."social_youtube" as "social_youtube","res_company"."social_instagram" as "social_instagram","res_company"."hotline" as "hotline","res_company"."nomenclature_id" as "nomenclature_id","res_company"."resource_calendar_id" as "resource_calendar_id","res_company"."name" as "name","res_company"."gengo_private_key" as "gengo_private_key","res_company"."gengo_public_key" as "gengo_public_key","res_company"."gengo_comment" as "gengo_comment","res_company"."gengo_auto_approve" as "gengo_auto_approve","res_company"."gengo_sandbox" as "gengo_sandbox","res_company"."check_unique_vat" as "check_unique_vat","res_company"."rotating_token_life" as "rotating_token_life","res_company"."lunch_minimum_threshold" as "lunch_minimum_threshold","res_company"."partner_gid" as "partner_gid","res_company"."snailmail_color" as "snailmail_color","res_company"."snailmail_cover" as "snailmail_cover","res_company"."snailmail_duplex" as "snailmail_duplex","res_company"."intercompany_user_id" as "intercompany_user_id","res_company"."hr_presence_control_email_amount" as "hr_presence_control_email_amount","res_company"."hr_presence_control_ip_list" as "hr_presence_control_ip_list","res_company"."internal_transit_location_id" as "internal_transit_location_id","res_company"."stock_move_email_validation" as "stock_move_email_validation","res_company"."stock_mail_confirmation_template_id" as "stock_mail_confirmation_template_id","res_company"."send_hbd_email" as "send_hbd_email","res_company"."hdb_email_template_id" as "hdb_email_template_id","res_company"."check_unique_product_default_code" as "check_unique_product_default_code","res_company"."zoom_api_key" as "zoom_api_key","res_company"."zoom_secret_key" as "zoom_secret_key","res_company"."facebook_app_id" as "facebook_app_id","res_company"."facebook_client_secret" as "facebook_client_secret","res_company"."linkedin_app_id" as "linkedin_app_id","res_company"."linkedin_client_secret" as "linkedin_client_secret","res_company"."manufacturing_lead" as "manufacturing_lead","res_company"."stock_move_sms_validation" as "stock_move_sms_validation","res_company"."stock_sms_confirmation_template_id" as "stock_sms_confirmation_template_id","res_company"."has_received_warning_stock_sms" as "has_received_warning_stock_sms","res_company"."fiscalyear_last_day" as "fiscalyear_last_day","res_company"."fiscalyear_last_month" as "fiscalyear_last_month","res_company"."period_lock_date" as "period_lock_date","res_company"."fiscalyear_lock_date" as "fiscalyear_lock_date","res_company"."tax_lock_date" as "tax_lock_date","res_company"."transfer_account_id" as "transfer_account_id","res_company"."expects_chart_of_accounts" as "expects_chart_of_accounts","res_company"."chart_template_id" as "chart_template_id","res_company"."bank_account_code_prefix" as "bank_account_code_prefix","res_company"."cash_account_code_prefix" as "cash_account_code_prefix","res_company"."default_cash_difference_income_account_id" as "default_cash_difference_income_account_id","res_company"."default_cash_difference_expense_account_id" as "default_cash_difference_expense_account_id","res_company"."transfer_account_code_prefix" as "transfer_account_code_prefix","res_company"."account_sale_tax_id" as "account_sale_tax_id","res_company"."account_purchase_tax_id" as "account_purchase_tax_id","res_company"."tax_cash_basis_journal_id" as "tax_cash_basis_journal_id","res_company"."tax_calculation_rounding_method" as "tax_calculation_rounding_method","res_company"."currency_exchange_journal_id" as "currency_exchange_journal_id","res_company"."anglo_saxon_accounting" as "anglo_saxon_accounting","res_company"."property_stock_account_input_categ_id" as "property_stock_account_input_categ_id","res_company"."property_stock_account_output_categ_id" as "property_stock_account_output_categ_id","res_company"."property_stock_valuation_account_id" as "property_stock_valuation_account_id","res_company"."tax_exigibility" as "tax_exigibility","res_company"."account_bank_reconciliation_start" as "account_bank_reconciliation_start","res_company"."incoterm_id" as "incoterm_id","res_company"."qr_code" as "qr_code","res_company"."invoice_is_email" as "invoice_is_email","res_company"."invoice_is_print" as "invoice_is_print","res_company"."account_opening_move_id" as "account_opening_move_id","res_company"."account_setup_bank_data_state" as "account_setup_bank_data_state","res_company"."account_setup_fy_data_state" as "account_setup_fy_data_state","res_company"."account_setup_coa_state" as "account_setup_coa_state","res_company"."account_onboarding_invoice_layout_state" as "account_onboarding_invoice_layout_state","res_company"."account_onboarding_sample_invoice_state" as "account_onboarding_sample_invoice_state","res_company"."account_onboarding_sale_tax_state" as "account_onboarding_sale_tax_state","res_company"."account_invoice_onboarding_state" as "account_invoice_onboarding_state","res_company"."account_dashboard_onboarding_state" as "account_dashboard_onboarding_state","res_company"."invoice_terms" as "invoice_terms","res_company"."account_default_pos_receivable_account_id" as "account_default_pos_receivable_account_id","res_company"."expense_accrual_account_id" as "expense_accrual_account_id","res_company"."revenue_accrual_account_id" as "revenue_accrual_account_id","res_company"."accrual_default_journal_id" as "accrual_default_journal_id","res_company"."hr_presence_last_compute_date" as "hr_presence_last_compute_date","res_company"."subcontracting_location_id" as "subcontracting_location_id","res_company"."default_helpdesk_team_id" as "default_helpdesk_team_id","res_company"."account_check_printing_layout" as "account_check_printing_layout","res_company"."account_check_printing_date_label" as "account_check_printing_date_label","res_company"."account_check_printing_multi_stub" as "account_check_printing_multi_stub","res_company"."account_check_printing_margin_top" as "account_check_printing_margin_top","res_company"."account_check_printing_margin_left" as "account_check_printing_margin_left","res_company"."account_check_printing_margin_right" as "account_check_printing_margin_right","res_company"."vat_check_vies" as "vat_check_vies","res_company"."project_time_mode_id" as "project_time_mode_id","res_company"."timesheet_encode_uom_id" as "timesheet_encode_uom_id","res_company"."payment_acquirer_onboarding_state" as "payment_acquirer_onboarding_state","res_company"."payment_onboarding_payment_method" as "payment_onboarding_payment_method","res_company"."po_lead" as "po_lead","res_company"."po_lock" as "po_lock","res_company"."po_double_validation" as "po_double_validation","res_company"."po_double_validation_amount" as "po_double_validation_amount","res_company"."invoice_is_snailmail" as "invoice_is_snailmail","res_company"."balance_carry_forward_journal_id" as "balance_carry_forward_journal_id","res_company"."affiliate_comm_percentage" as "affiliate_comm_percentage","res_company"."affiliate_cookie_age" as "affiliate_cookie_age","res_company"."affiliate_min_payout" as "affiliate_min_payout","res_company"."commission_product_id" as "commission_product_id","res_company"."aff_allowed" as "aff_allowed","res_company"."compute_aff_method" as "compute_aff_method","res_company"."main_currency_bank_id" as "main_currency_bank_id","res_company"."amount_double_validation" as "amount_double_validation","res_company"."use_employee_advance_pass_through_account" as "use_employee_advance_pass_through_account","res_company"."loan_borrowing_journal_id" as "loan_borrowing_journal_id","res_company"."loan_borrowing_account_id" as "loan_borrowing_account_id","res_company"."loan_lending_journal_id" as "loan_lending_journal_id","res_company"."loan_lending_account_id" as "loan_lending_account_id","res_company"."vendor_app_comm_percent" as "vendor_app_comm_percent","res_company"."vendor_app_min_payout" as "vendor_app_min_payout","res_company"."dedicated_app_download_token_lifetime" as "dedicated_app_download_token_lifetime","res_company"."app_download_token_lifetime" as "app_download_token_lifetime","res_company"."leave_timesheet_project_id" as "leave_timesheet_project_id","res_company"."leave_timesheet_task_id" as "leave_timesheet_task_id","res_company"."portal_confirmation_sign" as "portal_confirmation_sign","res_company"."portal_confirmation_pay" as "portal_confirmation_pay","res_company"."quotation_validity_days" as "quotation_validity_days","res_company"."sale_quotation_onboarding_state" as "sale_quotation_onboarding_state","res_company"."sale_onboarding_order_confirmation_state" as "sale_onboarding_order_confirmation_state","res_company"."sale_onboarding_sample_quotation_state" as "sale_onboarding_sample_quotation_state","res_company"."sale_onboarding_payment_method" as "sale_onboarding_payment_method","res_company"."days_between_two_followups" as "days_between_two_followups","res_company"."overdue_msg" as "overdue_msg","res_company"."totals_below_sections" as "totals_below_sections","res_company"."currency_conversion_diff_journal_id" as "currency_conversion_diff_journal_id","res_company"."einvoice_lock_legal_number" as "einvoice_lock_legal_number","res_company"."einvoice_issue_earliest_invoice_first" as "einvoice_issue_earliest_invoice_first","res_company"."sinvoice_exchange_file_as_attachment" as "sinvoice_exchange_file_as_attachment","res_company"."sinvoice_representation_file_as_attachment" as "sinvoice_representation_file_as_attachment","res_company"."einvoice_auto_issue" as "einvoice_auto_issue","res_company"."basic_wage_rule_categ_id" as "basic_wage_rule_categ_id","res_company"."gross_salary_rule_categ_id" as "gross_salary_rule_categ_id","res_company"."tax_base_rule_categ_id" as "tax_base_rule_categ_id","res_company"."net_income_salary_rule_categ_id" as "net_income_salary_rule_categ_id","res_company"."payslips_auto_generation" as "payslips_auto_generation","res_company"."payslips_auto_generation_mode" as "payslips_auto_generation_mode","res_company"."payslips_auto_generation_day" as "payslips_auto_generation_day","res_company"."payslips_auto_generation_lang" as "payslips_auto_generation_lang","res_company"."salary_cycle_id" as "salary_cycle_id","res_company"."property_promotion_voucher_profit_account_id" as "property_promotion_voucher_profit_account_id","res_company"."property_promotion_voucher_loss_account_id" as "property_promotion_voucher_loss_account_id","res_company"."property_unearn_revenue_account_id" as "property_unearn_revenue_account_id","res_company"."allow_edit_website_jobs_company_setting" as "allow_edit_website_jobs_company_setting","res_company"."security_lead" as "security_lead","res_company"."lc_journal_id" as "lc_journal_id","res_company"."payslip_batch_journal_entry" as "payslip_batch_journal_entry","res_company"."default_meal_emp_price" as "default_meal_emp_price","res_company"."general_overhead" as "general_overhead","res_company"."loyalty_points_reward_policy" as "loyalty_points_reward_policy","res_company"."manufacturing_period" as "manufacturing_period","res_company"."manufacturing_period_to_display" as "manufacturing_period_to_display","res_company"."mrp_mps_show_starting_inventory" as "mrp_mps_show_starting_inventory","res_company"."mrp_mps_show_demand_forecast" as "mrp_mps_show_demand_forecast","res_company"."mrp_mps_show_actual_demand" as "mrp_mps_show_actual_demand","res_company"."mrp_mps_show_indirect_demand" as "mrp_mps_show_indirect_demand","res_company"."mrp_mps_show_to_replenish" as "mrp_mps_show_to_replenish","res_company"."mrp_mps_show_actual_replenishment" as "mrp_mps_show_actual_replenishment","res_company"."mrp_mps_show_safety_stock" as "mrp_mps_show_safety_stock","res_company"."mrp_mps_show_available_to_promise" as "mrp_mps_show_available_to_promise","res_company"."sales_price_modifying_group_id" as "sales_price_modifying_group_id","res_company"."prevent_unlink_related_invoices" as "prevent_unlink_related_invoices","res_company"."website_sale_onboarding_payment_acquirer_state" as "website_sale_onboarding_payment_acquirer_state","res_company"."sinvoice_mode" as "sinvoice_mode","res_company"."sinvoice_start" as "sinvoice_start","res_company"."account_sinvoice_serial_id" as "account_sinvoice_serial_id","res_company"."account_sinvoice_template_id" as "account_sinvoice_template_id","res_company"."account_sinvoice_type_id" as "account_sinvoice_type_id","res_company"."sinvoice_synch_payment_status" as "sinvoice_synch_payment_status","res_company"."sinvoice_conversion_user_id" as "sinvoice_conversion_user_id","res_company"."sinvoice_api_username" as "sinvoice_api_username","res_company"."sinvoice_api_password" as "sinvoice_api_password","res_company"."sinvoice_max_len_bank_name" as "sinvoice_max_len_bank_name","res_company"."sinvoice_max_len_bank_account" as "sinvoice_max_len_bank_account","res_company"."einvoice_provider" as "einvoice_provider","res_company"."vninvoice_mode" as "vninvoice_mode","res_company"."vninvoice_start_date" as "vninvoice_start_date","res_company"."account_vninvoice_serial_id" as "account_vninvoice_serial_id","res_company"."account_vninvoice_template_id" as "account_vninvoice_template_id","res_company"."account_vninvoice_type_id" as "account_vninvoice_type_id","res_company"."vninvoice_api_username" as "vninvoice_api_username","res_company"."vninvoice_api_password" as "vninvoice_api_password","res_company"."account_journal_custom_clearance" as "account_journal_custom_clearance","res_company"."imp_custom_dec_sequence_id" as "imp_custom_dec_sequence_id","res_company"."exp_custom_dec_sequence_id" as "exp_custom_dec_sequence_id","res_company"."overtime_recognition_mode" as "overtime_recognition_mode","res_company"."prevent_unlink_related_pickings" as "prevent_unlink_related_pickings","res_company"."landed_cost_journal_id" as "landed_cost_journal_id","res_company"."applicable_on" as "applicable_on","res_company"."so_po_auto_validation" as "so_po_auto_validation","res_company"."import_vat_ctp_account_id" as "import_vat_ctp_account_id","res_company"."import_tax_payment_term" as "import_tax_payment_term","res_company"."export_vat_ctp_account_id" as "export_vat_ctp_account_id","res_company"."export_tax_payment_term" as "export_tax_payment_term","res_company"."use_intermediary_account" as "use_intermediary_account","res_company"."inter_comp_warehouse_id" as "inter_comp_warehouse_id","res_company"."create_uid" as "create_uid","res_company"."create_date" as "create_date","res_company"."write_uid" as "write_uid","res_company"."write_date" as "write_date" FROM "res_company" WHERE "res_company".id IN (1)
ERROR: column res_company.einvoice_auto_issue does not exist
LINE 1: ..." as "sinvoice_representation_file_as_attachment","res_compa...
^
01/14/2022 00:37:38 ERROR
ERROR: TestFiscalPosition.test_default_fiscal_year
Traceback (most recent call last):
File "/opt/odoo/13.0/odoo/api.py", line 748, in get
value = self._data[field][record._ids[0]]
KeyError: 1

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/odoo/13.0/odoo/fields.py", line 1038, in __get__
value = env.cache.get(record, self)
File "/opt/odoo/13.0/odoo/api.py", line 754, in get
raise CacheMiss(record, field)
odoo.exceptions.CacheMiss: ('res.company(1,).account_opening_date', None)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/odoo/13.0/odoo/api.py", line 748, in get
value = self._data[field][record._ids[0]]
KeyError: 1

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/odoo/13.0/odoo/fields.py", line 1038, in __get__
value = env.cache.get(record, self)
File "/opt/odoo/13.0/odoo/api.py", line 754, in get
raise CacheMiss(record, field)
odoo.exceptions.CacheMiss: ('res.company(1,).account_opening_move_id', None)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/odoo/13.0/addons/account/tests/test_account_fiscal_year.py", line 30, in test_default_fiscal_year
company.fiscalyear_last_day = 31
File "/opt/odoo/13.0/odoo/fields.py", line 1123, in __set__
records.write({self.name: write_value})
File "/opt/odoo/viindooaddons13.0/viin_l10n_vn_account_payment_internal_transfer/models/res_company.py", line 17, in write
return super(ResCompany, self).write(values)
File "/opt/odoo/viindooaddons13.0/viin_l10n_vn_hr_payroll_administrative_region/models/res_company.py", line 9, in write
res = super(ResCompany, self).write(vals)
File "/opt/odoo/viindooaddons13.0/to_l10n_vn_hr_payroll/models/res_company.py", line 139, in write
res = super(ResCompany, self).write(vals)
File "/opt/odoo/13.0/addons/account_lock/models/res_company.py", line 81, in write
return super(ResCompany, self).write(vals)
File "/opt/odoo/13.0/addons/account/models/company.py", line 254, in write
return super(ResCompany, self).write(values)
File "/opt/odoo/13.0/addons/product/models/res_company.py", line 65, in write
return super(ResCompany, self).write(values)
File "/opt/odoo/13.0/addons/web/models/models.py", line 404, in write
res = super().write(values)
File "/opt/odoo/13.0/odoo/addons/base/models/res_company.py", line 252, in write
return super(Company, self).write(values)
File "/opt/odoo/viindooaddons13.0/viin_user_assignment_log/models/base.py", line 36, in write
res = super(Base, self).write(vals)
File "/opt/odoo/13.0/odoo/models.py", line 3647, in write
real_recs._validate_fields(vals, inverse_fields)
File "/opt/odoo/13.0/odoo/models.py", line 1212, in _validate_fields
check(self)
File "/opt/odoo/13.0/addons/account/models/company.py", line 118, in _check_fiscalyear_last_day
if rec.account_opening_date:
File "/opt/odoo/13.0/odoo/fields.py", line 1062, in __get__
self.compute_value(recs)
File "/opt/odoo/13.0/odoo/fields.py", line 1147, in compute_value
records._compute_field_value(self)
File "/opt/odoo/13.0/odoo/models.py", line 4020, in _compute_field_value
field.compute(self)
File "/opt/odoo/13.0/odoo/fields.py", line 569, in _compute_related
values = [first(value[name]) for value in values]
File "/opt/odoo/13.0/odoo/fields.py", line 569, in <listcomp>
values = [first(value[name]) for value in values]
File "/opt/odoo/13.0/odoo/models.py", line 5746, in __getitem__
return self._fields[key].__get__(self, type(self))
File "/opt/odoo/13.0/odoo/fields.py", line 2370, in __get__
return super().__get__(records, owner)
File "/opt/odoo/13.0/odoo/fields.py", line 1045, in __get__
recs._fetch_field(self)
File "/opt/odoo/13.0/odoo/models.py", line 3002, in _fetch_field
self._read(fnames)
File "/opt/odoo/13.0/odoo/models.py", line 3074, in _read
cr.execute(query_str, params)
File "/opt/odoo/13.0/odoo/sql_db.py", line 173, in wrapper
return f(self, *args, **kwargs)
File "/opt/odoo/13.0/odoo/sql_db.py", line 250, in execute
res = self._obj.execute(query, params)
psycopg2.ProgrammingError: column res_company.einvoice_auto_issue does not exist
LINE 1: ..." as "sinvoice_representation_file_as_attachment","res_compa...
^
01/14/2022 00:37:38 ERROR
bad query: SELECT "res_company"."id" as "id","res_company"."sequence" as "sequence","res_company"."parent_id" as "parent_id","res_company"."partner_id" as "partner_id","res_company"."report_header" as "report_header","res_company"."report_footer" as "report_footer","res_company"."currency_id" as "currency_id","res_company"."account_no" as "account_no","res_company"."email" as "email","res_company"."phone" as "phone","res_company"."company_registry" as "company_registry","res_company"."paperformat_id" as "paperformat_id","res_company"."external_report_layout_id" as "external_report_layout_id","res_company"."base_onboarding_company_state" as "base_onboarding_company_state","res_company"."primary_color" as "primary_color","res_company"."secondary_color" as "secondary_color","res_company"."font" as "font","res_company"."social_twitter" as "social_twitter","res_company"."social_facebook" as "social_facebook","res_company"."social_github" as "social_github","res_company"."social_linkedin" as "social_linkedin","res_company"."social_youtube" as "social_youtube","res_company"."social_instagram" as "social_instagram","res_company"."hotline" as "hotline","res_company"."nomenclature_id" as "nomenclature_id","res_company"."resource_calendar_id" as "resource_calendar_id","res_company"."name" as "name","res_company"."gengo_private_key" as "gengo_private_key","res_company"."gengo_public_key" as "gengo_public_key","res_company"."gengo_comment" as "gengo_comment","res_company"."gengo_auto_approve" as "gengo_auto_approve","res_company"."gengo_sandbox" as "gengo_sandbox","res_company"."check_unique_vat" as "check_unique_vat","res_company"."rotating_token_life" as "rotating_token_life","res_company"."lunch_minimum_threshold" as "lunch_minimum_threshold","res_company"."partner_gid" as "partner_gid","res_company"."snailmail_color" as "snailmail_color","res_company"."snailmail_cover" as "snailmail_cover","res_company"."snailmail_duplex" as "snailmail_duplex","res_company"."intercompany_user_id" as "intercompany_user_id","res_company"."hr_presence_control_email_amount" as "hr_presence_control_email_amount","res_company"."hr_presence_control_ip_list" as "hr_presence_control_ip_list","res_company"."internal_transit_location_id" as "internal_transit_location_id","res_company"."stock_move_email_validation" as "stock_move_email_validation","res_company"."stock_mail_confirmation_template_id" as "stock_mail_confirmation_template_id","res_company"."send_hbd_email" as "send_hbd_email","res_company"."hdb_email_template_id" as "hdb_email_template_id","res_company"."check_unique_product_default_code" as "check_unique_product_default_code","res_company"."zoom_api_key" as "zoom_api_key","res_company"."zoom_secret_key" as "zoom_secret_key","res_company"."facebook_app_id" as "facebook_app_id","res_company"."facebook_client_secret" as "facebook_client_secret","res_company"."linkedin_app_id" as "linkedin_app_id","res_company"."linkedin_client_secret" as "linkedin_client_secret","res_company"."manufacturing_lead" as "manufacturing_lead","res_company"."stock_move_sms_validation" as "stock_move_sms_validation","res_company"."stock_sms_confirmation_template_id" as "stock_sms_confirmation_template_id","res_company"."has_received_warning_stock_sms" as "has_received_warning_stock_sms","res_company"."fiscalyear_last_day" as "fiscalyear_last_day","res_company"."fiscalyear_last_month" as "fiscalyear_last_month","res_company"."period_lock_date" as "period_lock_date","res_company"."fiscalyear_lock_date" as "fiscalyear_lock_date","res_company"."tax_lock_date" as "tax_lock_date","res_company"."transfer_account_id" as "transfer_account_id","res_company"."expects_chart_of_accounts" as "expects_chart_of_accounts","res_company"."chart_template_id" as "chart_template_id","res_company"."bank_account_code_prefix" as "bank_account_code_prefix","res_company"."cash_account_code_prefix" as "cash_account_code_prefix","res_company"."default_cash_difference_income_account_id" as "default_cash_difference_income_account_id","res_company"."default_cash_difference_expense_account_id" as "default_cash_difference_expense_account_id","res_company"."transfer_account_code_prefix" as "transfer_account_code_prefix","res_company"."account_sale_tax_id" as "account_sale_tax_id","res_company"."account_purchase_tax_id" as "account_purchase_tax_id","res_company"."tax_cash_basis_journal_id" as "tax_cash_basis_journal_id","res_company"."tax_calculation_rounding_method" as "tax_calculation_rounding_method","res_company"."currency_exchange_journal_id" as "currency_exchange_journal_id","res_company"."anglo_saxon_accounting" as "anglo_saxon_accounting","res_company"."property_stock_account_input_categ_id" as "property_stock_account_input_categ_id","res_company"."property_stock_account_output_categ_id" as "property_stock_account_output_categ_id","res_company"."property_stock_valuation_account_id" as "property_stock_valuation_account_id","res_company"."tax_exigibility" as "tax_exigibility","res_company"."account_bank_reconciliation_start" as "account_bank_reconciliation_start","res_company"."incoterm_id" as "incoterm_id","res_company"."qr_code" as "qr_code","res_company"."invoice_is_email" as "invoice_is_email","res_company"."invoice_is_print" as "invoice_is_print","res_company"."account_opening_move_id" as "account_opening_move_id","res_company"."account_setup_bank_data_state" as "account_setup_bank_data_state","res_company"."account_setup_fy_data_state" as "account_setup_fy_data_state","res_company"."account_setup_coa_state" as "account_setup_coa_state","res_company"."account_onboarding_invoice_layout_state" as "account_onboarding_invoice_layout_state","res_company"."account_onboarding_sample_invoice_state" as "account_onboarding_sample_invoice_state","res_company"."account_onboarding_sale_tax_state" as "account_onboarding_sale_tax_state","res_company"."account_invoice_onboarding_state" as "account_invoice_onboarding_state","res_company"."account_dashboard_onboarding_state" as "account_dashboard_onboarding_state","res_company"."invoice_terms" as "invoice_terms","res_company"."account_default_pos_receivable_account_id" as "account_default_pos_receivable_account_id","res_company"."expense_accrual_account_id" as "expense_accrual_account_id","res_company"."revenue_accrual_account_id" as "revenue_accrual_account_id","res_company"."accrual_default_journal_id" as "accrual_default_journal_id","res_company"."hr_presence_last_compute_date" as "hr_presence_last_compute_date","res_company"."subcontracting_location_id" as "subcontracting_location_id","res_company"."default_helpdesk_team_id" as "default_helpdesk_team_id","res_company"."account_check_printing_layout" as "account_check_printing_layout","res_company"."account_check_printing_date_label" as "account_check_printing_date_label","res_company"."account_check_printing_multi_stub" as "account_check_printing_multi_stub","res_company"."account_check_printing_margin_top" as "account_check_printing_margin_top","res_company"."account_check_printing_margin_left" as "account_check_printing_margin_left","res_company"."account_check_printing_margin_right" as "account_check_printing_margin_right","res_company"."vat_check_vies" as "vat_check_vies","res_company"."project_time_mode_id" as "project_time_mode_id","res_company"."timesheet_encode_uom_id" as "timesheet_encode_uom_id","res_company"."payment_acquirer_onboarding_state" as "payment_acquirer_onboarding_state","res_company"."payment_onboarding_payment_method" as "payment_onboarding_payment_method","res_company"."po_lead" as "po_lead","res_company"."po_lock" as "po_lock","res_company"."po_double_validation" as "po_double_validation","res_company"."po_double_validation_amount" as "po_double_validation_amount","res_company"."invoice_is_snailmail" as "invoice_is_snailmail","res_company"."balance_carry_forward_journal_id" as "balance_carry_forward_journal_id","res_company"."affiliate_comm_percentage" as "affiliate_comm_percentage","res_company"."affiliate_cookie_age" as "affiliate_cookie_age","res_company"."affiliate_min_payout" as "affiliate_min_payout","res_company"."commission_product_id" as "commission_product_id","res_company"."aff_allowed" as "aff_allowed","res_company"."compute_aff_method" as "compute_aff_method","res_company"."main_currency_bank_id" as "main_currency_bank_id","res_company"."amount_double_validation" as "amount_double_validation","res_company"."use_employee_advance_pass_through_account" as "use_employee_advance_pass_through_account","res_company"."loan_borrowing_journal_id" as "loan_borrowing_journal_id","res_company"."loan_borrowing_account_id" as "loan_borrowing_account_id","res_company"."loan_lending_journal_id" as "loan_lending_journal_id","res_company"."loan_lending_account_id" as "loan_lending_account_id","res_company"."vendor_app_comm_percent" as "vendor_app_comm_percent","res_company"."vendor_app_min_payout" as "vendor_app_min_payout","res_company"."dedicated_app_download_token_lifetime" as "dedicated_app_download_token_lifetime","res_company"."app_download_token_lifetime" as "app_download_token_lifetime","res_company"."leave_timesheet_project_id" as "leave_timesheet_project_id","res_company"."leave_timesheet_task_id" as "leave_timesheet_task_id","res_company"."portal_confirmation_sign" as "portal_confirmation_sign","res_company"."portal_confirmation_pay" as "portal_confirmation_pay","res_company"."quotation_validity_days" as "quotation_validity_days","res_company"."sale_quotation_onboarding_state" as "sale_quotation_onboarding_state","res_company"."sale_onboarding_order_confirmation_state" as "sale_onboarding_order_confirmation_state","res_company"."sale_onboarding_sample_quotation_state" as "sale_onboarding_sample_quotation_state","res_company"."sale_onboarding_payment_method" as "sale_onboarding_payment_method","res_company"."days_between_two_followups" as "days_between_two_followups","res_company"."overdue_msg" as "overdue_msg","res_company"."totals_below_sections" as "totals_below_sections","res_company"."currency_conversion_diff_journal_id" as "currency_conversion_diff_journal_id","res_company"."einvoice_lock_legal_number" as "einvoice_lock_legal_number","res_company"."einvoice_issue_earliest_invoice_first" as "einvoice_issue_earliest_invoice_first","res_company"."sinvoice_exchange_file_as_attachment" as "sinvoice_exchange_file_as_attachment","res_company"."sinvoice_representation_file_as_attachment" as "sinvoice_representation_file_as_attachment","res_company"."einvoice_auto_issue" as "einvoice_auto_issue","res_company"."basic_wage_rule_categ_id" as "basic_wage_rule_categ_id","res_company"."gross_salary_rule_categ_id" as "gross_salary_rule_categ_id","res_company"."tax_base_rule_categ_id" as "tax_base_rule_categ_id","res_company"."net_income_salary_rule_categ_id" as "net_income_salary_rule_categ_id","res_company"."payslips_auto_generation" as "payslips_auto_generation","res_company"."payslips_auto_generation_mode" as "payslips_auto_generation_mode","res_company"."payslips_auto_generation_day" as "payslips_auto_generation_day","res_company"."payslips_auto_generation_lang" as "payslips_auto_generation_lang","res_company"."salary_cycle_id" as "salary_cycle_id","res_company"."property_promotion_voucher_profit_account_id" as "property_promotion_voucher_profit_account_id","res_company"."property_promotion_voucher_loss_account_id" as "property_promotion_voucher_loss_account_id","res_company"."property_unearn_revenue_account_id" as "property_unearn_revenue_account_id","res_company"."allow_edit_website_jobs_company_setting" as "allow_edit_website_jobs_company_setting","res_company"."security_lead" as "security_lead","res_company"."lc_journal_id" as "lc_journal_id","res_company"."payslip_batch_journal_entry" as "payslip_batch_journal_entry","res_company"."default_meal_emp_price" as "default_meal_emp_price","res_company"."general_overhead" as "general_overhead","res_company"."loyalty_points_reward_policy" as "loyalty_points_reward_policy","res_company"."manufacturing_period" as "manufacturing_period","res_company"."manufacturing_period_to_display" as "manufacturing_period_to_display","res_company"."mrp_mps_show_starting_inventory" as "mrp_mps_show_starting_inventory","res_company"."mrp_mps_show_demand_forecast" as "mrp_mps_show_demand_forecast","res_company"."mrp_mps_show_actual_demand" as "mrp_mps_show_actual_demand","res_company"."mrp_mps_show_indirect_demand" as "mrp_mps_show_indirect_demand","res_company"."mrp_mps_show_to_replenish" as "mrp_mps_show_to_replenish","res_company"."mrp_mps_show_actual_replenishment" as "mrp_mps_show_actual_replenishment","res_company"."mrp_mps_show_safety_stock" as "mrp_mps_show_safety_stock","res_company"."mrp_mps_show_available_to_promise" as "mrp_mps_show_available_to_promise","res_company"."sales_price_modifying_group_id" as "sales_price_modifying_group_id","res_company"."prevent_unlink_related_invoices" as "prevent_unlink_related_invoices","res_company"."website_sale_onboarding_payment_acquirer_state" as "website_sale_onboarding_payment_acquirer_state","res_company"."sinvoice_mode" as "sinvoice_mode","res_company"."sinvoice_start" as "sinvoice_start","res_company"."account_sinvoice_serial_id" as "account_sinvoice_serial_id","res_company"."account_sinvoice_template_id" as "account_sinvoice_template_id","res_company"."account_sinvoice_type_id" as "account_sinvoice_type_id","res_company"."sinvoice_synch_payment_status" as "sinvoice_synch_payment_status","res_company"."sinvoice_conversion_user_id" as "sinvoice_conversion_user_id","res_company"."sinvoice_api_username" as "sinvoice_api_username","res_company"."sinvoice_api_password" as "sinvoice_api_password","res_company"."sinvoice_max_len_bank_name" as "sinvoice_max_len_bank_name","res_company"."sinvoice_max_len_bank_account" as "sinvoice_max_len_bank_account","res_company"."einvoice_provider" as "einvoice_provider","res_company"."vninvoice_mode" as "vninvoice_mode","res_company"."vninvoice_start_date" as "vninvoice_start_date","res_company"."account_vninvoice_serial_id" as "account_vninvoice_serial_id","res_company"."account_vninvoice_template_id" as "account_vninvoice_template_id","res_company"."account_vninvoice_type_id" as "account_vninvoice_type_id","res_company"."vninvoice_api_username" as "vninvoice_api_username","res_company"."vninvoice_api_password" as "vninvoice_api_password","res_company"."account_journal_custom_clearance" as "account_journal_custom_clearance","res_company"."imp_custom_dec_sequence_id" as "imp_custom_dec_sequence_id","res_company"."exp_custom_dec_sequence_id" as "exp_custom_dec_sequence_id","res_company"."overtime_recognition_mode" as "overtime_recognition_mode","res_company"."prevent_unlink_related_pickings" as "prevent_unlink_related_pickings","res_company"."landed_cost_journal_id" as "landed_cost_journal_id","res_company"."applicable_on" as "applicable_on","res_company"."so_po_auto_validation" as "so_po_auto_validation","res_company"."import_vat_ctp_account_id" as "import_vat_ctp_account_id","res_company"."import_tax_payment_term" as "import_tax_payment_term","res_company"."export_vat_ctp_account_id" as "export_vat_ctp_account_id","res_company"."export_tax_payment_term" as "export_tax_payment_term","res_company"."use_intermediary_account" as "use_intermediary_account","res_company"."inter_comp_warehouse_id" as "inter_comp_warehouse_id","res_company"."create_uid" as "create_uid","res_company"."create_date" as "create_date","res_company"."write_uid" as "write_uid","res_company"."write_date" as "write_date" FROM "res_company" WHERE "res_company".id IN (1)
ERROR: column res_company.einvoice_auto_issue does not exist
LINE 1: ..." as "sinvoice_representation_file_as_attachment","res_compa...
^
01/14/2022 00:37:38 ERROR
ERROR: TestFiscalPosition.test_leap_fiscal_year_1
Traceback (most recent call last):
File "/opt/odoo/13.0/odoo/api.py", line 748, in get
value = self._data[field][record._ids[0]]
KeyError: 1

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/odoo/13.0/odoo/fields.py", line 1038, in __get__
value = env.cache.get(record, self)
File "/opt/odoo/13.0/odoo/api.py", line 754, in get
raise CacheMiss(record, field)
odoo.exceptions.CacheMiss: ('res.company(1,).fiscalyear_last_month', None)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/odoo/13.0/addons/account/tests/test_account_fiscal_year.py", line 50, in test_leap_fiscal_year_1
company.fiscalyear_last_day = 29
File "/opt/odoo/13.0/odoo/fields.py", line 1123, in __set__
records.write({self.name: write_value})
File "/opt/odoo/viindooaddons13.0/viin_l10n_vn_account_payment_internal_transfer/models/res_company.py", line 17, in write
return super(ResCompany, self).write(values)
File "/opt/odoo/viindooaddons13.0/viin_l10n_vn_hr_payroll_administrative_region/models/res_company.py", line 9, in write
res = super(ResCompany, self).write(vals)
File "/opt/odoo/viindooaddons13.0/to_l10n_vn_hr_payroll/models/res_company.py", line 139, in write
res = super(ResCompany, self).write(vals)
File "/opt/odoo/13.0/addons/account_lock/models/res_company.py", line 81, in write
return super(ResCompany, self).write(vals)
File "/opt/odoo/13.0/addons/account/models/company.py", line 254, in write
return super(ResCompany, self).write(values)
File "/opt/odoo/13.0/addons/product/models/res_company.py", line 65, in write
return super(ResCompany, self).write(values)
File "/opt/odoo/13.0/addons/web/models/models.py", line 404, in write
res = super().write(values)
File "/opt/odoo/13.0/odoo/addons/base/models/res_company.py", line 252, in write
return super(Company, self).write(values)
File "/opt/odoo/viindooaddons13.0/viin_user_assignment_log/models/base.py", line 36, in write
res = super(Base, self).write(vals)
File "/opt/odoo/13.0/odoo/models.py", line 3647, in write
real_recs._validate_fields(vals, inverse_fields)
File "/opt/odoo/13.0/odoo/models.py", line 1212, in _validate_fields
check(self)
File "/opt/odoo/13.0/addons/account/models/company.py", line 115, in _check_fiscalyear_last_day
if rec.fiscalyear_last_day == 29 and rec.fiscalyear_last_month == '2':
File "/opt/odoo/13.0/odoo/fields.py", line 1045, in __get__
recs._fetch_field(self)
File "/opt/odoo/13.0/odoo/models.py", line 3002, in _fetch_field
self._read(fnames)
File "/opt/odoo/13.0/odoo/models.py", line 3074, in _read
cr.execute(query_str, params)
File "/opt/odoo/13.0/odoo/sql_db.py", line 173, in wrapper
return f(self, *args, **kwargs)
File "/opt/odoo/13.0/odoo/sql_db.py", line 250, in execute
res = self._obj.execute(query, params)
psycopg2.ProgrammingError: column res_company.einvoice_auto_issue does not exist
LINE 1: ..." as "sinvoice_representation_file_as_attachment","res_compa...
^
01/14/2022 00:37:38 ERROR
bad query: SELECT "res_company"."id" as "id","res_company"."sequence" as "sequence","res_company"."parent_id" as "parent_id","res_company"."partner_id" as "partner_id","res_company"."report_header" as "report_header","res_company"."report_footer" as "report_footer","res_company"."currency_id" as "currency_id","res_company"."account_no" as "account_no","res_company"."email" as "email","res_company"."phone" as "phone","res_company"."company_registry" as "company_registry","res_company"."paperformat_id" as "paperformat_id","res_company"."external_report_layout_id" as "external_report_layout_id","res_company"."base_onboarding_company_state" as "base_onboarding_company_state","res_company"."primary_color" as "primary_color","res_company"."secondary_color" as "secondary_color","res_company"."font" as "font","res_company"."social_twitter" as "social_twitter","res_company"."social_facebook" as "social_facebook","res_company"."social_github" as "social_github","res_company"."social_linkedin" as "social_linkedin","res_company"."social_youtube" as "social_youtube","res_company"."social_instagram" as "social_instagram","res_company"."hotline" as "hotline","res_company"."nomenclature_id" as "nomenclature_id","res_company"."resource_calendar_id" as "resource_calendar_id","res_company"."name" as "name","res_company"."gengo_private_key" as "gengo_private_key","res_company"."gengo_public_key" as "gengo_public_key","res_company"."gengo_comment" as "gengo_comment","res_company"."gengo_auto_approve" as "gengo_auto_approve","res_company"."gengo_sandbox" as "gengo_sandbox","res_company"."check_unique_vat" as "check_unique_vat","res_company"."rotating_token_life" as "rotating_token_life","res_company"."lunch_minimum_threshold" as "lunch_minimum_threshold","res_company"."partner_gid" as "partner_gid","res_company"."snailmail_color" as "snailmail_color","res_company"."snailmail_cover" as "snailmail_cover","res_company"."snailmail_duplex" as "snailmail_duplex","res_company"."intercompany_user_id" as "intercompany_user_id","res_company"."hr_presence_control_email_amount" as "hr_presence_control_email_amount","res_company"."hr_presence_control_ip_list" as "hr_presence_control_ip_list","res_company"."internal_transit_location_id" as "internal_transit_location_id","res_company"."stock_move_email_validation" as "stock_move_email_validation","res_company"."stock_mail_confirmation_template_id" as "stock_mail_confirmation_template_id","res_company"."send_hbd_email" as "send_hbd_email","res_company"."hdb_email_template_id" as "hdb_email_template_id","res_company"."check_unique_product_default_code" as "check_unique_product_default_code","res_company"."zoom_api_key" as "zoom_api_key","res_company"."zoom_secret_key" as "zoom_secret_key","res_company"."facebook_app_id" as "facebook_app_id","res_company"."facebook_client_secret" as "facebook_client_secret","res_company"."linkedin_app_id" as "linkedin_app_id","res_company"."linkedin_client_secret" as "linkedin_client_secret","res_company"."manufacturing_lead" as "manufacturing_lead","res_company"."stock_move_sms_validation" as "stock_move_sms_validation","res_company"."stock_sms_confirmation_template_id" as "stock_sms_confirmation_template_id","res_company"."has_received_warning_stock_sms" as "has_received_warning_stock_sms","res_company"."fiscalyear_last_day" as "fiscalyear_last_day","res_company"."fiscalyear_last_month" as "fiscalyear_last_month","res_company"."period_lock_date" as "period_lock_date","res_company"."fiscalyear_lock_date" as "fiscalyear_lock_date","res_company"."tax_lock_date" as "tax_lock_date","res_company"."transfer_account_id" as "transfer_account_id","res_company"."expects_chart_of_accounts" as "expects_chart_of_accounts","res_company"."chart_template_id" as "chart_template_id","res_company"."bank_account_code_prefix" as "bank_account_code_prefix","res_company"."cash_account_code_prefix" as "cash_account_code_prefix","res_company"."default_cash_difference_income_account_id" as "default_cash_difference_income_account_id","res_company"."default_cash_difference_expense_account_id" as "default_cash_difference_expense_account_id","res_company"."transfer_account_code_prefix" as "transfer_account_code_prefix","res_company"."account_sale_tax_id" as "account_sale_tax_id","res_company"."account_purchase_tax_id" as "account_purchase_tax_id","res_company"."tax_cash_basis_journal_id" as "tax_cash_basis_journal_id","res_company"."tax_calculation_rounding_method" as "tax_calculation_rounding_method","res_company"."currency_exchange_journal_id" as "currency_exchange_journal_id","res_company"."anglo_saxon_accounting" as "anglo_saxon_accounting","res_company"."property_stock_account_input_categ_id" as "property_stock_account_input_categ_id","res_company"."property_stock_account_output_categ_id" as "property_stock_account_output_categ_id","res_company"."property_stock_valuation_account_id" as "property_stock_valuation_account_id","res_company"."tax_exigibility" as "tax_exigibility","res_company"."account_bank_reconciliation_start" as "account_bank_reconciliation_start","res_company"."incoterm_id" as "incoterm_id","res_company"."qr_code" as "qr_code","res_company"."invoice_is_email" as "invoice_is_email","res_company"."invoice_is_print" as "invoice_is_print","res_company"."account_opening_move_id" as "account_opening_move_id","res_company"."account_setup_bank_data_state" as "account_setup_bank_data_state","res_company"."account_setup_fy_data_state" as "account_setup_fy_data_state","res_company"."account_setup_coa_state" as "account_setup_coa_state","res_company"."account_onboarding_invoice_layout_state" as "account_onboarding_invoice_layout_state","res_company"."account_onboarding_sample_invoice_state" as "account_onboarding_sample_invoice_state","res_company"."account_onboarding_sale_tax_state" as "account_onboarding_sale_tax_state","res_company"."account_invoice_onboarding_state" as "account_invoice_onboarding_state","res_company"."account_dashboard_onboarding_state" as "account_dashboard_onboarding_state","res_company"."invoice_terms" as "invoice_terms","res_company"."account_default_pos_receivable_account_id" as "account_default_pos_receivable_account_id","res_company"."expense_accrual_account_id" as "expense_accrual_account_id","res_company"."revenue_accrual_account_id" as "revenue_accrual_account_id","res_company"."accrual_default_journal_id" as "accrual_default_journal_id","res_company"."hr_presence_last_compute_date" as "hr_presence_last_compute_date","res_company"."subcontracting_location_id" as "subcontracting_location_id","res_company"."default_helpdesk_team_id" as "default_helpdesk_team_id","res_company"."account_check_printing_layout" as "account_check_printing_layout","res_company"."account_check_printing_date_label" as "account_check_printing_date_label","res_company"."account_check_printing_multi_stub" as "account_check_printing_multi_stub","res_company"."account_check_printing_margin_top" as "account_check_printing_margin_top","res_company"."account_check_printing_margin_left" as "account_check_printing_margin_left","res_company"."account_check_printing_margin_right" as "account_check_printing_margin_right","res_company"."vat_check_vies" as "vat_check_vies","res_company"."project_time_mode_id" as "project_time_mode_id","res_company"."timesheet_encode_uom_id" as "timesheet_encode_uom_id","res_company"."payment_acquirer_onboarding_state" as "payment_acquirer_onboarding_state","res_company"."payment_onboarding_payment_method" as "payment_onboarding_payment_method","res_company"."po_lead" as "po_lead","res_company"."po_lock" as "po_lock","res_company"."po_double_validation" as "po_double_validation","res_company"."po_double_validation_amount" as "po_double_validation_amount","res_company"."invoice_is_snailmail" as "invoice_is_snailmail","res_company"."balance_carry_forward_journal_id" as "balance_carry_forward_journal_id","res_company"."affiliate_comm_percentage" as "affiliate_comm_percentage","res_company"."affiliate_cookie_age" as "affiliate_cookie_age","res_company"."affiliate_min_payout" as "affiliate_min_payout","res_company"."commission_product_id" as "commission_product_id","res_company"."aff_allowed" as "aff_allowed","res_company"."compute_aff_method" as "compute_aff_method","res_company"."main_currency_bank_id" as "main_currency_bank_id","res_company"."amount_double_validation" as "amount_double_validation","res_company"."use_employee_advance_pass_through_account" as "use_employee_advance_pass_through_account","res_company"."loan_borrowing_journal_id" as "loan_borrowing_journal_id","res_company"."loan_borrowing_account_id" as "loan_borrowing_account_id","res_company"."loan_lending_journal_id" as "loan_lending_journal_id","res_company"."loan_lending_account_id" as "loan_lending_account_id","res_company"."vendor_app_comm_percent" as "vendor_app_comm_percent","res_company"."vendor_app_min_payout" as "vendor_app_min_payout","res_company"."dedicated_app_download_token_lifetime" as "dedicated_app_download_token_lifetime","res_company"."app_download_token_lifetime" as "app_download_token_lifetime","res_company"."leave_timesheet_project_id" as "leave_timesheet_project_id","res_company"."leave_timesheet_task_id" as "leave_timesheet_task_id","res_company"."portal_confirmation_sign" as "portal_confirmation_sign","res_company"."portal_confirmation_pay" as "portal_confirmation_pay","res_company"."quotation_validity_days" as "quotation_validity_days","res_company"."sale_quotation_onboarding_state" as "sale_quotation_onboarding_state","res_company"."sale_onboarding_order_confirmation_state" as "sale_onboarding_order_confirmation_state","res_company"."sale_onboarding_sample_quotation_state" as "sale_onboarding_sample_quotation_state","res_company"."sale_onboarding_payment_method" as "sale_onboarding_payment_method","res_company"."days_between_two_followups" as "days_between_two_followups","res_company"."overdue_msg" as "overdue_msg","res_company"."totals_below_sections" as "totals_below_sections","res_company"."currency_conversion_diff_journal_id" as "currency_conversion_diff_journal_id","res_company"."einvoice_lock_legal_number" as "einvoice_lock_legal_number","res_company"."einvoice_issue_earliest_invoice_first" as "einvoice_issue_earliest_invoice_first","res_company"."sinvoice_exchange_file_as_attachment" as "sinvoice_exchange_file_as_attachment","res_company"."sinvoice_representation_file_as_attachment" as "sinvoice_representation_file_as_attachment","res_company"."einvoice_auto_issue" as "einvoice_auto_issue","res_company"."basic_wage_rule_categ_id" as "basic_wage_rule_categ_id","res_company"."gross_salary_rule_categ_id" as "gross_salary_rule_categ_id","res_company"."tax_base_rule_categ_id" as "tax_base_rule_categ_id","res_company"."net_income_salary_rule_categ_id" as "net_income_salary_rule_categ_id","res_company"."payslips_auto_generation" as "payslips_auto_generation","res_company"."payslips_auto_generation_mode" as "payslips_auto_generation_mode","res_company"."payslips_auto_generation_day" as "payslips_auto_generation_day","res_company"."payslips_auto_generation_lang" as "payslips_auto_generation_lang","res_company"."salary_cycle_id" as "salary_cycle_id","res_company"."property_promotion_voucher_profit_account_id" as "property_promotion_voucher_profit_account_id","res_company"."property_promotion_voucher_loss_account_id" as "property_promotion_voucher_loss_account_id","res_company"."property_unearn_revenue_account_id" as "property_unearn_revenue_account_id","res_company"."allow_edit_website_jobs_company_setting" as "allow_edit_website_jobs_company_setting","res_company"."security_lead" as "security_lead","res_company"."lc_journal_id" as "lc_journal_id","res_company"."payslip_batch_journal_entry" as "payslip_batch_journal_entry","res_company"."default_meal_emp_price" as "default_meal_emp_price","res_company"."general_overhead" as "general_overhead","res_company"."loyalty_points_reward_policy" as "loyalty_points_reward_policy","res_company"."manufacturing_period" as "manufacturing_period","res_company"."manufacturing_period_to_display" as "manufacturing_period_to_display","res_company"."mrp_mps_show_starting_inventory" as "mrp_mps_show_starting_inventory","res_company"."mrp_mps_show_demand_forecast" as "mrp_mps_show_demand_forecast","res_company"."mrp_mps_show_actual_demand" as "mrp_mps_show_actual_demand","res_company"."mrp_mps_show_indirect_demand" as "mrp_mps_show_indirect_demand","res_company"."mrp_mps_show_to_replenish" as "mrp_mps_show_to_replenish","res_company"."mrp_mps_show_actual_replenishment" as "mrp_mps_show_actual_replenishment","res_company"."mrp_mps_show_safety_stock" as "mrp_mps_show_safety_stock","res_company"."mrp_mps_show_available_to_promise" as "mrp_mps_show_available_to_promise","res_company"."sales_price_modifying_group_id" as "sales_price_modifying_group_id","res_company"."prevent_unlink_related_invoices" as "prevent_unlink_related_invoices","res_company"."website_sale_onboarding_payment_acquirer_state" as "website_sale_onboarding_payment_acquirer_state","res_company"."sinvoice_mode" as "sinvoice_mode","res_company"."sinvoice_start" as "sinvoice_start","res_company"."account_sinvoice_serial_id" as "account_sinvoice_serial_id","res_company"."account_sinvoice_template_id" as "account_sinvoice_template_id","res_company"."account_sinvoice_type_id" as "account_sinvoice_type_id","res_company"."sinvoice_synch_payment_status" as "sinvoice_synch_payment_status","res_company"."sinvoice_conversion_user_id" as "sinvoice_conversion_user_id","res_company"."sinvoice_api_username" as "sinvoice_api_username","res_company"."sinvoice_api_password" as "sinvoice_api_password","res_company"."sinvoice_max_len_bank_name" as "sinvoice_max_len_bank_name","res_company"."sinvoice_max_len_bank_account" as "sinvoice_max_len_bank_account","res_company"."einvoice_provider" as "einvoice_provider","res_company"."vninvoice_mode" as "vninvoice_mode","res_company"."vninvoice_start_date" as "vninvoice_start_date","res_company"."account_vninvoice_serial_id" as "account_vninvoice_serial_id","res_company"."account_vninvoice_template_id" as "account_vninvoice_template_id","res_company"."account_vninvoice_type_id" as "account_vninvoice_type_id","res_company"."vninvoice_api_username" as "vninvoice_api_username","res_company"."vninvoice_api_password" as "vninvoice_api_password","res_company"."account_journal_custom_clearance" as "account_journal_custom_clearance","res_company"."imp_custom_dec_sequence_id" as "imp_custom_dec_sequence_id","res_company"."exp_custom_dec_sequence_id" as "exp_custom_dec_sequence_id","res_company"."overtime_recognition_mode" as "overtime_recognition_mode","res_company"."prevent_unlink_related_pickings" as "prevent_unlink_related_pickings","res_company"."landed_cost_journal_id" as "landed_cost_journal_id","res_company"."applicable_on" as "applicable_on","res_company"."so_po_auto_validation" as "so_po_auto_validation","res_company"."import_vat_ctp_account_id" as "import_vat_ctp_account_id","res_company"."import_tax_payment_term" as "import_tax_payment_term","res_company"."export_vat_ctp_account_id" as "export_vat_ctp_account_id","res_company"."export_tax_payment_term" as "export_tax_payment_term","res_company"."use_intermediary_account" as "use_intermediary_account","res_company"."inter_comp_warehouse_id" as "inter_comp_warehouse_id","res_company"."create_uid" as "create_uid","res_company"."create_date" as "create_date","res_company"."write_uid" as "write_uid","res_company"."write_date" as "write_date" FROM "res_company" WHERE "res_company".id IN (1)
ERROR: column res_company.einvoice_auto_issue does not exist
LINE 1: ..." as "sinvoice_representation_file_as_attachment","res_compa...
^
01/14/2022 00:37:38 ERROR
ERROR: TestFiscalPosition.test_leap_fiscal_year_2
Traceback (most recent call last):
File "/opt/odoo/13.0/odoo/api.py", line 748, in get
value = self._data[field][record._ids[0]]
KeyError: 1

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/odoo/13.0/odoo/fields.py", line 1038, in __get__
value = env.cache.get(record, self)
File "/opt/odoo/13.0/odoo/api.py", line 754, in get
raise CacheMiss(record, field)
odoo.exceptions.CacheMiss: ('res.company(1,).account_opening_date', None)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/odoo/13.0/odoo/api.py", line 748, in get
value = self._data[field][record._ids[0]]
KeyError: 1

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/odoo/13.0/odoo/fields.py", line 1038, in __get__
value = env.cache.get(record, self)
File "/opt/odoo/13.0/odoo/api.py", line 754, in get
raise CacheMiss(record, field)
odoo.exceptions.CacheMiss: ('res.company(1,).account_opening_move_id', None)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/odoo/13.0/addons/account/tests/test_account_fiscal_year.py", line 70, in test_leap_fiscal_year_2
company.fiscalyear_last_day = 28
File "/opt/odoo/13.0/odoo/fields.py", line 1123, in __set__
records.write({self.name: write_value})
File "/opt/odoo/viindooaddons13.0/viin_l10n_vn_account_payment_internal_transfer/models/res_company.py", line 17, in write
return super(ResCompany, self).write(values)
File "/opt/odoo/viindooaddons13.0/viin_l10n_vn_hr_payroll_administrative_region/models/res_company.py", line 9, in write
res = super(ResCompany, self).write(vals)
File "/opt/odoo/viindooaddons13.0/to_l10n_vn_hr_payroll/models/res_company.py", line 139, in write
res = super(ResCompany, self).write(vals)
File "/opt/odoo/13.0/addons/account_lock/models/res_company.py", line 81, in write
return super(ResCompany, self).write(vals)
File "/opt/odoo/13.0/addons/account/models/company.py", line 254, in write
return super(ResCompany, self).write(values)
File "/opt/odoo/13.0/addons/product/models/res_company.py", line 65, in write
return super(ResCompany, self).write(values)
File "/opt/odoo/13.0/addons/web/models/models.py", line 404, in write
res = super().write(values)
File "/opt/odoo/13.0/odoo/addons/base/models/res_company.py", line 252, in write
return super(Company, self).write(values)
File "/opt/odoo/viindooaddons13.0/viin_user_assignment_log/models/base.py", line 36, in write
res = super(Base, self).write(vals)
File "/opt/odoo/13.0/odoo/models.py", line 3647, in write
real_recs._validate_fields(vals, inverse_fields)
File "/opt/odoo/13.0/odoo/models.py", line 1212, in _validate_fields
check(self)
File "/opt/odoo/13.0/addons/account/models/company.py", line 118, in _check_fiscalyear_last_day
if rec.account_opening_date:
File "/opt/odoo/13.0/odoo/fields.py", line 1062, in __get__
self.compute_value(recs)
File "/opt/odoo/13.0/odoo/fields.py", line 1147, in compute_value
records._compute_field_value(self)
File "/opt/odoo/13.0/odoo/models.py", line 4020, in _compute_field_value
field.compute(self)
File "/opt/odoo/13.0/odoo/fields.py", line 569, in _compute_related
values = [first(value[name]) for value in values]
File "/opt/odoo/13.0/odoo/fields.py", line 569, in <listcomp>
values = [first(value[name]) for value in values]
File "/opt/odoo/13.0/odoo/models.py", line 5746, in __getitem__
return self._fields[key].__get__(self, type(self))
File "/opt/odoo/13.0/odoo/fields.py", line 2370, in __get__
return super().__get__(records, owner)
File "/opt/odoo/13.0/odoo/fields.py", line 1045, in __get__
recs._fetch_field(self)
File "/opt/odoo/13.0/odoo/models.py", line 3002, in _fetch_field
self._read(fnames)
File "/opt/odoo/13.0/odoo/models.py", line 3074, in _read
cr.execute(query_str, params)
File "/opt/odoo/13.0/odoo/sql_db.py", line 173, in wrapper
return f(self, *args, **kwargs)
File "/opt/odoo/13.0/odoo/sql_db.py", line 250, in execute
res = self._obj.execute(query, params)
psycopg2.ProgrammingError: column res_company.einvoice_auto_issue does not exist
LINE 1: ..." as "sinvoice_representation_file_as_attachment","res_compa...
^
01/14/2022 00:37:38 ERROR
Module account: 0 failures, 4 errors
01/14/2022 00:37:38 ERROR
bad query: SELECT "res_company"."id" as "id","res_company"."sequence" as "sequence","res_company"."parent_id" as "parent_id","res_company"."partner_id" as "partner_id","res_company"."report_header" as "report_header","res_company"."report_footer" as "report_footer","res_company"."currency_id" as "currency_id","res_company"."account_no" as "account_no","res_company"."email" as "email","res_company"."phone" as "phone","res_company"."company_registry" as "company_registry","res_company"."paperformat_id" as "paperformat_id","res_company"."external_report_layout_id" as "external_report_layout_id","res_company"."base_onboarding_company_state" as "base_onboarding_company_state","res_company"."primary_color" as "primary_color","res_company"."secondary_color" as "secondary_color","res_company"."font" as "font","res_company"."social_twitter" as "social_twitter","res_company"."social_facebook" as "social_facebook","res_company"."social_github" as "social_github","res_company"."social_linkedin" as "social_linkedin","res_company"."social_youtube" as "social_youtube","res_company"."social_instagram" as "social_instagram","res_company"."hotline" as "hotline","res_company"."nomenclature_id" as "nomenclature_id","res_company"."resource_calendar_id" as "resource_calendar_id","res_company"."name" as "name","res_company"."gengo_private_key" as "gengo_private_key","res_company"."gengo_public_key" as "gengo_public_key","res_company"."gengo_comment" as "gengo_comment","res_company"."gengo_auto_approve" as "gengo_auto_approve","res_company"."gengo_sandbox" as "gengo_sandbox","res_company"."check_unique_vat" as "check_unique_vat","res_company"."rotating_token_life" as "rotating_token_life","res_company"."lunch_minimum_threshold" as "lunch_minimum_threshold","res_company"."partner_gid" as "partner_gid","res_company"."snailmail_color" as "snailmail_color","res_company"."snailmail_cover" as "snailmail_cover","res_company"."snailmail_duplex" as "snailmail_duplex","res_company"."intercompany_user_id" as "intercompany_user_id","res_company"."hr_presence_control_email_amount" as "hr_presence_control_email_amount","res_company"."hr_presence_control_ip_list" as "hr_presence_control_ip_list","res_company"."internal_transit_location_id" as "internal_transit_location_id","res_company"."stock_move_email_validation" as "stock_move_email_validation","res_company"."stock_mail_confirmation_template_id" as "stock_mail_confirmation_template_id","res_company"."send_hbd_email" as "send_hbd_email","res_company"."hdb_email_template_id" as "hdb_email_template_id","res_company"."check_unique_product_default_code" as "check_unique_product_default_code","res_company"."zoom_api_key" as "zoom_api_key","res_company"."zoom_secret_key" as "zoom_secret_key","res_company"."facebook_app_id" as "facebook_app_id","res_company"."facebook_client_secret" as "facebook_client_secret","res_company"."linkedin_app_id" as "linkedin_app_id","res_company"."linkedin_client_secret" as "linkedin_client_secret","res_company"."manufacturing_lead" as "manufacturing_lead","res_company"."stock_move_sms_validation" as "stock_move_sms_validation","res_company"."stock_sms_confirmation_template_id" as "stock_sms_confirmation_template_id","res_company"."has_received_warning_stock_sms" as "has_received_warning_stock_sms","res_company"."fiscalyear_last_day" as "fiscalyear_last_day","res_company"."fiscalyear_last_month" as "fiscalyear_last_month","res_company"."period_lock_date" as "period_lock_date","res_company"."fiscalyear_lock_date" as "fiscalyear_lock_date","res_company"."tax_lock_date" as "tax_lock_date","res_company"."transfer_account_id" as "transfer_account_id","res_company"."expects_chart_of_accounts" as "expects_chart_of_accounts","res_company"."chart_template_id" as "chart_template_id","res_company"."bank_account_code_prefix" as "bank_account_code_prefix","res_company"."cash_account_code_prefix" as "cash_account_code_prefix","res_company"."default_cash_difference_income_account_id" as "default_cash_difference_income_account_id","res_company"."default_cash_difference_expense_account_id" as "default_cash_difference_expense_account_id","res_company"."transfer_account_code_prefix" as "transfer_account_code_prefix","res_company"."account_sale_tax_id" as "account_sale_tax_id","res_company"."account_purchase_tax_id" as "account_purchase_tax_id","res_company"."tax_cash_basis_journal_id" as "tax_cash_basis_journal_id","res_company"."tax_calculation_rounding_method" as "tax_calculation_rounding_method","res_company"."currency_exchange_journal_id" as "currency_exchange_journal_id","res_company"."anglo_saxon_accounting" as "anglo_saxon_accounting","res_company"."property_stock_account_input_categ_id" as "property_stock_account_input_categ_id","res_company"."property_stock_account_output_categ_id" as "property_stock_account_output_categ_id","res_company"."property_stock_valuation_account_id" as "property_stock_valuation_account_id","res_company"."tax_exigibility" as "tax_exigibility","res_company"."account_bank_reconciliation_start" as "account_bank_reconciliation_start","res_company"."incoterm_id" as "incoterm_id","res_company"."qr_code" as "qr_code","res_company"."invoice_is_email" as "invoice_is_email","res_company"."invoice_is_print" as "invoice_is_print","res_company"."account_opening_move_id" as "account_opening_move_id","res_company"."account_setup_bank_data_state" as "account_setup_bank_data_state","res_company"."account_setup_fy_data_state" as "account_setup_fy_data_state","res_company"."account_setup_coa_state" as "account_setup_coa_state","res_company"."account_onboarding_invoice_layout_state" as "account_onboarding_invoice_layout_state","res_company"."account_onboarding_sample_invoice_state" as "account_onboarding_sample_invoice_state","res_company"."account_onboarding_sale_tax_state" as "account_onboarding_sale_tax_state","res_company"."account_invoice_onboarding_state" as "account_invoice_onboarding_state","res_company"."account_dashboard_onboarding_state" as "account_dashboard_onboarding_state","res_company"."invoice_terms" as "invoice_terms","res_company"."account_default_pos_receivable_account_id" as "account_default_pos_receivable_account_id","res_company"."expense_accrual_account_id" as "expense_accrual_account_id","res_company"."revenue_accrual_account_id" as "revenue_accrual_account_id","res_company"."accrual_default_journal_id" as "accrual_default_journal_id","res_company"."hr_presence_last_compute_date" as "hr_presence_last_compute_date","res_company"."subcontracting_location_id" as "subcontracting_location_id","res_company"."default_helpdesk_team_id" as "default_helpdesk_team_id","res_company"."account_check_printing_layout" as "account_check_printing_layout","res_company"."account_check_printing_date_label" as "account_check_printing_date_label","res_company"."account_check_printing_multi_stub" as "account_check_printing_multi_stub","res_company"."account_check_printing_margin_top" as "account_check_printing_margin_top","res_company"."account_check_printing_margin_left" as "account_check_printing_margin_left","res_company"."account_check_printing_margin_right" as "account_check_printing_margin_right","res_company"."vat_check_vies" as "vat_check_vies","res_company"."project_time_mode_id" as "project_time_mode_id","res_company"."timesheet_encode_uom_id" as "timesheet_encode_uom_id","res_company"."payment_acquirer_onboarding_state" as "payment_acquirer_onboarding_state","res_company"."payment_onboarding_payment_method" as "payment_onboarding_payment_method","res_company"."po_lead" as "po_lead","res_company"."po_lock" as "po_lock","res_company"."po_double_validation" as "po_double_validation","res_company"."po_double_validation_amount" as "po_double_validation_amount","res_company"."invoice_is_snailmail" as "invoice_is_snailmail","res_company"."balance_carry_forward_journal_id" as "balance_carry_forward_journal_id","res_company"."affiliate_comm_percentage" as "affiliate_comm_percentage","res_company"."affiliate_cookie_age" as "affiliate_cookie_age","res_company"."affiliate_min_payout" as "affiliate_min_payout","res_company"."commission_product_id" as "commission_product_id","res_company"."aff_allowed" as "aff_allowed","res_company"."compute_aff_method" as "compute_aff_method","res_company"."main_currency_bank_id" as "main_currency_bank_id","res_company"."amount_double_validation" as "amount_double_validation","res_company"."use_employee_advance_pass_through_account" as "use_employee_advance_pass_through_account","res_company"."loan_borrowing_journal_id" as "loan_borrowing_journal_id","res_company"."loan_borrowing_account_id" as "loan_borrowing_account_id","res_company"."loan_lending_journal_id" as "loan_lending_journal_id","res_company"."loan_lending_account_id" as "loan_lending_account_id","res_company"."vendor_app_comm_percent" as "vendor_app_comm_percent","res_company"."vendor_app_min_payout" as "vendor_app_min_payout","res_company"."dedicated_app_download_token_lifetime" as "dedicated_app_download_token_lifetime","res_company"."app_download_token_lifetime" as "app_download_token_lifetime","res_company"."leave_timesheet_project_id" as "leave_timesheet_project_id","res_company"."leave_timesheet_task_id" as "leave_timesheet_task_id","res_company"."portal_confirmation_sign" as "portal_confirmation_sign","res_company"."portal_confirmation_pay" as "portal_confirmation_pay","res_company"."quotation_validity_days" as "quotation_validity_days","res_company"."sale_quotation_onboarding_state" as "sale_quotation_onboarding_state","res_company"."sale_onboarding_order_confirmation_state" as "sale_onboarding_order_confirmation_state","res_company"."sale_onboarding_sample_quotation_state" as "sale_onboarding_sample_quotation_state","res_company"."sale_onboarding_payment_method" as "sale_onboarding_payment_method","res_company"."days_between_two_followups" as "days_between_two_followups","res_company"."overdue_msg" as "overdue_msg","res_company"."totals_below_sections" as "totals_below_sections","res_company"."currency_conversion_diff_journal_id" as "currency_conversion_diff_journal_id","res_company"."einvoice_lock_legal_number" as "einvoice_lock_legal_number","res_company"."einvoice_issue_earliest_invoice_first" as "einvoice_issue_earliest_invoice_first","res_company"."sinvoice_exchange_file_as_attachment" as "sinvoice_exchange_file_as_attachment","res_company"."sinvoice_representation_file_as_attachment" as "sinvoice_representation_file_as_attachment","res_company"."einvoice_auto_issue" as "einvoice_auto_issue","res_company"."basic_wage_rule_categ_id" as "basic_wage_rule_categ_id","res_company"."gross_salary_rule_categ_id" as "gross_salary_rule_categ_id","res_company"."tax_base_rule_categ_id" as "tax_base_rule_categ_id","res_company"."net_income_salary_rule_categ_id" as "net_income_salary_rule_categ_id","res_company"."payslips_auto_generation" as "payslips_auto_generation","res_company"."payslips_auto_generation_mode" as "payslips_auto_generation_mode","res_company"."payslips_auto_generation_day" as "payslips_auto_generation_day","res_company"."payslips_auto_generation_lang" as "payslips_auto_generation_lang","res_company"."salary_cycle_id" as "salary_cycle_id","res_company"."property_promotion_voucher_profit_account_id" as "property_promotion_voucher_profit_account_id","res_company"."property_promotion_voucher_loss_account_id" as "property_promotion_voucher_loss_account_id","res_company"."property_unearn_revenue_account_id" as "property_unearn_revenue_account_id","res_company"."allow_edit_website_jobs_company_setting" as "allow_edit_website_jobs_company_setting","res_company"."security_lead" as "security_lead","res_company"."lc_journal_id" as "lc_journal_id","res_company"."payslip_batch_journal_entry" as "payslip_batch_journal_entry","res_company"."default_meal_emp_price" as "default_meal_emp_price","res_company"."general_overhead" as "general_overhead","res_company"."loyalty_points_reward_policy" as "loyalty_points_reward_policy","res_company"."manufacturing_period" as "manufacturing_period","res_company"."manufacturing_period_to_display" as "manufacturing_period_to_display","res_company"."mrp_mps_show_starting_inventory" as "mrp_mps_show_starting_inventory","res_company"."mrp_mps_show_demand_forecast" as "mrp_mps_show_demand_forecast","res_company"."mrp_mps_show_actual_demand" as "mrp_mps_show_actual_demand","res_company"."mrp_mps_show_indirect_demand" as "mrp_mps_show_indirect_demand","res_company"."mrp_mps_show_to_replenish" as "mrp_mps_show_to_replenish","res_company"."mrp_mps_show_actual_replenishment" as "mrp_mps_show_actual_replenishment","res_company"."mrp_mps_show_safety_stock" as "mrp_mps_show_safety_stock","res_company"."mrp_mps_show_available_to_promise" as "mrp_mps_show_available_to_promise","res_company"."sales_price_modifying_group_id" as "sales_price_modifying_group_id","res_company"."prevent_unlink_related_invoices" as "prevent_unlink_related_invoices","res_company"."website_sale_onboarding_payment_acquirer_state" as "website_sale_onboarding_payment_acquirer_state","res_company"."sinvoice_mode" as "sinvoice_mode","res_company"."sinvoice_start" as "sinvoice_start","res_company"."account_sinvoice_serial_id" as "account_sinvoice_serial_id","res_company"."account_sinvoice_template_id" as "account_sinvoice_template_id","res_company"."account_sinvoice_type_id" as "account_sinvoice_type_id","res_company"."sinvoice_synch_payment_status" as "sinvoice_synch_payment_status","res_company"."sinvoice_conversion_user_id" as "sinvoice_conversion_user_id","res_company"."sinvoice_api_username" as "sinvoice_api_username","res_company"."sinvoice_api_password" as "sinvoice_api_password","res_company"."sinvoice_max_len_bank_name" as "sinvoice_max_len_bank_name","res_company"."sinvoice_max_len_bank_account" as "sinvoice_max_len_bank_account","res_company"."einvoice_provider" as "einvoice_provider","res_company"."vninvoice_mode" as "vninvoice_mode","res_company"."vninvoice_start_date" as "vninvoice_start_date","res_company"."account_vninvoice_serial_id" as "account_vninvoice_serial_id","res_company"."account_vninvoice_template_id" as "account_vninvoice_template_id","res_company"."account_vninvoice_type_id" as "account_vninvoice_type_id","res_company"."vninvoice_api_username" as "vninvoice_api_username","res_company"."vninvoice_api_password" as "vninvoice_api_password","res_company"."account_journal_custom_clearance" as "account_journal_custom_clearance","res_company"."imp_custom_dec_sequence_id" as "imp_custom_dec_sequence_id","res_company"."exp_custom_dec_sequence_id" as "exp_custom_dec_sequence_id","res_company"."overtime_recognition_mode" as "overtime_recognition_mode","res_company"."prevent_unlink_related_pickings" as "prevent_unlink_related_pickings","res_company"."landed_cost_journal_id" as "landed_cost_journal_id","res_company"."applicable_on" as "applicable_on","res_company"."so_po_auto_validation" as "so_po_auto_validation","res_company"."import_vat_ctp_account_id" as "import_vat_ctp_account_id","res_company"."import_tax_payment_term" as "import_tax_payment_term","res_company"."export_vat_ctp_account_id" as "export_vat_ctp_account_id","res_company"."export_tax_payment_term" as "export_tax_payment_term","res_company"."use_intermediary_account" as "use_intermediary_account","res_company"."inter_comp_warehouse_id" as "inter_comp_warehouse_id","res_company"."create_uid" as "create_uid","res_company"."create_date" as "create_date","res_company"."write_uid" as "write_uid","res_company"."write_date" as "write_date" FROM "res_company" WHERE "res_company".id IN (1)
ERROR: column res_company.einvoice_auto_issue does not exist
LINE 1: ..." as "sinvoice_representation_file_as_attachment","res_compa...
^
01/14/2022 00:37:38 ERROR
ERROR: TestAccountIncomingSupplierInvoice.test_supplier_invoice_forwarded_by_internal_user_without_supplier
Traceback (most recent call last):
File "/opt/odoo/13.0/odoo/api.py", line 748, in get
value = self._data[field][record._ids[0]]
KeyError: 1

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/odoo/13.0/odoo/fields.py", line 1038, in __get__
value = env.cache.get(record, self)
File "/opt/odoo/13.0/odoo/api.py", line 754, in get
raise CacheMiss(record, field)
odoo.exceptions.CacheMiss: ('res.company(1,).name', None)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/odoo/13.0/addons/account/tests/test_account_incoming_supplier_invoice.py", line 18, in setUp
'email': 'internal.user@test.odoo.com',
File "<decorator-gen-386>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 317, in _model_create_single
return create(self, arg)
File "/opt/odoo/13.0/addons/website_slides/models/res_users.py", line 13, in create
user = super(Users, self).create(values)
File "<decorator-gen-312>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 338, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/viindooaddons13.0/to_affiliate/models/res_users.py", line 9, in create
users = super(ResUsers, self).create(vals_list)
File "<decorator-gen-221>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 320, in _model_create_single
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/odoo/api.py", line 320, in <genexpr>
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/addons/digest/models/res_users.py", line 12, in create
user = super(ResUsers, self).create(vals)
File "<decorator-gen-156>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 338, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/viindooaddons13.0/to_erponline_utility/models/res_user.py", line 60, in create
new_users = super(ResUser, self).create(vals_list)
File "<decorator-gen-142>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 320, in _model_create_single
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/odoo/api.py", line 320, in <genexpr>
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/addons/note/models/res_users.py", line 17, in create
user = super(Users, self).create(values)
File "<decorator-gen-137>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 338, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/13.0/addons/gamification/models/res_users.py", line 48, in create
res = super(Users, self).create(values_list)
File "<decorator-gen-123>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 320, in _model_create_single
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/odoo/api.py", line 320, in <genexpr>
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/addons/auth_signup/models/res_users.py", line 236, in create
user = super(ResUsers, self).create(values)
File "<decorator-gen-120>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 317, in _model_create_single
return create(self, arg)
File "/opt/odoo/13.0/addons/mail/models/res_users.py", line 89, in create
user = super(Users, self).create(values)
File "<decorator-gen-92>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 317, in _model_create_single
return create(self, arg)
File "/opt/odoo/13.0/odoo/addons/base/models/res_users.py", line 1221, in create
user = super(UsersView, self).create(values)
File "<decorator-gen-90>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 338, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/13.0/odoo/addons/base/models/res_users.py", line 998, in create
return super(UsersImplied, self).create(vals_list)
File "<decorator-gen-85>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/13.0/odoo/addons/base/models/res_users.py", line 474, in create
users = super(Users, self).create(vals_list)
File "<decorator-gen-98>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/viindooaddons13.0/viin_user_assignment_log/models/base.py", line 11, in create
records = super(Base, self).create(vals_list)
File "<decorator-gen-3>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/13.0/odoo/models.py", line 3819, in create
for data in parent_data_list
File "<decorator-gen-420>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/viindooaddons13.0/to_foreign_trade/models/res_partner.py", line 72, in create
partners = super(res_partner, self).create(vals_list)
File "<decorator-gen-297>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 320, in _model_create_single
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/odoo/api.py", line 320, in <genexpr>
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/addons/base_vat/models/res_partner.py", line 529, in create
return super(ResPartner, self).create(values)
File "<decorator-gen-262>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 338, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/13.0/addons/account/models/partner.py", line 515, in create
return super().create(vals_list)
File "<decorator-gen-143>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/13.0/addons/partner_autocomplete/models/res_partner.py", line 183, in create
partners = super(ResPartner, self).create(vals_list)
File "<decorator-gen-83>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/13.0/odoo/addons/base/models/res_partner.py", line 544, in create
partners = super(Partner, self).create(vals_list)
File "<decorator-gen-115>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/13.0/addons/mail/models/mail_thread.py", line 292, in create
threads_no_subtype._message_log_batch(bodies={t.id: body for t in threads_no_subtype})
File "/opt/odoo/13.0/addons/mail/models/mail_thread.py", line 2090, in _message_log_batch
'reply_to': self.env['mail.thread']._notify_get_reply_to(default=email_from, records=None)[False],
File "/opt/odoo/13.0/addons/mail/models/mail_thread.py", line 2716, in _notify_get_reply_to
company_name = company.name if company else self.env.company.name
File "/opt/odoo/13.0/odoo/fields.py", line 1045, in __get__
recs._fetch_field(self)
File "/opt/odoo/13.0/odoo/models.py", line 3002, in _fetch_field
self._read(fnames)
File "/opt/odoo/13.0/odoo/models.py", line 3074, in _read
cr.execute(query_str, params)
File "/opt/odoo/13.0/odoo/sql_db.py", line 173, in wrapper
return f(self, *args, **kwargs)
File "/opt/odoo/13.0/odoo/sql_db.py", line 250, in execute
res = self._obj.execute(query, params)
psycopg2.ProgrammingError: column res_company.einvoice_auto_issue does not exist
LINE 1: ..." as "sinvoice_representation_file_as_attachment","res_compa...
^
01/14/2022 00:37:38 ERROR
bad query: SELECT "res_company"."id" as "id","res_company"."sequence" as "sequence","res_company"."parent_id" as "parent_id","res_company"."partner_id" as "partner_id","res_company"."report_header" as "report_header","res_company"."report_footer" as "report_footer","res_company"."currency_id" as "currency_id","res_company"."account_no" as "account_no","res_company"."email" as "email","res_company"."phone" as "phone","res_company"."company_registry" as "company_registry","res_company"."paperformat_id" as "paperformat_id","res_company"."external_report_layout_id" as "external_report_layout_id","res_company"."base_onboarding_company_state" as "base_onboarding_company_state","res_company"."primary_color" as "primary_color","res_company"."secondary_color" as "secondary_color","res_company"."font" as "font","res_company"."social_twitter" as "social_twitter","res_company"."social_facebook" as "social_facebook","res_company"."social_github" as "social_github","res_company"."social_linkedin" as "social_linkedin","res_company"."social_youtube" as "social_youtube","res_company"."social_instagram" as "social_instagram","res_company"."hotline" as "hotline","res_company"."nomenclature_id" as "nomenclature_id","res_company"."resource_calendar_id" as "resource_calendar_id","res_company"."name" as "name","res_company"."gengo_private_key" as "gengo_private_key","res_company"."gengo_public_key" as "gengo_public_key","res_company"."gengo_comment" as "gengo_comment","res_company"."gengo_auto_approve" as "gengo_auto_approve","res_company"."gengo_sandbox" as "gengo_sandbox","res_company"."check_unique_vat" as "check_unique_vat","res_company"."rotating_token_life" as "rotating_token_life","res_company"."lunch_minimum_threshold" as "lunch_minimum_threshold","res_company"."partner_gid" as "partner_gid","res_company"."snailmail_color" as "snailmail_color","res_company"."snailmail_cover" as "snailmail_cover","res_company"."snailmail_duplex" as "snailmail_duplex","res_company"."intercompany_user_id" as "intercompany_user_id","res_company"."hr_presence_control_email_amount" as "hr_presence_control_email_amount","res_company"."hr_presence_control_ip_list" as "hr_presence_control_ip_list","res_company"."internal_transit_location_id" as "internal_transit_location_id","res_company"."stock_move_email_validation" as "stock_move_email_validation","res_company"."stock_mail_confirmation_template_id" as "stock_mail_confirmation_template_id","res_company"."send_hbd_email" as "send_hbd_email","res_company"."hdb_email_template_id" as "hdb_email_template_id","res_company"."check_unique_product_default_code" as "check_unique_product_default_code","res_company"."zoom_api_key" as "zoom_api_key","res_company"."zoom_secret_key" as "zoom_secret_key","res_company"."facebook_app_id" as "facebook_app_id","res_company"."facebook_client_secret" as "facebook_client_secret","res_company"."linkedin_app_id" as "linkedin_app_id","res_company"."linkedin_client_secret" as "linkedin_client_secret","res_company"."manufacturing_lead" as "manufacturing_lead","res_company"."stock_move_sms_validation" as "stock_move_sms_validation","res_company"."stock_sms_confirmation_template_id" as "stock_sms_confirmation_template_id","res_company"."has_received_warning_stock_sms" as "has_received_warning_stock_sms","res_company"."fiscalyear_last_day" as "fiscalyear_last_day","res_company"."fiscalyear_last_month" as "fiscalyear_last_month","res_company"."period_lock_date" as "period_lock_date","res_company"."fiscalyear_lock_date" as "fiscalyear_lock_date","res_company"."tax_lock_date" as "tax_lock_date","res_company"."transfer_account_id" as "transfer_account_id","res_company"."expects_chart_of_accounts" as "expects_chart_of_accounts","res_company"."chart_template_id" as "chart_template_id","res_company"."bank_account_code_prefix" as "bank_account_code_prefix","res_company"."cash_account_code_prefix" as "cash_account_code_prefix","res_company"."default_cash_difference_income_account_id" as "default_cash_difference_income_account_id","res_company"."default_cash_difference_expense_account_id" as "default_cash_difference_expense_account_id","res_company"."transfer_account_code_prefix" as "transfer_account_code_prefix","res_company"."account_sale_tax_id" as "account_sale_tax_id","res_company"."account_purchase_tax_id" as "account_purchase_tax_id","res_company"."tax_cash_basis_journal_id" as "tax_cash_basis_journal_id","res_company"."tax_calculation_rounding_method" as "tax_calculation_rounding_method","res_company"."currency_exchange_journal_id" as "currency_exchange_journal_id","res_company"."anglo_saxon_accounting" as "anglo_saxon_accounting","res_company"."property_stock_account_input_categ_id" as "property_stock_account_input_categ_id","res_company"."property_stock_account_output_categ_id" as "property_stock_account_output_categ_id","res_company"."property_stock_valuation_account_id" as "property_stock_valuation_account_id","res_company"."tax_exigibility" as "tax_exigibility","res_company"."account_bank_reconciliation_start" as "account_bank_reconciliation_start","res_company"."incoterm_id" as "incoterm_id","res_company"."qr_code" as "qr_code","res_company"."invoice_is_email" as "invoice_is_email","res_company"."invoice_is_print" as "invoice_is_print","res_company"."account_opening_move_id" as "account_opening_move_id","res_company"."account_setup_bank_data_state" as "account_setup_bank_data_state","res_company"."account_setup_fy_data_state" as "account_setup_fy_data_state","res_company"."account_setup_coa_state" as "account_setup_coa_state","res_company"."account_onboarding_invoice_layout_state" as "account_onboarding_invoice_layout_state","res_company"."account_onboarding_sample_invoice_state" as "account_onboarding_sample_invoice_state","res_company"."account_onboarding_sale_tax_state" as "account_onboarding_sale_tax_state","res_company"."account_invoice_onboarding_state" as "account_invoice_onboarding_state","res_company"."account_dashboard_onboarding_state" as "account_dashboard_onboarding_state","res_company"."invoice_terms" as "invoice_terms","res_company"."account_default_pos_receivable_account_id" as "account_default_pos_receivable_account_id","res_company"."expense_accrual_account_id" as "expense_accrual_account_id","res_company"."revenue_accrual_account_id" as "revenue_accrual_account_id","res_company"."accrual_default_journal_id" as "accrual_default_journal_id","res_company"."hr_presence_last_compute_date" as "hr_presence_last_compute_date","res_company"."subcontracting_location_id" as "subcontracting_location_id","res_company"."default_helpdesk_team_id" as "default_helpdesk_team_id","res_company"."account_check_printing_layout" as "account_check_printing_layout","res_company"."account_check_printing_date_label" as "account_check_printing_date_label","res_company"."account_check_printing_multi_stub" as "account_check_printing_multi_stub","res_company"."account_check_printing_margin_top" as "account_check_printing_margin_top","res_company"."account_check_printing_margin_left" as "account_check_printing_margin_left","res_company"."account_check_printing_margin_right" as "account_check_printing_margin_right","res_company"."vat_check_vies" as "vat_check_vies","res_company"."project_time_mode_id" as "project_time_mode_id","res_company"."timesheet_encode_uom_id" as "timesheet_encode_uom_id","res_company"."payment_acquirer_onboarding_state" as "payment_acquirer_onboarding_state","res_company"."payment_onboarding_payment_method" as "payment_onboarding_payment_method","res_company"."po_lead" as "po_lead","res_company"."po_lock" as "po_lock","res_company"."po_double_validation" as "po_double_validation","res_company"."po_double_validation_amount" as "po_double_validation_amount","res_company"."invoice_is_snailmail" as "invoice_is_snailmail","res_company"."balance_carry_forward_journal_id" as "balance_carry_forward_journal_id","res_company"."affiliate_comm_percentage" as "affiliate_comm_percentage","res_company"."affiliate_cookie_age" as "affiliate_cookie_age","res_company"."affiliate_min_payout" as "affiliate_min_payout","res_company"."commission_product_id" as "commission_product_id","res_company"."aff_allowed" as "aff_allowed","res_company"."compute_aff_method" as "compute_aff_method","res_company"."main_currency_bank_id" as "main_currency_bank_id","res_company"."amount_double_validation" as "amount_double_validation","res_company"."use_employee_advance_pass_through_account" as "use_employee_advance_pass_through_account","res_company"."loan_borrowing_journal_id" as "loan_borrowing_journal_id","res_company"."loan_borrowing_account_id" as "loan_borrowing_account_id","res_company"."loan_lending_journal_id" as "loan_lending_journal_id","res_company"."loan_lending_account_id" as "loan_lending_account_id","res_company"."vendor_app_comm_percent" as "vendor_app_comm_percent","res_company"."vendor_app_min_payout" as "vendor_app_min_payout","res_company"."dedicated_app_download_token_lifetime" as "dedicated_app_download_token_lifetime","res_company"."app_download_token_lifetime" as "app_download_token_lifetime","res_company"."leave_timesheet_project_id" as "leave_timesheet_project_id","res_company"."leave_timesheet_task_id" as "leave_timesheet_task_id","res_company"."portal_confirmation_sign" as "portal_confirmation_sign","res_company"."portal_confirmation_pay" as "portal_confirmation_pay","res_company"."quotation_validity_days" as "quotation_validity_days","res_company"."sale_quotation_onboarding_state" as "sale_quotation_onboarding_state","res_company"."sale_onboarding_order_confirmation_state" as "sale_onboarding_order_confirmation_state","res_company"."sale_onboarding_sample_quotation_state" as "sale_onboarding_sample_quotation_state","res_company"."sale_onboarding_payment_method" as "sale_onboarding_payment_method","res_company"."days_between_two_followups" as "days_between_two_followups","res_company"."overdue_msg" as "overdue_msg","res_company"."totals_below_sections" as "totals_below_sections","res_company"."currency_conversion_diff_journal_id" as "currency_conversion_diff_journal_id","res_company"."einvoice_lock_legal_number" as "einvoice_lock_legal_number","res_company"."einvoice_issue_earliest_invoice_first" as "einvoice_issue_earliest_invoice_first","res_company"."sinvoice_exchange_file_as_attachment" as "sinvoice_exchange_file_as_attachment","res_company"."sinvoice_representation_file_as_attachment" as "sinvoice_representation_file_as_attachment","res_company"."einvoice_auto_issue" as "einvoice_auto_issue","res_company"."basic_wage_rule_categ_id" as "basic_wage_rule_categ_id","res_company"."gross_salary_rule_categ_id" as "gross_salary_rule_categ_id","res_company"."tax_base_rule_categ_id" as "tax_base_rule_categ_id","res_company"."net_income_salary_rule_categ_id" as "net_income_salary_rule_categ_id","res_company"."payslips_auto_generation" as "payslips_auto_generation","res_company"."payslips_auto_generation_mode" as "payslips_auto_generation_mode","res_company"."payslips_auto_generation_day" as "payslips_auto_generation_day","res_company"."payslips_auto_generation_lang" as "payslips_auto_generation_lang","res_company"."salary_cycle_id" as "salary_cycle_id","res_company"."property_promotion_voucher_profit_account_id" as "property_promotion_voucher_profit_account_id","res_company"."property_promotion_voucher_loss_account_id" as "property_promotion_voucher_loss_account_id","res_company"."property_unearn_revenue_account_id" as "property_unearn_revenue_account_id","res_company"."allow_edit_website_jobs_company_setting" as "allow_edit_website_jobs_company_setting","res_company"."security_lead" as "security_lead","res_company"."lc_journal_id" as "lc_journal_id","res_company"."payslip_batch_journal_entry" as "payslip_batch_journal_entry","res_company"."default_meal_emp_price" as "default_meal_emp_price","res_company"."general_overhead" as "general_overhead","res_company"."loyalty_points_reward_policy" as "loyalty_points_reward_policy","res_company"."manufacturing_period" as "manufacturing_period","res_company"."manufacturing_period_to_display" as "manufacturing_period_to_display","res_company"."mrp_mps_show_starting_inventory" as "mrp_mps_show_starting_inventory","res_company"."mrp_mps_show_demand_forecast" as "mrp_mps_show_demand_forecast","res_company"."mrp_mps_show_actual_demand" as "mrp_mps_show_actual_demand","res_company"."mrp_mps_show_indirect_demand" as "mrp_mps_show_indirect_demand","res_company"."mrp_mps_show_to_replenish" as "mrp_mps_show_to_replenish","res_company"."mrp_mps_show_actual_replenishment" as "mrp_mps_show_actual_replenishment","res_company"."mrp_mps_show_safety_stock" as "mrp_mps_show_safety_stock","res_company"."mrp_mps_show_available_to_promise" as "mrp_mps_show_available_to_promise","res_company"."sales_price_modifying_group_id" as "sales_price_modifying_group_id","res_company"."prevent_unlink_related_invoices" as "prevent_unlink_related_invoices","res_company"."website_sale_onboarding_payment_acquirer_state" as "website_sale_onboarding_payment_acquirer_state","res_company"."sinvoice_mode" as "sinvoice_mode","res_company"."sinvoice_start" as "sinvoice_start","res_company"."account_sinvoice_serial_id" as "account_sinvoice_serial_id","res_company"."account_sinvoice_template_id" as "account_sinvoice_template_id","res_company"."account_sinvoice_type_id" as "account_sinvoice_type_id","res_company"."sinvoice_synch_payment_status" as "sinvoice_synch_payment_status","res_company"."sinvoice_conversion_user_id" as "sinvoice_conversion_user_id","res_company"."sinvoice_api_username" as "sinvoice_api_username","res_company"."sinvoice_api_password" as "sinvoice_api_password","res_company"."sinvoice_max_len_bank_name" as "sinvoice_max_len_bank_name","res_company"."sinvoice_max_len_bank_account" as "sinvoice_max_len_bank_account","res_company"."einvoice_provider" as "einvoice_provider","res_company"."vninvoice_mode" as "vninvoice_mode","res_company"."vninvoice_start_date" as "vninvoice_start_date","res_company"."account_vninvoice_serial_id" as "account_vninvoice_serial_id","res_company"."account_vninvoice_template_id" as "account_vninvoice_template_id","res_company"."account_vninvoice_type_id" as "account_vninvoice_type_id","res_company"."vninvoice_api_username" as "vninvoice_api_username","res_company"."vninvoice_api_password" as "vninvoice_api_password","res_company"."account_journal_custom_clearance" as "account_journal_custom_clearance","res_company"."imp_custom_dec_sequence_id" as "imp_custom_dec_sequence_id","res_company"."exp_custom_dec_sequence_id" as "exp_custom_dec_sequence_id","res_company"."overtime_recognition_mode" as "overtime_recognition_mode","res_company"."prevent_unlink_related_pickings" as "prevent_unlink_related_pickings","res_company"."landed_cost_journal_id" as "landed_cost_journal_id","res_company"."applicable_on" as "applicable_on","res_company"."so_po_auto_validation" as "so_po_auto_validation","res_company"."import_vat_ctp_account_id" as "import_vat_ctp_account_id","res_company"."import_tax_payment_term" as "import_tax_payment_term","res_company"."export_vat_ctp_account_id" as "export_vat_ctp_account_id","res_company"."export_tax_payment_term" as "export_tax_payment_term","res_company"."use_intermediary_account" as "use_intermediary_account","res_company"."inter_comp_warehouse_id" as "inter_comp_warehouse_id","res_company"."create_uid" as "create_uid","res_company"."create_date" as "create_date","res_company"."write_uid" as "write_uid","res_company"."write_date" as "write_date" FROM "res_company" WHERE "res_company".id IN (1)
ERROR: column res_company.einvoice_auto_issue does not exist
LINE 1: ..." as "sinvoice_representation_file_as_attachment","res_compa...
^
01/14/2022 00:37:38 ERROR
ERROR: TestAccountIncomingSupplierInvoice.test_supplier_invoice_forwarded_by_internal_with_internal_in_body
Traceback (most recent call last):
File "/opt/odoo/13.0/odoo/api.py", line 748, in get
value = self._data[field][record._ids[0]]
KeyError: 1

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/odoo/13.0/odoo/fields.py", line 1038, in __get__
value = env.cache.get(record, self)
File "/opt/odoo/13.0/odoo/api.py", line 754, in get
raise CacheMiss(record, field)
odoo.exceptions.CacheMiss: ('res.company(1,).name', None)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/odoo/13.0/addons/account/tests/test_account_incoming_supplier_invoice.py", line 18, in setUp
'email': 'internal.user@test.odoo.com',
File "<decorator-gen-386>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 317, in _model_create_single
return create(self, arg)
File "/opt/odoo/13.0/addons/website_slides/models/res_users.py", line 13, in create
user = super(Users, self).create(values)
File "<decorator-gen-312>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 338, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/viindooaddons13.0/to_affiliate/models/res_users.py", line 9, in create
users = super(ResUsers, self).create(vals_list)
File "<decorator-gen-221>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 320, in _model_create_single
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/odoo/api.py", line 320, in <genexpr>
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/addons/digest/models/res_users.py", line 12, in create
user = super(ResUsers, self).create(vals)
File "<decorator-gen-156>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 338, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/viindooaddons13.0/to_erponline_utility/models/res_user.py", line 60, in create
new_users = super(ResUser, self).create(vals_list)
File "<decorator-gen-142>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 320, in _model_create_single
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/odoo/api.py", line 320, in <genexpr>
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/addons/note/models/res_users.py", line 17, in create
user = super(Users, self).create(values)
File "<decorator-gen-137>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 338, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/13.0/addons/gamification/models/res_users.py", line 48, in create
res = super(Users, self).create(values_list)
File "<decorator-gen-123>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 320, in _model_create_single
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/odoo/api.py", line 320, in <genexpr>
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/addons/auth_signup/models/res_users.py", line 236, in create
user = super(ResUsers, self).create(values)
File "<decorator-gen-120>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 317, in _model_create_single
return create(self, arg)
File "/opt/odoo/13.0/addons/mail/models/res_users.py", line 89, in create
user = super(Users, self).create(values)
File "<decorator-gen-92>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 317, in _model_create_single
return create(self, arg)
File "/opt/odoo/13.0/odoo/addons/base/models/res_users.py", line 1221, in create
user = super(UsersView, self).create(values)
File "<decorator-gen-90>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 338, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/13.0/odoo/addons/base/models/res_users.py", line 998, in create
return super(UsersImplied, self).create(vals_list)
File "<decorator-gen-85>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/13.0/odoo/addons/base/models/res_users.py", line 474, in create
users = super(Users, self).create(vals_list)
File "<decorator-gen-98>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/viindooaddons13.0/viin_user_assignment_log/models/base.py", line 11, in create
records = super(Base, self).create(vals_list)
File "<decorator-gen-3>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/13.0/odoo/models.py", line 3819, in create
for data in parent_data_list
File "<decorator-gen-420>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/viindooaddons13.0/to_foreign_trade/models/res_partner.py", line 72, in create
partners = super(res_partner, self).create(vals_list)
File "<decorator-gen-297>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 320, in _model_create_single
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/odoo/api.py", line 320, in <genexpr>
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/addons/base_vat/models/res_partner.py", line 529, in create
return super(ResPartner, self).create(values)
File "<decorator-gen-262>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 338, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/13.0/addons/account/models/partner.py", line 515, in create
return super().create(vals_list)
File "<decorator-gen-143>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/13.0/addons/partner_autocomplete/models/res_partner.py", line 183, in create
partners = super(ResPartner, self).create(vals_list)
File "<decorator-gen-83>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/13.0/odoo/addons/base/models/res_partner.py", line 544, in create
partners = super(Partner, self).create(vals_list)
File "<decorator-gen-115>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/13.0/addons/mail/models/mail_thread.py", line 292, in create
threads_no_subtype._message_log_batch(bodies={t.id: body for t in threads_no_subtype})
File "/opt/odoo/13.0/addons/mail/models/mail_thread.py", line 2090, in _message_log_batch
'reply_to': self.env['mail.thread']._notify_get_reply_to(default=email_from, records=None)[False],
File "/opt/odoo/13.0/addons/mail/models/mail_thread.py", line 2716, in _notify_get_reply_to
company_name = company.name if company else self.env.company.name
File "/opt/odoo/13.0/odoo/fields.py", line 1045, in __get__
recs._fetch_field(self)
File "/opt/odoo/13.0/odoo/models.py", line 3002, in _fetch_field
self._read(fnames)
File "/opt/odoo/13.0/odoo/models.py", line 3074, in _read
cr.execute(query_str, params)
File "/opt/odoo/13.0/odoo/sql_db.py", line 173, in wrapper
return f(self, *args, **kwargs)
File "/opt/odoo/13.0/odoo/sql_db.py", line 250, in execute
res = self._obj.execute(query, params)
psycopg2.ProgrammingError: column res_company.einvoice_auto_issue does not exist
LINE 1: ..." as "sinvoice_representation_file_as_attachment","res_compa...
^
01/14/2022 00:37:38 ERROR
bad query: SELECT "res_company"."id" as "id","res_company"."sequence" as "sequence","res_company"."parent_id" as "parent_id","res_company"."partner_id" as "partner_id","res_company"."report_header" as "report_header","res_company"."report_footer" as "report_footer","res_company"."currency_id" as "currency_id","res_company"."account_no" as "account_no","res_company"."email" as "email","res_company"."phone" as "phone","res_company"."company_registry" as "company_registry","res_company"."paperformat_id" as "paperformat_id","res_company"."external_report_layout_id" as "external_report_layout_id","res_company"."base_onboarding_company_state" as "base_onboarding_company_state","res_company"."primary_color" as "primary_color","res_company"."secondary_color" as "secondary_color","res_company"."font" as "font","res_company"."social_twitter" as "social_twitter","res_company"."social_facebook" as "social_facebook","res_company"."social_github" as "social_github","res_company"."social_linkedin" as "social_linkedin","res_company"."social_youtube" as "social_youtube","res_company"."social_instagram" as "social_instagram","res_company"."hotline" as "hotline","res_company"."nomenclature_id" as "nomenclature_id","res_company"."resource_calendar_id" as "resource_calendar_id","res_company"."name" as "name","res_company"."gengo_private_key" as "gengo_private_key","res_company"."gengo_public_key" as "gengo_public_key","res_company"."gengo_comment" as "gengo_comment","res_company"."gengo_auto_approve" as "gengo_auto_approve","res_company"."gengo_sandbox" as "gengo_sandbox","res_company"."check_unique_vat" as "check_unique_vat","res_company"."rotating_token_life" as "rotating_token_life","res_company"."lunch_minimum_threshold" as "lunch_minimum_threshold","res_company"."partner_gid" as "partner_gid","res_company"."snailmail_color" as "snailmail_color","res_company"."snailmail_cover" as "snailmail_cover","res_company"."snailmail_duplex" as "snailmail_duplex","res_company"."intercompany_user_id" as "intercompany_user_id","res_company"."hr_presence_control_email_amount" as "hr_presence_control_email_amount","res_company"."hr_presence_control_ip_list" as "hr_presence_control_ip_list","res_company"."internal_transit_location_id" as "internal_transit_location_id","res_company"."stock_move_email_validation" as "stock_move_email_validation","res_company"."stock_mail_confirmation_template_id" as "stock_mail_confirmation_template_id","res_company"."send_hbd_email" as "send_hbd_email","res_company"."hdb_email_template_id" as "hdb_email_template_id","res_company"."check_unique_product_default_code" as "check_unique_product_default_code","res_company"."zoom_api_key" as "zoom_api_key","res_company"."zoom_secret_key" as "zoom_secret_key","res_company"."facebook_app_id" as "facebook_app_id","res_company"."facebook_client_secret" as "facebook_client_secret","res_company"."linkedin_app_id" as "linkedin_app_id","res_company"."linkedin_client_secret" as "linkedin_client_secret","res_company"."manufacturing_lead" as "manufacturing_lead","res_company"."stock_move_sms_validation" as "stock_move_sms_validation","res_company"."stock_sms_confirmation_template_id" as "stock_sms_confirmation_template_id","res_company"."has_received_warning_stock_sms" as "has_received_warning_stock_sms","res_company"."fiscalyear_last_day" as "fiscalyear_last_day","res_company"."fiscalyear_last_month" as "fiscalyear_last_month","res_company"."period_lock_date" as "period_lock_date","res_company"."fiscalyear_lock_date" as "fiscalyear_lock_date","res_company"."tax_lock_date" as "tax_lock_date","res_company"."transfer_account_id" as "transfer_account_id","res_company"."expects_chart_of_accounts" as "expects_chart_of_accounts","res_company"."chart_template_id" as "chart_template_id","res_company"."bank_account_code_prefix" as "bank_account_code_prefix","res_company"."cash_account_code_prefix" as "cash_account_code_prefix","res_company"."default_cash_difference_income_account_id" as "default_cash_difference_income_account_id","res_company"."default_cash_difference_expense_account_id" as "default_cash_difference_expense_account_id","res_company"."transfer_account_code_prefix" as "transfer_account_code_prefix","res_company"."account_sale_tax_id" as "account_sale_tax_id","res_company"."account_purchase_tax_id" as "account_purchase_tax_id","res_company"."tax_cash_basis_journal_id" as "tax_cash_basis_journal_id","res_company"."tax_calculation_rounding_method" as "tax_calculation_rounding_method","res_company"."currency_exchange_journal_id" as "currency_exchange_journal_id","res_company"."anglo_saxon_accounting" as "anglo_saxon_accounting","res_company"."property_stock_account_input_categ_id" as "property_stock_account_input_categ_id","res_company"."property_stock_account_output_categ_id" as "property_stock_account_output_categ_id","res_company"."property_stock_valuation_account_id" as "property_stock_valuation_account_id","res_company"."tax_exigibility" as "tax_exigibility","res_company"."account_bank_reconciliation_start" as "account_bank_reconciliation_start","res_company"."incoterm_id" as "incoterm_id","res_company"."qr_code" as "qr_code","res_company"."invoice_is_email" as "invoice_is_email","res_company"."invoice_is_print" as "invoice_is_print","res_company"."account_opening_move_id" as "account_opening_move_id","res_company"."account_setup_bank_data_state" as "account_setup_bank_data_state","res_company"."account_setup_fy_data_state" as "account_setup_fy_data_state","res_company"."account_setup_coa_state" as "account_setup_coa_state","res_company"."account_onboarding_invoice_layout_state" as "account_onboarding_invoice_layout_state","res_company"."account_onboarding_sample_invoice_state" as "account_onboarding_sample_invoice_state","res_company"."account_onboarding_sale_tax_state" as "account_onboarding_sale_tax_state","res_company"."account_invoice_onboarding_state" as "account_invoice_onboarding_state","res_company"."account_dashboard_onboarding_state" as "account_dashboard_onboarding_state","res_company"."invoice_terms" as "invoice_terms","res_company"."account_default_pos_receivable_account_id" as "account_default_pos_receivable_account_id","res_company"."expense_accrual_account_id" as "expense_accrual_account_id","res_company"."revenue_accrual_account_id" as "revenue_accrual_account_id","res_company"."accrual_default_journal_id" as "accrual_default_journal_id","res_company"."hr_presence_last_compute_date" as "hr_presence_last_compute_date","res_company"."subcontracting_location_id" as "subcontracting_location_id","res_company"."default_helpdesk_team_id" as "default_helpdesk_team_id","res_company"."account_check_printing_layout" as "account_check_printing_layout","res_company"."account_check_printing_date_label" as "account_check_printing_date_label","res_company"."account_check_printing_multi_stub" as "account_check_printing_multi_stub","res_company"."account_check_printing_margin_top" as "account_check_printing_margin_top","res_company"."account_check_printing_margin_left" as "account_check_printing_margin_left","res_company"."account_check_printing_margin_right" as "account_check_printing_margin_right","res_company"."vat_check_vies" as "vat_check_vies","res_company"."project_time_mode_id" as "project_time_mode_id","res_company"."timesheet_encode_uom_id" as "timesheet_encode_uom_id","res_company"."payment_acquirer_onboarding_state" as "payment_acquirer_onboarding_state","res_company"."payment_onboarding_payment_method" as "payment_onboarding_payment_method","res_company"."po_lead" as "po_lead","res_company"."po_lock" as "po_lock","res_company"."po_double_validation" as "po_double_validation","res_company"."po_double_validation_amount" as "po_double_validation_amount","res_company"."invoice_is_snailmail" as "invoice_is_snailmail","res_company"."balance_carry_forward_journal_id" as "balance_carry_forward_journal_id","res_company"."affiliate_comm_percentage" as "affiliate_comm_percentage","res_company"."affiliate_cookie_age" as "affiliate_cookie_age","res_company"."affiliate_min_payout" as "affiliate_min_payout","res_company"."commission_product_id" as "commission_product_id","res_company"."aff_allowed" as "aff_allowed","res_company"."compute_aff_method" as "compute_aff_method","res_company"."main_currency_bank_id" as "main_currency_bank_id","res_company"."amount_double_validation" as "amount_double_validation","res_company"."use_employee_advance_pass_through_account" as "use_employee_advance_pass_through_account","res_company"."loan_borrowing_journal_id" as "loan_borrowing_journal_id","res_company"."loan_borrowing_account_id" as "loan_borrowing_account_id","res_company"."loan_lending_journal_id" as "loan_lending_journal_id","res_company"."loan_lending_account_id" as "loan_lending_account_id","res_company"."vendor_app_comm_percent" as "vendor_app_comm_percent","res_company"."vendor_app_min_payout" as "vendor_app_min_payout","res_company"."dedicated_app_download_token_lifetime" as "dedicated_app_download_token_lifetime","res_company"."app_download_token_lifetime" as "app_download_token_lifetime","res_company"."leave_timesheet_project_id" as "leave_timesheet_project_id","res_company"."leave_timesheet_task_id" as "leave_timesheet_task_id","res_company"."portal_confirmation_sign" as "portal_confirmation_sign","res_company"."portal_confirmation_pay" as "portal_confirmation_pay","res_company"."quotation_validity_days" as "quotation_validity_days","res_company"."sale_quotation_onboarding_state" as "sale_quotation_onboarding_state","res_company"."sale_onboarding_order_confirmation_state" as "sale_onboarding_order_confirmation_state","res_company"."sale_onboarding_sample_quotation_state" as "sale_onboarding_sample_quotation_state","res_company"."sale_onboarding_payment_method" as "sale_onboarding_payment_method","res_company"."days_between_two_followups" as "days_between_two_followups","res_company"."overdue_msg" as "overdue_msg","res_company"."totals_below_sections" as "totals_below_sections","res_company"."currency_conversion_diff_journal_id" as "currency_conversion_diff_journal_id","res_company"."einvoice_lock_legal_number" as "einvoice_lock_legal_number","res_company"."einvoice_issue_earliest_invoice_first" as "einvoice_issue_earliest_invoice_first","res_company"."sinvoice_exchange_file_as_attachment" as "sinvoice_exchange_file_as_attachment","res_company"."sinvoice_representation_file_as_attachment" as "sinvoice_representation_file_as_attachment","res_company"."einvoice_auto_issue" as "einvoice_auto_issue","res_company"."basic_wage_rule_categ_id" as "basic_wage_rule_categ_id","res_company"."gross_salary_rule_categ_id" as "gross_salary_rule_categ_id","res_company"."tax_base_rule_categ_id" as "tax_base_rule_categ_id","res_company"."net_income_salary_rule_categ_id" as "net_income_salary_rule_categ_id","res_company"."payslips_auto_generation" as "payslips_auto_generation","res_company"."payslips_auto_generation_mode" as "payslips_auto_generation_mode","res_company"."payslips_auto_generation_day" as "payslips_auto_generation_day","res_company"."payslips_auto_generation_lang" as "payslips_auto_generation_lang","res_company"."salary_cycle_id" as "salary_cycle_id","res_company"."property_promotion_voucher_profit_account_id" as "property_promotion_voucher_profit_account_id","res_company"."property_promotion_voucher_loss_account_id" as "property_promotion_voucher_loss_account_id","res_company"."property_unearn_revenue_account_id" as "property_unearn_revenue_account_id","res_company"."allow_edit_website_jobs_company_setting" as "allow_edit_website_jobs_company_setting","res_company"."security_lead" as "security_lead","res_company"."lc_journal_id" as "lc_journal_id","res_company"."payslip_batch_journal_entry" as "payslip_batch_journal_entry","res_company"."default_meal_emp_price" as "default_meal_emp_price","res_company"."general_overhead" as "general_overhead","res_company"."loyalty_points_reward_policy" as "loyalty_points_reward_policy","res_company"."manufacturing_period" as "manufacturing_period","res_company"."manufacturing_period_to_display" as "manufacturing_period_to_display","res_company"."mrp_mps_show_starting_inventory" as "mrp_mps_show_starting_inventory","res_company"."mrp_mps_show_demand_forecast" as "mrp_mps_show_demand_forecast","res_company"."mrp_mps_show_actual_demand" as "mrp_mps_show_actual_demand","res_company"."mrp_mps_show_indirect_demand" as "mrp_mps_show_indirect_demand","res_company"."mrp_mps_show_to_replenish" as "mrp_mps_show_to_replenish","res_company"."mrp_mps_show_actual_replenishment" as "mrp_mps_show_actual_replenishment","res_company"."mrp_mps_show_safety_stock" as "mrp_mps_show_safety_stock","res_company"."mrp_mps_show_available_to_promise" as "mrp_mps_show_available_to_promise","res_company"."sales_price_modifying_group_id" as "sales_price_modifying_group_id","res_company"."prevent_unlink_related_invoices" as "prevent_unlink_related_invoices","res_company"."website_sale_onboarding_payment_acquirer_state" as "website_sale_onboarding_payment_acquirer_state","res_company"."sinvoice_mode" as "sinvoice_mode","res_company"."sinvoice_start" as "sinvoice_start","res_company"."account_sinvoice_serial_id" as "account_sinvoice_serial_id","res_company"."account_sinvoice_template_id" as "account_sinvoice_template_id","res_company"."account_sinvoice_type_id" as "account_sinvoice_type_id","res_company"."sinvoice_synch_payment_status" as "sinvoice_synch_payment_status","res_company"."sinvoice_conversion_user_id" as "sinvoice_conversion_user_id","res_company"."sinvoice_api_username" as "sinvoice_api_username","res_company"."sinvoice_api_password" as "sinvoice_api_password","res_company"."sinvoice_max_len_bank_name" as "sinvoice_max_len_bank_name","res_company"."sinvoice_max_len_bank_account" as "sinvoice_max_len_bank_account","res_company"."einvoice_provider" as "einvoice_provider","res_company"."vninvoice_mode" as "vninvoice_mode","res_company"."vninvoice_start_date" as "vninvoice_start_date","res_company"."account_vninvoice_serial_id" as "account_vninvoice_serial_id","res_company"."account_vninvoice_template_id" as "account_vninvoice_template_id","res_company"."account_vninvoice_type_id" as "account_vninvoice_type_id","res_company"."vninvoice_api_username" as "vninvoice_api_username","res_company"."vninvoice_api_password" as "vninvoice_api_password","res_company"."account_journal_custom_clearance" as "account_journal_custom_clearance","res_company"."imp_custom_dec_sequence_id" as "imp_custom_dec_sequence_id","res_company"."exp_custom_dec_sequence_id" as "exp_custom_dec_sequence_id","res_company"."overtime_recognition_mode" as "overtime_recognition_mode","res_company"."prevent_unlink_related_pickings" as "prevent_unlink_related_pickings","res_company"."landed_cost_journal_id" as "landed_cost_journal_id","res_company"."applicable_on" as "applicable_on","res_company"."so_po_auto_validation" as "so_po_auto_validation","res_company"."import_vat_ctp_account_id" as "import_vat_ctp_account_id","res_company"."import_tax_payment_term" as "import_tax_payment_term","res_company"."export_vat_ctp_account_id" as "export_vat_ctp_account_id","res_company"."export_tax_payment_term" as "export_tax_payment_term","res_company"."use_intermediary_account" as "use_intermediary_account","res_company"."inter_comp_warehouse_id" as "inter_comp_warehouse_id","res_company"."create_uid" as "create_uid","res_company"."create_date" as "create_date","res_company"."write_uid" as "write_uid","res_company"."write_date" as "write_date" FROM "res_company" WHERE "res_company".id IN (1)
ERROR: column res_company.einvoice_auto_issue does not exist
LINE 1: ..." as "sinvoice_representation_file_as_attachment","res_compa...
^
01/14/2022 00:37:38 ERROR
ERROR: TestAccountIncomingSupplierInvoice.test_supplier_invoice_forwarded_by_internal_with_supplier_in_body
Traceback (most recent call last):
File "/opt/odoo/13.0/odoo/api.py", line 748, in get
value = self._data[field][record._ids[0]]
KeyError: 1

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/odoo/13.0/odoo/fields.py", line 1038, in __get__
value = env.cache.get(record, self)
File "/opt/odoo/13.0/odoo/api.py", line 754, in get
raise CacheMiss(record, field)
odoo.exceptions.CacheMiss: ('res.company(1,).name', None)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/odoo/13.0/addons/account/tests/test_account_incoming_supplier_invoice.py", line 18, in setUp
'email': 'internal.user@test.odoo.com',
File "<decorator-gen-386>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 317, in _model_create_single
return create(self, arg)
File "/opt/odoo/13.0/addons/website_slides/models/res_users.py", line 13, in create
user = super(Users, self).create(values)
File "<decorator-gen-312>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 338, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/viindooaddons13.0/to_affiliate/models/res_users.py", line 9, in create
users = super(ResUsers, self).create(vals_list)
File "<decorator-gen-221>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 320, in _model_create_single
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/odoo/api.py", line 320, in <genexpr>
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/addons/digest/models/res_users.py", line 12, in create
user = super(ResUsers, self).create(vals)
File "<decorator-gen-156>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 338, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/viindooaddons13.0/to_erponline_utility/models/res_user.py", line 60, in create
new_users = super(ResUser, self).create(vals_list)
File "<decorator-gen-142>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 320, in _model_create_single
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/odoo/api.py", line 320, in <genexpr>
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/addons/note/models/res_users.py", line 17, in create
user = super(Users, self).create(values)
File "<decorator-gen-137>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 338, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/13.0/addons/gamification/models/res_users.py", line 48, in create
res = super(Users, self).create(values_list)
File "<decorator-gen-123>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 320, in _model_create_single
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/odoo/api.py", line 320, in <genexpr>
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/addons/auth_signup/models/res_users.py", line 236, in create
user = super(ResUsers, self).create(values)
File "<decorator-gen-120>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 317, in _model_create_single
return create(self, arg)
File "/opt/odoo/13.0/addons/mail/models/res_users.py", line 89, in create
user = super(Users, self).create(values)
File "<decorator-gen-92>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 317, in _model_create_single
return create(self, arg)
File "/opt/odoo/13.0/odoo/addons/base/models/res_users.py", line 1221, in create
user = super(UsersView, self).create(values)
File "<decorator-gen-90>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 338, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/13.0/odoo/addons/base/models/res_users.py", line 998, in create
return super(UsersImplied, self).create(vals_list)
File "<decorator-gen-85>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/13.0/odoo/addons/base/models/res_users.py", line 474, in create
users = super(Users, self).create(vals_list)
File "<decorator-gen-98>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/viindooaddons13.0/viin_user_assignment_log/models/base.py", line 11, in create
records = super(Base, self).create(vals_list)
File "<decorator-gen-3>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/13.0/odoo/models.py", line 3819, in create
for data in parent_data_list
File "<decorator-gen-420>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/viindooaddons13.0/to_foreign_trade/models/res_partner.py", line 72, in create
partners = super(res_partner, self).create(vals_list)
File "<decorator-gen-297>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 320, in _model_create_single
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/odoo/api.py", line 320, in <genexpr>
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/addons/base_vat/models/res_partner.py", line 529, in create
return super(ResPartner, self).create(values)
File "<decorator-gen-262>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 338, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/13.0/addons/account/models/partner.py", line 515, in create
return super().create(vals_list)
File "<decorator-gen-143>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/13.0/addons/partner_autocomplete/models/res_partner.py", line 183, in create
partners = super(ResPartner, self).create(vals_list)
File "<decorator-gen-83>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/13.0/odoo/addons/base/models/res_partner.py", line 544, in create
partners = super(Partner, self).create(vals_list)
File "<decorator-gen-115>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/13.0/addons/mail/models/mail_thread.py", line 292, in create
threads_no_subtype._message_log_batch(bodies={t.id: body for t in threads_no_subtype})
File "/opt/odoo/13.0/addons/mail/models/mail_thread.py", line 2090, in _message_log_batch
'reply_to': self.env['mail.thread']._notify_get_reply_to(default=email_from, records=None)[False],
File "/opt/odoo/13.0/addons/mail/models/mail_thread.py", line 2716, in _notify_get_reply_to
company_name = company.name if company else self.env.company.name
File "/opt/odoo/13.0/odoo/fields.py", line 1045, in __get__
recs._fetch_field(self)
File "/opt/odoo/13.0/odoo/models.py", line 3002, in _fetch_field
self._read(fnames)
File "/opt/odoo/13.0/odoo/models.py", line 3074, in _read
cr.execute(query_str, params)
File "/opt/odoo/13.0/odoo/sql_db.py", line 173, in wrapper
return f(self, *args, **kwargs)
File "/opt/odoo/13.0/odoo/sql_db.py", line 250, in execute
res = self._obj.execute(query, params)
psycopg2.ProgrammingError: column res_company.einvoice_auto_issue does not exist
LINE 1: ..." as "sinvoice_representation_file_as_attachment","res_compa...
^
01/14/2022 00:37:38 ERROR
bad query: SELECT "res_company"."id" as "id","res_company"."sequence" as "sequence","res_company"."parent_id" as "parent_id","res_company"."partner_id" as "partner_id","res_company"."report_header" as "report_header","res_company"."report_footer" as "report_footer","res_company"."currency_id" as "currency_id","res_company"."account_no" as "account_no","res_company"."email" as "email","res_company"."phone" as "phone","res_company"."company_registry" as "company_registry","res_company"."paperformat_id" as "paperformat_id","res_company"."external_report_layout_id" as "external_report_layout_id","res_company"."base_onboarding_company_state" as "base_onboarding_company_state","res_company"."primary_color" as "primary_color","res_company"."secondary_color" as "secondary_color","res_company"."font" as "font","res_company"."social_twitter" as "social_twitter","res_company"."social_facebook" as "social_facebook","res_company"."social_github" as "social_github","res_company"."social_linkedin" as "social_linkedin","res_company"."social_youtube" as "social_youtube","res_company"."social_instagram" as "social_instagram","res_company"."hotline" as "hotline","res_company"."nomenclature_id" as "nomenclature_id","res_company"."resource_calendar_id" as "resource_calendar_id","res_company"."name" as "name","res_company"."gengo_private_key" as "gengo_private_key","res_company"."gengo_public_key" as "gengo_public_key","res_company"."gengo_comment" as "gengo_comment","res_company"."gengo_auto_approve" as "gengo_auto_approve","res_company"."gengo_sandbox" as "gengo_sandbox","res_company"."check_unique_vat" as "check_unique_vat","res_company"."rotating_token_life" as "rotating_token_life","res_company"."lunch_minimum_threshold" as "lunch_minimum_threshold","res_company"."partner_gid" as "partner_gid","res_company"."snailmail_color" as "snailmail_color","res_company"."snailmail_cover" as "snailmail_cover","res_company"."snailmail_duplex" as "snailmail_duplex","res_company"."intercompany_user_id" as "intercompany_user_id","res_company"."hr_presence_control_email_amount" as "hr_presence_control_email_amount","res_company"."hr_presence_control_ip_list" as "hr_presence_control_ip_list","res_company"."internal_transit_location_id" as "internal_transit_location_id","res_company"."stock_move_email_validation" as "stock_move_email_validation","res_company"."stock_mail_confirmation_template_id" as "stock_mail_confirmation_template_id","res_company"."send_hbd_email" as "send_hbd_email","res_company"."hdb_email_template_id" as "hdb_email_template_id","res_company"."check_unique_product_default_code" as "check_unique_product_default_code","res_company"."zoom_api_key" as "zoom_api_key","res_company"."zoom_secret_key" as "zoom_secret_key","res_company"."facebook_app_id" as "facebook_app_id","res_company"."facebook_client_secret" as "facebook_client_secret","res_company"."linkedin_app_id" as "linkedin_app_id","res_company"."linkedin_client_secret" as "linkedin_client_secret","res_company"."manufacturing_lead" as "manufacturing_lead","res_company"."stock_move_sms_validation" as "stock_move_sms_validation","res_company"."stock_sms_confirmation_template_id" as "stock_sms_confirmation_template_id","res_company"."has_received_warning_stock_sms" as "has_received_warning_stock_sms","res_company"."fiscalyear_last_day" as "fiscalyear_last_day","res_company"."fiscalyear_last_month" as "fiscalyear_last_month","res_company"."period_lock_date" as "period_lock_date","res_company"."fiscalyear_lock_date" as "fiscalyear_lock_date","res_company"."tax_lock_date" as "tax_lock_date","res_company"."transfer_account_id" as "transfer_account_id","res_company"."expects_chart_of_accounts" as "expects_chart_of_accounts","res_company"."chart_template_id" as "chart_template_id","res_company"."bank_account_code_prefix" as "bank_account_code_prefix","res_company"."cash_account_code_prefix" as "cash_account_code_prefix","res_company"."default_cash_difference_income_account_id" as "default_cash_difference_income_account_id","res_company"."default_cash_difference_expense_account_id" as "default_cash_difference_expense_account_id","res_company"."transfer_account_code_prefix" as "transfer_account_code_prefix","res_company"."account_sale_tax_id" as "account_sale_tax_id","res_company"."account_purchase_tax_id" as "account_purchase_tax_id","res_company"."tax_cash_basis_journal_id" as "tax_cash_basis_journal_id","res_company"."tax_calculation_rounding_method" as "tax_calculation_rounding_method","res_company"."currency_exchange_journal_id" as "currency_exchange_journal_id","res_company"."anglo_saxon_accounting" as "anglo_saxon_accounting","res_company"."property_stock_account_input_categ_id" as "property_stock_account_input_categ_id","res_company"."property_stock_account_output_categ_id" as "property_stock_account_output_categ_id","res_company"."property_stock_valuation_account_id" as "property_stock_valuation_account_id","res_company"."tax_exigibility" as "tax_exigibility","res_company"."account_bank_reconciliation_start" as "account_bank_reconciliation_start","res_company"."incoterm_id" as "incoterm_id","res_company"."qr_code" as "qr_code","res_company"."invoice_is_email" as "invoice_is_email","res_company"."invoice_is_print" as "invoice_is_print","res_company"."account_opening_move_id" as "account_opening_move_id","res_company"."account_setup_bank_data_state" as "account_setup_bank_data_state","res_company"."account_setup_fy_data_state" as "account_setup_fy_data_state","res_company"."account_setup_coa_state" as "account_setup_coa_state","res_company"."account_onboarding_invoice_layout_state" as "account_onboarding_invoice_layout_state","res_company"."account_onboarding_sample_invoice_state" as "account_onboarding_sample_invoice_state","res_company"."account_onboarding_sale_tax_state" as "account_onboarding_sale_tax_state","res_company"."account_invoice_onboarding_state" as "account_invoice_onboarding_state","res_company"."account_dashboard_onboarding_state" as "account_dashboard_onboarding_state","res_company"."invoice_terms" as "invoice_terms","res_company"."account_default_pos_receivable_account_id" as "account_default_pos_receivable_account_id","res_company"."expense_accrual_account_id" as "expense_accrual_account_id","res_company"."revenue_accrual_account_id" as "revenue_accrual_account_id","res_company"."accrual_default_journal_id" as "accrual_default_journal_id","res_company"."hr_presence_last_compute_date" as "hr_presence_last_compute_date","res_company"."subcontracting_location_id" as "subcontracting_location_id","res_company"."default_helpdesk_team_id" as "default_helpdesk_team_id","res_company"."account_check_printing_layout" as "account_check_printing_layout","res_company"."account_check_printing_date_label" as "account_check_printing_date_label","res_company"."account_check_printing_multi_stub" as "account_check_printing_multi_stub","res_company"."account_check_printing_margin_top" as "account_check_printing_margin_top","res_company"."account_check_printing_margin_left" as "account_check_printing_margin_left","res_company"."account_check_printing_margin_right" as "account_check_printing_margin_right","res_company"."vat_check_vies" as "vat_check_vies","res_company"."project_time_mode_id" as "project_time_mode_id","res_company"."timesheet_encode_uom_id" as "timesheet_encode_uom_id","res_company"."payment_acquirer_onboarding_state" as "payment_acquirer_onboarding_state","res_company"."payment_onboarding_payment_method" as "payment_onboarding_payment_method","res_company"."po_lead" as "po_lead","res_company"."po_lock" as "po_lock","res_company"."po_double_validation" as "po_double_validation","res_company"."po_double_validation_amount" as "po_double_validation_amount","res_company"."invoice_is_snailmail" as "invoice_is_snailmail","res_company"."balance_carry_forward_journal_id" as "balance_carry_forward_journal_id","res_company"."affiliate_comm_percentage" as "affiliate_comm_percentage","res_company"."affiliate_cookie_age" as "affiliate_cookie_age","res_company"."affiliate_min_payout" as "affiliate_min_payout","res_company"."commission_product_id" as "commission_product_id","res_company"."aff_allowed" as "aff_allowed","res_company"."compute_aff_method" as "compute_aff_method","res_company"."main_currency_bank_id" as "main_currency_bank_id","res_company"."amount_double_validation" as "amount_double_validation","res_company"."use_employee_advance_pass_through_account" as "use_employee_advance_pass_through_account","res_company"."loan_borrowing_journal_id" as "loan_borrowing_journal_id","res_company"."loan_borrowing_account_id" as "loan_borrowing_account_id","res_company"."loan_lending_journal_id" as "loan_lending_journal_id","res_company"."loan_lending_account_id" as "loan_lending_account_id","res_company"."vendor_app_comm_percent" as "vendor_app_comm_percent","res_company"."vendor_app_min_payout" as "vendor_app_min_payout","res_company"."dedicated_app_download_token_lifetime" as "dedicated_app_download_token_lifetime","res_company"."app_download_token_lifetime" as "app_download_token_lifetime","res_company"."leave_timesheet_project_id" as "leave_timesheet_project_id","res_company"."leave_timesheet_task_id" as "leave_timesheet_task_id","res_company"."portal_confirmation_sign" as "portal_confirmation_sign","res_company"."portal_confirmation_pay" as "portal_confirmation_pay","res_company"."quotation_validity_days" as "quotation_validity_days","res_company"."sale_quotation_onboarding_state" as "sale_quotation_onboarding_state","res_company"."sale_onboarding_order_confirmation_state" as "sale_onboarding_order_confirmation_state","res_company"."sale_onboarding_sample_quotation_state" as "sale_onboarding_sample_quotation_state","res_company"."sale_onboarding_payment_method" as "sale_onboarding_payment_method","res_company"."days_between_two_followups" as "days_between_two_followups","res_company"."overdue_msg" as "overdue_msg","res_company"."totals_below_sections" as "totals_below_sections","res_company"."currency_conversion_diff_journal_id" as "currency_conversion_diff_journal_id","res_company"."einvoice_lock_legal_number" as "einvoice_lock_legal_number","res_company"."einvoice_issue_earliest_invoice_first" as "einvoice_issue_earliest_invoice_first","res_company"."sinvoice_exchange_file_as_attachment" as "sinvoice_exchange_file_as_attachment","res_company"."sinvoice_representation_file_as_attachment" as "sinvoice_representation_file_as_attachment","res_company"."einvoice_auto_issue" as "einvoice_auto_issue","res_company"."basic_wage_rule_categ_id" as "basic_wage_rule_categ_id","res_company"."gross_salary_rule_categ_id" as "gross_salary_rule_categ_id","res_company"."tax_base_rule_categ_id" as "tax_base_rule_categ_id","res_company"."net_income_salary_rule_categ_id" as "net_income_salary_rule_categ_id","res_company"."payslips_auto_generation" as "payslips_auto_generation","res_company"."payslips_auto_generation_mode" as "payslips_auto_generation_mode","res_company"."payslips_auto_generation_day" as "payslips_auto_generation_day","res_company"."payslips_auto_generation_lang" as "payslips_auto_generation_lang","res_company"."salary_cycle_id" as "salary_cycle_id","res_company"."property_promotion_voucher_profit_account_id" as "property_promotion_voucher_profit_account_id","res_company"."property_promotion_voucher_loss_account_id" as "property_promotion_voucher_loss_account_id","res_company"."property_unearn_revenue_account_id" as "property_unearn_revenue_account_id","res_company"."allow_edit_website_jobs_company_setting" as "allow_edit_website_jobs_company_setting","res_company"."security_lead" as "security_lead","res_company"."lc_journal_id" as "lc_journal_id","res_company"."payslip_batch_journal_entry" as "payslip_batch_journal_entry","res_company"."default_meal_emp_price" as "default_meal_emp_price","res_company"."general_overhead" as "general_overhead","res_company"."loyalty_points_reward_policy" as "loyalty_points_reward_policy","res_company"."manufacturing_period" as "manufacturing_period","res_company"."manufacturing_period_to_display" as "manufacturing_period_to_display","res_company"."mrp_mps_show_starting_inventory" as "mrp_mps_show_starting_inventory","res_company"."mrp_mps_show_demand_forecast" as "mrp_mps_show_demand_forecast","res_company"."mrp_mps_show_actual_demand" as "mrp_mps_show_actual_demand","res_company"."mrp_mps_show_indirect_demand" as "mrp_mps_show_indirect_demand","res_company"."mrp_mps_show_to_replenish" as "mrp_mps_show_to_replenish","res_company"."mrp_mps_show_actual_replenishment" as "mrp_mps_show_actual_replenishment","res_company"."mrp_mps_show_safety_stock" as "mrp_mps_show_safety_stock","res_company"."mrp_mps_show_available_to_promise" as "mrp_mps_show_available_to_promise","res_company"."sales_price_modifying_group_id" as "sales_price_modifying_group_id","res_company"."prevent_unlink_related_invoices" as "prevent_unlink_related_invoices","res_company"."website_sale_onboarding_payment_acquirer_state" as "website_sale_onboarding_payment_acquirer_state","res_company"."sinvoice_mode" as "sinvoice_mode","res_company"."sinvoice_start" as "sinvoice_start","res_company"."account_sinvoice_serial_id" as "account_sinvoice_serial_id","res_company"."account_sinvoice_template_id" as "account_sinvoice_template_id","res_company"."account_sinvoice_type_id" as "account_sinvoice_type_id","res_company"."sinvoice_synch_payment_status" as "sinvoice_synch_payment_status","res_company"."sinvoice_conversion_user_id" as "sinvoice_conversion_user_id","res_company"."sinvoice_api_username" as "sinvoice_api_username","res_company"."sinvoice_api_password" as "sinvoice_api_password","res_company"."sinvoice_max_len_bank_name" as "sinvoice_max_len_bank_name","res_company"."sinvoice_max_len_bank_account" as "sinvoice_max_len_bank_account","res_company"."einvoice_provider" as "einvoice_provider","res_company"."vninvoice_mode" as "vninvoice_mode","res_company"."vninvoice_start_date" as "vninvoice_start_date","res_company"."account_vninvoice_serial_id" as "account_vninvoice_serial_id","res_company"."account_vninvoice_template_id" as "account_vninvoice_template_id","res_company"."account_vninvoice_type_id" as "account_vninvoice_type_id","res_company"."vninvoice_api_username" as "vninvoice_api_username","res_company"."vninvoice_api_password" as "vninvoice_api_password","res_company"."account_journal_custom_clearance" as "account_journal_custom_clearance","res_company"."imp_custom_dec_sequence_id" as "imp_custom_dec_sequence_id","res_company"."exp_custom_dec_sequence_id" as "exp_custom_dec_sequence_id","res_company"."overtime_recognition_mode" as "overtime_recognition_mode","res_company"."prevent_unlink_related_pickings" as "prevent_unlink_related_pickings","res_company"."landed_cost_journal_id" as "landed_cost_journal_id","res_company"."applicable_on" as "applicable_on","res_company"."so_po_auto_validation" as "so_po_auto_validation","res_company"."import_vat_ctp_account_id" as "import_vat_ctp_account_id","res_company"."import_tax_payment_term" as "import_tax_payment_term","res_company"."export_vat_ctp_account_id" as "export_vat_ctp_account_id","res_company"."export_tax_payment_term" as "export_tax_payment_term","res_company"."use_intermediary_account" as "use_intermediary_account","res_company"."inter_comp_warehouse_id" as "inter_comp_warehouse_id","res_company"."create_uid" as "create_uid","res_company"."create_date" as "create_date","res_company"."write_uid" as "write_uid","res_company"."write_date" as "write_date" FROM "res_company" WHERE "res_company".id IN (1)
ERROR: column res_company.einvoice_auto_issue does not exist
LINE 1: ..." as "sinvoice_representation_file_as_attachment","res_compa...
^
01/14/2022 00:37:38 ERROR
ERROR: TestAccountIncomingSupplierInvoice.test_supplier_invoice_mailed_from_supplier
Traceback (most recent call last):
File "/opt/odoo/13.0/odoo/api.py", line 748, in get
value = self._data[field][record._ids[0]]
KeyError: 1

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/odoo/13.0/odoo/fields.py", line 1038, in __get__
value = env.cache.get(record, self)
File "/opt/odoo/13.0/odoo/api.py", line 754, in get
raise CacheMiss(record, field)
odoo.exceptions.CacheMiss: ('res.company(1,).name', None)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/odoo/13.0/addons/account/tests/test_account_incoming_supplier_invoice.py", line 18, in setUp
'email': 'internal.user@test.odoo.com',
File "<decorator-gen-386>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 317, in _model_create_single
return create(self, arg)
File "/opt/odoo/13.0/addons/website_slides/models/res_users.py", line 13, in create
user = super(Users, self).create(values)
File "<decorator-gen-312>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 338, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/viindooaddons13.0/to_affiliate/models/res_users.py", line 9, in create
users = super(ResUsers, self).create(vals_list)
File "<decorator-gen-221>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 320, in _model_create_single
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/odoo/api.py", line 320, in <genexpr>
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/addons/digest/models/res_users.py", line 12, in create
user = super(ResUsers, self).create(vals)
File "<decorator-gen-156>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 338, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/viindooaddons13.0/to_erponline_utility/models/res_user.py", line 60, in create
new_users = super(ResUser, self).create(vals_list)
File "<decorator-gen-142>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 320, in _model_create_single
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/odoo/api.py", line 320, in <genexpr>
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/addons/note/models/res_users.py", line 17, in create
user = super(Users, self).create(values)
File "<decorator-gen-137>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 338, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/13.0/addons/gamification/models/res_users.py", line 48, in create
res = super(Users, self).create(values_list)
File "<decorator-gen-123>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 320, in _model_create_single
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/odoo/api.py", line 320, in <genexpr>
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/addons/auth_signup/models/res_users.py", line 236, in create
user = super(ResUsers, self).create(values)
File "<decorator-gen-120>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 317, in _model_create_single
return create(self, arg)
File "/opt/odoo/13.0/addons/mail/models/res_users.py", line 89, in create
user = super(Users, self).create(values)
File "<decorator-gen-92>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 317, in _model_create_single
return create(self, arg)
File "/opt/odoo/13.0/odoo/addons/base/models/res_users.py", line 1221, in create
user = super(UsersView, self).create(values)
File "<decorator-gen-90>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 338, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/13.0/odoo/addons/base/models/res_users.py", line 998, in create
return super(UsersImplied, self).create(vals_list)
File "<decorator-gen-85>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/13.0/odoo/addons/base/models/res_users.py", line 474, in create
users = super(Users, self).create(vals_list)
File "<decorator-gen-98>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/viindooaddons13.0/viin_user_assignment_log/models/base.py", line 11, in create
records = super(Base, self).create(vals_list)
File "<decorator-gen-3>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/13.0/odoo/models.py", line 3819, in create
for data in parent_data_list
File "<decorator-gen-420>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/viindooaddons13.0/to_foreign_trade/models/res_partner.py", line 72, in create
partners = super(res_partner, self).create(vals_list)
File "<decorator-gen-297>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 320, in _model_create_single
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/odoo/api.py", line 320, in <genexpr>
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/addons/base_vat/models/res_partner.py", line 529, in create
return super(ResPartner, self).create(values)
File "<decorator-gen-262>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 338, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/13.0/addons/account/models/partner.py", line 515, in create
return super().create(vals_list)
File "<decorator-gen-143>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/13.0/addons/partner_autocomplete/models/res_partner.py", line 183, in create
partners = super(ResPartner, self).create(vals_list)
File "<decorator-gen-83>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/13.0/odoo/addons/base/models/res_partner.py", line 544, in create
partners = super(Partner, self).create(vals_list)
File "<decorator-gen-115>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/13.0/addons/mail/models/mail_thread.py", line 292, in create
threads_no_subtype._message_log_batch(bodies={t.id: body for t in threads_no_subtype})
File "/opt/odoo/13.0/addons/mail/models/mail_thread.py", line 2090, in _message_log_batch
'reply_to': self.env['mail.thread']._notify_get_reply_to(default=email_from, records=None)[False],
File "/opt/odoo/13.0/addons/mail/models/mail_thread.py", line 2716, in _notify_get_reply_to
company_name = company.name if company else self.env.company.name
File "/opt/odoo/13.0/odoo/fields.py", line 1045, in __get__
recs._fetch_field(self)
File "/opt/odoo/13.0/odoo/models.py", line 3002, in _fetch_field
self._read(fnames)
File "/opt/odoo/13.0/odoo/models.py", line 3074, in _read
cr.execute(query_str, params)
File "/opt/odoo/13.0/odoo/sql_db.py", line 173, in wrapper
return f(self, *args, **kwargs)
File "/opt/odoo/13.0/odoo/sql_db.py", line 250, in execute
res = self._obj.execute(query, params)
psycopg2.ProgrammingError: column res_company.einvoice_auto_issue does not exist
LINE 1: ..." as "sinvoice_representation_file_as_attachment","res_compa...
^
01/14/2022 00:37:38 ERROR
Module account: 0 failures, 4 errors
01/14/2022 00:37:39 ERROR
bad query: SELECT "res_company"."id" as "id","res_company"."sequence" as "sequence","res_company"."parent_id" as "parent_id","res_company"."partner_id" as "partner_id","res_company"."report_header" as "report_header","res_company"."report_footer" as "report_footer","res_company"."currency_id" as "currency_id","res_company"."account_no" as "account_no","res_company"."email" as "email","res_company"."phone" as "phone","res_company"."company_registry" as "company_registry","res_company"."paperformat_id" as "paperformat_id","res_company"."external_report_layout_id" as "external_report_layout_id","res_company"."base_onboarding_company_state" as "base_onboarding_company_state","res_company"."primary_color" as "primary_color","res_company"."secondary_color" as "secondary_color","res_company"."font" as "font","res_company"."social_twitter" as "social_twitter","res_company"."social_facebook" as "social_facebook","res_company"."social_github" as "social_github","res_company"."social_linkedin" as "social_linkedin","res_company"."social_youtube" as "social_youtube","res_company"."social_instagram" as "social_instagram","res_company"."hotline" as "hotline","res_company"."nomenclature_id" as "nomenclature_id","res_company"."resource_calendar_id" as "resource_calendar_id","res_company"."name" as "name","res_company"."gengo_private_key" as "gengo_private_key","res_company"."gengo_public_key" as "gengo_public_key","res_company"."gengo_comment" as "gengo_comment","res_company"."gengo_auto_approve" as "gengo_auto_approve","res_company"."gengo_sandbox" as "gengo_sandbox","res_company"."check_unique_vat" as "check_unique_vat","res_company"."rotating_token_life" as "rotating_token_life","res_company"."lunch_minimum_threshold" as "lunch_minimum_threshold","res_company"."partner_gid" as "partner_gid","res_company"."snailmail_color" as "snailmail_color","res_company"."snailmail_cover" as "snailmail_cover","res_company"."snailmail_duplex" as "snailmail_duplex","res_company"."intercompany_user_id" as "intercompany_user_id","res_company"."hr_presence_control_email_amount" as "hr_presence_control_email_amount","res_company"."hr_presence_control_ip_list" as "hr_presence_control_ip_list","res_company"."internal_transit_location_id" as "internal_transit_location_id","res_company"."stock_move_email_validation" as "stock_move_email_validation","res_company"."stock_mail_confirmation_template_id" as "stock_mail_confirmation_template_id","res_company"."send_hbd_email" as "send_hbd_email","res_company"."hdb_email_template_id" as "hdb_email_template_id","res_company"."check_unique_product_default_code" as "check_unique_product_default_code","res_company"."zoom_api_key" as "zoom_api_key","res_company"."zoom_secret_key" as "zoom_secret_key","res_company"."facebook_app_id" as "facebook_app_id","res_company"."facebook_client_secret" as "facebook_client_secret","res_company"."linkedin_app_id" as "linkedin_app_id","res_company"."linkedin_client_secret" as "linkedin_client_secret","res_company"."manufacturing_lead" as "manufacturing_lead","res_company"."stock_move_sms_validation" as "stock_move_sms_validation","res_company"."stock_sms_confirmation_template_id" as "stock_sms_confirmation_template_id","res_company"."has_received_warning_stock_sms" as "has_received_warning_stock_sms","res_company"."fiscalyear_last_day" as "fiscalyear_last_day","res_company"."fiscalyear_last_month" as "fiscalyear_last_month","res_company"."period_lock_date" as "period_lock_date","res_company"."fiscalyear_lock_date" as "fiscalyear_lock_date","res_company"."tax_lock_date" as "tax_lock_date","res_company"."transfer_account_id" as "transfer_account_id","res_company"."expects_chart_of_accounts" as "expects_chart_of_accounts","res_company"."chart_template_id" as "chart_template_id","res_company"."bank_account_code_prefix" as "bank_account_code_prefix","res_company"."cash_account_code_prefix" as "cash_account_code_prefix","res_company"."default_cash_difference_income_account_id" as "default_cash_difference_income_account_id","res_company"."default_cash_difference_expense_account_id" as "default_cash_difference_expense_account_id","res_company"."transfer_account_code_prefix" as "transfer_account_code_prefix","res_company"."account_sale_tax_id" as "account_sale_tax_id","res_company"."account_purchase_tax_id" as "account_purchase_tax_id","res_company"."tax_cash_basis_journal_id" as "tax_cash_basis_journal_id","res_company"."tax_calculation_rounding_method" as "tax_calculation_rounding_method","res_company"."currency_exchange_journal_id" as "currency_exchange_journal_id","res_company"."anglo_saxon_accounting" as "anglo_saxon_accounting","res_company"."property_stock_account_input_categ_id" as "property_stock_account_input_categ_id","res_company"."property_stock_account_output_categ_id" as "property_stock_account_output_categ_id","res_company"."property_stock_valuation_account_id" as "property_stock_valuation_account_id","res_company"."tax_exigibility" as "tax_exigibility","res_company"."account_bank_reconciliation_start" as "account_bank_reconciliation_start","res_company"."incoterm_id" as "incoterm_id","res_company"."qr_code" as "qr_code","res_company"."invoice_is_email" as "invoice_is_email","res_company"."invoice_is_print" as "invoice_is_print","res_company"."account_opening_move_id" as "account_opening_move_id","res_company"."account_setup_bank_data_state" as "account_setup_bank_data_state","res_company"."account_setup_fy_data_state" as "account_setup_fy_data_state","res_company"."account_setup_coa_state" as "account_setup_coa_state","res_company"."account_onboarding_invoice_layout_state" as "account_onboarding_invoice_layout_state","res_company"."account_onboarding_sample_invoice_state" as "account_onboarding_sample_invoice_state","res_company"."account_onboarding_sale_tax_state" as "account_onboarding_sale_tax_state","res_company"."account_invoice_onboarding_state" as "account_invoice_onboarding_state","res_company"."account_dashboard_onboarding_state" as "account_dashboard_onboarding_state","res_company"."invoice_terms" as "invoice_terms","res_company"."account_default_pos_receivable_account_id" as "account_default_pos_receivable_account_id","res_company"."expense_accrual_account_id" as "expense_accrual_account_id","res_company"."revenue_accrual_account_id" as "revenue_accrual_account_id","res_company"."accrual_default_journal_id" as "accrual_default_journal_id","res_company"."hr_presence_last_compute_date" as "hr_presence_last_compute_date","res_company"."subcontracting_location_id" as "subcontracting_location_id","res_company"."default_helpdesk_team_id" as "default_helpdesk_team_id","res_company"."account_check_printing_layout" as "account_check_printing_layout","res_company"."account_check_printing_date_label" as "account_check_printing_date_label","res_company"."account_check_printing_multi_stub" as "account_check_printing_multi_stub","res_company"."account_check_printing_margin_top" as "account_check_printing_margin_top","res_company"."account_check_printing_margin_left" as "account_check_printing_margin_left","res_company"."account_check_printing_margin_right" as "account_check_printing_margin_right","res_company"."vat_check_vies" as "vat_check_vies","res_company"."project_time_mode_id" as "project_time_mode_id","res_company"."timesheet_encode_uom_id" as "timesheet_encode_uom_id","res_company"."payment_acquirer_onboarding_state" as "payment_acquirer_onboarding_state","res_company"."payment_onboarding_payment_method" as "payment_onboarding_payment_method","res_company"."po_lead" as "po_lead","res_company"."po_lock" as "po_lock","res_company"."po_double_validation" as "po_double_validation","res_company"."po_double_validation_amount" as "po_double_validation_amount","res_company"."invoice_is_snailmail" as "invoice_is_snailmail","res_company"."balance_carry_forward_journal_id" as "balance_carry_forward_journal_id","res_company"."affiliate_comm_percentage" as "affiliate_comm_percentage","res_company"."affiliate_cookie_age" as "affiliate_cookie_age","res_company"."affiliate_min_payout" as "affiliate_min_payout","res_company"."commission_product_id" as "commission_product_id","res_company"."aff_allowed" as "aff_allowed","res_company"."compute_aff_method" as "compute_aff_method","res_company"."main_currency_bank_id" as "main_currency_bank_id","res_company"."amount_double_validation" as "amount_double_validation","res_company"."use_employee_advance_pass_through_account" as "use_employee_advance_pass_through_account","res_company"."loan_borrowing_journal_id" as "loan_borrowing_journal_id","res_company"."loan_borrowing_account_id" as "loan_borrowing_account_id","res_company"."loan_lending_journal_id" as "loan_lending_journal_id","res_company"."loan_lending_account_id" as "loan_lending_account_id","res_company"."vendor_app_comm_percent" as "vendor_app_comm_percent","res_company"."vendor_app_min_payout" as "vendor_app_min_payout","res_company"."dedicated_app_download_token_lifetime" as "dedicated_app_download_token_lifetime","res_company"."app_download_token_lifetime" as "app_download_token_lifetime","res_company"."leave_timesheet_project_id" as "leave_timesheet_project_id","res_company"."leave_timesheet_task_id" as "leave_timesheet_task_id","res_company"."portal_confirmation_sign" as "portal_confirmation_sign","res_company"."portal_confirmation_pay" as "portal_confirmation_pay","res_company"."quotation_validity_days" as "quotation_validity_days","res_company"."sale_quotation_onboarding_state" as "sale_quotation_onboarding_state","res_company"."sale_onboarding_order_confirmation_state" as "sale_onboarding_order_confirmation_state","res_company"."sale_onboarding_sample_quotation_state" as "sale_onboarding_sample_quotation_state","res_company"."sale_onboarding_payment_method" as "sale_onboarding_payment_method","res_company"."days_between_two_followups" as "days_between_two_followups","res_company"."overdue_msg" as "overdue_msg","res_company"."totals_below_sections" as "totals_below_sections","res_company"."currency_conversion_diff_journal_id" as "currency_conversion_diff_journal_id","res_company"."einvoice_lock_legal_number" as "einvoice_lock_legal_number","res_company"."einvoice_issue_earliest_invoice_first" as "einvoice_issue_earliest_invoice_first","res_company"."sinvoice_exchange_file_as_attachment" as "sinvoice_exchange_file_as_attachment","res_company"."sinvoice_representation_file_as_attachment" as "sinvoice_representation_file_as_attachment","res_company"."einvoice_auto_issue" as "einvoice_auto_issue","res_company"."basic_wage_rule_categ_id" as "basic_wage_rule_categ_id","res_company"."gross_salary_rule_categ_id" as "gross_salary_rule_categ_id","res_company"."tax_base_rule_categ_id" as "tax_base_rule_categ_id","res_company"."net_income_salary_rule_categ_id" as "net_income_salary_rule_categ_id","res_company"."payslips_auto_generation" as "payslips_auto_generation","res_company"."payslips_auto_generation_mode" as "payslips_auto_generation_mode","res_company"."payslips_auto_generation_day" as "payslips_auto_generation_day","res_company"."payslips_auto_generation_lang" as "payslips_auto_generation_lang","res_company"."salary_cycle_id" as "salary_cycle_id","res_company"."property_promotion_voucher_profit_account_id" as "property_promotion_voucher_profit_account_id","res_company"."property_promotion_voucher_loss_account_id" as "property_promotion_voucher_loss_account_id","res_company"."property_unearn_revenue_account_id" as "property_unearn_revenue_account_id","res_company"."allow_edit_website_jobs_company_setting" as "allow_edit_website_jobs_company_setting","res_company"."security_lead" as "security_lead","res_company"."lc_journal_id" as "lc_journal_id","res_company"."payslip_batch_journal_entry" as "payslip_batch_journal_entry","res_company"."default_meal_emp_price" as "default_meal_emp_price","res_company"."general_overhead" as "general_overhead","res_company"."loyalty_points_reward_policy" as "loyalty_points_reward_policy","res_company"."manufacturing_period" as "manufacturing_period","res_company"."manufacturing_period_to_display" as "manufacturing_period_to_display","res_company"."mrp_mps_show_starting_inventory" as "mrp_mps_show_starting_inventory","res_company"."mrp_mps_show_demand_forecast" as "mrp_mps_show_demand_forecast","res_company"."mrp_mps_show_actual_demand" as "mrp_mps_show_actual_demand","res_company"."mrp_mps_show_indirect_demand" as "mrp_mps_show_indirect_demand","res_company"."mrp_mps_show_to_replenish" as "mrp_mps_show_to_replenish","res_company"."mrp_mps_show_actual_replenishment" as "mrp_mps_show_actual_replenishment","res_company"."mrp_mps_show_safety_stock" as "mrp_mps_show_safety_stock","res_company"."mrp_mps_show_available_to_promise" as "mrp_mps_show_available_to_promise","res_company"."sales_price_modifying_group_id" as "sales_price_modifying_group_id","res_company"."prevent_unlink_related_invoices" as "prevent_unlink_related_invoices","res_company"."website_sale_onboarding_payment_acquirer_state" as "website_sale_onboarding_payment_acquirer_state","res_company"."sinvoice_mode" as "sinvoice_mode","res_company"."sinvoice_start" as "sinvoice_start","res_company"."account_sinvoice_serial_id" as "account_sinvoice_serial_id","res_company"."account_sinvoice_template_id" as "account_sinvoice_template_id","res_company"."account_sinvoice_type_id" as "account_sinvoice_type_id","res_company"."sinvoice_synch_payment_status" as "sinvoice_synch_payment_status","res_company"."sinvoice_conversion_user_id" as "sinvoice_conversion_user_id","res_company"."sinvoice_api_username" as "sinvoice_api_username","res_company"."sinvoice_api_password" as "sinvoice_api_password","res_company"."sinvoice_max_len_bank_name" as "sinvoice_max_len_bank_name","res_company"."sinvoice_max_len_bank_account" as "sinvoice_max_len_bank_account","res_company"."einvoice_provider" as "einvoice_provider","res_company"."vninvoice_mode" as "vninvoice_mode","res_company"."vninvoice_start_date" as "vninvoice_start_date","res_company"."account_vninvoice_serial_id" as "account_vninvoice_serial_id","res_company"."account_vninvoice_template_id" as "account_vninvoice_template_id","res_company"."account_vninvoice_type_id" as "account_vninvoice_type_id","res_company"."vninvoice_api_username" as "vninvoice_api_username","res_company"."vninvoice_api_password" as "vninvoice_api_password","res_company"."account_journal_custom_clearance" as "account_journal_custom_clearance","res_company"."imp_custom_dec_sequence_id" as "imp_custom_dec_sequence_id","res_company"."exp_custom_dec_sequence_id" as "exp_custom_dec_sequence_id","res_company"."overtime_recognition_mode" as "overtime_recognition_mode","res_company"."prevent_unlink_related_pickings" as "prevent_unlink_related_pickings","res_company"."landed_cost_journal_id" as "landed_cost_journal_id","res_company"."applicable_on" as "applicable_on","res_company"."so_po_auto_validation" as "so_po_auto_validation","res_company"."import_vat_ctp_account_id" as "import_vat_ctp_account_id","res_company"."import_tax_payment_term" as "import_tax_payment_term","res_company"."export_vat_ctp_account_id" as "export_vat_ctp_account_id","res_company"."export_tax_payment_term" as "export_tax_payment_term","res_company"."use_intermediary_account" as "use_intermediary_account","res_company"."inter_comp_warehouse_id" as "inter_comp_warehouse_id","res_company"."create_uid" as "create_uid","res_company"."create_date" as "create_date","res_company"."write_uid" as "write_uid","res_company"."write_date" as "write_date" FROM "res_company" WHERE "res_company".id IN (1)
ERROR: column res_company.einvoice_auto_issue does not exist
LINE 1: ..." as "sinvoice_representation_file_as_attachment","res_compa...
^
01/14/2022 00:37:39 ERROR
ERROR: setUpClass (odoo.addons.account.tests.test_account_invoice_report.TestAccountInvoiceReport)
Traceback (most recent call last):
File "/opt/odoo/13.0/odoo/api.py", line 748, in get
value = self._data[field][record._ids[0]]
KeyError: 1

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/odoo/13.0/odoo/fields.py", line 1038, in __get__
value = env.cache.get(record, self)
File "/opt/odoo/13.0/odoo/api.py", line 754, in get
raise CacheMiss(record, field)
odoo.exceptions.CacheMiss: ('res.company(1,).country_id', None)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/odoo/13.0/odoo/api.py", line 748, in get
value = self._data[field][record._ids[0]]
KeyError: 1

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/odoo/13.0/odoo/fields.py", line 1038, in __get__
value = env.cache.get(record, self)
File "/opt/odoo/13.0/odoo/api.py", line 754, in get
raise CacheMiss(record, field)
odoo.exceptions.CacheMiss: ('res.company(1,).partner_id', None)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/odoo/13.0/odoo/tests/common.py", line 191, in _handleClassSetUp
setUpClass()
File "/opt/odoo/13.0/addons/account/tests/test_account_invoice_report.py", line 15, in setUpClass
super().setUpClass(chart_template_ref=chart_template_ref)
File "/opt/odoo/13.0/addons/account/tests/account_test_savepoint.py", line 51, in setUpClass
cls.company_data_2 = cls.setup_company_data('company_2_data', chart_template)
File "/opt/odoo/13.0/addons/account/tests/account_test_savepoint.py", line 197, in setup_company_data
**kwargs,
File "<decorator-gen-435>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 338, in _model_create_multi
return create(self, [arg])
File "/home/my077ib0t8sl-28822/build_src/to_inter_company_sale_purchase_stock/models/res_company.py", line 13, in create
res = super(ResCompany, self).create(vals_list)
File "<decorator-gen-425>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 320, in _model_create_single
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/odoo/api.py", line 320, in <genexpr>
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/viindooaddons13.0/to_foreign_trade/models/res_company.py", line 28, in create
res = super(ResCompany, self).create(vals)
File "<decorator-gen-364>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 338, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/viindooaddons13.0/to_hr_payroll/models/res_company.py", line 736, in create
companies = super(ResCompany, self).create(vals_list)
File "<decorator-gen-354>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 320, in _model_create_single
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/odoo/api.py", line 320, in <genexpr>
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/addons/project_timesheet_holidays/models/res_company.py", line 30, in create
company = super(Company, self).create(values)
File "<decorator-gen-341>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 338, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/viindooaddons13.0/viin_hr_overtime/models/res_company.py", line 17, in create
companies = super(ResCompany, self).create(vals_list)
File "<decorator-gen-331>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 320, in _model_create_single
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/odoo/api.py", line 320, in <genexpr>
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/viindooaddons13.0/to_maintenance_approval/models/res_company.py", line 27, in create
company = super(ResCompany, self).create(values)
File "<decorator-gen-289>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 338, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/viindooaddons13.0/viin_helpdesk/models/res_company.py", line 14, in create
companies = super(Company, self).create(vals_list)
File "<decorator-gen-280>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/viindooaddons13.0/to_approvals/models/res_company.py", line 31, in create
companies = super(ResCompany, self).create(vals_list)
File "<decorator-gen-190>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 320, in _model_create_single
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/odoo/api.py", line 320, in <genexpr>
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/addons/stock/models/res_company.py", line 181, in create
company = super(Company, self).create(vals)
File "<decorator-gen-152>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 317, in _model_create_single
return create(self, arg)
File "/opt/odoo/13.0/addons/product/models/res_company.py", line 12, in create
new_company = super(ResCompany, self).create(vals)
File "<decorator-gen-102>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 317, in _model_create_single
return create(self, arg)
File "/opt/odoo/13.0/addons/resource/models/res_company.py", line 28, in create
company = super(ResCompany, self).create(values)
File "<decorator-gen-95>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 317, in _model_create_single
return create(self, arg)
File "/opt/odoo/13.0/addons/web/models/models.py", line 397, in create
res = super().create(values)
File "<decorator-gen-84>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 317, in _model_create_single
return create(self, arg)
File "/opt/odoo/13.0/odoo/addons/base/models/res_company.py", line 227, in create
'country_id': vals.get('country_id'),
File "<decorator-gen-420>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 338, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/viindooaddons13.0/to_foreign_trade/models/res_partner.py", line 72, in create
partners = super(res_partner, self).create(vals_list)
File "<decorator-gen-297>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 320, in _model_create_single
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/odoo/api.py", line 320, in <genexpr>
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/addons/base_vat/models/res_partner.py", line 529, in create
return super(ResPartner, self).create(values)
File "<decorator-gen-262>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 338, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/13.0/addons/account/models/partner.py", line 515, in create
return super().create(vals_list)
File "<decorator-gen-143>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/13.0/addons/partner_autocomplete/models/res_partner.py", line 183, in create
partners = super(ResPartner, self).create(vals_list)
File "<decorator-gen-83>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/13.0/odoo/addons/base/models/res_partner.py", line 544, in create
partners = super(Partner, self).create(vals_list)
File "<decorator-gen-115>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/13.0/addons/mail/models/mail_thread.py", line 269, in create
threads = super(MailThread, self).create(vals_list)
File "<decorator-gen-253>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/13.0/addons/website/models/mixins.py", line 152, in create
records = super(WebsitePublishedMixin, self).create(vals_list)
File "<decorator-gen-98>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/viindooaddons13.0/viin_user_assignment_log/models/base.py", line 11, in create
records = super(Base, self).create(vals_list)
File "<decorator-gen-3>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/13.0/odoo/models.py", line 3825, in create
records = self._create(data_list)
File "/opt/odoo/13.0/odoo/models.py", line 3998, in _create
records._validate_fields(name for data in data_list for name in data['stored'])
File "/opt/odoo/13.0/odoo/models.py", line 1212, in _validate_fields
check(self)
File "/opt/odoo/viindooaddons13.0/to_partner_check_unique_vat/models/res_partner.py", line 10, in _check_unique_vat
self.flush()
File "/opt/odoo/13.0/odoo/models.py", line 5514, in flush
self.recompute()
File "/opt/odoo/13.0/odoo/models.py", line 5956, in recompute
process(field)
File "/opt/odoo/13.0/odoo/models.py", line 5940, in process
recs.mapped(field.name)
File "/opt/odoo/13.0/odoo/models.py", line 5322, in mapped
recs = recs._mapped_func(operator.itemgetter(name))
File "/opt/odoo/13.0/odoo/models.py", line 5281, in _mapped_func
vals = [func(rec) for rec in self]
File "/opt/odoo/13.0/odoo/models.py", line 5281, in <listcomp>
vals = [func(rec) for rec in self]
File "/opt/odoo/13.0/odoo/models.py", line 5746, in __getitem__
return self._fields[key].__get__(self, type(self))
File "/opt/odoo/13.0/odoo/fields.py", line 1033, in __get__
self.compute_value(recs)
File "/opt/odoo/13.0/odoo/fields.py", line 1147, in compute_value
records._compute_field_value(self)
File "/opt/odoo/13.0/odoo/models.py", line 4018, in _compute_field_value
getattr(self, field.compute)()
File "/opt/odoo/13.0/addons/phone_validation/models/mail_thread_phone.py", line 44, in _compute_phone_sanitized
sanitized = record.phone_get_sanitized_number(number_fname=fname)
File "/opt/odoo/13.0/addons/phone_validation/models/mail_thread_phone.py", line 117, in phone_get_sanitized_number
return phone_validation.phone_sanitize_numbers_w_record([number], self, record_country_fname=country_fname, force_format=force_format)[number]['sanitized']
File "/opt/odoo/13.0/addons/phone_validation/tools/phone_validation.py", line 113, in phone_sanitize_numbers_w_record
country = record.env.company.country_id
File "/opt/odoo/13.0/odoo/fields.py", line 2370, in __get__
return super().__get__(records, owner)
File "/opt/odoo/13.0/odoo/fields.py", line 1062, in __get__
self.compute_value(recs)
File "/opt/odoo/13.0/odoo/fields.py", line 1147, in compute_value
records._compute_field_value(self)
File "/opt/odoo/13.0/odoo/models.py", line 4018, in _compute_field_value
getattr(self, field.compute)()
File "/opt/odoo/13.0/odoo/addons/base/models/res_company.py", line 127, in _compute_address
for company in self.filtered(lambda company: company.partner_id):
File "/opt/odoo/13.0/odoo/models.py", line 5359, in filtered
return self.browse([rec.id for rec in self if func(rec)])
File "/opt/odoo/13.0/odoo/models.py", line 5359, in <listcomp>
return self.browse([rec.id for rec in self if func(rec)])
File "/opt/odoo/13.0/odoo/addons/base/models/res_company.py", line 127, in <lambda>
for company in self.filtered(lambda company: company.partner_id):
File "/opt/odoo/13.0/odoo/fields.py", line 2370, in __get__
return super().__get__(records, owner)
File "/opt/odoo/13.0/odoo/fields.py", line 1045, in __get__
recs._fetch_field(self)
File "/opt/odoo/13.0/odoo/models.py", line 3002, in _fetch_field
self._read(fnames)
File "/opt/odoo/13.0/odoo/models.py", line 3074, in _read
cr.execute(query_str, params)
File "/opt/odoo/13.0/odoo/sql_db.py", line 173, in wrapper
return f(self, *args, **kwargs)
File "/opt/odoo/13.0/odoo/sql_db.py", line 250, in execute
res = self._obj.execute(query, params)
psycopg2.ProgrammingError: column res_company.einvoice_auto_issue does not exist
LINE 1: ..." as "sinvoice_representation_file_as_attachment","res_compa...
^
01/14/2022 00:37:39 ERROR
Module account: 0 failures, 1 errors
01/14/2022 00:37:39 ERROR
bad query: SELECT "res_company"."id" as "id","res_company"."sequence" as "sequence","res_company"."parent_id" as "parent_id","res_company"."partner_id" as "partner_id","res_company"."report_header" as "report_header","res_company"."report_footer" as "report_footer","res_company"."currency_id" as "currency_id","res_company"."account_no" as "account_no","res_company"."email" as "email","res_company"."phone" as "phone","res_company"."company_registry" as "company_registry","res_company"."paperformat_id" as "paperformat_id","res_company"."external_report_layout_id" as "external_report_layout_id","res_company"."base_onboarding_company_state" as "base_onboarding_company_state","res_company"."primary_color" as "primary_color","res_company"."secondary_color" as "secondary_color","res_company"."font" as "font","res_company"."social_twitter" as "social_twitter","res_company"."social_facebook" as "social_facebook","res_company"."social_github" as "social_github","res_company"."social_linkedin" as "social_linkedin","res_company"."social_youtube" as "social_youtube","res_company"."social_instagram" as "social_instagram","res_company"."hotline" as "hotline","res_company"."nomenclature_id" as "nomenclature_id","res_company"."resource_calendar_id" as "resource_calendar_id","res_company"."name" as "name","res_company"."gengo_private_key" as "gengo_private_key","res_company"."gengo_public_key" as "gengo_public_key","res_company"."gengo_comment" as "gengo_comment","res_company"."gengo_auto_approve" as "gengo_auto_approve","res_company"."gengo_sandbox" as "gengo_sandbox","res_company"."check_unique_vat" as "check_unique_vat","res_company"."rotating_token_life" as "rotating_token_life","res_company"."lunch_minimum_threshold" as "lunch_minimum_threshold","res_company"."partner_gid" as "partner_gid","res_company"."snailmail_color" as "snailmail_color","res_company"."snailmail_cover" as "snailmail_cover","res_company"."snailmail_duplex" as "snailmail_duplex","res_company"."intercompany_user_id" as "intercompany_user_id","res_company"."hr_presence_control_email_amount" as "hr_presence_control_email_amount","res_company"."hr_presence_control_ip_list" as "hr_presence_control_ip_list","res_company"."internal_transit_location_id" as "internal_transit_location_id","res_company"."stock_move_email_validation" as "stock_move_email_validation","res_company"."stock_mail_confirmation_template_id" as "stock_mail_confirmation_template_id","res_company"."send_hbd_email" as "send_hbd_email","res_company"."hdb_email_template_id" as "hdb_email_template_id","res_company"."check_unique_product_default_code" as "check_unique_product_default_code","res_company"."zoom_api_key" as "zoom_api_key","res_company"."zoom_secret_key" as "zoom_secret_key","res_company"."facebook_app_id" as "facebook_app_id","res_company"."facebook_client_secret" as "facebook_client_secret","res_company"."linkedin_app_id" as "linkedin_app_id","res_company"."linkedin_client_secret" as "linkedin_client_secret","res_company"."manufacturing_lead" as "manufacturing_lead","res_company"."stock_move_sms_validation" as "stock_move_sms_validation","res_company"."stock_sms_confirmation_template_id" as "stock_sms_confirmation_template_id","res_company"."has_received_warning_stock_sms" as "has_received_warning_stock_sms","res_company"."fiscalyear_last_day" as "fiscalyear_last_day","res_company"."fiscalyear_last_month" as "fiscalyear_last_month","res_company"."period_lock_date" as "period_lock_date","res_company"."fiscalyear_lock_date" as "fiscalyear_lock_date","res_company"."tax_lock_date" as "tax_lock_date","res_company"."transfer_account_id" as "transfer_account_id","res_company"."expects_chart_of_accounts" as "expects_chart_of_accounts","res_company"."chart_template_id" as "chart_template_id","res_company"."bank_account_code_prefix" as "bank_account_code_prefix","res_company"."cash_account_code_prefix" as "cash_account_code_prefix","res_company"."default_cash_difference_income_account_id" as "default_cash_difference_income_account_id","res_company"."default_cash_difference_expense_account_id" as "default_cash_difference_expense_account_id","res_company"."transfer_account_code_prefix" as "transfer_account_code_prefix","res_company"."account_sale_tax_id" as "account_sale_tax_id","res_company"."account_purchase_tax_id" as "account_purchase_tax_id","res_company"."tax_cash_basis_journal_id" as "tax_cash_basis_journal_id","res_company"."tax_calculation_rounding_method" as "tax_calculation_rounding_method","res_company"."currency_exchange_journal_id" as "currency_exchange_journal_id","res_company"."anglo_saxon_accounting" as "anglo_saxon_accounting","res_company"."property_stock_account_input_categ_id" as "property_stock_account_input_categ_id","res_company"."property_stock_account_output_categ_id" as "property_stock_account_output_categ_id","res_company"."property_stock_valuation_account_id" as "property_stock_valuation_account_id","res_company"."tax_exigibility" as "tax_exigibility","res_company"."account_bank_reconciliation_start" as "account_bank_reconciliation_start","res_company"."incoterm_id" as "incoterm_id","res_company"."qr_code" as "qr_code","res_company"."invoice_is_email" as "invoice_is_email","res_company"."invoice_is_print" as "invoice_is_print","res_company"."account_opening_move_id" as "account_opening_move_id","res_company"."account_setup_bank_data_state" as "account_setup_bank_data_state","res_company"."account_setup_fy_data_state" as "account_setup_fy_data_state","res_company"."account_setup_coa_state" as "account_setup_coa_state","res_company"."account_onboarding_invoice_layout_state" as "account_onboarding_invoice_layout_state","res_company"."account_onboarding_sample_invoice_state" as "account_onboarding_sample_invoice_state","res_company"."account_onboarding_sale_tax_state" as "account_onboarding_sale_tax_state","res_company"."account_invoice_onboarding_state" as "account_invoice_onboarding_state","res_company"."account_dashboard_onboarding_state" as "account_dashboard_onboarding_state","res_company"."invoice_terms" as "invoice_terms","res_company"."account_default_pos_receivable_account_id" as "account_default_pos_receivable_account_id","res_company"."expense_accrual_account_id" as "expense_accrual_account_id","res_company"."revenue_accrual_account_id" as "revenue_accrual_account_id","res_company"."accrual_default_journal_id" as "accrual_default_journal_id","res_company"."hr_presence_last_compute_date" as "hr_presence_last_compute_date","res_company"."subcontracting_location_id" as "subcontracting_location_id","res_company"."default_helpdesk_team_id" as "default_helpdesk_team_id","res_company"."account_check_printing_layout" as "account_check_printing_layout","res_company"."account_check_printing_date_label" as "account_check_printing_date_label","res_company"."account_check_printing_multi_stub" as "account_check_printing_multi_stub","res_company"."account_check_printing_margin_top" as "account_check_printing_margin_top","res_company"."account_check_printing_margin_left" as "account_check_printing_margin_left","res_company"."account_check_printing_margin_right" as "account_check_printing_margin_right","res_company"."vat_check_vies" as "vat_check_vies","res_company"."project_time_mode_id" as "project_time_mode_id","res_company"."timesheet_encode_uom_id" as "timesheet_encode_uom_id","res_company"."payment_acquirer_onboarding_state" as "payment_acquirer_onboarding_state","res_company"."payment_onboarding_payment_method" as "payment_onboarding_payment_method","res_company"."po_lead" as "po_lead","res_company"."po_lock" as "po_lock","res_company"."po_double_validation" as "po_double_validation","res_company"."po_double_validation_amount" as "po_double_validation_amount","res_company"."invoice_is_snailmail" as "invoice_is_snailmail","res_company"."balance_carry_forward_journal_id" as "balance_carry_forward_journal_id","res_company"."affiliate_comm_percentage" as "affiliate_comm_percentage","res_company"."affiliate_cookie_age" as "affiliate_cookie_age","res_company"."affiliate_min_payout" as "affiliate_min_payout","res_company"."commission_product_id" as "commission_product_id","res_company"."aff_allowed" as "aff_allowed","res_company"."compute_aff_method" as "compute_aff_method","res_company"."main_currency_bank_id" as "main_currency_bank_id","res_company"."amount_double_validation" as "amount_double_validation","res_company"."use_employee_advance_pass_through_account" as "use_employee_advance_pass_through_account","res_company"."loan_borrowing_journal_id" as "loan_borrowing_journal_id","res_company"."loan_borrowing_account_id" as "loan_borrowing_account_id","res_company"."loan_lending_journal_id" as "loan_lending_journal_id","res_company"."loan_lending_account_id" as "loan_lending_account_id","res_company"."vendor_app_comm_percent" as "vendor_app_comm_percent","res_company"."vendor_app_min_payout" as "vendor_app_min_payout","res_company"."dedicated_app_download_token_lifetime" as "dedicated_app_download_token_lifetime","res_company"."app_download_token_lifetime" as "app_download_token_lifetime","res_company"."leave_timesheet_project_id" as "leave_timesheet_project_id","res_company"."leave_timesheet_task_id" as "leave_timesheet_task_id","res_company"."portal_confirmation_sign" as "portal_confirmation_sign","res_company"."portal_confirmation_pay" as "portal_confirmation_pay","res_company"."quotation_validity_days" as "quotation_validity_days","res_company"."sale_quotation_onboarding_state" as "sale_quotation_onboarding_state","res_company"."sale_onboarding_order_confirmation_state" as "sale_onboarding_order_confirmation_state","res_company"."sale_onboarding_sample_quotation_state" as "sale_onboarding_sample_quotation_state","res_company"."sale_onboarding_payment_method" as "sale_onboarding_payment_method","res_company"."days_between_two_followups" as "days_between_two_followups","res_company"."overdue_msg" as "overdue_msg","res_company"."totals_below_sections" as "totals_below_sections","res_company"."currency_conversion_diff_journal_id" as "currency_conversion_diff_journal_id","res_company"."einvoice_lock_legal_number" as "einvoice_lock_legal_number","res_company"."einvoice_issue_earliest_invoice_first" as "einvoice_issue_earliest_invoice_first","res_company"."sinvoice_exchange_file_as_attachment" as "sinvoice_exchange_file_as_attachment","res_company"."sinvoice_representation_file_as_attachment" as "sinvoice_representation_file_as_attachment","res_company"."einvoice_auto_issue" as "einvoice_auto_issue","res_company"."basic_wage_rule_categ_id" as "basic_wage_rule_categ_id","res_company"."gross_salary_rule_categ_id" as "gross_salary_rule_categ_id","res_company"."tax_base_rule_categ_id" as "tax_base_rule_categ_id","res_company"."net_income_salary_rule_categ_id" as "net_income_salary_rule_categ_id","res_company"."payslips_auto_generation" as "payslips_auto_generation","res_company"."payslips_auto_generation_mode" as "payslips_auto_generation_mode","res_company"."payslips_auto_generation_day" as "payslips_auto_generation_day","res_company"."payslips_auto_generation_lang" as "payslips_auto_generation_lang","res_company"."salary_cycle_id" as "salary_cycle_id","res_company"."property_promotion_voucher_profit_account_id" as "property_promotion_voucher_profit_account_id","res_company"."property_promotion_voucher_loss_account_id" as "property_promotion_voucher_loss_account_id","res_company"."property_unearn_revenue_account_id" as "property_unearn_revenue_account_id","res_company"."allow_edit_website_jobs_company_setting" as "allow_edit_website_jobs_company_setting","res_company"."security_lead" as "security_lead","res_company"."lc_journal_id" as "lc_journal_id","res_company"."payslip_batch_journal_entry" as "payslip_batch_journal_entry","res_company"."default_meal_emp_price" as "default_meal_emp_price","res_company"."general_overhead" as "general_overhead","res_company"."loyalty_points_reward_policy" as "loyalty_points_reward_policy","res_company"."manufacturing_period" as "manufacturing_period","res_company"."manufacturing_period_to_display" as "manufacturing_period_to_display","res_company"."mrp_mps_show_starting_inventory" as "mrp_mps_show_starting_inventory","res_company"."mrp_mps_show_demand_forecast" as "mrp_mps_show_demand_forecast","res_company"."mrp_mps_show_actual_demand" as "mrp_mps_show_actual_demand","res_company"."mrp_mps_show_indirect_demand" as "mrp_mps_show_indirect_demand","res_company"."mrp_mps_show_to_replenish" as "mrp_mps_show_to_replenish","res_company"."mrp_mps_show_actual_replenishment" as "mrp_mps_show_actual_replenishment","res_company"."mrp_mps_show_safety_stock" as "mrp_mps_show_safety_stock","res_company"."mrp_mps_show_available_to_promise" as "mrp_mps_show_available_to_promise","res_company"."sales_price_modifying_group_id" as "sales_price_modifying_group_id","res_company"."prevent_unlink_related_invoices" as "prevent_unlink_related_invoices","res_company"."website_sale_onboarding_payment_acquirer_state" as "website_sale_onboarding_payment_acquirer_state","res_company"."sinvoice_mode" as "sinvoice_mode","res_company"."sinvoice_start" as "sinvoice_start","res_company"."account_sinvoice_serial_id" as "account_sinvoice_serial_id","res_company"."account_sinvoice_template_id" as "account_sinvoice_template_id","res_company"."account_sinvoice_type_id" as "account_sinvoice_type_id","res_company"."sinvoice_synch_payment_status" as "sinvoice_synch_payment_status","res_company"."sinvoice_conversion_user_id" as "sinvoice_conversion_user_id","res_company"."sinvoice_api_username" as "sinvoice_api_username","res_company"."sinvoice_api_password" as "sinvoice_api_password","res_company"."sinvoice_max_len_bank_name" as "sinvoice_max_len_bank_name","res_company"."sinvoice_max_len_bank_account" as "sinvoice_max_len_bank_account","res_company"."einvoice_provider" as "einvoice_provider","res_company"."vninvoice_mode" as "vninvoice_mode","res_company"."vninvoice_start_date" as "vninvoice_start_date","res_company"."account_vninvoice_serial_id" as "account_vninvoice_serial_id","res_company"."account_vninvoice_template_id" as "account_vninvoice_template_id","res_company"."account_vninvoice_type_id" as "account_vninvoice_type_id","res_company"."vninvoice_api_username" as "vninvoice_api_username","res_company"."vninvoice_api_password" as "vninvoice_api_password","res_company"."account_journal_custom_clearance" as "account_journal_custom_clearance","res_company"."imp_custom_dec_sequence_id" as "imp_custom_dec_sequence_id","res_company"."exp_custom_dec_sequence_id" as "exp_custom_dec_sequence_id","res_company"."overtime_recognition_mode" as "overtime_recognition_mode","res_company"."prevent_unlink_related_pickings" as "prevent_unlink_related_pickings","res_company"."landed_cost_journal_id" as "landed_cost_journal_id","res_company"."applicable_on" as "applicable_on","res_company"."so_po_auto_validation" as "so_po_auto_validation","res_company"."import_vat_ctp_account_id" as "import_vat_ctp_account_id","res_company"."import_tax_payment_term" as "import_tax_payment_term","res_company"."export_vat_ctp_account_id" as "export_vat_ctp_account_id","res_company"."export_tax_payment_term" as "export_tax_payment_term","res_company"."use_intermediary_account" as "use_intermediary_account","res_company"."inter_comp_warehouse_id" as "inter_comp_warehouse_id","res_company"."create_uid" as "create_uid","res_company"."create_date" as "create_date","res_company"."write_uid" as "write_uid","res_company"."write_date" as "write_date" FROM "res_company" WHERE "res_company".id IN (1)
ERROR: column res_company.einvoice_auto_issue does not exist
LINE 1: ..." as "sinvoice_representation_file_as_attachment","res_compa...
^
01/14/2022 00:37:39 ERROR
ERROR: setUpClass (odoo.addons.account.tests.test_account_journal.TestAccountJournal)
Traceback (most recent call last):
File "/opt/odoo/13.0/odoo/api.py", line 748, in get
value = self._data[field][record._ids[0]]
KeyError: 1

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/odoo/13.0/odoo/fields.py", line 1038, in __get__
value = env.cache.get(record, self)
File "/opt/odoo/13.0/odoo/api.py", line 754, in get
raise CacheMiss(record, field)
odoo.exceptions.CacheMiss: ('res.company(1,).country_id', None)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/odoo/13.0/odoo/api.py", line 748, in get
value = self._data[field][record._ids[0]]
KeyError: 1

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/odoo/13.0/odoo/fields.py", line 1038, in __get__
value = env.cache.get(record, self)
File "/opt/odoo/13.0/odoo/api.py", line 754, in get
raise CacheMiss(record, field)
odoo.exceptions.CacheMiss: ('res.company(1,).partner_id', None)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/odoo/13.0/odoo/tests/common.py", line 191, in _handleClassSetUp
setUpClass()
File "/opt/odoo/13.0/addons/account/tests/test_account_journal.py", line 12, in setUpClass
super().setUpClass(chart_template_ref=chart_template_ref)
File "/opt/odoo/13.0/addons/account/tests/account_test_savepoint.py", line 51, in setUpClass
cls.company_data_2 = cls.setup_company_data('company_2_data', chart_template)
File "/opt/odoo/13.0/addons/account/tests/account_test_savepoint.py", line 197, in setup_company_data
**kwargs,
File "<decorator-gen-435>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 338, in _model_create_multi
return create(self, [arg])
File "/home/my077ib0t8sl-28822/build_src/to_inter_company_sale_purchase_stock/models/res_company.py", line 13, in create
res = super(ResCompany, self).create(vals_list)
File "<decorator-gen-425>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 320, in _model_create_single
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/odoo/api.py", line 320, in <genexpr>
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/viindooaddons13.0/to_foreign_trade/models/res_company.py", line 28, in create
res = super(ResCompany, self).create(vals)
File "<decorator-gen-364>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 338, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/viindooaddons13.0/to_hr_payroll/models/res_company.py", line 736, in create
companies = super(ResCompany, self).create(vals_list)
File "<decorator-gen-354>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 320, in _model_create_single
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/odoo/api.py", line 320, in <genexpr>
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/addons/project_timesheet_holidays/models/res_company.py", line 30, in create
company = super(Company, self).create(values)
File "<decorator-gen-341>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 338, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/viindooaddons13.0/viin_hr_overtime/models/res_company.py", line 17, in create
companies = super(ResCompany, self).create(vals_list)
File "<decorator-gen-331>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 320, in _model_create_single
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/odoo/api.py", line 320, in <genexpr>
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/viindooaddons13.0/to_maintenance_approval/models/res_company.py", line 27, in create
company = super(ResCompany, self).create(values)
File "<decorator-gen-289>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 338, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/viindooaddons13.0/viin_helpdesk/models/res_company.py", line 14, in create
companies = super(Company, self).create(vals_list)
File "<decorator-gen-280>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/viindooaddons13.0/to_approvals/models/res_company.py", line 31, in create
companies = super(ResCompany, self).create(vals_list)
File "<decorator-gen-190>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 320, in _model_create_single
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/odoo/api.py", line 320, in <genexpr>
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/addons/stock/models/res_company.py", line 181, in create
company = super(Company, self).create(vals)
File "<decorator-gen-152>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 317, in _model_create_single
return create(self, arg)
File "/opt/odoo/13.0/addons/product/models/res_company.py", line 12, in create
new_company = super(ResCompany, self).create(vals)
File "<decorator-gen-102>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 317, in _model_create_single
return create(self, arg)
File "/opt/odoo/13.0/addons/resource/models/res_company.py", line 28, in create
company = super(ResCompany, self).create(values)
File "<decorator-gen-95>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 317, in _model_create_single
return create(self, arg)
File "/opt/odoo/13.0/addons/web/models/models.py", line 397, in create
res = super().create(values)
File "<decorator-gen-84>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 317, in _model_create_single
return create(self, arg)
File "/opt/odoo/13.0/odoo/addons/base/models/res_company.py", line 227, in create
'country_id': vals.get('country_id'),
File "<decorator-gen-420>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 338, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/viindooaddons13.0/to_foreign_trade/models/res_partner.py", line 72, in create
partners = super(res_partner, self).create(vals_list)
File "<decorator-gen-297>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 320, in _model_create_single
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/odoo/api.py", line 320, in <genexpr>
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/addons/base_vat/models/res_partner.py", line 529, in create
return super(ResPartner, self).create(values)
File "<decorator-gen-262>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 338, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/13.0/addons/account/models/partner.py", line 515, in create
return super().create(vals_list)
File "<decorator-gen-143>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/13.0/addons/partner_autocomplete/models/res_partner.py", line 183, in create
partners = super(ResPartner, self).create(vals_list)
File "<decorator-gen-83>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/13.0/odoo/addons/base/models/res_partner.py", line 544, in create
partners = super(Partner, self).create(vals_list)
File "<decorator-gen-115>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/13.0/addons/mail/models/mail_thread.py", line 269, in create
threads = super(MailThread, self).create(vals_list)
File "<decorator-gen-253>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/13.0/addons/website/models/mixins.py", line 152, in create
records = super(WebsitePublishedMixin, self).create(vals_list)
File "<decorator-gen-98>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/viindooaddons13.0/viin_user_assignment_log/models/base.py", line 11, in create
records = super(Base, self).create(vals_list)
File "<decorator-gen-3>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/13.0/odoo/models.py", line 3825, in create
records = self._create(data_list)
File "/opt/odoo/13.0/odoo/models.py", line 3998, in _create
records._validate_fields(name for data in data_list for name in data['stored'])
File "/opt/odoo/13.0/odoo/models.py", line 1212, in _validate_fields
check(self)
File "/opt/odoo/viindooaddons13.0/to_partner_check_unique_vat/models/res_partner.py", line 10, in _check_unique_vat
self.flush()
File "/opt/odoo/13.0/odoo/models.py", line 5514, in flush
self.recompute()
File "/opt/odoo/13.0/odoo/models.py", line 5956, in recompute
process(field)
File "/opt/odoo/13.0/odoo/models.py", line 5940, in process
recs.mapped(field.name)
File "/opt/odoo/13.0/odoo/models.py", line 5322, in mapped
recs = recs._mapped_func(operator.itemgetter(name))
File "/opt/odoo/13.0/odoo/models.py", line 5281, in _mapped_func
vals = [func(rec) for rec in self]
File "/opt/odoo/13.0/odoo/models.py", line 5281, in <listcomp>
vals = [func(rec) for rec in self]
File "/opt/odoo/13.0/odoo/models.py", line 5746, in __getitem__
return self._fields[key].__get__(self, type(self))
File "/opt/odoo/13.0/odoo/fields.py", line 1033, in __get__
self.compute_value(recs)
File "/opt/odoo/13.0/odoo/fields.py", line 1147, in compute_value
records._compute_field_value(self)
File "/opt/odoo/13.0/odoo/models.py", line 4018, in _compute_field_value
getattr(self, field.compute)()
File "/opt/odoo/13.0/addons/phone_validation/models/mail_thread_phone.py", line 44, in _compute_phone_sanitized
sanitized = record.phone_get_sanitized_number(number_fname=fname)
File "/opt/odoo/13.0/addons/phone_validation/models/mail_thread_phone.py", line 117, in phone_get_sanitized_number
return phone_validation.phone_sanitize_numbers_w_record([number], self, record_country_fname=country_fname, force_format=force_format)[number]['sanitized']
File "/opt/odoo/13.0/addons/phone_validation/tools/phone_validation.py", line 113, in phone_sanitize_numbers_w_record
country = record.env.company.country_id
File "/opt/odoo/13.0/odoo/fields.py", line 2370, in __get__
return super().__get__(records, owner)
File "/opt/odoo/13.0/odoo/fields.py", line 1062, in __get__
self.compute_value(recs)
File "/opt/odoo/13.0/odoo/fields.py", line 1147, in compute_value
records._compute_field_value(self)
File "/opt/odoo/13.0/odoo/models.py", line 4018, in _compute_field_value
getattr(self, field.compute)()
File "/opt/odoo/13.0/odoo/addons/base/models/res_company.py", line 127, in _compute_address
for company in self.filtered(lambda company: company.partner_id):
File "/opt/odoo/13.0/odoo/models.py", line 5359, in filtered
return self.browse([rec.id for rec in self if func(rec)])
File "/opt/odoo/13.0/odoo/models.py", line 5359, in <listcomp>
return self.browse([rec.id for rec in self if func(rec)])
File "/opt/odoo/13.0/odoo/addons/base/models/res_company.py", line 127, in <lambda>
for company in self.filtered(lambda company: company.partner_id):
File "/opt/odoo/13.0/odoo/fields.py", line 2370, in __get__
return super().__get__(records, owner)
File "/opt/odoo/13.0/odoo/fields.py", line 1045, in __get__
recs._fetch_field(self)
File "/opt/odoo/13.0/odoo/models.py", line 3002, in _fetch_field
self._read(fnames)
File "/opt/odoo/13.0/odoo/models.py", line 3074, in _read
cr.execute(query_str, params)
File "/opt/odoo/13.0/odoo/sql_db.py", line 173, in wrapper
return f(self, *args, **kwargs)
File "/opt/odoo/13.0/odoo/sql_db.py", line 250, in execute
res = self._obj.execute(query, params)
psycopg2.ProgrammingError: column res_company.einvoice_auto_issue does not exist
LINE 1: ..." as "sinvoice_representation_file_as_attachment","res_compa...
^
01/14/2022 00:37:39 ERROR
Module account: 0 failures, 1 errors
01/14/2022 00:37:40 ERROR
bad query: INSERT INTO "account_journal" ("id", "create_uid", "create_date", "write_uid", "write_date", "active", "bank_statements_source", "check_manual_sequencing", "code", "color", "company_id", "einvoice_auto_issue", "einvoice_item_name", "einvoice_item_name_limit", "einvoice_item_name_new_line_replacement", "einvoice_send_mail_option", "invoice_display_mode", "invoice_line_summary_mode", "invoice_reference_model", "invoice_reference_type", "name", "post_at", "refund_sequence", "refund_sequence_id", "sequence", "sequence_id", "show_on_dashboard", "type") VALUES (nextval('account_journal_id_seq'), 1, (now() at time zone 'UTC'), 1, (now() at time zone 'UTC'), true, 'undefined', false, 'SALE0', 0, 1, false, 'invoice_line_name', 300, '; ', 'display', 'invoice_lines', 'product_unit_price_tax_discount', 'odoo', 'invoice', 'sale_0', 'pay_val', true, 1500, 10, 1499, true, 'sale') RETURNING id
ERROR: column "einvoice_auto_issue" of relation "account_journal" does not exist
LINE 1: ...anual_sequencing", "code", "color", "company_id", "einvoice_...
^
01/14/2022 00:37:40 ERROR
ERROR: TestAccountJournalDashboard.test_customer_invoice_dashboard
Traceback (most recent call last):
File "/opt/odoo/13.0/addons/account/tests/test_account_journal_dashboard.py", line 18, in test_customer_invoice_dashboard
'type': 'sale',
File "<decorator-gen-367>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 317, in _model_create_single
return create(self, arg)
File "/opt/odoo/viindooaddons13.0/to_promotion_voucher/models/account_journal.py", line 114, in create
return super(AccountJournal, self).create(vals)
File "<decorator-gen-294>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 317, in _model_create_single
return create(self, arg)
File "/opt/odoo/13.0/addons/account_check_printing/models/account_journal.py", line 45, in create
rec = super(AccountJournal, self).create(vals)
File "<decorator-gen-264>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 317, in _model_create_single
return create(self, arg)
File "/opt/odoo/13.0/addons/account/models/account.py", line 1156, in create
journal = super(AccountJournal, self.with_context(mail_create_nolog=True)).create(vals)
File "<decorator-gen-115>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 338, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/13.0/addons/mail/models/mail_thread.py", line 269, in create
threads = super(MailThread, self).create(vals_list)
File "<decorator-gen-98>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/viindooaddons13.0/viin_user_assignment_log/models/base.py", line 11, in create
records = super(Base, self).create(vals_list)
File "<decorator-gen-3>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/13.0/odoo/models.py", line 3825, in create
records = self._create(data_list)
File "/opt/odoo/13.0/odoo/models.py", line 3931, in _create
cr.execute(query, params)
File "/opt/odoo/13.0/odoo/sql_db.py", line 173, in wrapper
return f(self, *args, **kwargs)
File "/opt/odoo/13.0/odoo/sql_db.py", line 250, in execute
res = self._obj.execute(query, params)
psycopg2.ProgrammingError: column "einvoice_auto_issue" of relation "account_journal" does not exist
LINE 1: ...anual_sequencing", "code", "color", "company_id", "einvoice_...
^
01/14/2022 00:37:40 ERROR
Module account: 0 failures, 1 errors
01/14/2022 00:37:40 ERROR
bad query: SELECT "res_company"."id" as "id","res_company"."sequence" as "sequence","res_company"."parent_id" as "parent_id","res_company"."partner_id" as "partner_id","res_company"."report_header" as "report_header","res_company"."report_footer" as "report_footer","res_company"."currency_id" as "currency_id","res_company"."account_no" as "account_no","res_company"."email" as "email","res_company"."phone" as "phone","res_company"."company_registry" as "company_registry","res_company"."paperformat_id" as "paperformat_id","res_company"."external_report_layout_id" as "external_report_layout_id","res_company"."base_onboarding_company_state" as "base_onboarding_company_state","res_company"."primary_color" as "primary_color","res_company"."secondary_color" as "secondary_color","res_company"."font" as "font","res_company"."social_twitter" as "social_twitter","res_company"."social_facebook" as "social_facebook","res_company"."social_github" as "social_github","res_company"."social_linkedin" as "social_linkedin","res_company"."social_youtube" as "social_youtube","res_company"."social_instagram" as "social_instagram","res_company"."hotline" as "hotline","res_company"."nomenclature_id" as "nomenclature_id","res_company"."resource_calendar_id" as "resource_calendar_id","res_company"."name" as "name","res_company"."gengo_private_key" as "gengo_private_key","res_company"."gengo_public_key" as "gengo_public_key","res_company"."gengo_comment" as "gengo_comment","res_company"."gengo_auto_approve" as "gengo_auto_approve","res_company"."gengo_sandbox" as "gengo_sandbox","res_company"."check_unique_vat" as "check_unique_vat","res_company"."rotating_token_life" as "rotating_token_life","res_company"."lunch_minimum_threshold" as "lunch_minimum_threshold","res_company"."partner_gid" as "partner_gid","res_company"."snailmail_color" as "snailmail_color","res_company"."snailmail_cover" as "snailmail_cover","res_company"."snailmail_duplex" as "snailmail_duplex","res_company"."intercompany_user_id" as "intercompany_user_id","res_company"."hr_presence_control_email_amount" as "hr_presence_control_email_amount","res_company"."hr_presence_control_ip_list" as "hr_presence_control_ip_list","res_company"."internal_transit_location_id" as "internal_transit_location_id","res_company"."stock_move_email_validation" as "stock_move_email_validation","res_company"."stock_mail_confirmation_template_id" as "stock_mail_confirmation_template_id","res_company"."send_hbd_email" as "send_hbd_email","res_company"."hdb_email_template_id" as "hdb_email_template_id","res_company"."check_unique_product_default_code" as "check_unique_product_default_code","res_company"."zoom_api_key" as "zoom_api_key","res_company"."zoom_secret_key" as "zoom_secret_key","res_company"."facebook_app_id" as "facebook_app_id","res_company"."facebook_client_secret" as "facebook_client_secret","res_company"."linkedin_app_id" as "linkedin_app_id","res_company"."linkedin_client_secret" as "linkedin_client_secret","res_company"."manufacturing_lead" as "manufacturing_lead","res_company"."stock_move_sms_validation" as "stock_move_sms_validation","res_company"."stock_sms_confirmation_template_id" as "stock_sms_confirmation_template_id","res_company"."has_received_warning_stock_sms" as "has_received_warning_stock_sms","res_company"."fiscalyear_last_day" as "fiscalyear_last_day","res_company"."fiscalyear_last_month" as "fiscalyear_last_month","res_company"."period_lock_date" as "period_lock_date","res_company"."fiscalyear_lock_date" as "fiscalyear_lock_date","res_company"."tax_lock_date" as "tax_lock_date","res_company"."transfer_account_id" as "transfer_account_id","res_company"."expects_chart_of_accounts" as "expects_chart_of_accounts","res_company"."chart_template_id" as "chart_template_id","res_company"."bank_account_code_prefix" as "bank_account_code_prefix","res_company"."cash_account_code_prefix" as "cash_account_code_prefix","res_company"."default_cash_difference_income_account_id" as "default_cash_difference_income_account_id","res_company"."default_cash_difference_expense_account_id" as "default_cash_difference_expense_account_id","res_company"."transfer_account_code_prefix" as "transfer_account_code_prefix","res_company"."account_sale_tax_id" as "account_sale_tax_id","res_company"."account_purchase_tax_id" as "account_purchase_tax_id","res_company"."tax_cash_basis_journal_id" as "tax_cash_basis_journal_id","res_company"."tax_calculation_rounding_method" as "tax_calculation_rounding_method","res_company"."currency_exchange_journal_id" as "currency_exchange_journal_id","res_company"."anglo_saxon_accounting" as "anglo_saxon_accounting","res_company"."property_stock_account_input_categ_id" as "property_stock_account_input_categ_id","res_company"."property_stock_account_output_categ_id" as "property_stock_account_output_categ_id","res_company"."property_stock_valuation_account_id" as "property_stock_valuation_account_id","res_company"."tax_exigibility" as "tax_exigibility","res_company"."account_bank_reconciliation_start" as "account_bank_reconciliation_start","res_company"."incoterm_id" as "incoterm_id","res_company"."qr_code" as "qr_code","res_company"."invoice_is_email" as "invoice_is_email","res_company"."invoice_is_print" as "invoice_is_print","res_company"."account_opening_move_id" as "account_opening_move_id","res_company"."account_setup_bank_data_state" as "account_setup_bank_data_state","res_company"."account_setup_fy_data_state" as "account_setup_fy_data_state","res_company"."account_setup_coa_state" as "account_setup_coa_state","res_company"."account_onboarding_invoice_layout_state" as "account_onboarding_invoice_layout_state","res_company"."account_onboarding_sample_invoice_state" as "account_onboarding_sample_invoice_state","res_company"."account_onboarding_sale_tax_state" as "account_onboarding_sale_tax_state","res_company"."account_invoice_onboarding_state" as "account_invoice_onboarding_state","res_company"."account_dashboard_onboarding_state" as "account_dashboard_onboarding_state","res_company"."invoice_terms" as "invoice_terms","res_company"."account_default_pos_receivable_account_id" as "account_default_pos_receivable_account_id","res_company"."expense_accrual_account_id" as "expense_accrual_account_id","res_company"."revenue_accrual_account_id" as "revenue_accrual_account_id","res_company"."accrual_default_journal_id" as "accrual_default_journal_id","res_company"."hr_presence_last_compute_date" as "hr_presence_last_compute_date","res_company"."subcontracting_location_id" as "subcontracting_location_id","res_company"."default_helpdesk_team_id" as "default_helpdesk_team_id","res_company"."account_check_printing_layout" as "account_check_printing_layout","res_company"."account_check_printing_date_label" as "account_check_printing_date_label","res_company"."account_check_printing_multi_stub" as "account_check_printing_multi_stub","res_company"."account_check_printing_margin_top" as "account_check_printing_margin_top","res_company"."account_check_printing_margin_left" as "account_check_printing_margin_left","res_company"."account_check_printing_margin_right" as "account_check_printing_margin_right","res_company"."vat_check_vies" as "vat_check_vies","res_company"."project_time_mode_id" as "project_time_mode_id","res_company"."timesheet_encode_uom_id" as "timesheet_encode_uom_id","res_company"."payment_acquirer_onboarding_state" as "payment_acquirer_onboarding_state","res_company"."payment_onboarding_payment_method" as "payment_onboarding_payment_method","res_company"."po_lead" as "po_lead","res_company"."po_lock" as "po_lock","res_company"."po_double_validation" as "po_double_validation","res_company"."po_double_validation_amount" as "po_double_validation_amount","res_company"."invoice_is_snailmail" as "invoice_is_snailmail","res_company"."balance_carry_forward_journal_id" as "balance_carry_forward_journal_id","res_company"."affiliate_comm_percentage" as "affiliate_comm_percentage","res_company"."affiliate_cookie_age" as "affiliate_cookie_age","res_company"."affiliate_min_payout" as "affiliate_min_payout","res_company"."commission_product_id" as "commission_product_id","res_company"."aff_allowed" as "aff_allowed","res_company"."compute_aff_method" as "compute_aff_method","res_company"."main_currency_bank_id" as "main_currency_bank_id","res_company"."amount_double_validation" as "amount_double_validation","res_company"."use_employee_advance_pass_through_account" as "use_employee_advance_pass_through_account","res_company"."loan_borrowing_journal_id" as "loan_borrowing_journal_id","res_company"."loan_borrowing_account_id" as "loan_borrowing_account_id","res_company"."loan_lending_journal_id" as "loan_lending_journal_id","res_company"."loan_lending_account_id" as "loan_lending_account_id","res_company"."vendor_app_comm_percent" as "vendor_app_comm_percent","res_company"."vendor_app_min_payout" as "vendor_app_min_payout","res_company"."dedicated_app_download_token_lifetime" as "dedicated_app_download_token_lifetime","res_company"."app_download_token_lifetime" as "app_download_token_lifetime","res_company"."leave_timesheet_project_id" as "leave_timesheet_project_id","res_company"."leave_timesheet_task_id" as "leave_timesheet_task_id","res_company"."portal_confirmation_sign" as "portal_confirmation_sign","res_company"."portal_confirmation_pay" as "portal_confirmation_pay","res_company"."quotation_validity_days" as "quotation_validity_days","res_company"."sale_quotation_onboarding_state" as "sale_quotation_onboarding_state","res_company"."sale_onboarding_order_confirmation_state" as "sale_onboarding_order_confirmation_state","res_company"."sale_onboarding_sample_quotation_state" as "sale_onboarding_sample_quotation_state","res_company"."sale_onboarding_payment_method" as "sale_onboarding_payment_method","res_company"."days_between_two_followups" as "days_between_two_followups","res_company"."overdue_msg" as "overdue_msg","res_company"."totals_below_sections" as "totals_below_sections","res_company"."currency_conversion_diff_journal_id" as "currency_conversion_diff_journal_id","res_company"."einvoice_lock_legal_number" as "einvoice_lock_legal_number","res_company"."einvoice_issue_earliest_invoice_first" as "einvoice_issue_earliest_invoice_first","res_company"."sinvoice_exchange_file_as_attachment" as "sinvoice_exchange_file_as_attachment","res_company"."sinvoice_representation_file_as_attachment" as "sinvoice_representation_file_as_attachment","res_company"."einvoice_auto_issue" as "einvoice_auto_issue","res_company"."basic_wage_rule_categ_id" as "basic_wage_rule_categ_id","res_company"."gross_salary_rule_categ_id" as "gross_salary_rule_categ_id","res_company"."tax_base_rule_categ_id" as "tax_base_rule_categ_id","res_company"."net_income_salary_rule_categ_id" as "net_income_salary_rule_categ_id","res_company"."payslips_auto_generation" as "payslips_auto_generation","res_company"."payslips_auto_generation_mode" as "payslips_auto_generation_mode","res_company"."payslips_auto_generation_day" as "payslips_auto_generation_day","res_company"."payslips_auto_generation_lang" as "payslips_auto_generation_lang","res_company"."salary_cycle_id" as "salary_cycle_id","res_company"."property_promotion_voucher_profit_account_id" as "property_promotion_voucher_profit_account_id","res_company"."property_promotion_voucher_loss_account_id" as "property_promotion_voucher_loss_account_id","res_company"."property_unearn_revenue_account_id" as "property_unearn_revenue_account_id","res_company"."allow_edit_website_jobs_company_setting" as "allow_edit_website_jobs_company_setting","res_company"."security_lead" as "security_lead","res_company"."lc_journal_id" as "lc_journal_id","res_company"."payslip_batch_journal_entry" as "payslip_batch_journal_entry","res_company"."default_meal_emp_price" as "default_meal_emp_price","res_company"."general_overhead" as "general_overhead","res_company"."loyalty_points_reward_policy" as "loyalty_points_reward_policy","res_company"."manufacturing_period" as "manufacturing_period","res_company"."manufacturing_period_to_display" as "manufacturing_period_to_display","res_company"."mrp_mps_show_starting_inventory" as "mrp_mps_show_starting_inventory","res_company"."mrp_mps_show_demand_forecast" as "mrp_mps_show_demand_forecast","res_company"."mrp_mps_show_actual_demand" as "mrp_mps_show_actual_demand","res_company"."mrp_mps_show_indirect_demand" as "mrp_mps_show_indirect_demand","res_company"."mrp_mps_show_to_replenish" as "mrp_mps_show_to_replenish","res_company"."mrp_mps_show_actual_replenishment" as "mrp_mps_show_actual_replenishment","res_company"."mrp_mps_show_safety_stock" as "mrp_mps_show_safety_stock","res_company"."mrp_mps_show_available_to_promise" as "mrp_mps_show_available_to_promise","res_company"."sales_price_modifying_group_id" as "sales_price_modifying_group_id","res_company"."prevent_unlink_related_invoices" as "prevent_unlink_related_invoices","res_company"."website_sale_onboarding_payment_acquirer_state" as "website_sale_onboarding_payment_acquirer_state","res_company"."sinvoice_mode" as "sinvoice_mode","res_company"."sinvoice_start" as "sinvoice_start","res_company"."account_sinvoice_serial_id" as "account_sinvoice_serial_id","res_company"."account_sinvoice_template_id" as "account_sinvoice_template_id","res_company"."account_sinvoice_type_id" as "account_sinvoice_type_id","res_company"."sinvoice_synch_payment_status" as "sinvoice_synch_payment_status","res_company"."sinvoice_conversion_user_id" as "sinvoice_conversion_user_id","res_company"."sinvoice_api_username" as "sinvoice_api_username","res_company"."sinvoice_api_password" as "sinvoice_api_password","res_company"."sinvoice_max_len_bank_name" as "sinvoice_max_len_bank_name","res_company"."sinvoice_max_len_bank_account" as "sinvoice_max_len_bank_account","res_company"."einvoice_provider" as "einvoice_provider","res_company"."vninvoice_mode" as "vninvoice_mode","res_company"."vninvoice_start_date" as "vninvoice_start_date","res_company"."account_vninvoice_serial_id" as "account_vninvoice_serial_id","res_company"."account_vninvoice_template_id" as "account_vninvoice_template_id","res_company"."account_vninvoice_type_id" as "account_vninvoice_type_id","res_company"."vninvoice_api_username" as "vninvoice_api_username","res_company"."vninvoice_api_password" as "vninvoice_api_password","res_company"."account_journal_custom_clearance" as "account_journal_custom_clearance","res_company"."imp_custom_dec_sequence_id" as "imp_custom_dec_sequence_id","res_company"."exp_custom_dec_sequence_id" as "exp_custom_dec_sequence_id","res_company"."overtime_recognition_mode" as "overtime_recognition_mode","res_company"."prevent_unlink_related_pickings" as "prevent_unlink_related_pickings","res_company"."landed_cost_journal_id" as "landed_cost_journal_id","res_company"."applicable_on" as "applicable_on","res_company"."so_po_auto_validation" as "so_po_auto_validation","res_company"."import_vat_ctp_account_id" as "import_vat_ctp_account_id","res_company"."import_tax_payment_term" as "import_tax_payment_term","res_company"."export_vat_ctp_account_id" as "export_vat_ctp_account_id","res_company"."export_tax_payment_term" as "export_tax_payment_term","res_company"."use_intermediary_account" as "use_intermediary_account","res_company"."inter_comp_warehouse_id" as "inter_comp_warehouse_id","res_company"."create_uid" as "create_uid","res_company"."create_date" as "create_date","res_company"."write_uid" as "write_uid","res_company"."write_date" as "write_date" FROM "res_company" WHERE "res_company".id IN (1)
ERROR: column res_company.einvoice_auto_issue does not exist
LINE 1: ..." as "sinvoice_representation_file_as_attachment","res_compa...
^
01/14/2022 00:37:40 ERROR
ERROR: setUpClass (odoo.addons.account.tests.test_account_move_entry.TestAccountMove)
Traceback (most recent call last):
File "/opt/odoo/13.0/odoo/api.py", line 748, in get
value = self._data[field][record._ids[0]]
KeyError: 1

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/odoo/13.0/odoo/fields.py", line 1038, in __get__
value = env.cache.get(record, self)
File "/opt/odoo/13.0/odoo/api.py", line 754, in get
raise CacheMiss(record, field)
odoo.exceptions.CacheMiss: ('res.company(1,).country_id', None)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/odoo/13.0/odoo/api.py", line 748, in get
value = self._data[field][record._ids[0]]
KeyError: 1

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/odoo/13.0/odoo/fields.py", line 1038, in __get__
value = env.cache.get(record, self)
File "/opt/odoo/13.0/odoo/api.py", line 754, in get
raise CacheMiss(record, field)
odoo.exceptions.CacheMiss: ('res.company(1,).partner_id', None)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/odoo/13.0/odoo/tests/common.py", line 191, in _handleClassSetUp
setUpClass()
File "/opt/odoo/13.0/addons/account/tests/test_account_move_entry.py", line 14, in setUpClass
super().setUpClass(chart_template_ref=chart_template_ref)
File "/opt/odoo/13.0/addons/account/tests/account_test_savepoint.py", line 51, in setUpClass
cls.company_data_2 = cls.setup_company_data('company_2_data', chart_template)
File "/opt/odoo/13.0/addons/account/tests/account_test_savepoint.py", line 197, in setup_company_data
**kwargs,
File "<decorator-gen-435>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 338, in _model_create_multi
return create(self, [arg])
File "/home/my077ib0t8sl-28822/build_src/to_inter_company_sale_purchase_stock/models/res_company.py", line 13, in create
res = super(ResCompany, self).create(vals_list)
File "<decorator-gen-425>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 320, in _model_create_single
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/odoo/api.py", line 320, in <genexpr>
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/viindooaddons13.0/to_foreign_trade/models/res_company.py", line 28, in create
res = super(ResCompany, self).create(vals)
File "<decorator-gen-364>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 338, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/viindooaddons13.0/to_hr_payroll/models/res_company.py", line 736, in create
companies = super(ResCompany, self).create(vals_list)
File "<decorator-gen-354>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 320, in _model_create_single
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/odoo/api.py", line 320, in <genexpr>
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/addons/project_timesheet_holidays/models/res_company.py", line 30, in create
company = super(Company, self).create(values)
File "<decorator-gen-341>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 338, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/viindooaddons13.0/viin_hr_overtime/models/res_company.py", line 17, in create
companies = super(ResCompany, self).create(vals_list)
File "<decorator-gen-331>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 320, in _model_create_single
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/odoo/api.py", line 320, in <genexpr>
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/viindooaddons13.0/to_maintenance_approval/models/res_company.py", line 27, in create
company = super(ResCompany, self).create(values)
File "<decorator-gen-289>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 338, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/viindooaddons13.0/viin_helpdesk/models/res_company.py", line 14, in create
companies = super(Company, self).create(vals_list)
File "<decorator-gen-280>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/viindooaddons13.0/to_approvals/models/res_company.py", line 31, in create
companies = super(ResCompany, self).create(vals_list)
File "<decorator-gen-190>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 320, in _model_create_single
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/odoo/api.py", line 320, in <genexpr>
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/addons/stock/models/res_company.py", line 181, in create
company = super(Company, self).create(vals)
File "<decorator-gen-152>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 317, in _model_create_single
return create(self, arg)
File "/opt/odoo/13.0/addons/product/models/res_company.py", line 12, in create
new_company = super(ResCompany, self).create(vals)
File "<decorator-gen-102>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 317, in _model_create_single
return create(self, arg)
File "/opt/odoo/13.0/addons/resource/models/res_company.py", line 28, in create
company = super(ResCompany, self).create(values)
File "<decorator-gen-95>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 317, in _model_create_single
return create(self, arg)
File "/opt/odoo/13.0/addons/web/models/models.py", line 397, in create
res = super().create(values)
File "<decorator-gen-84>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 317, in _model_create_single
return create(self, arg)
File "/opt/odoo/13.0/odoo/addons/base/models/res_company.py", line 227, in create
'country_id': vals.get('country_id'),
File "<decorator-gen-420>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 338, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/viindooaddons13.0/to_foreign_trade/models/res_partner.py", line 72, in create
partners = super(res_partner, self).create(vals_list)
File "<decorator-gen-297>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 320, in _model_create_single
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/odoo/api.py", line 320, in <genexpr>
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/addons/base_vat/models/res_partner.py", line 529, in create
return super(ResPartner, self).create(values)
File "<decorator-gen-262>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 338, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/13.0/addons/account/models/partner.py", line 515, in create
return super().create(vals_list)
File "<decorator-gen-143>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/13.0/addons/partner_autocomplete/models/res_partner.py", line 183, in create
partners = super(ResPartner, self).create(vals_list)
File "<decorator-gen-83>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/13.0/odoo/addons/base/models/res_partner.py", line 544, in create
partners = super(Partner, self).create(vals_list)
File "<decorator-gen-115>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/13.0/addons/mail/models/mail_thread.py", line 269, in create
threads = super(MailThread, self).create(vals_list)
File "<decorator-gen-253>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/13.0/addons/website/models/mixins.py", line 152, in create
records = super(WebsitePublishedMixin, self).create(vals_list)
File "<decorator-gen-98>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/viindooaddons13.0/viin_user_assignment_log/models/base.py", line 11, in create
records = super(Base, self).create(vals_list)
File "<decorator-gen-3>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/13.0/odoo/models.py", line 3825, in create
records = self._create(data_list)
File "/opt/odoo/13.0/odoo/models.py", line 3998, in _create
records._validate_fields(name for data in data_list for name in data['stored'])
File "/opt/odoo/13.0/odoo/models.py", line 1212, in _validate_fields
check(self)
File "/opt/odoo/viindooaddons13.0/to_partner_check_unique_vat/models/res_partner.py", line 10, in _check_unique_vat
self.flush()
File "/opt/odoo/13.0/odoo/models.py", line 5514, in flush
self.recompute()
File "/opt/odoo/13.0/odoo/models.py", line 5956, in recompute
process(field)
File "/opt/odoo/13.0/odoo/models.py", line 5940, in process
recs.mapped(field.name)
File "/opt/odoo/13.0/odoo/models.py", line 5322, in mapped
recs = recs._mapped_func(operator.itemgetter(name))
File "/opt/odoo/13.0/odoo/models.py", line 5281, in _mapped_func
vals = [func(rec) for rec in self]
File "/opt/odoo/13.0/odoo/models.py", line 5281, in <listcomp>
vals = [func(rec) for rec in self]
File "/opt/odoo/13.0/odoo/models.py", line 5746, in __getitem__
return self._fields[key].__get__(self, type(self))
File "/opt/odoo/13.0/odoo/fields.py", line 1033, in __get__
self.compute_value(recs)
File "/opt/odoo/13.0/odoo/fields.py", line 1147, in compute_value
records._compute_field_value(self)
File "/opt/odoo/13.0/odoo/models.py", line 4018, in _compute_field_value
getattr(self, field.compute)()
File "/opt/odoo/13.0/addons/phone_validation/models/mail_thread_phone.py", line 44, in _compute_phone_sanitized
sanitized = record.phone_get_sanitized_number(number_fname=fname)
File "/opt/odoo/13.0/addons/phone_validation/models/mail_thread_phone.py", line 117, in phone_get_sanitized_number
return phone_validation.phone_sanitize_numbers_w_record([number], self, record_country_fname=country_fname, force_format=force_format)[number]['sanitized']
File "/opt/odoo/13.0/addons/phone_validation/tools/phone_validation.py", line 113, in phone_sanitize_numbers_w_record
country = record.env.company.country_id
File "/opt/odoo/13.0/odoo/fields.py", line 2370, in __get__
return super().__get__(records, owner)
File "/opt/odoo/13.0/odoo/fields.py", line 1062, in __get__
self.compute_value(recs)
File "/opt/odoo/13.0/odoo/fields.py", line 1147, in compute_value
records._compute_field_value(self)
File "/opt/odoo/13.0/odoo/models.py", line 4018, in _compute_field_value
getattr(self, field.compute)()
File "/opt/odoo/13.0/odoo/addons/base/models/res_company.py", line 127, in _compute_address
for company in self.filtered(lambda company: company.partner_id):
File "/opt/odoo/13.0/odoo/models.py", line 5359, in filtered
return self.browse([rec.id for rec in self if func(rec)])
File "/opt/odoo/13.0/odoo/models.py", line 5359, in <listcomp>
return self.browse([rec.id for rec in self if func(rec)])
File "/opt/odoo/13.0/odoo/addons/base/models/res_company.py", line 127, in <lambda>
for company in self.filtered(lambda company: company.partner_id):
File "/opt/odoo/13.0/odoo/fields.py", line 2370, in __get__
return super().__get__(records, owner)
File "/opt/odoo/13.0/odoo/fields.py", line 1045, in __get__
recs._fetch_field(self)
File "/opt/odoo/13.0/odoo/models.py", line 3002, in _fetch_field
self._read(fnames)
File "/opt/odoo/13.0/odoo/models.py", line 3074, in _read
cr.execute(query_str, params)
File "/opt/odoo/13.0/odoo/sql_db.py", line 173, in wrapper
return f(self, *args, **kwargs)
File "/opt/odoo/13.0/odoo/sql_db.py", line 250, in execute
res = self._obj.execute(query, params)
psycopg2.ProgrammingError: column res_company.einvoice_auto_issue does not exist
LINE 1: ..." as "sinvoice_representation_file_as_attachment","res_compa...
^
01/14/2022 00:37:40 ERROR
Module account: 0 failures, 1 errors
01/14/2022 00:37:41 ERROR
bad query: SELECT "res_company"."id" as "id","res_company"."sequence" as "sequence","res_company"."parent_id" as "parent_id","res_company"."partner_id" as "partner_id","res_company"."report_header" as "report_header","res_company"."report_footer" as "report_footer","res_company"."currency_id" as "currency_id","res_company"."account_no" as "account_no","res_company"."email" as "email","res_company"."phone" as "phone","res_company"."company_registry" as "company_registry","res_company"."paperformat_id" as "paperformat_id","res_company"."external_report_layout_id" as "external_report_layout_id","res_company"."base_onboarding_company_state" as "base_onboarding_company_state","res_company"."primary_color" as "primary_color","res_company"."secondary_color" as "secondary_color","res_company"."font" as "font","res_company"."social_twitter" as "social_twitter","res_company"."social_facebook" as "social_facebook","res_company"."social_github" as "social_github","res_company"."social_linkedin" as "social_linkedin","res_company"."social_youtube" as "social_youtube","res_company"."social_instagram" as "social_instagram","res_company"."hotline" as "hotline","res_company"."nomenclature_id" as "nomenclature_id","res_company"."resource_calendar_id" as "resource_calendar_id","res_company"."name" as "name","res_company"."gengo_private_key" as "gengo_private_key","res_company"."gengo_public_key" as "gengo_public_key","res_company"."gengo_comment" as "gengo_comment","res_company"."gengo_auto_approve" as "gengo_auto_approve","res_company"."gengo_sandbox" as "gengo_sandbox","res_company"."check_unique_vat" as "check_unique_vat","res_company"."rotating_token_life" as "rotating_token_life","res_company"."lunch_minimum_threshold" as "lunch_minimum_threshold","res_company"."partner_gid" as "partner_gid","res_company"."snailmail_color" as "snailmail_color","res_company"."snailmail_cover" as "snailmail_cover","res_company"."snailmail_duplex" as "snailmail_duplex","res_company"."intercompany_user_id" as "intercompany_user_id","res_company"."hr_presence_control_email_amount" as "hr_presence_control_email_amount","res_company"."hr_presence_control_ip_list" as "hr_presence_control_ip_list","res_company"."internal_transit_location_id" as "internal_transit_location_id","res_company"."stock_move_email_validation" as "stock_move_email_validation","res_company"."stock_mail_confirmation_template_id" as "stock_mail_confirmation_template_id","res_company"."send_hbd_email" as "send_hbd_email","res_company"."hdb_email_template_id" as "hdb_email_template_id","res_company"."check_unique_product_default_code" as "check_unique_product_default_code","res_company"."zoom_api_key" as "zoom_api_key","res_company"."zoom_secret_key" as "zoom_secret_key","res_company"."facebook_app_id" as "facebook_app_id","res_company"."facebook_client_secret" as "facebook_client_secret","res_company"."linkedin_app_id" as "linkedin_app_id","res_company"."linkedin_client_secret" as "linkedin_client_secret","res_company"."manufacturing_lead" as "manufacturing_lead","res_company"."stock_move_sms_validation" as "stock_move_sms_validation","res_company"."stock_sms_confirmation_template_id" as "stock_sms_confirmation_template_id","res_company"."has_received_warning_stock_sms" as "has_received_warning_stock_sms","res_company"."fiscalyear_last_day" as "fiscalyear_last_day","res_company"."fiscalyear_last_month" as "fiscalyear_last_month","res_company"."period_lock_date" as "period_lock_date","res_company"."fiscalyear_lock_date" as "fiscalyear_lock_date","res_company"."tax_lock_date" as "tax_lock_date","res_company"."transfer_account_id" as "transfer_account_id","res_company"."expects_chart_of_accounts" as "expects_chart_of_accounts","res_company"."chart_template_id" as "chart_template_id","res_company"."bank_account_code_prefix" as "bank_account_code_prefix","res_company"."cash_account_code_prefix" as "cash_account_code_prefix","res_company"."default_cash_difference_income_account_id" as "default_cash_difference_income_account_id","res_company"."default_cash_difference_expense_account_id" as "default_cash_difference_expense_account_id","res_company"."transfer_account_code_prefix" as "transfer_account_code_prefix","res_company"."account_sale_tax_id" as "account_sale_tax_id","res_company"."account_purchase_tax_id" as "account_purchase_tax_id","res_company"."tax_cash_basis_journal_id" as "tax_cash_basis_journal_id","res_company"."tax_calculation_rounding_method" as "tax_calculation_rounding_method","res_company"."currency_exchange_journal_id" as "currency_exchange_journal_id","res_company"."anglo_saxon_accounting" as "anglo_saxon_accounting","res_company"."property_stock_account_input_categ_id" as "property_stock_account_input_categ_id","res_company"."property_stock_account_output_categ_id" as "property_stock_account_output_categ_id","res_company"."property_stock_valuation_account_id" as "property_stock_valuation_account_id","res_company"."tax_exigibility" as "tax_exigibility","res_company"."account_bank_reconciliation_start" as "account_bank_reconciliation_start","res_company"."incoterm_id" as "incoterm_id","res_company"."qr_code" as "qr_code","res_company"."invoice_is_email" as "invoice_is_email","res_company"."invoice_is_print" as "invoice_is_print","res_company"."account_opening_move_id" as "account_opening_move_id","res_company"."account_setup_bank_data_state" as "account_setup_bank_data_state","res_company"."account_setup_fy_data_state" as "account_setup_fy_data_state","res_company"."account_setup_coa_state" as "account_setup_coa_state","res_company"."account_onboarding_invoice_layout_state" as "account_onboarding_invoice_layout_state","res_company"."account_onboarding_sample_invoice_state" as "account_onboarding_sample_invoice_state","res_company"."account_onboarding_sale_tax_state" as "account_onboarding_sale_tax_state","res_company"."account_invoice_onboarding_state" as "account_invoice_onboarding_state","res_company"."account_dashboard_onboarding_state" as "account_dashboard_onboarding_state","res_company"."invoice_terms" as "invoice_terms","res_company"."account_default_pos_receivable_account_id" as "account_default_pos_receivable_account_id","res_company"."expense_accrual_account_id" as "expense_accrual_account_id","res_company"."revenue_accrual_account_id" as "revenue_accrual_account_id","res_company"."accrual_default_journal_id" as "accrual_default_journal_id","res_company"."hr_presence_last_compute_date" as "hr_presence_last_compute_date","res_company"."subcontracting_location_id" as "subcontracting_location_id","res_company"."default_helpdesk_team_id" as "default_helpdesk_team_id","res_company"."account_check_printing_layout" as "account_check_printing_layout","res_company"."account_check_printing_date_label" as "account_check_printing_date_label","res_company"."account_check_printing_multi_stub" as "account_check_printing_multi_stub","res_company"."account_check_printing_margin_top" as "account_check_printing_margin_top","res_company"."account_check_printing_margin_left" as "account_check_printing_margin_left","res_company"."account_check_printing_margin_right" as "account_check_printing_margin_right","res_company"."vat_check_vies" as "vat_check_vies","res_company"."project_time_mode_id" as "project_time_mode_id","res_company"."timesheet_encode_uom_id" as "timesheet_encode_uom_id","res_company"."payment_acquirer_onboarding_state" as "payment_acquirer_onboarding_state","res_company"."payment_onboarding_payment_method" as "payment_onboarding_payment_method","res_company"."po_lead" as "po_lead","res_company"."po_lock" as "po_lock","res_company"."po_double_validation" as "po_double_validation","res_company"."po_double_validation_amount" as "po_double_validation_amount","res_company"."invoice_is_snailmail" as "invoice_is_snailmail","res_company"."balance_carry_forward_journal_id" as "balance_carry_forward_journal_id","res_company"."affiliate_comm_percentage" as "affiliate_comm_percentage","res_company"."affiliate_cookie_age" as "affiliate_cookie_age","res_company"."affiliate_min_payout" as "affiliate_min_payout","res_company"."commission_product_id" as "commission_product_id","res_company"."aff_allowed" as "aff_allowed","res_company"."compute_aff_method" as "compute_aff_method","res_company"."main_currency_bank_id" as "main_currency_bank_id","res_company"."amount_double_validation" as "amount_double_validation","res_company"."use_employee_advance_pass_through_account" as "use_employee_advance_pass_through_account","res_company"."loan_borrowing_journal_id" as "loan_borrowing_journal_id","res_company"."loan_borrowing_account_id" as "loan_borrowing_account_id","res_company"."loan_lending_journal_id" as "loan_lending_journal_id","res_company"."loan_lending_account_id" as "loan_lending_account_id","res_company"."vendor_app_comm_percent" as "vendor_app_comm_percent","res_company"."vendor_app_min_payout" as "vendor_app_min_payout","res_company"."dedicated_app_download_token_lifetime" as "dedicated_app_download_token_lifetime","res_company"."app_download_token_lifetime" as "app_download_token_lifetime","res_company"."leave_timesheet_project_id" as "leave_timesheet_project_id","res_company"."leave_timesheet_task_id" as "leave_timesheet_task_id","res_company"."portal_confirmation_sign" as "portal_confirmation_sign","res_company"."portal_confirmation_pay" as "portal_confirmation_pay","res_company"."quotation_validity_days" as "quotation_validity_days","res_company"."sale_quotation_onboarding_state" as "sale_quotation_onboarding_state","res_company"."sale_onboarding_order_confirmation_state" as "sale_onboarding_order_confirmation_state","res_company"."sale_onboarding_sample_quotation_state" as "sale_onboarding_sample_quotation_state","res_company"."sale_onboarding_payment_method" as "sale_onboarding_payment_method","res_company"."days_between_two_followups" as "days_between_two_followups","res_company"."overdue_msg" as "overdue_msg","res_company"."totals_below_sections" as "totals_below_sections","res_company"."currency_conversion_diff_journal_id" as "currency_conversion_diff_journal_id","res_company"."einvoice_lock_legal_number" as "einvoice_lock_legal_number","res_company"."einvoice_issue_earliest_invoice_first" as "einvoice_issue_earliest_invoice_first","res_company"."sinvoice_exchange_file_as_attachment" as "sinvoice_exchange_file_as_attachment","res_company"."sinvoice_representation_file_as_attachment" as "sinvoice_representation_file_as_attachment","res_company"."einvoice_auto_issue" as "einvoice_auto_issue","res_company"."basic_wage_rule_categ_id" as "basic_wage_rule_categ_id","res_company"."gross_salary_rule_categ_id" as "gross_salary_rule_categ_id","res_company"."tax_base_rule_categ_id" as "tax_base_rule_categ_id","res_company"."net_income_salary_rule_categ_id" as "net_income_salary_rule_categ_id","res_company"."payslips_auto_generation" as "payslips_auto_generation","res_company"."payslips_auto_generation_mode" as "payslips_auto_generation_mode","res_company"."payslips_auto_generation_day" as "payslips_auto_generation_day","res_company"."payslips_auto_generation_lang" as "payslips_auto_generation_lang","res_company"."salary_cycle_id" as "salary_cycle_id","res_company"."property_promotion_voucher_profit_account_id" as "property_promotion_voucher_profit_account_id","res_company"."property_promotion_voucher_loss_account_id" as "property_promotion_voucher_loss_account_id","res_company"."property_unearn_revenue_account_id" as "property_unearn_revenue_account_id","res_company"."allow_edit_website_jobs_company_setting" as "allow_edit_website_jobs_company_setting","res_company"."security_lead" as "security_lead","res_company"."lc_journal_id" as "lc_journal_id","res_company"."payslip_batch_journal_entry" as "payslip_batch_journal_entry","res_company"."default_meal_emp_price" as "default_meal_emp_price","res_company"."general_overhead" as "general_overhead","res_company"."loyalty_points_reward_policy" as "loyalty_points_reward_policy","res_company"."manufacturing_period" as "manufacturing_period","res_company"."manufacturing_period_to_display" as "manufacturing_period_to_display","res_company"."mrp_mps_show_starting_inventory" as "mrp_mps_show_starting_inventory","res_company"."mrp_mps_show_demand_forecast" as "mrp_mps_show_demand_forecast","res_company"."mrp_mps_show_actual_demand" as "mrp_mps_show_actual_demand","res_company"."mrp_mps_show_indirect_demand" as "mrp_mps_show_indirect_demand","res_company"."mrp_mps_show_to_replenish" as "mrp_mps_show_to_replenish","res_company"."mrp_mps_show_actual_replenishment" as "mrp_mps_show_actual_replenishment","res_company"."mrp_mps_show_safety_stock" as "mrp_mps_show_safety_stock","res_company"."mrp_mps_show_available_to_promise" as "mrp_mps_show_available_to_promise","res_company"."sales_price_modifying_group_id" as "sales_price_modifying_group_id","res_company"."prevent_unlink_related_invoices" as "prevent_unlink_related_invoices","res_company"."website_sale_onboarding_payment_acquirer_state" as "website_sale_onboarding_payment_acquirer_state","res_company"."sinvoice_mode" as "sinvoice_mode","res_company"."sinvoice_start" as "sinvoice_start","res_company"."account_sinvoice_serial_id" as "account_sinvoice_serial_id","res_company"."account_sinvoice_template_id" as "account_sinvoice_template_id","res_company"."account_sinvoice_type_id" as "account_sinvoice_type_id","res_company"."sinvoice_synch_payment_status" as "sinvoice_synch_payment_status","res_company"."sinvoice_conversion_user_id" as "sinvoice_conversion_user_id","res_company"."sinvoice_api_username" as "sinvoice_api_username","res_company"."sinvoice_api_password" as "sinvoice_api_password","res_company"."sinvoice_max_len_bank_name" as "sinvoice_max_len_bank_name","res_company"."sinvoice_max_len_bank_account" as "sinvoice_max_len_bank_account","res_company"."einvoice_provider" as "einvoice_provider","res_company"."vninvoice_mode" as "vninvoice_mode","res_company"."vninvoice_start_date" as "vninvoice_start_date","res_company"."account_vninvoice_serial_id" as "account_vninvoice_serial_id","res_company"."account_vninvoice_template_id" as "account_vninvoice_template_id","res_company"."account_vninvoice_type_id" as "account_vninvoice_type_id","res_company"."vninvoice_api_username" as "vninvoice_api_username","res_company"."vninvoice_api_password" as "vninvoice_api_password","res_company"."account_journal_custom_clearance" as "account_journal_custom_clearance","res_company"."imp_custom_dec_sequence_id" as "imp_custom_dec_sequence_id","res_company"."exp_custom_dec_sequence_id" as "exp_custom_dec_sequence_id","res_company"."overtime_recognition_mode" as "overtime_recognition_mode","res_company"."prevent_unlink_related_pickings" as "prevent_unlink_related_pickings","res_company"."landed_cost_journal_id" as "landed_cost_journal_id","res_company"."applicable_on" as "applicable_on","res_company"."so_po_auto_validation" as "so_po_auto_validation","res_company"."import_vat_ctp_account_id" as "import_vat_ctp_account_id","res_company"."import_tax_payment_term" as "import_tax_payment_term","res_company"."export_vat_ctp_account_id" as "export_vat_ctp_account_id","res_company"."export_tax_payment_term" as "export_tax_payment_term","res_company"."use_intermediary_account" as "use_intermediary_account","res_company"."inter_comp_warehouse_id" as "inter_comp_warehouse_id","res_company"."create_uid" as "create_uid","res_company"."create_date" as "create_date","res_company"."write_uid" as "write_uid","res_company"."write_date" as "write_date" FROM "res_company" WHERE "res_company".id IN (1)
ERROR: column res_company.einvoice_auto_issue does not exist
LINE 1: ..." as "sinvoice_representation_file_as_attachment","res_compa...
^
01/14/2022 00:37:41 ERROR
ERROR: setUpClass (odoo.addons.account.tests.test_account_move_in_invoice.TestAccountMoveInInvoiceOnchanges)
Traceback (most recent call last):
File "/opt/odoo/13.0/odoo/api.py", line 748, in get
value = self._data[field][record._ids[0]]
KeyError: 1

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/odoo/13.0/odoo/fields.py", line 1038, in __get__
value = env.cache.get(record, self)
File "/opt/odoo/13.0/odoo/api.py", line 754, in get
raise CacheMiss(record, field)
odoo.exceptions.CacheMiss: ('res.company(1,).country_id', None)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/odoo/13.0/odoo/api.py", line 748, in get
value = self._data[field][record._ids[0]]
KeyError: 1

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/odoo/13.0/odoo/fields.py", line 1038, in __get__
value = env.cache.get(record, self)
File "/opt/odoo/13.0/odoo/api.py", line 754, in get
raise CacheMiss(record, field)
odoo.exceptions.CacheMiss: ('res.company(1,).partner_id', None)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/odoo/13.0/odoo/tests/common.py", line 191, in _handleClassSetUp
setUpClass()
File "/opt/odoo/13.0/addons/account/tests/test_account_move_in_invoice.py", line 14, in setUpClass
super().setUpClass(chart_template_ref=chart_template_ref)
File "/opt/odoo/13.0/addons/account/tests/account_test_savepoint.py", line 51, in setUpClass
cls.company_data_2 = cls.setup_company_data('company_2_data', chart_template)
File "/opt/odoo/13.0/addons/account/tests/account_test_savepoint.py", line 197, in setup_company_data
**kwargs,
File "<decorator-gen-435>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 338, in _model_create_multi
return create(self, [arg])
File "/home/my077ib0t8sl-28822/build_src/to_inter_company_sale_purchase_stock/models/res_company.py", line 13, in create
res = super(ResCompany, self).create(vals_list)
File "<decorator-gen-425>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 320, in _model_create_single
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/odoo/api.py", line 320, in <genexpr>
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/viindooaddons13.0/to_foreign_trade/models/res_company.py", line 28, in create
res = super(ResCompany, self).create(vals)
File "<decorator-gen-364>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 338, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/viindooaddons13.0/to_hr_payroll/models/res_company.py", line 736, in create
companies = super(ResCompany, self).create(vals_list)
File "<decorator-gen-354>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 320, in _model_create_single
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/odoo/api.py", line 320, in <genexpr>
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/addons/project_timesheet_holidays/models/res_company.py", line 30, in create
company = super(Company, self).create(values)
File "<decorator-gen-341>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 338, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/viindooaddons13.0/viin_hr_overtime/models/res_company.py", line 17, in create
companies = super(ResCompany, self).create(vals_list)
File "<decorator-gen-331>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 320, in _model_create_single
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/odoo/api.py", line 320, in <genexpr>
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/viindooaddons13.0/to_maintenance_approval/models/res_company.py", line 27, in create
company = super(ResCompany, self).create(values)
File "<decorator-gen-289>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 338, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/viindooaddons13.0/viin_helpdesk/models/res_company.py", line 14, in create
companies = super(Company, self).create(vals_list)
File "<decorator-gen-280>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/viindooaddons13.0/to_approvals/models/res_company.py", line 31, in create
companies = super(ResCompany, self).create(vals_list)
File "<decorator-gen-190>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 320, in _model_create_single
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/odoo/api.py", line 320, in <genexpr>
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/addons/stock/models/res_company.py", line 181, in create
company = super(Company, self).create(vals)
File "<decorator-gen-152>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 317, in _model_create_single
return create(self, arg)
File "/opt/odoo/13.0/addons/product/models/res_company.py", line 12, in create
new_company = super(ResCompany, self).create(vals)
File "<decorator-gen-102>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 317, in _model_create_single
return create(self, arg)
File "/opt/odoo/13.0/addons/resource/models/res_company.py", line 28, in create
company = super(ResCompany, self).create(values)
File "<decorator-gen-95>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 317, in _model_create_single
return create(self, arg)
File "/opt/odoo/13.0/addons/web/models/models.py", line 397, in create
res = super().create(values)
File "<decorator-gen-84>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 317, in _model_create_single
return create(self, arg)
File "/opt/odoo/13.0/odoo/addons/base/models/res_company.py", line 227, in create
'country_id': vals.get('country_id'),
File "<decorator-gen-420>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 338, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/viindooaddons13.0/to_foreign_trade/models/res_partner.py", line 72, in create
partners = super(res_partner, self).create(vals_list)
File "<decorator-gen-297>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 320, in _model_create_single
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/odoo/api.py", line 320, in <genexpr>
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/addons/base_vat/models/res_partner.py", line 529, in create
return super(ResPartner, self).create(values)
File "<decorator-gen-262>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 338, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/13.0/addons/account/models/partner.py", line 515, in create
return super().create(vals_list)
File "<decorator-gen-143>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/13.0/addons/partner_autocomplete/models/res_partner.py", line 183, in create
partners = super(ResPartner, self).create(vals_list)
File "<decorator-gen-83>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/13.0/odoo/addons/base/models/res_partner.py", line 544, in create
partners = super(Partner, self).create(vals_list)
File "<decorator-gen-115>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/13.0/addons/mail/models/mail_thread.py", line 269, in create
threads = super(MailThread, self).create(vals_list)
File "<decorator-gen-253>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/13.0/addons/website/models/mixins.py", line 152, in create
records = super(WebsitePublishedMixin, self).create(vals_list)
File "<decorator-gen-98>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/viindooaddons13.0/viin_user_assignment_log/models/base.py", line 11, in create
records = super(Base, self).create(vals_list)
File "<decorator-gen-3>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/13.0/odoo/models.py", line 3825, in create
records = self._create(data_list)
File "/opt/odoo/13.0/odoo/models.py", line 3998, in _create
records._validate_fields(name for data in data_list for name in data['stored'])
File "/opt/odoo/13.0/odoo/models.py", line 1212, in _validate_fields
check(self)
File "/opt/odoo/viindooaddons13.0/to_partner_check_unique_vat/models/res_partner.py", line 10, in _check_unique_vat
self.flush()
File "/opt/odoo/13.0/odoo/models.py", line 5514, in flush
self.recompute()
File "/opt/odoo/13.0/odoo/models.py", line 5956, in recompute
process(field)
File "/opt/odoo/13.0/odoo/models.py", line 5940, in process
recs.mapped(field.name)
File "/opt/odoo/13.0/odoo/models.py", line 5322, in mapped
recs = recs._mapped_func(operator.itemgetter(name))
File "/opt/odoo/13.0/odoo/models.py", line 5281, in _mapped_func
vals = [func(rec) for rec in self]
File "/opt/odoo/13.0/odoo/models.py", line 5281, in <listcomp>
vals = [func(rec) for rec in self]
File "/opt/odoo/13.0/odoo/models.py", line 5746, in __getitem__
return self._fields[key].__get__(self, type(self))
File "/opt/odoo/13.0/odoo/fields.py", line 1033, in __get__
self.compute_value(recs)
File "/opt/odoo/13.0/odoo/fields.py", line 1147, in compute_value
records._compute_field_value(self)
File "/opt/odoo/13.0/odoo/models.py", line 4018, in _compute_field_value
getattr(self, field.compute)()
File "/opt/odoo/13.0/addons/phone_validation/models/mail_thread_phone.py", line 44, in _compute_phone_sanitized
sanitized = record.phone_get_sanitized_number(number_fname=fname)
File "/opt/odoo/13.0/addons/phone_validation/models/mail_thread_phone.py", line 117, in phone_get_sanitized_number
return phone_validation.phone_sanitize_numbers_w_record([number], self, record_country_fname=country_fname, force_format=force_format)[number]['sanitized']
File "/opt/odoo/13.0/addons/phone_validation/tools/phone_validation.py", line 113, in phone_sanitize_numbers_w_record
country = record.env.company.country_id
File "/opt/odoo/13.0/odoo/fields.py", line 2370, in __get__
return super().__get__(records, owner)
File "/opt/odoo/13.0/odoo/fields.py", line 1062, in __get__
self.compute_value(recs)
File "/opt/odoo/13.0/odoo/fields.py", line 1147, in compute_value
records._compute_field_value(self)
File "/opt/odoo/13.0/odoo/models.py", line 4018, in _compute_field_value
getattr(self, field.compute)()
File "/opt/odoo/13.0/odoo/addons/base/models/res_company.py", line 127, in _compute_address
for company in self.filtered(lambda company: company.partner_id):
File "/opt/odoo/13.0/odoo/models.py", line 5359, in filtered
return self.browse([rec.id for rec in self if func(rec)])
File "/opt/odoo/13.0/odoo/models.py", line 5359, in <listcomp>
return self.browse([rec.id for rec in self if func(rec)])
File "/opt/odoo/13.0/odoo/addons/base/models/res_company.py", line 127, in <lambda>
for company in self.filtered(lambda company: company.partner_id):
File "/opt/odoo/13.0/odoo/fields.py", line 2370, in __get__
return super().__get__(records, owner)
File "/opt/odoo/13.0/odoo/fields.py", line 1045, in __get__
recs._fetch_field(self)
File "/opt/odoo/13.0/odoo/models.py", line 3002, in _fetch_field
self._read(fnames)
File "/opt/odoo/13.0/odoo/models.py", line 3074, in _read
cr.execute(query_str, params)
File "/opt/odoo/13.0/odoo/sql_db.py", line 173, in wrapper
return f(self, *args, **kwargs)
File "/opt/odoo/13.0/odoo/sql_db.py", line 250, in execute
res = self._obj.execute(query, params)
psycopg2.ProgrammingError: column res_company.einvoice_auto_issue does not exist
LINE 1: ..." as "sinvoice_representation_file_as_attachment","res_compa...
^
01/14/2022 00:37:41 ERROR
Module account: 0 failures, 1 errors
01/14/2022 00:37:41 ERROR
bad query: SELECT "res_company"."id" as "id","res_company"."sequence" as "sequence","res_company"."parent_id" as "parent_id","res_company"."partner_id" as "partner_id","res_company"."report_header" as "report_header","res_company"."report_footer" as "report_footer","res_company"."currency_id" as "currency_id","res_company"."account_no" as "account_no","res_company"."email" as "email","res_company"."phone" as "phone","res_company"."company_registry" as "company_registry","res_company"."paperformat_id" as "paperformat_id","res_company"."external_report_layout_id" as "external_report_layout_id","res_company"."base_onboarding_company_state" as "base_onboarding_company_state","res_company"."primary_color" as "primary_color","res_company"."secondary_color" as "secondary_color","res_company"."font" as "font","res_company"."social_twitter" as "social_twitter","res_company"."social_facebook" as "social_facebook","res_company"."social_github" as "social_github","res_company"."social_linkedin" as "social_linkedin","res_company"."social_youtube" as "social_youtube","res_company"."social_instagram" as "social_instagram","res_company"."hotline" as "hotline","res_company"."nomenclature_id" as "nomenclature_id","res_company"."resource_calendar_id" as "resource_calendar_id","res_company"."name" as "name","res_company"."gengo_private_key" as "gengo_private_key","res_company"."gengo_public_key" as "gengo_public_key","res_company"."gengo_comment" as "gengo_comment","res_company"."gengo_auto_approve" as "gengo_auto_approve","res_company"."gengo_sandbox" as "gengo_sandbox","res_company"."check_unique_vat" as "check_unique_vat","res_company"."rotating_token_life" as "rotating_token_life","res_company"."lunch_minimum_threshold" as "lunch_minimum_threshold","res_company"."partner_gid" as "partner_gid","res_company"."snailmail_color" as "snailmail_color","res_company"."snailmail_cover" as "snailmail_cover","res_company"."snailmail_duplex" as "snailmail_duplex","res_company"."intercompany_user_id" as "intercompany_user_id","res_company"."hr_presence_control_email_amount" as "hr_presence_control_email_amount","res_company"."hr_presence_control_ip_list" as "hr_presence_control_ip_list","res_company"."internal_transit_location_id" as "internal_transit_location_id","res_company"."stock_move_email_validation" as "stock_move_email_validation","res_company"."stock_mail_confirmation_template_id" as "stock_mail_confirmation_template_id","res_company"."send_hbd_email" as "send_hbd_email","res_company"."hdb_email_template_id" as "hdb_email_template_id","res_company"."check_unique_product_default_code" as "check_unique_product_default_code","res_company"."zoom_api_key" as "zoom_api_key","res_company"."zoom_secret_key" as "zoom_secret_key","res_company"."facebook_app_id" as "facebook_app_id","res_company"."facebook_client_secret" as "facebook_client_secret","res_company"."linkedin_app_id" as "linkedin_app_id","res_company"."linkedin_client_secret" as "linkedin_client_secret","res_company"."manufacturing_lead" as "manufacturing_lead","res_company"."stock_move_sms_validation" as "stock_move_sms_validation","res_company"."stock_sms_confirmation_template_id" as "stock_sms_confirmation_template_id","res_company"."has_received_warning_stock_sms" as "has_received_warning_stock_sms","res_company"."fiscalyear_last_day" as "fiscalyear_last_day","res_company"."fiscalyear_last_month" as "fiscalyear_last_month","res_company"."period_lock_date" as "period_lock_date","res_company"."fiscalyear_lock_date" as "fiscalyear_lock_date","res_company"."tax_lock_date" as "tax_lock_date","res_company"."transfer_account_id" as "transfer_account_id","res_company"."expects_chart_of_accounts" as "expects_chart_of_accounts","res_company"."chart_template_id" as "chart_template_id","res_company"."bank_account_code_prefix" as "bank_account_code_prefix","res_company"."cash_account_code_prefix" as "cash_account_code_prefix","res_company"."default_cash_difference_income_account_id" as "default_cash_difference_income_account_id","res_company"."default_cash_difference_expense_account_id" as "default_cash_difference_expense_account_id","res_company"."transfer_account_code_prefix" as "transfer_account_code_prefix","res_company"."account_sale_tax_id" as "account_sale_tax_id","res_company"."account_purchase_tax_id" as "account_purchase_tax_id","res_company"."tax_cash_basis_journal_id" as "tax_cash_basis_journal_id","res_company"."tax_calculation_rounding_method" as "tax_calculation_rounding_method","res_company"."currency_exchange_journal_id" as "currency_exchange_journal_id","res_company"."anglo_saxon_accounting" as "anglo_saxon_accounting","res_company"."property_stock_account_input_categ_id" as "property_stock_account_input_categ_id","res_company"."property_stock_account_output_categ_id" as "property_stock_account_output_categ_id","res_company"."property_stock_valuation_account_id" as "property_stock_valuation_account_id","res_company"."tax_exigibility" as "tax_exigibility","res_company"."account_bank_reconciliation_start" as "account_bank_reconciliation_start","res_company"."incoterm_id" as "incoterm_id","res_company"."qr_code" as "qr_code","res_company"."invoice_is_email" as "invoice_is_email","res_company"."invoice_is_print" as "invoice_is_print","res_company"."account_opening_move_id" as "account_opening_move_id","res_company"."account_setup_bank_data_state" as "account_setup_bank_data_state","res_company"."account_setup_fy_data_state" as "account_setup_fy_data_state","res_company"."account_setup_coa_state" as "account_setup_coa_state","res_company"."account_onboarding_invoice_layout_state" as "account_onboarding_invoice_layout_state","res_company"."account_onboarding_sample_invoice_state" as "account_onboarding_sample_invoice_state","res_company"."account_onboarding_sale_tax_state" as "account_onboarding_sale_tax_state","res_company"."account_invoice_onboarding_state" as "account_invoice_onboarding_state","res_company"."account_dashboard_onboarding_state" as "account_dashboard_onboarding_state","res_company"."invoice_terms" as "invoice_terms","res_company"."account_default_pos_receivable_account_id" as "account_default_pos_receivable_account_id","res_company"."expense_accrual_account_id" as "expense_accrual_account_id","res_company"."revenue_accrual_account_id" as "revenue_accrual_account_id","res_company"."accrual_default_journal_id" as "accrual_default_journal_id","res_company"."hr_presence_last_compute_date" as "hr_presence_last_compute_date","res_company"."subcontracting_location_id" as "subcontracting_location_id","res_company"."default_helpdesk_team_id" as "default_helpdesk_team_id","res_company"."account_check_printing_layout" as "account_check_printing_layout","res_company"."account_check_printing_date_label" as "account_check_printing_date_label","res_company"."account_check_printing_multi_stub" as "account_check_printing_multi_stub","res_company"."account_check_printing_margin_top" as "account_check_printing_margin_top","res_company"."account_check_printing_margin_left" as "account_check_printing_margin_left","res_company"."account_check_printing_margin_right" as "account_check_printing_margin_right","res_company"."vat_check_vies" as "vat_check_vies","res_company"."project_time_mode_id" as "project_time_mode_id","res_company"."timesheet_encode_uom_id" as "timesheet_encode_uom_id","res_company"."payment_acquirer_onboarding_state" as "payment_acquirer_onboarding_state","res_company"."payment_onboarding_payment_method" as "payment_onboarding_payment_method","res_company"."po_lead" as "po_lead","res_company"."po_lock" as "po_lock","res_company"."po_double_validation" as "po_double_validation","res_company"."po_double_validation_amount" as "po_double_validation_amount","res_company"."invoice_is_snailmail" as "invoice_is_snailmail","res_company"."balance_carry_forward_journal_id" as "balance_carry_forward_journal_id","res_company"."affiliate_comm_percentage" as "affiliate_comm_percentage","res_company"."affiliate_cookie_age" as "affiliate_cookie_age","res_company"."affiliate_min_payout" as "affiliate_min_payout","res_company"."commission_product_id" as "commission_product_id","res_company"."aff_allowed" as "aff_allowed","res_company"."compute_aff_method" as "compute_aff_method","res_company"."main_currency_bank_id" as "main_currency_bank_id","res_company"."amount_double_validation" as "amount_double_validation","res_company"."use_employee_advance_pass_through_account" as "use_employee_advance_pass_through_account","res_company"."loan_borrowing_journal_id" as "loan_borrowing_journal_id","res_company"."loan_borrowing_account_id" as "loan_borrowing_account_id","res_company"."loan_lending_journal_id" as "loan_lending_journal_id","res_company"."loan_lending_account_id" as "loan_lending_account_id","res_company"."vendor_app_comm_percent" as "vendor_app_comm_percent","res_company"."vendor_app_min_payout" as "vendor_app_min_payout","res_company"."dedicated_app_download_token_lifetime" as "dedicated_app_download_token_lifetime","res_company"."app_download_token_lifetime" as "app_download_token_lifetime","res_company"."leave_timesheet_project_id" as "leave_timesheet_project_id","res_company"."leave_timesheet_task_id" as "leave_timesheet_task_id","res_company"."portal_confirmation_sign" as "portal_confirmation_sign","res_company"."portal_confirmation_pay" as "portal_confirmation_pay","res_company"."quotation_validity_days" as "quotation_validity_days","res_company"."sale_quotation_onboarding_state" as "sale_quotation_onboarding_state","res_company"."sale_onboarding_order_confirmation_state" as "sale_onboarding_order_confirmation_state","res_company"."sale_onboarding_sample_quotation_state" as "sale_onboarding_sample_quotation_state","res_company"."sale_onboarding_payment_method" as "sale_onboarding_payment_method","res_company"."days_between_two_followups" as "days_between_two_followups","res_company"."overdue_msg" as "overdue_msg","res_company"."totals_below_sections" as "totals_below_sections","res_company"."currency_conversion_diff_journal_id" as "currency_conversion_diff_journal_id","res_company"."einvoice_lock_legal_number" as "einvoice_lock_legal_number","res_company"."einvoice_issue_earliest_invoice_first" as "einvoice_issue_earliest_invoice_first","res_company"."sinvoice_exchange_file_as_attachment" as "sinvoice_exchange_file_as_attachment","res_company"."sinvoice_representation_file_as_attachment" as "sinvoice_representation_file_as_attachment","res_company"."einvoice_auto_issue" as "einvoice_auto_issue","res_company"."basic_wage_rule_categ_id" as "basic_wage_rule_categ_id","res_company"."gross_salary_rule_categ_id" as "gross_salary_rule_categ_id","res_company"."tax_base_rule_categ_id" as "tax_base_rule_categ_id","res_company"."net_income_salary_rule_categ_id" as "net_income_salary_rule_categ_id","res_company"."payslips_auto_generation" as "payslips_auto_generation","res_company"."payslips_auto_generation_mode" as "payslips_auto_generation_mode","res_company"."payslips_auto_generation_day" as "payslips_auto_generation_day","res_company"."payslips_auto_generation_lang" as "payslips_auto_generation_lang","res_company"."salary_cycle_id" as "salary_cycle_id","res_company"."property_promotion_voucher_profit_account_id" as "property_promotion_voucher_profit_account_id","res_company"."property_promotion_voucher_loss_account_id" as "property_promotion_voucher_loss_account_id","res_company"."property_unearn_revenue_account_id" as "property_unearn_revenue_account_id","res_company"."allow_edit_website_jobs_company_setting" as "allow_edit_website_jobs_company_setting","res_company"."security_lead" as "security_lead","res_company"."lc_journal_id" as "lc_journal_id","res_company"."payslip_batch_journal_entry" as "payslip_batch_journal_entry","res_company"."default_meal_emp_price" as "default_meal_emp_price","res_company"."general_overhead" as "general_overhead","res_company"."loyalty_points_reward_policy" as "loyalty_points_reward_policy","res_company"."manufacturing_period" as "manufacturing_period","res_company"."manufacturing_period_to_display" as "manufacturing_period_to_display","res_company"."mrp_mps_show_starting_inventory" as "mrp_mps_show_starting_inventory","res_company"."mrp_mps_show_demand_forecast" as "mrp_mps_show_demand_forecast","res_company"."mrp_mps_show_actual_demand" as "mrp_mps_show_actual_demand","res_company"."mrp_mps_show_indirect_demand" as "mrp_mps_show_indirect_demand","res_company"."mrp_mps_show_to_replenish" as "mrp_mps_show_to_replenish","res_company"."mrp_mps_show_actual_replenishment" as "mrp_mps_show_actual_replenishment","res_company"."mrp_mps_show_safety_stock" as "mrp_mps_show_safety_stock","res_company"."mrp_mps_show_available_to_promise" as "mrp_mps_show_available_to_promise","res_company"."sales_price_modifying_group_id" as "sales_price_modifying_group_id","res_company"."prevent_unlink_related_invoices" as "prevent_unlink_related_invoices","res_company"."website_sale_onboarding_payment_acquirer_state" as "website_sale_onboarding_payment_acquirer_state","res_company"."sinvoice_mode" as "sinvoice_mode","res_company"."sinvoice_start" as "sinvoice_start","res_company"."account_sinvoice_serial_id" as "account_sinvoice_serial_id","res_company"."account_sinvoice_template_id" as "account_sinvoice_template_id","res_company"."account_sinvoice_type_id" as "account_sinvoice_type_id","res_company"."sinvoice_synch_payment_status" as "sinvoice_synch_payment_status","res_company"."sinvoice_conversion_user_id" as "sinvoice_conversion_user_id","res_company"."sinvoice_api_username" as "sinvoice_api_username","res_company"."sinvoice_api_password" as "sinvoice_api_password","res_company"."sinvoice_max_len_bank_name" as "sinvoice_max_len_bank_name","res_company"."sinvoice_max_len_bank_account" as "sinvoice_max_len_bank_account","res_company"."einvoice_provider" as "einvoice_provider","res_company"."vninvoice_mode" as "vninvoice_mode","res_company"."vninvoice_start_date" as "vninvoice_start_date","res_company"."account_vninvoice_serial_id" as "account_vninvoice_serial_id","res_company"."account_vninvoice_template_id" as "account_vninvoice_template_id","res_company"."account_vninvoice_type_id" as "account_vninvoice_type_id","res_company"."vninvoice_api_username" as "vninvoice_api_username","res_company"."vninvoice_api_password" as "vninvoice_api_password","res_company"."account_journal_custom_clearance" as "account_journal_custom_clearance","res_company"."imp_custom_dec_sequence_id" as "imp_custom_dec_sequence_id","res_company"."exp_custom_dec_sequence_id" as "exp_custom_dec_sequence_id","res_company"."overtime_recognition_mode" as "overtime_recognition_mode","res_company"."prevent_unlink_related_pickings" as "prevent_unlink_related_pickings","res_company"."landed_cost_journal_id" as "landed_cost_journal_id","res_company"."applicable_on" as "applicable_on","res_company"."so_po_auto_validation" as "so_po_auto_validation","res_company"."import_vat_ctp_account_id" as "import_vat_ctp_account_id","res_company"."import_tax_payment_term" as "import_tax_payment_term","res_company"."export_vat_ctp_account_id" as "export_vat_ctp_account_id","res_company"."export_tax_payment_term" as "export_tax_payment_term","res_company"."use_intermediary_account" as "use_intermediary_account","res_company"."inter_comp_warehouse_id" as "inter_comp_warehouse_id","res_company"."create_uid" as "create_uid","res_company"."create_date" as "create_date","res_company"."write_uid" as "write_uid","res_company"."write_date" as "write_date" FROM "res_company" WHERE "res_company".id IN (1)
ERROR: column res_company.einvoice_auto_issue does not exist
LINE 1: ..." as "sinvoice_representation_file_as_attachment","res_compa...
^
01/14/2022 00:37:41 ERROR
ERROR: setUpClass (odoo.addons.account.tests.test_account_move_in_refund.TestAccountMoveInRefundOnchanges)
Traceback (most recent call last):
File "/opt/odoo/13.0/odoo/api.py", line 748, in get
value = self._data[field][record._ids[0]]
KeyError: 1

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/odoo/13.0/odoo/fields.py", line 1038, in __get__
value = env.cache.get(record, self)
File "/opt/odoo/13.0/odoo/api.py", line 754, in get
raise CacheMiss(record, field)
odoo.exceptions.CacheMiss: ('res.company(1,).country_id', None)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/odoo/13.0/odoo/api.py", line 748, in get
value = self._data[field][record._ids[0]]
KeyError: 1

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/odoo/13.0/odoo/fields.py", line 1038, in __get__
value = env.cache.get(record, self)
File "/opt/odoo/13.0/odoo/api.py", line 754, in get
raise CacheMiss(record, field)
odoo.exceptions.CacheMiss: ('res.company(1,).partner_id', None)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/odoo/13.0/odoo/tests/common.py", line 191, in _handleClassSetUp
setUpClass()
File "/opt/odoo/13.0/addons/account/tests/test_account_move_in_refund.py", line 14, in setUpClass
super().setUpClass(chart_template_ref=chart_template_ref)
File "/opt/odoo/13.0/addons/account/tests/account_test_savepoint.py", line 51, in setUpClass
cls.company_data_2 = cls.setup_company_data('company_2_data', chart_template)
File "/opt/odoo/13.0/addons/account/tests/account_test_savepoint.py", line 197, in setup_company_data
**kwargs,
File "<decorator-gen-435>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 338, in _model_create_multi
return create(self, [arg])
File "/home/my077ib0t8sl-28822/build_src/to_inter_company_sale_purchase_stock/models/res_company.py", line 13, in create
res = super(ResCompany, self).create(vals_list)
File "<decorator-gen-425>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 320, in _model_create_single
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/odoo/api.py", line 320, in <genexpr>
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/viindooaddons13.0/to_foreign_trade/models/res_company.py", line 28, in create
res = super(ResCompany, self).create(vals)
File "<decorator-gen-364>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 338, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/viindooaddons13.0/to_hr_payroll/models/res_company.py", line 736, in create
companies = super(ResCompany, self).create(vals_list)
File "<decorator-gen-354>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 320, in _model_create_single
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/odoo/api.py", line 320, in <genexpr>
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/addons/project_timesheet_holidays/models/res_company.py", line 30, in create
company = super(Company, self).create(values)
File "<decorator-gen-341>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 338, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/viindooaddons13.0/viin_hr_overtime/models/res_company.py", line 17, in create
companies = super(ResCompany, self).create(vals_list)
File "<decorator-gen-331>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 320, in _model_create_single
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/odoo/api.py", line 320, in <genexpr>
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/viindooaddons13.0/to_maintenance_approval/models/res_company.py", line 27, in create
company = super(ResCompany, self).create(values)
File "<decorator-gen-289>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 338, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/viindooaddons13.0/viin_helpdesk/models/res_company.py", line 14, in create
companies = super(Company, self).create(vals_list)
File "<decorator-gen-280>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/viindooaddons13.0/to_approvals/models/res_company.py", line 31, in create
companies = super(ResCompany, self).create(vals_list)
File "<decorator-gen-190>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 320, in _model_create_single
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/odoo/api.py", line 320, in <genexpr>
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/addons/stock/models/res_company.py", line 181, in create
company = super(Company, self).create(vals)
File "<decorator-gen-152>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 317, in _model_create_single
return create(self, arg)
File "/opt/odoo/13.0/addons/product/models/res_company.py", line 12, in create
new_company = super(ResCompany, self).create(vals)
File "<decorator-gen-102>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 317, in _model_create_single
return create(self, arg)
File "/opt/odoo/13.0/addons/resource/models/res_company.py", line 28, in create
company = super(ResCompany, self).create(values)
File "<decorator-gen-95>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 317, in _model_create_single
return create(self, arg)
File "/opt/odoo/13.0/addons/web/models/models.py", line 397, in create
res = super().create(values)
File "<decorator-gen-84>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 317, in _model_create_single
return create(self, arg)
File "/opt/odoo/13.0/odoo/addons/base/models/res_company.py", line 227, in create
'country_id': vals.get('country_id'),
File "<decorator-gen-420>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 338, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/viindooaddons13.0/to_foreign_trade/models/res_partner.py", line 72, in create
partners = super(res_partner, self).create(vals_list)
File "<decorator-gen-297>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 320, in _model_create_single
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/odoo/api.py", line 320, in <genexpr>
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/addons/base_vat/models/res_partner.py", line 529, in create
return super(ResPartner, self).create(values)
File "<decorator-gen-262>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 338, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/13.0/addons/account/models/partner.py", line 515, in create
return super().create(vals_list)
File "<decorator-gen-143>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/13.0/addons/partner_autocomplete/models/res_partner.py", line 183, in create
partners = super(ResPartner, self).create(vals_list)
File "<decorator-gen-83>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/13.0/odoo/addons/base/models/res_partner.py", line 544, in create
partners = super(Partner, self).create(vals_list)
File "<decorator-gen-115>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/13.0/addons/mail/models/mail_thread.py", line 269, in create
threads = super(MailThread, self).create(vals_list)
File "<decorator-gen-253>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/13.0/addons/website/models/mixins.py", line 152, in create
records = super(WebsitePublishedMixin, self).create(vals_list)
File "<decorator-gen-98>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/viindooaddons13.0/viin_user_assignment_log/models/base.py", line 11, in create
records = super(Base, self).create(vals_list)
File "<decorator-gen-3>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/13.0/odoo/models.py", line 3825, in create
records = self._create(data_list)
File "/opt/odoo/13.0/odoo/models.py", line 3998, in _create
records._validate_fields(name for data in data_list for name in data['stored'])
File "/opt/odoo/13.0/odoo/models.py", line 1212, in _validate_fields
check(self)
File "/opt/odoo/viindooaddons13.0/to_partner_check_unique_vat/models/res_partner.py", line 10, in _check_unique_vat
self.flush()
File "/opt/odoo/13.0/odoo/models.py", line 5514, in flush
self.recompute()
File "/opt/odoo/13.0/odoo/models.py", line 5956, in recompute
process(field)
File "/opt/odoo/13.0/odoo/models.py", line 5940, in process
recs.mapped(field.name)
File "/opt/odoo/13.0/odoo/models.py", line 5322, in mapped
recs = recs._mapped_func(operator.itemgetter(name))
File "/opt/odoo/13.0/odoo/models.py", line 5281, in _mapped_func
vals = [func(rec) for rec in self]
File "/opt/odoo/13.0/odoo/models.py", line 5281, in <listcomp>
vals = [func(rec) for rec in self]
File "/opt/odoo/13.0/odoo/models.py", line 5746, in __getitem__
return self._fields[key].__get__(self, type(self))
File "/opt/odoo/13.0/odoo/fields.py", line 1033, in __get__
self.compute_value(recs)
File "/opt/odoo/13.0/odoo/fields.py", line 1147, in compute_value
records._compute_field_value(self)
File "/opt/odoo/13.0/odoo/models.py", line 4018, in _compute_field_value
getattr(self, field.compute)()
File "/opt/odoo/13.0/addons/phone_validation/models/mail_thread_phone.py", line 44, in _compute_phone_sanitized
sanitized = record.phone_get_sanitized_number(number_fname=fname)
File "/opt/odoo/13.0/addons/phone_validation/models/mail_thread_phone.py", line 117, in phone_get_sanitized_number
return phone_validation.phone_sanitize_numbers_w_record([number], self, record_country_fname=country_fname, force_format=force_format)[number]['sanitized']
File "/opt/odoo/13.0/addons/phone_validation/tools/phone_validation.py", line 113, in phone_sanitize_numbers_w_record
country = record.env.company.country_id
File "/opt/odoo/13.0/odoo/fields.py", line 2370, in __get__
return super().__get__(records, owner)
File "/opt/odoo/13.0/odoo/fields.py", line 1062, in __get__
self.compute_value(recs)
File "/opt/odoo/13.0/odoo/fields.py", line 1147, in compute_value
records._compute_field_value(self)
File "/opt/odoo/13.0/odoo/models.py", line 4018, in _compute_field_value
getattr(self, field.compute)()
File "/opt/odoo/13.0/odoo/addons/base/models/res_company.py", line 127, in _compute_address
for company in self.filtered(lambda company: company.partner_id):
File "/opt/odoo/13.0/odoo/models.py", line 5359, in filtered
return self.browse([rec.id for rec in self if func(rec)])
File "/opt/odoo/13.0/odoo/models.py", line 5359, in <listcomp>
return self.browse([rec.id for rec in self if func(rec)])
File "/opt/odoo/13.0/odoo/addons/base/models/res_company.py", line 127, in <lambda>
for company in self.filtered(lambda company: company.partner_id):
File "/opt/odoo/13.0/odoo/fields.py", line 2370, in __get__
return super().__get__(records, owner)
File "/opt/odoo/13.0/odoo/fields.py", line 1045, in __get__
recs._fetch_field(self)
File "/opt/odoo/13.0/odoo/models.py", line 3002, in _fetch_field
self._read(fnames)
File "/opt/odoo/13.0/odoo/models.py", line 3074, in _read
cr.execute(query_str, params)
File "/opt/odoo/13.0/odoo/sql_db.py", line 173, in wrapper
return f(self, *args, **kwargs)
File "/opt/odoo/13.0/odoo/sql_db.py", line 250, in execute
res = self._obj.execute(query, params)
psycopg2.ProgrammingError: column res_company.einvoice_auto_issue does not exist
LINE 1: ..." as "sinvoice_representation_file_as_attachment","res_compa...
^
01/14/2022 00:37:41 ERROR
Module account: 0 failures, 1 errors
01/14/2022 00:37:42 ERROR
bad query: SELECT "res_company"."id" as "id","res_company"."sequence" as "sequence","res_company"."parent_id" as "parent_id","res_company"."partner_id" as "partner_id","res_company"."report_header" as "report_header","res_company"."report_footer" as "report_footer","res_company"."currency_id" as "currency_id","res_company"."account_no" as "account_no","res_company"."email" as "email","res_company"."phone" as "phone","res_company"."company_registry" as "company_registry","res_company"."paperformat_id" as "paperformat_id","res_company"."external_report_layout_id" as "external_report_layout_id","res_company"."base_onboarding_company_state" as "base_onboarding_company_state","res_company"."primary_color" as "primary_color","res_company"."secondary_color" as "secondary_color","res_company"."font" as "font","res_company"."social_twitter" as "social_twitter","res_company"."social_facebook" as "social_facebook","res_company"."social_github" as "social_github","res_company"."social_linkedin" as "social_linkedin","res_company"."social_youtube" as "social_youtube","res_company"."social_instagram" as "social_instagram","res_company"."hotline" as "hotline","res_company"."nomenclature_id" as "nomenclature_id","res_company"."resource_calendar_id" as "resource_calendar_id","res_company"."name" as "name","res_company"."gengo_private_key" as "gengo_private_key","res_company"."gengo_public_key" as "gengo_public_key","res_company"."gengo_comment" as "gengo_comment","res_company"."gengo_auto_approve" as "gengo_auto_approve","res_company"."gengo_sandbox" as "gengo_sandbox","res_company"."check_unique_vat" as "check_unique_vat","res_company"."rotating_token_life" as "rotating_token_life","res_company"."lunch_minimum_threshold" as "lunch_minimum_threshold","res_company"."partner_gid" as "partner_gid","res_company"."snailmail_color" as "snailmail_color","res_company"."snailmail_cover" as "snailmail_cover","res_company"."snailmail_duplex" as "snailmail_duplex","res_company"."intercompany_user_id" as "intercompany_user_id","res_company"."hr_presence_control_email_amount" as "hr_presence_control_email_amount","res_company"."hr_presence_control_ip_list" as "hr_presence_control_ip_list","res_company"."internal_transit_location_id" as "internal_transit_location_id","res_company"."stock_move_email_validation" as "stock_move_email_validation","res_company"."stock_mail_confirmation_template_id" as "stock_mail_confirmation_template_id","res_company"."send_hbd_email" as "send_hbd_email","res_company"."hdb_email_template_id" as "hdb_email_template_id","res_company"."check_unique_product_default_code" as "check_unique_product_default_code","res_company"."zoom_api_key" as "zoom_api_key","res_company"."zoom_secret_key" as "zoom_secret_key","res_company"."facebook_app_id" as "facebook_app_id","res_company"."facebook_client_secret" as "facebook_client_secret","res_company"."linkedin_app_id" as "linkedin_app_id","res_company"."linkedin_client_secret" as "linkedin_client_secret","res_company"."manufacturing_lead" as "manufacturing_lead","res_company"."stock_move_sms_validation" as "stock_move_sms_validation","res_company"."stock_sms_confirmation_template_id" as "stock_sms_confirmation_template_id","res_company"."has_received_warning_stock_sms" as "has_received_warning_stock_sms","res_company"."fiscalyear_last_day" as "fiscalyear_last_day","res_company"."fiscalyear_last_month" as "fiscalyear_last_month","res_company"."period_lock_date" as "period_lock_date","res_company"."fiscalyear_lock_date" as "fiscalyear_lock_date","res_company"."tax_lock_date" as "tax_lock_date","res_company"."transfer_account_id" as "transfer_account_id","res_company"."expects_chart_of_accounts" as "expects_chart_of_accounts","res_company"."chart_template_id" as "chart_template_id","res_company"."bank_account_code_prefix" as "bank_account_code_prefix","res_company"."cash_account_code_prefix" as "cash_account_code_prefix","res_company"."default_cash_difference_income_account_id" as "default_cash_difference_income_account_id","res_company"."default_cash_difference_expense_account_id" as "default_cash_difference_expense_account_id","res_company"."transfer_account_code_prefix" as "transfer_account_code_prefix","res_company"."account_sale_tax_id" as "account_sale_tax_id","res_company"."account_purchase_tax_id" as "account_purchase_tax_id","res_company"."tax_cash_basis_journal_id" as "tax_cash_basis_journal_id","res_company"."tax_calculation_rounding_method" as "tax_calculation_rounding_method","res_company"."currency_exchange_journal_id" as "currency_exchange_journal_id","res_company"."anglo_saxon_accounting" as "anglo_saxon_accounting","res_company"."property_stock_account_input_categ_id" as "property_stock_account_input_categ_id","res_company"."property_stock_account_output_categ_id" as "property_stock_account_output_categ_id","res_company"."property_stock_valuation_account_id" as "property_stock_valuation_account_id","res_company"."tax_exigibility" as "tax_exigibility","res_company"."account_bank_reconciliation_start" as "account_bank_reconciliation_start","res_company"."incoterm_id" as "incoterm_id","res_company"."qr_code" as "qr_code","res_company"."invoice_is_email" as "invoice_is_email","res_company"."invoice_is_print" as "invoice_is_print","res_company"."account_opening_move_id" as "account_opening_move_id","res_company"."account_setup_bank_data_state" as "account_setup_bank_data_state","res_company"."account_setup_fy_data_state" as "account_setup_fy_data_state","res_company"."account_setup_coa_state" as "account_setup_coa_state","res_company"."account_onboarding_invoice_layout_state" as "account_onboarding_invoice_layout_state","res_company"."account_onboarding_sample_invoice_state" as "account_onboarding_sample_invoice_state","res_company"."account_onboarding_sale_tax_state" as "account_onboarding_sale_tax_state","res_company"."account_invoice_onboarding_state" as "account_invoice_onboarding_state","res_company"."account_dashboard_onboarding_state" as "account_dashboard_onboarding_state","res_company"."invoice_terms" as "invoice_terms","res_company"."account_default_pos_receivable_account_id" as "account_default_pos_receivable_account_id","res_company"."expense_accrual_account_id" as "expense_accrual_account_id","res_company"."revenue_accrual_account_id" as "revenue_accrual_account_id","res_company"."accrual_default_journal_id" as "accrual_default_journal_id","res_company"."hr_presence_last_compute_date" as "hr_presence_last_compute_date","res_company"."subcontracting_location_id" as "subcontracting_location_id","res_company"."default_helpdesk_team_id" as "default_helpdesk_team_id","res_company"."account_check_printing_layout" as "account_check_printing_layout","res_company"."account_check_printing_date_label" as "account_check_printing_date_label","res_company"."account_check_printing_multi_stub" as "account_check_printing_multi_stub","res_company"."account_check_printing_margin_top" as "account_check_printing_margin_top","res_company"."account_check_printing_margin_left" as "account_check_printing_margin_left","res_company"."account_check_printing_margin_right" as "account_check_printing_margin_right","res_company"."vat_check_vies" as "vat_check_vies","res_company"."project_time_mode_id" as "project_time_mode_id","res_company"."timesheet_encode_uom_id" as "timesheet_encode_uom_id","res_company"."payment_acquirer_onboarding_state" as "payment_acquirer_onboarding_state","res_company"."payment_onboarding_payment_method" as "payment_onboarding_payment_method","res_company"."po_lead" as "po_lead","res_company"."po_lock" as "po_lock","res_company"."po_double_validation" as "po_double_validation","res_company"."po_double_validation_amount" as "po_double_validation_amount","res_company"."invoice_is_snailmail" as "invoice_is_snailmail","res_company"."balance_carry_forward_journal_id" as "balance_carry_forward_journal_id","res_company"."affiliate_comm_percentage" as "affiliate_comm_percentage","res_company"."affiliate_cookie_age" as "affiliate_cookie_age","res_company"."affiliate_min_payout" as "affiliate_min_payout","res_company"."commission_product_id" as "commission_product_id","res_company"."aff_allowed" as "aff_allowed","res_company"."compute_aff_method" as "compute_aff_method","res_company"."main_currency_bank_id" as "main_currency_bank_id","res_company"."amount_double_validation" as "amount_double_validation","res_company"."use_employee_advance_pass_through_account" as "use_employee_advance_pass_through_account","res_company"."loan_borrowing_journal_id" as "loan_borrowing_journal_id","res_company"."loan_borrowing_account_id" as "loan_borrowing_account_id","res_company"."loan_lending_journal_id" as "loan_lending_journal_id","res_company"."loan_lending_account_id" as "loan_lending_account_id","res_company"."vendor_app_comm_percent" as "vendor_app_comm_percent","res_company"."vendor_app_min_payout" as "vendor_app_min_payout","res_company"."dedicated_app_download_token_lifetime" as "dedicated_app_download_token_lifetime","res_company"."app_download_token_lifetime" as "app_download_token_lifetime","res_company"."leave_timesheet_project_id" as "leave_timesheet_project_id","res_company"."leave_timesheet_task_id" as "leave_timesheet_task_id","res_company"."portal_confirmation_sign" as "portal_confirmation_sign","res_company"."portal_confirmation_pay" as "portal_confirmation_pay","res_company"."quotation_validity_days" as "quotation_validity_days","res_company"."sale_quotation_onboarding_state" as "sale_quotation_onboarding_state","res_company"."sale_onboarding_order_confirmation_state" as "sale_onboarding_order_confirmation_state","res_company"."sale_onboarding_sample_quotation_state" as "sale_onboarding_sample_quotation_state","res_company"."sale_onboarding_payment_method" as "sale_onboarding_payment_method","res_company"."days_between_two_followups" as "days_between_two_followups","res_company"."overdue_msg" as "overdue_msg","res_company"."totals_below_sections" as "totals_below_sections","res_company"."currency_conversion_diff_journal_id" as "currency_conversion_diff_journal_id","res_company"."einvoice_lock_legal_number" as "einvoice_lock_legal_number","res_company"."einvoice_issue_earliest_invoice_first" as "einvoice_issue_earliest_invoice_first","res_company"."sinvoice_exchange_file_as_attachment" as "sinvoice_exchange_file_as_attachment","res_company"."sinvoice_representation_file_as_attachment" as "sinvoice_representation_file_as_attachment","res_company"."einvoice_auto_issue" as "einvoice_auto_issue","res_company"."basic_wage_rule_categ_id" as "basic_wage_rule_categ_id","res_company"."gross_salary_rule_categ_id" as "gross_salary_rule_categ_id","res_company"."tax_base_rule_categ_id" as "tax_base_rule_categ_id","res_company"."net_income_salary_rule_categ_id" as "net_income_salary_rule_categ_id","res_company"."payslips_auto_generation" as "payslips_auto_generation","res_company"."payslips_auto_generation_mode" as "payslips_auto_generation_mode","res_company"."payslips_auto_generation_day" as "payslips_auto_generation_day","res_company"."payslips_auto_generation_lang" as "payslips_auto_generation_lang","res_company"."salary_cycle_id" as "salary_cycle_id","res_company"."property_promotion_voucher_profit_account_id" as "property_promotion_voucher_profit_account_id","res_company"."property_promotion_voucher_loss_account_id" as "property_promotion_voucher_loss_account_id","res_company"."property_unearn_revenue_account_id" as "property_unearn_revenue_account_id","res_company"."allow_edit_website_jobs_company_setting" as "allow_edit_website_jobs_company_setting","res_company"."security_lead" as "security_lead","res_company"."lc_journal_id" as "lc_journal_id","res_company"."payslip_batch_journal_entry" as "payslip_batch_journal_entry","res_company"."default_meal_emp_price" as "default_meal_emp_price","res_company"."general_overhead" as "general_overhead","res_company"."loyalty_points_reward_policy" as "loyalty_points_reward_policy","res_company"."manufacturing_period" as "manufacturing_period","res_company"."manufacturing_period_to_display" as "manufacturing_period_to_display","res_company"."mrp_mps_show_starting_inventory" as "mrp_mps_show_starting_inventory","res_company"."mrp_mps_show_demand_forecast" as "mrp_mps_show_demand_forecast","res_company"."mrp_mps_show_actual_demand" as "mrp_mps_show_actual_demand","res_company"."mrp_mps_show_indirect_demand" as "mrp_mps_show_indirect_demand","res_company"."mrp_mps_show_to_replenish" as "mrp_mps_show_to_replenish","res_company"."mrp_mps_show_actual_replenishment" as "mrp_mps_show_actual_replenishment","res_company"."mrp_mps_show_safety_stock" as "mrp_mps_show_safety_stock","res_company"."mrp_mps_show_available_to_promise" as "mrp_mps_show_available_to_promise","res_company"."sales_price_modifying_group_id" as "sales_price_modifying_group_id","res_company"."prevent_unlink_related_invoices" as "prevent_unlink_related_invoices","res_company"."website_sale_onboarding_payment_acquirer_state" as "website_sale_onboarding_payment_acquirer_state","res_company"."sinvoice_mode" as "sinvoice_mode","res_company"."sinvoice_start" as "sinvoice_start","res_company"."account_sinvoice_serial_id" as "account_sinvoice_serial_id","res_company"."account_sinvoice_template_id" as "account_sinvoice_template_id","res_company"."account_sinvoice_type_id" as "account_sinvoice_type_id","res_company"."sinvoice_synch_payment_status" as "sinvoice_synch_payment_status","res_company"."sinvoice_conversion_user_id" as "sinvoice_conversion_user_id","res_company"."sinvoice_api_username" as "sinvoice_api_username","res_company"."sinvoice_api_password" as "sinvoice_api_password","res_company"."sinvoice_max_len_bank_name" as "sinvoice_max_len_bank_name","res_company"."sinvoice_max_len_bank_account" as "sinvoice_max_len_bank_account","res_company"."einvoice_provider" as "einvoice_provider","res_company"."vninvoice_mode" as "vninvoice_mode","res_company"."vninvoice_start_date" as "vninvoice_start_date","res_company"."account_vninvoice_serial_id" as "account_vninvoice_serial_id","res_company"."account_vninvoice_template_id" as "account_vninvoice_template_id","res_company"."account_vninvoice_type_id" as "account_vninvoice_type_id","res_company"."vninvoice_api_username" as "vninvoice_api_username","res_company"."vninvoice_api_password" as "vninvoice_api_password","res_company"."account_journal_custom_clearance" as "account_journal_custom_clearance","res_company"."imp_custom_dec_sequence_id" as "imp_custom_dec_sequence_id","res_company"."exp_custom_dec_sequence_id" as "exp_custom_dec_sequence_id","res_company"."overtime_recognition_mode" as "overtime_recognition_mode","res_company"."prevent_unlink_related_pickings" as "prevent_unlink_related_pickings","res_company"."landed_cost_journal_id" as "landed_cost_journal_id","res_company"."applicable_on" as "applicable_on","res_company"."so_po_auto_validation" as "so_po_auto_validation","res_company"."import_vat_ctp_account_id" as "import_vat_ctp_account_id","res_company"."import_tax_payment_term" as "import_tax_payment_term","res_company"."export_vat_ctp_account_id" as "export_vat_ctp_account_id","res_company"."export_tax_payment_term" as "export_tax_payment_term","res_company"."use_intermediary_account" as "use_intermediary_account","res_company"."inter_comp_warehouse_id" as "inter_comp_warehouse_id","res_company"."create_uid" as "create_uid","res_company"."create_date" as "create_date","res_company"."write_uid" as "write_uid","res_company"."write_date" as "write_date" FROM "res_company" WHERE "res_company".id IN (1)
ERROR: column res_company.einvoice_auto_issue does not exist
LINE 1: ..." as "sinvoice_representation_file_as_attachment","res_compa...
^
01/14/2022 00:37:42 ERROR
ERROR: setUpClass (odoo.addons.account.tests.test_account_move_out_invoice.TestAccountMoveOutInvoiceOnchanges)
Traceback (most recent call last):
File "/opt/odoo/13.0/odoo/api.py", line 748, in get
value = self._data[field][record._ids[0]]
KeyError: 1

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/odoo/13.0/odoo/fields.py", line 1038, in __get__
value = env.cache.get(record, self)
File "/opt/odoo/13.0/odoo/api.py", line 754, in get
raise CacheMiss(record, field)
odoo.exceptions.CacheMiss: ('res.company(1,).country_id', None)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/odoo/13.0/odoo/api.py", line 748, in get
value = self._data[field][record._ids[0]]
KeyError: 1

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/odoo/13.0/odoo/fields.py", line 1038, in __get__
value = env.cache.get(record, self)
File "/opt/odoo/13.0/odoo/api.py", line 754, in get
raise CacheMiss(record, field)
odoo.exceptions.CacheMiss: ('res.company(1,).partner_id', None)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/odoo/13.0/odoo/tests/common.py", line 191, in _handleClassSetUp
setUpClass()
File "/opt/odoo/13.0/addons/account/tests/test_account_move_out_invoice.py", line 17, in setUpClass
super().setUpClass(chart_template_ref=chart_template_ref)
File "/opt/odoo/13.0/addons/account/tests/account_test_savepoint.py", line 51, in setUpClass
cls.company_data_2 = cls.setup_company_data('company_2_data', chart_template)
File "/opt/odoo/13.0/addons/account/tests/account_test_savepoint.py", line 197, in setup_company_data
**kwargs,
File "<decorator-gen-435>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 338, in _model_create_multi
return create(self, [arg])
File "/home/my077ib0t8sl-28822/build_src/to_inter_company_sale_purchase_stock/models/res_company.py", line 13, in create
res = super(ResCompany, self).create(vals_list)
File "<decorator-gen-425>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 320, in _model_create_single
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/odoo/api.py", line 320, in <genexpr>
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/viindooaddons13.0/to_foreign_trade/models/res_company.py", line 28, in create
res = super(ResCompany, self).create(vals)
File "<decorator-gen-364>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 338, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/viindooaddons13.0/to_hr_payroll/models/res_company.py", line 736, in create
companies = super(ResCompany, self).create(vals_list)
File "<decorator-gen-354>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 320, in _model_create_single
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/odoo/api.py", line 320, in <genexpr>
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/addons/project_timesheet_holidays/models/res_company.py", line 30, in create
company = super(Company, self).create(values)
File "<decorator-gen-341>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 338, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/viindooaddons13.0/viin_hr_overtime/models/res_company.py", line 17, in create
companies = super(ResCompany, self).create(vals_list)
File "<decorator-gen-331>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 320, in _model_create_single
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/odoo/api.py", line 320, in <genexpr>
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/viindooaddons13.0/to_maintenance_approval/models/res_company.py", line 27, in create
company = super(ResCompany, self).create(values)
File "<decorator-gen-289>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 338, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/viindooaddons13.0/viin_helpdesk/models/res_company.py", line 14, in create
companies = super(Company, self).create(vals_list)
File "<decorator-gen-280>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/viindooaddons13.0/to_approvals/models/res_company.py", line 31, in create
companies = super(ResCompany, self).create(vals_list)
File "<decorator-gen-190>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 320, in _model_create_single
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/odoo/api.py", line 320, in <genexpr>
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/addons/stock/models/res_company.py", line 181, in create
company = super(Company, self).create(vals)
File "<decorator-gen-152>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 317, in _model_create_single
return create(self, arg)
File "/opt/odoo/13.0/addons/product/models/res_company.py", line 12, in create
new_company = super(ResCompany, self).create(vals)
File "<decorator-gen-102>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 317, in _model_create_single
return create(self, arg)
File "/opt/odoo/13.0/addons/resource/models/res_company.py", line 28, in create
company = super(ResCompany, self).create(values)
File "<decorator-gen-95>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 317, in _model_create_single
return create(self, arg)
File "/opt/odoo/13.0/addons/web/models/models.py", line 397, in create
res = super().create(values)
File "<decorator-gen-84>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 317, in _model_create_single
return create(self, arg)
File "/opt/odoo/13.0/odoo/addons/base/models/res_company.py", line 227, in create
'country_id': vals.get('country_id'),
File "<decorator-gen-420>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 338, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/viindooaddons13.0/to_foreign_trade/models/res_partner.py", line 72, in create
partners = super(res_partner, self).create(vals_list)
File "<decorator-gen-297>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 320, in _model_create_single
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/odoo/api.py", line 320, in <genexpr>
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/addons/base_vat/models/res_partner.py", line 529, in create
return super(ResPartner, self).create(values)
File "<decorator-gen-262>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 338, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/13.0/addons/account/models/partner.py", line 515, in create
return super().create(vals_list)
File "<decorator-gen-143>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/13.0/addons/partner_autocomplete/models/res_partner.py", line 183, in create
partners = super(ResPartner, self).create(vals_list)
File "<decorator-gen-83>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/13.0/odoo/addons/base/models/res_partner.py", line 544, in create
partners = super(Partner, self).create(vals_list)
File "<decorator-gen-115>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/13.0/addons/mail/models/mail_thread.py", line 269, in create
threads = super(MailThread, self).create(vals_list)
File "<decorator-gen-253>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/13.0/addons/website/models/mixins.py", line 152, in create
records = super(WebsitePublishedMixin, self).create(vals_list)
File "<decorator-gen-98>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/viindooaddons13.0/viin_user_assignment_log/models/base.py", line 11, in create
records = super(Base, self).create(vals_list)
File "<decorator-gen-3>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/13.0/odoo/models.py", line 3825, in create
records = self._create(data_list)
File "/opt/odoo/13.0/odoo/models.py", line 3998, in _create
records._validate_fields(name for data in data_list for name in data['stored'])
File "/opt/odoo/13.0/odoo/models.py", line 1212, in _validate_fields
check(self)
File "/opt/odoo/viindooaddons13.0/to_partner_check_unique_vat/models/res_partner.py", line 10, in _check_unique_vat
self.flush()
File "/opt/odoo/13.0/odoo/models.py", line 5514, in flush
self.recompute()
File "/opt/odoo/13.0/odoo/models.py", line 5956, in recompute
process(field)
File "/opt/odoo/13.0/odoo/models.py", line 5940, in process
recs.mapped(field.name)
File "/opt/odoo/13.0/odoo/models.py", line 5322, in mapped
recs = recs._mapped_func(operator.itemgetter(name))
File "/opt/odoo/13.0/odoo/models.py", line 5281, in _mapped_func
vals = [func(rec) for rec in self]
File "/opt/odoo/13.0/odoo/models.py", line 5281, in <listcomp>
vals = [func(rec) for rec in self]
File "/opt/odoo/13.0/odoo/models.py", line 5746, in __getitem__
return self._fields[key].__get__(self, type(self))
File "/opt/odoo/13.0/odoo/fields.py", line 1033, in __get__
self.compute_value(recs)
File "/opt/odoo/13.0/odoo/fields.py", line 1147, in compute_value
records._compute_field_value(self)
File "/opt/odoo/13.0/odoo/models.py", line 4018, in _compute_field_value
getattr(self, field.compute)()
File "/opt/odoo/13.0/addons/phone_validation/models/mail_thread_phone.py", line 44, in _compute_phone_sanitized
sanitized = record.phone_get_sanitized_number(number_fname=fname)
File "/opt/odoo/13.0/addons/phone_validation/models/mail_thread_phone.py", line 117, in phone_get_sanitized_number
return phone_validation.phone_sanitize_numbers_w_record([number], self, record_country_fname=country_fname, force_format=force_format)[number]['sanitized']
File "/opt/odoo/13.0/addons/phone_validation/tools/phone_validation.py", line 113, in phone_sanitize_numbers_w_record
country = record.env.company.country_id
File "/opt/odoo/13.0/odoo/fields.py", line 2370, in __get__
return super().__get__(records, owner)
File "/opt/odoo/13.0/odoo/fields.py", line 1062, in __get__
self.compute_value(recs)
File "/opt/odoo/13.0/odoo/fields.py", line 1147, in compute_value
records._compute_field_value(self)
File "/opt/odoo/13.0/odoo/models.py", line 4018, in _compute_field_value
getattr(self, field.compute)()
File "/opt/odoo/13.0/odoo/addons/base/models/res_company.py", line 127, in _compute_address
for company in self.filtered(lambda company: company.partner_id):
File "/opt/odoo/13.0/odoo/models.py", line 5359, in filtered
return self.browse([rec.id for rec in self if func(rec)])
File "/opt/odoo/13.0/odoo/models.py", line 5359, in <listcomp>
return self.browse([rec.id for rec in self if func(rec)])
File "/opt/odoo/13.0/odoo/addons/base/models/res_company.py", line 127, in <lambda>
for company in self.filtered(lambda company: company.partner_id):
File "/opt/odoo/13.0/odoo/fields.py", line 2370, in __get__
return super().__get__(records, owner)
File "/opt/odoo/13.0/odoo/fields.py", line 1045, in __get__
recs._fetch_field(self)
File "/opt/odoo/13.0/odoo/models.py", line 3002, in _fetch_field
self._read(fnames)
File "/opt/odoo/13.0/odoo/models.py", line 3074, in _read
cr.execute(query_str, params)
File "/opt/odoo/13.0/odoo/sql_db.py", line 173, in wrapper
return f(self, *args, **kwargs)
File "/opt/odoo/13.0/odoo/sql_db.py", line 250, in execute
res = self._obj.execute(query, params)
psycopg2.ProgrammingError: column res_company.einvoice_auto_issue does not exist
LINE 1: ..." as "sinvoice_representation_file_as_attachment","res_compa...
^
01/14/2022 00:37:42 ERROR
Module account: 0 failures, 1 errors
01/14/2022 00:37:42 ERROR
bad query: SELECT "res_company"."id" as "id","res_company"."sequence" as "sequence","res_company"."parent_id" as "parent_id","res_company"."partner_id" as "partner_id","res_company"."report_header" as "report_header","res_company"."report_footer" as "report_footer","res_company"."currency_id" as "currency_id","res_company"."account_no" as "account_no","res_company"."email" as "email","res_company"."phone" as "phone","res_company"."company_registry" as "company_registry","res_company"."paperformat_id" as "paperformat_id","res_company"."external_report_layout_id" as "external_report_layout_id","res_company"."base_onboarding_company_state" as "base_onboarding_company_state","res_company"."primary_color" as "primary_color","res_company"."secondary_color" as "secondary_color","res_company"."font" as "font","res_company"."social_twitter" as "social_twitter","res_company"."social_facebook" as "social_facebook","res_company"."social_github" as "social_github","res_company"."social_linkedin" as "social_linkedin","res_company"."social_youtube" as "social_youtube","res_company"."social_instagram" as "social_instagram","res_company"."hotline" as "hotline","res_company"."nomenclature_id" as "nomenclature_id","res_company"."resource_calendar_id" as "resource_calendar_id","res_company"."name" as "name","res_company"."gengo_private_key" as "gengo_private_key","res_company"."gengo_public_key" as "gengo_public_key","res_company"."gengo_comment" as "gengo_comment","res_company"."gengo_auto_approve" as "gengo_auto_approve","res_company"."gengo_sandbox" as "gengo_sandbox","res_company"."check_unique_vat" as "check_unique_vat","res_company"."rotating_token_life" as "rotating_token_life","res_company"."lunch_minimum_threshold" as "lunch_minimum_threshold","res_company"."partner_gid" as "partner_gid","res_company"."snailmail_color" as "snailmail_color","res_company"."snailmail_cover" as "snailmail_cover","res_company"."snailmail_duplex" as "snailmail_duplex","res_company"."intercompany_user_id" as "intercompany_user_id","res_company"."hr_presence_control_email_amount" as "hr_presence_control_email_amount","res_company"."hr_presence_control_ip_list" as "hr_presence_control_ip_list","res_company"."internal_transit_location_id" as "internal_transit_location_id","res_company"."stock_move_email_validation" as "stock_move_email_validation","res_company"."stock_mail_confirmation_template_id" as "stock_mail_confirmation_template_id","res_company"."send_hbd_email" as "send_hbd_email","res_company"."hdb_email_template_id" as "hdb_email_template_id","res_company"."check_unique_product_default_code" as "check_unique_product_default_code","res_company"."zoom_api_key" as "zoom_api_key","res_company"."zoom_secret_key" as "zoom_secret_key","res_company"."facebook_app_id" as "facebook_app_id","res_company"."facebook_client_secret" as "facebook_client_secret","res_company"."linkedin_app_id" as "linkedin_app_id","res_company"."linkedin_client_secret" as "linkedin_client_secret","res_company"."manufacturing_lead" as "manufacturing_lead","res_company"."stock_move_sms_validation" as "stock_move_sms_validation","res_company"."stock_sms_confirmation_template_id" as "stock_sms_confirmation_template_id","res_company"."has_received_warning_stock_sms" as "has_received_warning_stock_sms","res_company"."fiscalyear_last_day" as "fiscalyear_last_day","res_company"."fiscalyear_last_month" as "fiscalyear_last_month","res_company"."period_lock_date" as "period_lock_date","res_company"."fiscalyear_lock_date" as "fiscalyear_lock_date","res_company"."tax_lock_date" as "tax_lock_date","res_company"."transfer_account_id" as "transfer_account_id","res_company"."expects_chart_of_accounts" as "expects_chart_of_accounts","res_company"."chart_template_id" as "chart_template_id","res_company"."bank_account_code_prefix" as "bank_account_code_prefix","res_company"."cash_account_code_prefix" as "cash_account_code_prefix","res_company"."default_cash_difference_income_account_id" as "default_cash_difference_income_account_id","res_company"."default_cash_difference_expense_account_id" as "default_cash_difference_expense_account_id","res_company"."transfer_account_code_prefix" as "transfer_account_code_prefix","res_company"."account_sale_tax_id" as "account_sale_tax_id","res_company"."account_purchase_tax_id" as "account_purchase_tax_id","res_company"."tax_cash_basis_journal_id" as "tax_cash_basis_journal_id","res_company"."tax_calculation_rounding_method" as "tax_calculation_rounding_method","res_company"."currency_exchange_journal_id" as "currency_exchange_journal_id","res_company"."anglo_saxon_accounting" as "anglo_saxon_accounting","res_company"."property_stock_account_input_categ_id" as "property_stock_account_input_categ_id","res_company"."property_stock_account_output_categ_id" as "property_stock_account_output_categ_id","res_company"."property_stock_valuation_account_id" as "property_stock_valuation_account_id","res_company"."tax_exigibility" as "tax_exigibility","res_company"."account_bank_reconciliation_start" as "account_bank_reconciliation_start","res_company"."incoterm_id" as "incoterm_id","res_company"."qr_code" as "qr_code","res_company"."invoice_is_email" as "invoice_is_email","res_company"."invoice_is_print" as "invoice_is_print","res_company"."account_opening_move_id" as "account_opening_move_id","res_company"."account_setup_bank_data_state" as "account_setup_bank_data_state","res_company"."account_setup_fy_data_state" as "account_setup_fy_data_state","res_company"."account_setup_coa_state" as "account_setup_coa_state","res_company"."account_onboarding_invoice_layout_state" as "account_onboarding_invoice_layout_state","res_company"."account_onboarding_sample_invoice_state" as "account_onboarding_sample_invoice_state","res_company"."account_onboarding_sale_tax_state" as "account_onboarding_sale_tax_state","res_company"."account_invoice_onboarding_state" as "account_invoice_onboarding_state","res_company"."account_dashboard_onboarding_state" as "account_dashboard_onboarding_state","res_company"."invoice_terms" as "invoice_terms","res_company"."account_default_pos_receivable_account_id" as "account_default_pos_receivable_account_id","res_company"."expense_accrual_account_id" as "expense_accrual_account_id","res_company"."revenue_accrual_account_id" as "revenue_accrual_account_id","res_company"."accrual_default_journal_id" as "accrual_default_journal_id","res_company"."hr_presence_last_compute_date" as "hr_presence_last_compute_date","res_company"."subcontracting_location_id" as "subcontracting_location_id","res_company"."default_helpdesk_team_id" as "default_helpdesk_team_id","res_company"."account_check_printing_layout" as "account_check_printing_layout","res_company"."account_check_printing_date_label" as "account_check_printing_date_label","res_company"."account_check_printing_multi_stub" as "account_check_printing_multi_stub","res_company"."account_check_printing_margin_top" as "account_check_printing_margin_top","res_company"."account_check_printing_margin_left" as "account_check_printing_margin_left","res_company"."account_check_printing_margin_right" as "account_check_printing_margin_right","res_company"."vat_check_vies" as "vat_check_vies","res_company"."project_time_mode_id" as "project_time_mode_id","res_company"."timesheet_encode_uom_id" as "timesheet_encode_uom_id","res_company"."payment_acquirer_onboarding_state" as "payment_acquirer_onboarding_state","res_company"."payment_onboarding_payment_method" as "payment_onboarding_payment_method","res_company"."po_lead" as "po_lead","res_company"."po_lock" as "po_lock","res_company"."po_double_validation" as "po_double_validation","res_company"."po_double_validation_amount" as "po_double_validation_amount","res_company"."invoice_is_snailmail" as "invoice_is_snailmail","res_company"."balance_carry_forward_journal_id" as "balance_carry_forward_journal_id","res_company"."affiliate_comm_percentage" as "affiliate_comm_percentage","res_company"."affiliate_cookie_age" as "affiliate_cookie_age","res_company"."affiliate_min_payout" as "affiliate_min_payout","res_company"."commission_product_id" as "commission_product_id","res_company"."aff_allowed" as "aff_allowed","res_company"."compute_aff_method" as "compute_aff_method","res_company"."main_currency_bank_id" as "main_currency_bank_id","res_company"."amount_double_validation" as "amount_double_validation","res_company"."use_employee_advance_pass_through_account" as "use_employee_advance_pass_through_account","res_company"."loan_borrowing_journal_id" as "loan_borrowing_journal_id","res_company"."loan_borrowing_account_id" as "loan_borrowing_account_id","res_company"."loan_lending_journal_id" as "loan_lending_journal_id","res_company"."loan_lending_account_id" as "loan_lending_account_id","res_company"."vendor_app_comm_percent" as "vendor_app_comm_percent","res_company"."vendor_app_min_payout" as "vendor_app_min_payout","res_company"."dedicated_app_download_token_lifetime" as "dedicated_app_download_token_lifetime","res_company"."app_download_token_lifetime" as "app_download_token_lifetime","res_company"."leave_timesheet_project_id" as "leave_timesheet_project_id","res_company"."leave_timesheet_task_id" as "leave_timesheet_task_id","res_company"."portal_confirmation_sign" as "portal_confirmation_sign","res_company"."portal_confirmation_pay" as "portal_confirmation_pay","res_company"."quotation_validity_days" as "quotation_validity_days","res_company"."sale_quotation_onboarding_state" as "sale_quotation_onboarding_state","res_company"."sale_onboarding_order_confirmation_state" as "sale_onboarding_order_confirmation_state","res_company"."sale_onboarding_sample_quotation_state" as "sale_onboarding_sample_quotation_state","res_company"."sale_onboarding_payment_method" as "sale_onboarding_payment_method","res_company"."days_between_two_followups" as "days_between_two_followups","res_company"."overdue_msg" as "overdue_msg","res_company"."totals_below_sections" as "totals_below_sections","res_company"."currency_conversion_diff_journal_id" as "currency_conversion_diff_journal_id","res_company"."einvoice_lock_legal_number" as "einvoice_lock_legal_number","res_company"."einvoice_issue_earliest_invoice_first" as "einvoice_issue_earliest_invoice_first","res_company"."sinvoice_exchange_file_as_attachment" as "sinvoice_exchange_file_as_attachment","res_company"."sinvoice_representation_file_as_attachment" as "sinvoice_representation_file_as_attachment","res_company"."einvoice_auto_issue" as "einvoice_auto_issue","res_company"."basic_wage_rule_categ_id" as "basic_wage_rule_categ_id","res_company"."gross_salary_rule_categ_id" as "gross_salary_rule_categ_id","res_company"."tax_base_rule_categ_id" as "tax_base_rule_categ_id","res_company"."net_income_salary_rule_categ_id" as "net_income_salary_rule_categ_id","res_company"."payslips_auto_generation" as "payslips_auto_generation","res_company"."payslips_auto_generation_mode" as "payslips_auto_generation_mode","res_company"."payslips_auto_generation_day" as "payslips_auto_generation_day","res_company"."payslips_auto_generation_lang" as "payslips_auto_generation_lang","res_company"."salary_cycle_id" as "salary_cycle_id","res_company"."property_promotion_voucher_profit_account_id" as "property_promotion_voucher_profit_account_id","res_company"."property_promotion_voucher_loss_account_id" as "property_promotion_voucher_loss_account_id","res_company"."property_unearn_revenue_account_id" as "property_unearn_revenue_account_id","res_company"."allow_edit_website_jobs_company_setting" as "allow_edit_website_jobs_company_setting","res_company"."security_lead" as "security_lead","res_company"."lc_journal_id" as "lc_journal_id","res_company"."payslip_batch_journal_entry" as "payslip_batch_journal_entry","res_company"."default_meal_emp_price" as "default_meal_emp_price","res_company"."general_overhead" as "general_overhead","res_company"."loyalty_points_reward_policy" as "loyalty_points_reward_policy","res_company"."manufacturing_period" as "manufacturing_period","res_company"."manufacturing_period_to_display" as "manufacturing_period_to_display","res_company"."mrp_mps_show_starting_inventory" as "mrp_mps_show_starting_inventory","res_company"."mrp_mps_show_demand_forecast" as "mrp_mps_show_demand_forecast","res_company"."mrp_mps_show_actual_demand" as "mrp_mps_show_actual_demand","res_company"."mrp_mps_show_indirect_demand" as "mrp_mps_show_indirect_demand","res_company"."mrp_mps_show_to_replenish" as "mrp_mps_show_to_replenish","res_company"."mrp_mps_show_actual_replenishment" as "mrp_mps_show_actual_replenishment","res_company"."mrp_mps_show_safety_stock" as "mrp_mps_show_safety_stock","res_company"."mrp_mps_show_available_to_promise" as "mrp_mps_show_available_to_promise","res_company"."sales_price_modifying_group_id" as "sales_price_modifying_group_id","res_company"."prevent_unlink_related_invoices" as "prevent_unlink_related_invoices","res_company"."website_sale_onboarding_payment_acquirer_state" as "website_sale_onboarding_payment_acquirer_state","res_company"."sinvoice_mode" as "sinvoice_mode","res_company"."sinvoice_start" as "sinvoice_start","res_company"."account_sinvoice_serial_id" as "account_sinvoice_serial_id","res_company"."account_sinvoice_template_id" as "account_sinvoice_template_id","res_company"."account_sinvoice_type_id" as "account_sinvoice_type_id","res_company"."sinvoice_synch_payment_status" as "sinvoice_synch_payment_status","res_company"."sinvoice_conversion_user_id" as "sinvoice_conversion_user_id","res_company"."sinvoice_api_username" as "sinvoice_api_username","res_company"."sinvoice_api_password" as "sinvoice_api_password","res_company"."sinvoice_max_len_bank_name" as "sinvoice_max_len_bank_name","res_company"."sinvoice_max_len_bank_account" as "sinvoice_max_len_bank_account","res_company"."einvoice_provider" as "einvoice_provider","res_company"."vninvoice_mode" as "vninvoice_mode","res_company"."vninvoice_start_date" as "vninvoice_start_date","res_company"."account_vninvoice_serial_id" as "account_vninvoice_serial_id","res_company"."account_vninvoice_template_id" as "account_vninvoice_template_id","res_company"."account_vninvoice_type_id" as "account_vninvoice_type_id","res_company"."vninvoice_api_username" as "vninvoice_api_username","res_company"."vninvoice_api_password" as "vninvoice_api_password","res_company"."account_journal_custom_clearance" as "account_journal_custom_clearance","res_company"."imp_custom_dec_sequence_id" as "imp_custom_dec_sequence_id","res_company"."exp_custom_dec_sequence_id" as "exp_custom_dec_sequence_id","res_company"."overtime_recognition_mode" as "overtime_recognition_mode","res_company"."prevent_unlink_related_pickings" as "prevent_unlink_related_pickings","res_company"."landed_cost_journal_id" as "landed_cost_journal_id","res_company"."applicable_on" as "applicable_on","res_company"."so_po_auto_validation" as "so_po_auto_validation","res_company"."import_vat_ctp_account_id" as "import_vat_ctp_account_id","res_company"."import_tax_payment_term" as "import_tax_payment_term","res_company"."export_vat_ctp_account_id" as "export_vat_ctp_account_id","res_company"."export_tax_payment_term" as "export_tax_payment_term","res_company"."use_intermediary_account" as "use_intermediary_account","res_company"."inter_comp_warehouse_id" as "inter_comp_warehouse_id","res_company"."create_uid" as "create_uid","res_company"."create_date" as "create_date","res_company"."write_uid" as "write_uid","res_company"."write_date" as "write_date" FROM "res_company" WHERE "res_company".id IN (1)
ERROR: column res_company.einvoice_auto_issue does not exist
LINE 1: ..." as "sinvoice_representation_file_as_attachment","res_compa...
^
01/14/2022 00:37:42 ERROR
ERROR: setUpClass (odoo.addons.account.tests.test_account_move_out_refund.TestAccountMoveOutRefundOnchanges)
Traceback (most recent call last):
File "/opt/odoo/13.0/odoo/api.py", line 748, in get
value = self._data[field][record._ids[0]]
KeyError: 1

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/odoo/13.0/odoo/fields.py", line 1038, in __get__
value = env.cache.get(record, self)
File "/opt/odoo/13.0/odoo/api.py", line 754, in get
raise CacheMiss(record, field)
odoo.exceptions.CacheMiss: ('res.company(1,).country_id', None)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/odoo/13.0/odoo/api.py", line 748, in get
value = self._data[field][record._ids[0]]
KeyError: 1

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/odoo/13.0/odoo/fields.py", line 1038, in __get__
value = env.cache.get(record, self)
File "/opt/odoo/13.0/odoo/api.py", line 754, in get
raise CacheMiss(record, field)
odoo.exceptions.CacheMiss: ('res.company(1,).partner_id', None)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/odoo/13.0/odoo/tests/common.py", line 191, in _handleClassSetUp
setUpClass()
File "/opt/odoo/13.0/addons/account/tests/test_account_move_out_refund.py", line 14, in setUpClass
super().setUpClass(chart_template_ref=chart_template_ref)
File "/opt/odoo/13.0/addons/account/tests/account_test_savepoint.py", line 51, in setUpClass
cls.company_data_2 = cls.setup_company_data('company_2_data', chart_template)
File "/opt/odoo/13.0/addons/account/tests/account_test_savepoint.py", line 197, in setup_company_data
**kwargs,
File "<decorator-gen-435>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 338, in _model_create_multi
return create(self, [arg])
File "/home/my077ib0t8sl-28822/build_src/to_inter_company_sale_purchase_stock/models/res_company.py", line 13, in create
res = super(ResCompany, self).create(vals_list)
File "<decorator-gen-425>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 320, in _model_create_single
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/odoo/api.py", line 320, in <genexpr>
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/viindooaddons13.0/to_foreign_trade/models/res_company.py", line 28, in create
res = super(ResCompany, self).create(vals)
File "<decorator-gen-364>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 338, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/viindooaddons13.0/to_hr_payroll/models/res_company.py", line 736, in create
companies = super(ResCompany, self).create(vals_list)
File "<decorator-gen-354>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 320, in _model_create_single
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/odoo/api.py", line 320, in <genexpr>
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/addons/project_timesheet_holidays/models/res_company.py", line 30, in create
company = super(Company, self).create(values)
File "<decorator-gen-341>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 338, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/viindooaddons13.0/viin_hr_overtime/models/res_company.py", line 17, in create
companies = super(ResCompany, self).create(vals_list)
File "<decorator-gen-331>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 320, in _model_create_single
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/odoo/api.py", line 320, in <genexpr>
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/viindooaddons13.0/to_maintenance_approval/models/res_company.py", line 27, in create
company = super(ResCompany, self).create(values)
File "<decorator-gen-289>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 338, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/viindooaddons13.0/viin_helpdesk/models/res_company.py", line 14, in create
companies = super(Company, self).create(vals_list)
File "<decorator-gen-280>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/viindooaddons13.0/to_approvals/models/res_company.py", line 31, in create
companies = super(ResCompany, self).create(vals_list)
File "<decorator-gen-190>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 320, in _model_create_single
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/odoo/api.py", line 320, in <genexpr>
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/addons/stock/models/res_company.py", line 181, in create
company = super(Company, self).create(vals)
File "<decorator-gen-152>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 317, in _model_create_single
return create(self, arg)
File "/opt/odoo/13.0/addons/product/models/res_company.py", line 12, in create
new_company = super(ResCompany, self).create(vals)
File "<decorator-gen-102>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 317, in _model_create_single
return create(self, arg)
File "/opt/odoo/13.0/addons/resource/models/res_company.py", line 28, in create
company = super(ResCompany, self).create(values)
File "<decorator-gen-95>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 317, in _model_create_single
return create(self, arg)
File "/opt/odoo/13.0/addons/web/models/models.py", line 397, in create
res = super().create(values)
File "<decorator-gen-84>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 317, in _model_create_single
return create(self, arg)
File "/opt/odoo/13.0/odoo/addons/base/models/res_company.py", line 227, in create
'country_id': vals.get('country_id'),
File "<decorator-gen-420>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 338, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/viindooaddons13.0/to_foreign_trade/models/res_partner.py", line 72, in create
partners = super(res_partner, self).create(vals_list)
File "<decorator-gen-297>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 320, in _model_create_single
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/odoo/api.py", line 320, in <genexpr>
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/addons/base_vat/models/res_partner.py", line 529, in create
return super(ResPartner, self).create(values)
File "<decorator-gen-262>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 338, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/13.0/addons/account/models/partner.py", line 515, in create
return super().create(vals_list)
File "<decorator-gen-143>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/13.0/addons/partner_autocomplete/models/res_partner.py", line 183, in create
partners = super(ResPartner, self).create(vals_list)
File "<decorator-gen-83>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/13.0/odoo/addons/base/models/res_partner.py", line 544, in create
partners = super(Partner, self).create(vals_list)
File "<decorator-gen-115>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/13.0/addons/mail/models/mail_thread.py", line 269, in create
threads = super(MailThread, self).create(vals_list)
File "<decorator-gen-253>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/13.0/addons/website/models/mixins.py", line 152, in create
records = super(WebsitePublishedMixin, self).create(vals_list)
File "<decorator-gen-98>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/viindooaddons13.0/viin_user_assignment_log/models/base.py", line 11, in create
records = super(Base, self).create(vals_list)
File "<decorator-gen-3>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/13.0/odoo/models.py", line 3825, in create
records = self._create(data_list)
File "/opt/odoo/13.0/odoo/models.py", line 3998, in _create
records._validate_fields(name for data in data_list for name in data['stored'])
File "/opt/odoo/13.0/odoo/models.py", line 1212, in _validate_fields
check(self)
File "/opt/odoo/viindooaddons13.0/to_partner_check_unique_vat/models/res_partner.py", line 10, in _check_unique_vat
self.flush()
File "/opt/odoo/13.0/odoo/models.py", line 5514, in flush
self.recompute()
File "/opt/odoo/13.0/odoo/models.py", line 5956, in recompute
process(field)
File "/opt/odoo/13.0/odoo/models.py", line 5940, in process
recs.mapped(field.name)
File "/opt/odoo/13.0/odoo/models.py", line 5322, in mapped
recs = recs._mapped_func(operator.itemgetter(name))
File "/opt/odoo/13.0/odoo/models.py", line 5281, in _mapped_func
vals = [func(rec) for rec in self]
File "/opt/odoo/13.0/odoo/models.py", line 5281, in <listcomp>
vals = [func(rec) for rec in self]
File "/opt/odoo/13.0/odoo/models.py", line 5746, in __getitem__
return self._fields[key].__get__(self, type(self))
File "/opt/odoo/13.0/odoo/fields.py", line 1033, in __get__
self.compute_value(recs)
File "/opt/odoo/13.0/odoo/fields.py", line 1147, in compute_value
records._compute_field_value(self)
File "/opt/odoo/13.0/odoo/models.py", line 4018, in _compute_field_value
getattr(self, field.compute)()
File "/opt/odoo/13.0/addons/phone_validation/models/mail_thread_phone.py", line 44, in _compute_phone_sanitized
sanitized = record.phone_get_sanitized_number(number_fname=fname)
File "/opt/odoo/13.0/addons/phone_validation/models/mail_thread_phone.py", line 117, in phone_get_sanitized_number
return phone_validation.phone_sanitize_numbers_w_record([number], self, record_country_fname=country_fname, force_format=force_format)[number]['sanitized']
File "/opt/odoo/13.0/addons/phone_validation/tools/phone_validation.py", line 113, in phone_sanitize_numbers_w_record
country = record.env.company.country_id
File "/opt/odoo/13.0/odoo/fields.py", line 2370, in __get__
return super().__get__(records, owner)
File "/opt/odoo/13.0/odoo/fields.py", line 1062, in __get__
self.compute_value(recs)
File "/opt/odoo/13.0/odoo/fields.py", line 1147, in compute_value
records._compute_field_value(self)
File "/opt/odoo/13.0/odoo/models.py", line 4018, in _compute_field_value
getattr(self, field.compute)()
File "/opt/odoo/13.0/odoo/addons/base/models/res_company.py", line 127, in _compute_address
for company in self.filtered(lambda company: company.partner_id):
File "/opt/odoo/13.0/odoo/models.py", line 5359, in filtered
return self.browse([rec.id for rec in self if func(rec)])
File "/opt/odoo/13.0/odoo/models.py", line 5359, in <listcomp>
return self.browse([rec.id for rec in self if func(rec)])
File "/opt/odoo/13.0/odoo/addons/base/models/res_company.py", line 127, in <lambda>
for company in self.filtered(lambda company: company.partner_id):
File "/opt/odoo/13.0/odoo/fields.py", line 2370, in __get__
return super().__get__(records, owner)
File "/opt/odoo/13.0/odoo/fields.py", line 1045, in __get__
recs._fetch_field(self)
File "/opt/odoo/13.0/odoo/models.py", line 3002, in _fetch_field
self._read(fnames)
File "/opt/odoo/13.0/odoo/models.py", line 3074, in _read
cr.execute(query_str, params)
File "/opt/odoo/13.0/odoo/sql_db.py", line 173, in wrapper
return f(self, *args, **kwargs)
File "/opt/odoo/13.0/odoo/sql_db.py", line 250, in execute
res = self._obj.execute(query, params)
psycopg2.ProgrammingError: column res_company.einvoice_auto_issue does not exist
LINE 1: ..." as "sinvoice_representation_file_as_attachment","res_compa...
^
01/14/2022 00:37:42 ERROR
Module account: 0 failures, 1 errors
01/14/2022 00:37:43 ERROR
bad query: SELECT "res_company"."id" as "id","res_company"."sequence" as "sequence","res_company"."parent_id" as "parent_id","res_company"."partner_id" as "partner_id","res_company"."report_header" as "report_header","res_company"."report_footer" as "report_footer","res_company"."currency_id" as "currency_id","res_company"."account_no" as "account_no","res_company"."email" as "email","res_company"."phone" as "phone","res_company"."company_registry" as "company_registry","res_company"."paperformat_id" as "paperformat_id","res_company"."external_report_layout_id" as "external_report_layout_id","res_company"."base_onboarding_company_state" as "base_onboarding_company_state","res_company"."primary_color" as "primary_color","res_company"."secondary_color" as "secondary_color","res_company"."font" as "font","res_company"."social_twitter" as "social_twitter","res_company"."social_facebook" as "social_facebook","res_company"."social_github" as "social_github","res_company"."social_linkedin" as "social_linkedin","res_company"."social_youtube" as "social_youtube","res_company"."social_instagram" as "social_instagram","res_company"."hotline" as "hotline","res_company"."nomenclature_id" as "nomenclature_id","res_company"."resource_calendar_id" as "resource_calendar_id","res_company"."name" as "name","res_company"."gengo_private_key" as "gengo_private_key","res_company"."gengo_public_key" as "gengo_public_key","res_company"."gengo_comment" as "gengo_comment","res_company"."gengo_auto_approve" as "gengo_auto_approve","res_company"."gengo_sandbox" as "gengo_sandbox","res_company"."check_unique_vat" as "check_unique_vat","res_company"."rotating_token_life" as "rotating_token_life","res_company"."lunch_minimum_threshold" as "lunch_minimum_threshold","res_company"."partner_gid" as "partner_gid","res_company"."snailmail_color" as "snailmail_color","res_company"."snailmail_cover" as "snailmail_cover","res_company"."snailmail_duplex" as "snailmail_duplex","res_company"."intercompany_user_id" as "intercompany_user_id","res_company"."hr_presence_control_email_amount" as "hr_presence_control_email_amount","res_company"."hr_presence_control_ip_list" as "hr_presence_control_ip_list","res_company"."internal_transit_location_id" as "internal_transit_location_id","res_company"."stock_move_email_validation" as "stock_move_email_validation","res_company"."stock_mail_confirmation_template_id" as "stock_mail_confirmation_template_id","res_company"."send_hbd_email" as "send_hbd_email","res_company"."hdb_email_template_id" as "hdb_email_template_id","res_company"."check_unique_product_default_code" as "check_unique_product_default_code","res_company"."zoom_api_key" as "zoom_api_key","res_company"."zoom_secret_key" as "zoom_secret_key","res_company"."facebook_app_id" as "facebook_app_id","res_company"."facebook_client_secret" as "facebook_client_secret","res_company"."linkedin_app_id" as "linkedin_app_id","res_company"."linkedin_client_secret" as "linkedin_client_secret","res_company"."manufacturing_lead" as "manufacturing_lead","res_company"."stock_move_sms_validation" as "stock_move_sms_validation","res_company"."stock_sms_confirmation_template_id" as "stock_sms_confirmation_template_id","res_company"."has_received_warning_stock_sms" as "has_received_warning_stock_sms","res_company"."fiscalyear_last_day" as "fiscalyear_last_day","res_company"."fiscalyear_last_month" as "fiscalyear_last_month","res_company"."period_lock_date" as "period_lock_date","res_company"."fiscalyear_lock_date" as "fiscalyear_lock_date","res_company"."tax_lock_date" as "tax_lock_date","res_company"."transfer_account_id" as "transfer_account_id","res_company"."expects_chart_of_accounts" as "expects_chart_of_accounts","res_company"."chart_template_id" as "chart_template_id","res_company"."bank_account_code_prefix" as "bank_account_code_prefix","res_company"."cash_account_code_prefix" as "cash_account_code_prefix","res_company"."default_cash_difference_income_account_id" as "default_cash_difference_income_account_id","res_company"."default_cash_difference_expense_account_id" as "default_cash_difference_expense_account_id","res_company"."transfer_account_code_prefix" as "transfer_account_code_prefix","res_company"."account_sale_tax_id" as "account_sale_tax_id","res_company"."account_purchase_tax_id" as "account_purchase_tax_id","res_company"."tax_cash_basis_journal_id" as "tax_cash_basis_journal_id","res_company"."tax_calculation_rounding_method" as "tax_calculation_rounding_method","res_company"."currency_exchange_journal_id" as "currency_exchange_journal_id","res_company"."anglo_saxon_accounting" as "anglo_saxon_accounting","res_company"."property_stock_account_input_categ_id" as "property_stock_account_input_categ_id","res_company"."property_stock_account_output_categ_id" as "property_stock_account_output_categ_id","res_company"."property_stock_valuation_account_id" as "property_stock_valuation_account_id","res_company"."tax_exigibility" as "tax_exigibility","res_company"."account_bank_reconciliation_start" as "account_bank_reconciliation_start","res_company"."incoterm_id" as "incoterm_id","res_company"."qr_code" as "qr_code","res_company"."invoice_is_email" as "invoice_is_email","res_company"."invoice_is_print" as "invoice_is_print","res_company"."account_opening_move_id" as "account_opening_move_id","res_company"."account_setup_bank_data_state" as "account_setup_bank_data_state","res_company"."account_setup_fy_data_state" as "account_setup_fy_data_state","res_company"."account_setup_coa_state" as "account_setup_coa_state","res_company"."account_onboarding_invoice_layout_state" as "account_onboarding_invoice_layout_state","res_company"."account_onboarding_sample_invoice_state" as "account_onboarding_sample_invoice_state","res_company"."account_onboarding_sale_tax_state" as "account_onboarding_sale_tax_state","res_company"."account_invoice_onboarding_state" as "account_invoice_onboarding_state","res_company"."account_dashboard_onboarding_state" as "account_dashboard_onboarding_state","res_company"."invoice_terms" as "invoice_terms","res_company"."account_default_pos_receivable_account_id" as "account_default_pos_receivable_account_id","res_company"."expense_accrual_account_id" as "expense_accrual_account_id","res_company"."revenue_accrual_account_id" as "revenue_accrual_account_id","res_company"."accrual_default_journal_id" as "accrual_default_journal_id","res_company"."hr_presence_last_compute_date" as "hr_presence_last_compute_date","res_company"."subcontracting_location_id" as "subcontracting_location_id","res_company"."default_helpdesk_team_id" as "default_helpdesk_team_id","res_company"."account_check_printing_layout" as "account_check_printing_layout","res_company"."account_check_printing_date_label" as "account_check_printing_date_label","res_company"."account_check_printing_multi_stub" as "account_check_printing_multi_stub","res_company"."account_check_printing_margin_top" as "account_check_printing_margin_top","res_company"."account_check_printing_margin_left" as "account_check_printing_margin_left","res_company"."account_check_printing_margin_right" as "account_check_printing_margin_right","res_company"."vat_check_vies" as "vat_check_vies","res_company"."project_time_mode_id" as "project_time_mode_id","res_company"."timesheet_encode_uom_id" as "timesheet_encode_uom_id","res_company"."payment_acquirer_onboarding_state" as "payment_acquirer_onboarding_state","res_company"."payment_onboarding_payment_method" as "payment_onboarding_payment_method","res_company"."po_lead" as "po_lead","res_company"."po_lock" as "po_lock","res_company"."po_double_validation" as "po_double_validation","res_company"."po_double_validation_amount" as "po_double_validation_amount","res_company"."invoice_is_snailmail" as "invoice_is_snailmail","res_company"."balance_carry_forward_journal_id" as "balance_carry_forward_journal_id","res_company"."affiliate_comm_percentage" as "affiliate_comm_percentage","res_company"."affiliate_cookie_age" as "affiliate_cookie_age","res_company"."affiliate_min_payout" as "affiliate_min_payout","res_company"."commission_product_id" as "commission_product_id","res_company"."aff_allowed" as "aff_allowed","res_company"."compute_aff_method" as "compute_aff_method","res_company"."main_currency_bank_id" as "main_currency_bank_id","res_company"."amount_double_validation" as "amount_double_validation","res_company"."use_employee_advance_pass_through_account" as "use_employee_advance_pass_through_account","res_company"."loan_borrowing_journal_id" as "loan_borrowing_journal_id","res_company"."loan_borrowing_account_id" as "loan_borrowing_account_id","res_company"."loan_lending_journal_id" as "loan_lending_journal_id","res_company"."loan_lending_account_id" as "loan_lending_account_id","res_company"."vendor_app_comm_percent" as "vendor_app_comm_percent","res_company"."vendor_app_min_payout" as "vendor_app_min_payout","res_company"."dedicated_app_download_token_lifetime" as "dedicated_app_download_token_lifetime","res_company"."app_download_token_lifetime" as "app_download_token_lifetime","res_company"."leave_timesheet_project_id" as "leave_timesheet_project_id","res_company"."leave_timesheet_task_id" as "leave_timesheet_task_id","res_company"."portal_confirmation_sign" as "portal_confirmation_sign","res_company"."portal_confirmation_pay" as "portal_confirmation_pay","res_company"."quotation_validity_days" as "quotation_validity_days","res_company"."sale_quotation_onboarding_state" as "sale_quotation_onboarding_state","res_company"."sale_onboarding_order_confirmation_state" as "sale_onboarding_order_confirmation_state","res_company"."sale_onboarding_sample_quotation_state" as "sale_onboarding_sample_quotation_state","res_company"."sale_onboarding_payment_method" as "sale_onboarding_payment_method","res_company"."days_between_two_followups" as "days_between_two_followups","res_company"."overdue_msg" as "overdue_msg","res_company"."totals_below_sections" as "totals_below_sections","res_company"."currency_conversion_diff_journal_id" as "currency_conversion_diff_journal_id","res_company"."einvoice_lock_legal_number" as "einvoice_lock_legal_number","res_company"."einvoice_issue_earliest_invoice_first" as "einvoice_issue_earliest_invoice_first","res_company"."sinvoice_exchange_file_as_attachment" as "sinvoice_exchange_file_as_attachment","res_company"."sinvoice_representation_file_as_attachment" as "sinvoice_representation_file_as_attachment","res_company"."einvoice_auto_issue" as "einvoice_auto_issue","res_company"."basic_wage_rule_categ_id" as "basic_wage_rule_categ_id","res_company"."gross_salary_rule_categ_id" as "gross_salary_rule_categ_id","res_company"."tax_base_rule_categ_id" as "tax_base_rule_categ_id","res_company"."net_income_salary_rule_categ_id" as "net_income_salary_rule_categ_id","res_company"."payslips_auto_generation" as "payslips_auto_generation","res_company"."payslips_auto_generation_mode" as "payslips_auto_generation_mode","res_company"."payslips_auto_generation_day" as "payslips_auto_generation_day","res_company"."payslips_auto_generation_lang" as "payslips_auto_generation_lang","res_company"."salary_cycle_id" as "salary_cycle_id","res_company"."property_promotion_voucher_profit_account_id" as "property_promotion_voucher_profit_account_id","res_company"."property_promotion_voucher_loss_account_id" as "property_promotion_voucher_loss_account_id","res_company"."property_unearn_revenue_account_id" as "property_unearn_revenue_account_id","res_company"."allow_edit_website_jobs_company_setting" as "allow_edit_website_jobs_company_setting","res_company"."security_lead" as "security_lead","res_company"."lc_journal_id" as "lc_journal_id","res_company"."payslip_batch_journal_entry" as "payslip_batch_journal_entry","res_company"."default_meal_emp_price" as "default_meal_emp_price","res_company"."general_overhead" as "general_overhead","res_company"."loyalty_points_reward_policy" as "loyalty_points_reward_policy","res_company"."manufacturing_period" as "manufacturing_period","res_company"."manufacturing_period_to_display" as "manufacturing_period_to_display","res_company"."mrp_mps_show_starting_inventory" as "mrp_mps_show_starting_inventory","res_company"."mrp_mps_show_demand_forecast" as "mrp_mps_show_demand_forecast","res_company"."mrp_mps_show_actual_demand" as "mrp_mps_show_actual_demand","res_company"."mrp_mps_show_indirect_demand" as "mrp_mps_show_indirect_demand","res_company"."mrp_mps_show_to_replenish" as "mrp_mps_show_to_replenish","res_company"."mrp_mps_show_actual_replenishment" as "mrp_mps_show_actual_replenishment","res_company"."mrp_mps_show_safety_stock" as "mrp_mps_show_safety_stock","res_company"."mrp_mps_show_available_to_promise" as "mrp_mps_show_available_to_promise","res_company"."sales_price_modifying_group_id" as "sales_price_modifying_group_id","res_company"."prevent_unlink_related_invoices" as "prevent_unlink_related_invoices","res_company"."website_sale_onboarding_payment_acquirer_state" as "website_sale_onboarding_payment_acquirer_state","res_company"."sinvoice_mode" as "sinvoice_mode","res_company"."sinvoice_start" as "sinvoice_start","res_company"."account_sinvoice_serial_id" as "account_sinvoice_serial_id","res_company"."account_sinvoice_template_id" as "account_sinvoice_template_id","res_company"."account_sinvoice_type_id" as "account_sinvoice_type_id","res_company"."sinvoice_synch_payment_status" as "sinvoice_synch_payment_status","res_company"."sinvoice_conversion_user_id" as "sinvoice_conversion_user_id","res_company"."sinvoice_api_username" as "sinvoice_api_username","res_company"."sinvoice_api_password" as "sinvoice_api_password","res_company"."sinvoice_max_len_bank_name" as "sinvoice_max_len_bank_name","res_company"."sinvoice_max_len_bank_account" as "sinvoice_max_len_bank_account","res_company"."einvoice_provider" as "einvoice_provider","res_company"."vninvoice_mode" as "vninvoice_mode","res_company"."vninvoice_start_date" as "vninvoice_start_date","res_company"."account_vninvoice_serial_id" as "account_vninvoice_serial_id","res_company"."account_vninvoice_template_id" as "account_vninvoice_template_id","res_company"."account_vninvoice_type_id" as "account_vninvoice_type_id","res_company"."vninvoice_api_username" as "vninvoice_api_username","res_company"."vninvoice_api_password" as "vninvoice_api_password","res_company"."account_journal_custom_clearance" as "account_journal_custom_clearance","res_company"."imp_custom_dec_sequence_id" as "imp_custom_dec_sequence_id","res_company"."exp_custom_dec_sequence_id" as "exp_custom_dec_sequence_id","res_company"."overtime_recognition_mode" as "overtime_recognition_mode","res_company"."prevent_unlink_related_pickings" as "prevent_unlink_related_pickings","res_company"."landed_cost_journal_id" as "landed_cost_journal_id","res_company"."applicable_on" as "applicable_on","res_company"."so_po_auto_validation" as "so_po_auto_validation","res_company"."import_vat_ctp_account_id" as "import_vat_ctp_account_id","res_company"."import_tax_payment_term" as "import_tax_payment_term","res_company"."export_vat_ctp_account_id" as "export_vat_ctp_account_id","res_company"."export_tax_payment_term" as "export_tax_payment_term","res_company"."use_intermediary_account" as "use_intermediary_account","res_company"."inter_comp_warehouse_id" as "inter_comp_warehouse_id","res_company"."create_uid" as "create_uid","res_company"."create_date" as "create_date","res_company"."write_uid" as "write_uid","res_company"."write_date" as "write_date" FROM "res_company" WHERE "res_company".id IN (1)
ERROR: column res_company.einvoice_auto_issue does not exist
LINE 1: ..." as "sinvoice_representation_file_as_attachment","res_compa...
^
01/14/2022 00:37:43 ERROR
ERROR: setUpClass (odoo.addons.account.tests.test_account_move_partner_count.TestAccountMovePartnerCount)
Traceback (most recent call last):
File "/opt/odoo/13.0/odoo/api.py", line 748, in get
value = self._data[field][record._ids[0]]
KeyError: 1

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/odoo/13.0/odoo/fields.py", line 1038, in __get__
value = env.cache.get(record, self)
File "/opt/odoo/13.0/odoo/api.py", line 754, in get
raise CacheMiss(record, field)
odoo.exceptions.CacheMiss: ('res.company(1,).country_id', None)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/odoo/13.0/odoo/api.py", line 748, in get
value = self._data[field][record._ids[0]]
KeyError: 1

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/odoo/13.0/odoo/fields.py", line 1038, in __get__
value = env.cache.get(record, self)
File "/opt/odoo/13.0/odoo/api.py", line 754, in get
raise CacheMiss(record, field)
odoo.exceptions.CacheMiss: ('res.company(1,).partner_id', None)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/odoo/13.0/odoo/tests/common.py", line 191, in _handleClassSetUp
setUpClass()
File "/opt/odoo/13.0/addons/account/tests/account_test_savepoint.py", line 51, in setUpClass
cls.company_data_2 = cls.setup_company_data('company_2_data', chart_template)
File "/opt/odoo/13.0/addons/account/tests/account_test_savepoint.py", line 197, in setup_company_data
**kwargs,
File "<decorator-gen-435>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 338, in _model_create_multi
return create(self, [arg])
File "/home/my077ib0t8sl-28822/build_src/to_inter_company_sale_purchase_stock/models/res_company.py", line 13, in create
res = super(ResCompany, self).create(vals_list)
File "<decorator-gen-425>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 320, in _model_create_single
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/odoo/api.py", line 320, in <genexpr>
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/viindooaddons13.0/to_foreign_trade/models/res_company.py", line 28, in create
res = super(ResCompany, self).create(vals)
File "<decorator-gen-364>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 338, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/viindooaddons13.0/to_hr_payroll/models/res_company.py", line 736, in create
companies = super(ResCompany, self).create(vals_list)
File "<decorator-gen-354>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 320, in _model_create_single
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/odoo/api.py", line 320, in <genexpr>
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/addons/project_timesheet_holidays/models/res_company.py", line 30, in create
company = super(Company, self).create(values)
File "<decorator-gen-341>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 338, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/viindooaddons13.0/viin_hr_overtime/models/res_company.py", line 17, in create
companies = super(ResCompany, self).create(vals_list)
File "<decorator-gen-331>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 320, in _model_create_single
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/odoo/api.py", line 320, in <genexpr>
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/viindooaddons13.0/to_maintenance_approval/models/res_company.py", line 27, in create
company = super(ResCompany, self).create(values)
File "<decorator-gen-289>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 338, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/viindooaddons13.0/viin_helpdesk/models/res_company.py", line 14, in create
companies = super(Company, self).create(vals_list)
File "<decorator-gen-280>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/viindooaddons13.0/to_approvals/models/res_company.py", line 31, in create
companies = super(ResCompany, self).create(vals_list)
File "<decorator-gen-190>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 320, in _model_create_single
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/odoo/api.py", line 320, in <genexpr>
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/addons/stock/models/res_company.py", line 181, in create
company = super(Company, self).create(vals)
File "<decorator-gen-152>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 317, in _model_create_single
return create(self, arg)
File "/opt/odoo/13.0/addons/product/models/res_company.py", line 12, in create
new_company = super(ResCompany, self).create(vals)
File "<decorator-gen-102>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 317, in _model_create_single
return create(self, arg)
File "/opt/odoo/13.0/addons/resource/models/res_company.py", line 28, in create
company = super(ResCompany, self).create(values)
File "<decorator-gen-95>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 317, in _model_create_single
return create(self, arg)
File "/opt/odoo/13.0/addons/web/models/models.py", line 397, in create
res = super().create(values)
File "<decorator-gen-84>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 317, in _model_create_single
return create(self, arg)
File "/opt/odoo/13.0/odoo/addons/base/models/res_company.py", line 227, in create
'country_id': vals.get('country_id'),
File "<decorator-gen-420>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 338, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/viindooaddons13.0/to_foreign_trade/models/res_partner.py", line 72, in create
partners = super(res_partner, self).create(vals_list)
File "<decorator-gen-297>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 320, in _model_create_single
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/odoo/api.py", line 320, in <genexpr>
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/addons/base_vat/models/res_partner.py", line 529, in create
return super(ResPartner, self).create(values)
File "<decorator-gen-262>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 338, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/13.0/addons/account/models/partner.py", line 515, in create
return super().create(vals_list)
File "<decorator-gen-143>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/13.0/addons/partner_autocomplete/models/res_partner.py", line 183, in create
partners = super(ResPartner, self).create(vals_list)
File "<decorator-gen-83>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/13.0/odoo/addons/base/models/res_partner.py", line 544, in create
partners = super(Partner, self).create(vals_list)
File "<decorator-gen-115>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/13.0/addons/mail/models/mail_thread.py", line 269, in create
threads = super(MailThread, self).create(vals_list)
File "<decorator-gen-253>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/13.0/addons/website/models/mixins.py", line 152, in create
records = super(WebsitePublishedMixin, self).create(vals_list)
File "<decorator-gen-98>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/viindooaddons13.0/viin_user_assignment_log/models/base.py", line 11, in create
records = super(Base, self).create(vals_list)
File "<decorator-gen-3>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/13.0/odoo/models.py", line 3825, in create
records = self._create(data_list)
File "/opt/odoo/13.0/odoo/models.py", line 3998, in _create
records._validate_fields(name for data in data_list for name in data['stored'])
File "/opt/odoo/13.0/odoo/models.py", line 1212, in _validate_fields
check(self)
File "/opt/odoo/viindooaddons13.0/to_partner_check_unique_vat/models/res_partner.py", line 10, in _check_unique_vat
self.flush()
File "/opt/odoo/13.0/odoo/models.py", line 5514, in flush
self.recompute()
File "/opt/odoo/13.0/odoo/models.py", line 5956, in recompute
process(field)
File "/opt/odoo/13.0/odoo/models.py", line 5940, in process
recs.mapped(field.name)
File "/opt/odoo/13.0/odoo/models.py", line 5322, in mapped
recs = recs._mapped_func(operator.itemgetter(name))
File "/opt/odoo/13.0/odoo/models.py", line 5281, in _mapped_func
vals = [func(rec) for rec in self]
File "/opt/odoo/13.0/odoo/models.py", line 5281, in <listcomp>
vals = [func(rec) for rec in self]
File "/opt/odoo/13.0/odoo/models.py", line 5746, in __getitem__
return self._fields[key].__get__(self, type(self))
File "/opt/odoo/13.0/odoo/fields.py", line 1033, in __get__
self.compute_value(recs)
File "/opt/odoo/13.0/odoo/fields.py", line 1147, in compute_value
records._compute_field_value(self)
File "/opt/odoo/13.0/odoo/models.py", line 4018, in _compute_field_value
getattr(self, field.compute)()
File "/opt/odoo/13.0/addons/phone_validation/models/mail_thread_phone.py", line 44, in _compute_phone_sanitized
sanitized = record.phone_get_sanitized_number(number_fname=fname)
File "/opt/odoo/13.0/addons/phone_validation/models/mail_thread_phone.py", line 117, in phone_get_sanitized_number
return phone_validation.phone_sanitize_numbers_w_record([number], self, record_country_fname=country_fname, force_format=force_format)[number]['sanitized']
File "/opt/odoo/13.0/addons/phone_validation/tools/phone_validation.py", line 113, in phone_sanitize_numbers_w_record
country = record.env.company.country_id
File "/opt/odoo/13.0/odoo/fields.py", line 2370, in __get__
return super().__get__(records, owner)
File "/opt/odoo/13.0/odoo/fields.py", line 1062, in __get__
self.compute_value(recs)
File "/opt/odoo/13.0/odoo/fields.py", line 1147, in compute_value
records._compute_field_value(self)
File "/opt/odoo/13.0/odoo/models.py", line 4018, in _compute_field_value
getattr(self, field.compute)()
File "/opt/odoo/13.0/odoo/addons/base/models/res_company.py", line 127, in _compute_address
for company in self.filtered(lambda company: company.partner_id):
File "/opt/odoo/13.0/odoo/models.py", line 5359, in filtered
return self.browse([rec.id for rec in self if func(rec)])
File "/opt/odoo/13.0/odoo/models.py", line 5359, in <listcomp>
return self.browse([rec.id for rec in self if func(rec)])
File "/opt/odoo/13.0/odoo/addons/base/models/res_company.py", line 127, in <lambda>
for company in self.filtered(lambda company: company.partner_id):
File "/opt/odoo/13.0/odoo/fields.py", line 2370, in __get__
return super().__get__(records, owner)
File "/opt/odoo/13.0/odoo/fields.py", line 1045, in __get__
recs._fetch_field(self)
File "/opt/odoo/13.0/odoo/models.py", line 3002, in _fetch_field
self._read(fnames)
File "/opt/odoo/13.0/odoo/models.py", line 3074, in _read
cr.execute(query_str, params)
File "/opt/odoo/13.0/odoo/sql_db.py", line 173, in wrapper
return f(self, *args, **kwargs)
File "/opt/odoo/13.0/odoo/sql_db.py", line 250, in execute
res = self._obj.execute(query, params)
psycopg2.ProgrammingError: column res_company.einvoice_auto_issue does not exist
LINE 1: ..." as "sinvoice_representation_file_as_attachment","res_compa...
^
01/14/2022 00:37:43 ERROR
Module account: 0 failures, 1 errors
01/14/2022 00:37:43 ERROR
bad query: SELECT "res_company"."id" as "id","res_company"."sequence" as "sequence","res_company"."parent_id" as "parent_id","res_company"."partner_id" as "partner_id","res_company"."report_header" as "report_header","res_company"."report_footer" as "report_footer","res_company"."currency_id" as "currency_id","res_company"."account_no" as "account_no","res_company"."email" as "email","res_company"."phone" as "phone","res_company"."company_registry" as "company_registry","res_company"."paperformat_id" as "paperformat_id","res_company"."external_report_layout_id" as "external_report_layout_id","res_company"."base_onboarding_company_state" as "base_onboarding_company_state","res_company"."primary_color" as "primary_color","res_company"."secondary_color" as "secondary_color","res_company"."font" as "font","res_company"."social_twitter" as "social_twitter","res_company"."social_facebook" as "social_facebook","res_company"."social_github" as "social_github","res_company"."social_linkedin" as "social_linkedin","res_company"."social_youtube" as "social_youtube","res_company"."social_instagram" as "social_instagram","res_company"."hotline" as "hotline","res_company"."nomenclature_id" as "nomenclature_id","res_company"."resource_calendar_id" as "resource_calendar_id","res_company"."name" as "name","res_company"."gengo_private_key" as "gengo_private_key","res_company"."gengo_public_key" as "gengo_public_key","res_company"."gengo_comment" as "gengo_comment","res_company"."gengo_auto_approve" as "gengo_auto_approve","res_company"."gengo_sandbox" as "gengo_sandbox","res_company"."check_unique_vat" as "check_unique_vat","res_company"."rotating_token_life" as "rotating_token_life","res_company"."lunch_minimum_threshold" as "lunch_minimum_threshold","res_company"."partner_gid" as "partner_gid","res_company"."snailmail_color" as "snailmail_color","res_company"."snailmail_cover" as "snailmail_cover","res_company"."snailmail_duplex" as "snailmail_duplex","res_company"."intercompany_user_id" as "intercompany_user_id","res_company"."hr_presence_control_email_amount" as "hr_presence_control_email_amount","res_company"."hr_presence_control_ip_list" as "hr_presence_control_ip_list","res_company"."internal_transit_location_id" as "internal_transit_location_id","res_company"."stock_move_email_validation" as "stock_move_email_validation","res_company"."stock_mail_confirmation_template_id" as "stock_mail_confirmation_template_id","res_company"."send_hbd_email" as "send_hbd_email","res_company"."hdb_email_template_id" as "hdb_email_template_id","res_company"."check_unique_product_default_code" as "check_unique_product_default_code","res_company"."zoom_api_key" as "zoom_api_key","res_company"."zoom_secret_key" as "zoom_secret_key","res_company"."facebook_app_id" as "facebook_app_id","res_company"."facebook_client_secret" as "facebook_client_secret","res_company"."linkedin_app_id" as "linkedin_app_id","res_company"."linkedin_client_secret" as "linkedin_client_secret","res_company"."manufacturing_lead" as "manufacturing_lead","res_company"."stock_move_sms_validation" as "stock_move_sms_validation","res_company"."stock_sms_confirmation_template_id" as "stock_sms_confirmation_template_id","res_company"."has_received_warning_stock_sms" as "has_received_warning_stock_sms","res_company"."fiscalyear_last_day" as "fiscalyear_last_day","res_company"."fiscalyear_last_month" as "fiscalyear_last_month","res_company"."period_lock_date" as "period_lock_date","res_company"."fiscalyear_lock_date" as "fiscalyear_lock_date","res_company"."tax_lock_date" as "tax_lock_date","res_company"."transfer_account_id" as "transfer_account_id","res_company"."expects_chart_of_accounts" as "expects_chart_of_accounts","res_company"."chart_template_id" as "chart_template_id","res_company"."bank_account_code_prefix" as "bank_account_code_prefix","res_company"."cash_account_code_prefix" as "cash_account_code_prefix","res_company"."default_cash_difference_income_account_id" as "default_cash_difference_income_account_id","res_company"."default_cash_difference_expense_account_id" as "default_cash_difference_expense_account_id","res_company"."transfer_account_code_prefix" as "transfer_account_code_prefix","res_company"."account_sale_tax_id" as "account_sale_tax_id","res_company"."account_purchase_tax_id" as "account_purchase_tax_id","res_company"."tax_cash_basis_journal_id" as "tax_cash_basis_journal_id","res_company"."tax_calculation_rounding_method" as "tax_calculation_rounding_method","res_company"."currency_exchange_journal_id" as "currency_exchange_journal_id","res_company"."anglo_saxon_accounting" as "anglo_saxon_accounting","res_company"."property_stock_account_input_categ_id" as "property_stock_account_input_categ_id","res_company"."property_stock_account_output_categ_id" as "property_stock_account_output_categ_id","res_company"."property_stock_valuation_account_id" as "property_stock_valuation_account_id","res_company"."tax_exigibility" as "tax_exigibility","res_company"."account_bank_reconciliation_start" as "account_bank_reconciliation_start","res_company"."incoterm_id" as "incoterm_id","res_company"."qr_code" as "qr_code","res_company"."invoice_is_email" as "invoice_is_email","res_company"."invoice_is_print" as "invoice_is_print","res_company"."account_opening_move_id" as "account_opening_move_id","res_company"."account_setup_bank_data_state" as "account_setup_bank_data_state","res_company"."account_setup_fy_data_state" as "account_setup_fy_data_state","res_company"."account_setup_coa_state" as "account_setup_coa_state","res_company"."account_onboarding_invoice_layout_state" as "account_onboarding_invoice_layout_state","res_company"."account_onboarding_sample_invoice_state" as "account_onboarding_sample_invoice_state","res_company"."account_onboarding_sale_tax_state" as "account_onboarding_sale_tax_state","res_company"."account_invoice_onboarding_state" as "account_invoice_onboarding_state","res_company"."account_dashboard_onboarding_state" as "account_dashboard_onboarding_state","res_company"."invoice_terms" as "invoice_terms","res_company"."account_default_pos_receivable_account_id" as "account_default_pos_receivable_account_id","res_company"."expense_accrual_account_id" as "expense_accrual_account_id","res_company"."revenue_accrual_account_id" as "revenue_accrual_account_id","res_company"."accrual_default_journal_id" as "accrual_default_journal_id","res_company"."hr_presence_last_compute_date" as "hr_presence_last_compute_date","res_company"."subcontracting_location_id" as "subcontracting_location_id","res_company"."default_helpdesk_team_id" as "default_helpdesk_team_id","res_company"."account_check_printing_layout" as "account_check_printing_layout","res_company"."account_check_printing_date_label" as "account_check_printing_date_label","res_company"."account_check_printing_multi_stub" as "account_check_printing_multi_stub","res_company"."account_check_printing_margin_top" as "account_check_printing_margin_top","res_company"."account_check_printing_margin_left" as "account_check_printing_margin_left","res_company"."account_check_printing_margin_right" as "account_check_printing_margin_right","res_company"."vat_check_vies" as "vat_check_vies","res_company"."project_time_mode_id" as "project_time_mode_id","res_company"."timesheet_encode_uom_id" as "timesheet_encode_uom_id","res_company"."payment_acquirer_onboarding_state" as "payment_acquirer_onboarding_state","res_company"."payment_onboarding_payment_method" as "payment_onboarding_payment_method","res_company"."po_lead" as "po_lead","res_company"."po_lock" as "po_lock","res_company"."po_double_validation" as "po_double_validation","res_company"."po_double_validation_amount" as "po_double_validation_amount","res_company"."invoice_is_snailmail" as "invoice_is_snailmail","res_company"."balance_carry_forward_journal_id" as "balance_carry_forward_journal_id","res_company"."affiliate_comm_percentage" as "affiliate_comm_percentage","res_company"."affiliate_cookie_age" as "affiliate_cookie_age","res_company"."affiliate_min_payout" as "affiliate_min_payout","res_company"."commission_product_id" as "commission_product_id","res_company"."aff_allowed" as "aff_allowed","res_company"."compute_aff_method" as "compute_aff_method","res_company"."main_currency_bank_id" as "main_currency_bank_id","res_company"."amount_double_validation" as "amount_double_validation","res_company"."use_employee_advance_pass_through_account" as "use_employee_advance_pass_through_account","res_company"."loan_borrowing_journal_id" as "loan_borrowing_journal_id","res_company"."loan_borrowing_account_id" as "loan_borrowing_account_id","res_company"."loan_lending_journal_id" as "loan_lending_journal_id","res_company"."loan_lending_account_id" as "loan_lending_account_id","res_company"."vendor_app_comm_percent" as "vendor_app_comm_percent","res_company"."vendor_app_min_payout" as "vendor_app_min_payout","res_company"."dedicated_app_download_token_lifetime" as "dedicated_app_download_token_lifetime","res_company"."app_download_token_lifetime" as "app_download_token_lifetime","res_company"."leave_timesheet_project_id" as "leave_timesheet_project_id","res_company"."leave_timesheet_task_id" as "leave_timesheet_task_id","res_company"."portal_confirmation_sign" as "portal_confirmation_sign","res_company"."portal_confirmation_pay" as "portal_confirmation_pay","res_company"."quotation_validity_days" as "quotation_validity_days","res_company"."sale_quotation_onboarding_state" as "sale_quotation_onboarding_state","res_company"."sale_onboarding_order_confirmation_state" as "sale_onboarding_order_confirmation_state","res_company"."sale_onboarding_sample_quotation_state" as "sale_onboarding_sample_quotation_state","res_company"."sale_onboarding_payment_method" as "sale_onboarding_payment_method","res_company"."days_between_two_followups" as "days_between_two_followups","res_company"."overdue_msg" as "overdue_msg","res_company"."totals_below_sections" as "totals_below_sections","res_company"."currency_conversion_diff_journal_id" as "currency_conversion_diff_journal_id","res_company"."einvoice_lock_legal_number" as "einvoice_lock_legal_number","res_company"."einvoice_issue_earliest_invoice_first" as "einvoice_issue_earliest_invoice_first","res_company"."sinvoice_exchange_file_as_attachment" as "sinvoice_exchange_file_as_attachment","res_company"."sinvoice_representation_file_as_attachment" as "sinvoice_representation_file_as_attachment","res_company"."einvoice_auto_issue" as "einvoice_auto_issue","res_company"."basic_wage_rule_categ_id" as "basic_wage_rule_categ_id","res_company"."gross_salary_rule_categ_id" as "gross_salary_rule_categ_id","res_company"."tax_base_rule_categ_id" as "tax_base_rule_categ_id","res_company"."net_income_salary_rule_categ_id" as "net_income_salary_rule_categ_id","res_company"."payslips_auto_generation" as "payslips_auto_generation","res_company"."payslips_auto_generation_mode" as "payslips_auto_generation_mode","res_company"."payslips_auto_generation_day" as "payslips_auto_generation_day","res_company"."payslips_auto_generation_lang" as "payslips_auto_generation_lang","res_company"."salary_cycle_id" as "salary_cycle_id","res_company"."property_promotion_voucher_profit_account_id" as "property_promotion_voucher_profit_account_id","res_company"."property_promotion_voucher_loss_account_id" as "property_promotion_voucher_loss_account_id","res_company"."property_unearn_revenue_account_id" as "property_unearn_revenue_account_id","res_company"."allow_edit_website_jobs_company_setting" as "allow_edit_website_jobs_company_setting","res_company"."security_lead" as "security_lead","res_company"."lc_journal_id" as "lc_journal_id","res_company"."payslip_batch_journal_entry" as "payslip_batch_journal_entry","res_company"."default_meal_emp_price" as "default_meal_emp_price","res_company"."general_overhead" as "general_overhead","res_company"."loyalty_points_reward_policy" as "loyalty_points_reward_policy","res_company"."manufacturing_period" as "manufacturing_period","res_company"."manufacturing_period_to_display" as "manufacturing_period_to_display","res_company"."mrp_mps_show_starting_inventory" as "mrp_mps_show_starting_inventory","res_company"."mrp_mps_show_demand_forecast" as "mrp_mps_show_demand_forecast","res_company"."mrp_mps_show_actual_demand" as "mrp_mps_show_actual_demand","res_company"."mrp_mps_show_indirect_demand" as "mrp_mps_show_indirect_demand","res_company"."mrp_mps_show_to_replenish" as "mrp_mps_show_to_replenish","res_company"."mrp_mps_show_actual_replenishment" as "mrp_mps_show_actual_replenishment","res_company"."mrp_mps_show_safety_stock" as "mrp_mps_show_safety_stock","res_company"."mrp_mps_show_available_to_promise" as "mrp_mps_show_available_to_promise","res_company"."sales_price_modifying_group_id" as "sales_price_modifying_group_id","res_company"."prevent_unlink_related_invoices" as "prevent_unlink_related_invoices","res_company"."website_sale_onboarding_payment_acquirer_state" as "website_sale_onboarding_payment_acquirer_state","res_company"."sinvoice_mode" as "sinvoice_mode","res_company"."sinvoice_start" as "sinvoice_start","res_company"."account_sinvoice_serial_id" as "account_sinvoice_serial_id","res_company"."account_sinvoice_template_id" as "account_sinvoice_template_id","res_company"."account_sinvoice_type_id" as "account_sinvoice_type_id","res_company"."sinvoice_synch_payment_status" as "sinvoice_synch_payment_status","res_company"."sinvoice_conversion_user_id" as "sinvoice_conversion_user_id","res_company"."sinvoice_api_username" as "sinvoice_api_username","res_company"."sinvoice_api_password" as "sinvoice_api_password","res_company"."sinvoice_max_len_bank_name" as "sinvoice_max_len_bank_name","res_company"."sinvoice_max_len_bank_account" as "sinvoice_max_len_bank_account","res_company"."einvoice_provider" as "einvoice_provider","res_company"."vninvoice_mode" as "vninvoice_mode","res_company"."vninvoice_start_date" as "vninvoice_start_date","res_company"."account_vninvoice_serial_id" as "account_vninvoice_serial_id","res_company"."account_vninvoice_template_id" as "account_vninvoice_template_id","res_company"."account_vninvoice_type_id" as "account_vninvoice_type_id","res_company"."vninvoice_api_username" as "vninvoice_api_username","res_company"."vninvoice_api_password" as "vninvoice_api_password","res_company"."account_journal_custom_clearance" as "account_journal_custom_clearance","res_company"."imp_custom_dec_sequence_id" as "imp_custom_dec_sequence_id","res_company"."exp_custom_dec_sequence_id" as "exp_custom_dec_sequence_id","res_company"."overtime_recognition_mode" as "overtime_recognition_mode","res_company"."prevent_unlink_related_pickings" as "prevent_unlink_related_pickings","res_company"."landed_cost_journal_id" as "landed_cost_journal_id","res_company"."applicable_on" as "applicable_on","res_company"."so_po_auto_validation" as "so_po_auto_validation","res_company"."import_vat_ctp_account_id" as "import_vat_ctp_account_id","res_company"."import_tax_payment_term" as "import_tax_payment_term","res_company"."export_vat_ctp_account_id" as "export_vat_ctp_account_id","res_company"."export_tax_payment_term" as "export_tax_payment_term","res_company"."use_intermediary_account" as "use_intermediary_account","res_company"."inter_comp_warehouse_id" as "inter_comp_warehouse_id","res_company"."create_uid" as "create_uid","res_company"."create_date" as "create_date","res_company"."write_uid" as "write_uid","res_company"."write_date" as "write_date" FROM "res_company" WHERE "res_company".id IN (1)
ERROR: column res_company.einvoice_auto_issue does not exist
LINE 1: ..." as "sinvoice_representation_file_as_attachment","res_compa...
^
01/14/2022 00:37:43 ERROR
ERROR: TestAccountMoveRounding.test_move_line_rounding
Traceback (most recent call last):
File "/opt/odoo/13.0/odoo/api.py", line 748, in get
value = self._data[field][record._ids[0]]
KeyError: 1

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/odoo/13.0/odoo/fields.py", line 1038, in __get__
value = env.cache.get(record, self)
File "/opt/odoo/13.0/odoo/api.py", line 754, in get
raise CacheMiss(record, field)
odoo.exceptions.CacheMiss: ('res.company(1,).country_id', None)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/odoo/13.0/odoo/api.py", line 748, in get
value = self._data[field][record._ids[0]]
KeyError: 1

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/odoo/13.0/odoo/fields.py", line 1038, in __get__
value = env.cache.get(record, self)
File "/opt/odoo/13.0/odoo/api.py", line 754, in get
raise CacheMiss(record, field)
odoo.exceptions.CacheMiss: ('res.company(1,).partner_id', None)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/odoo/13.0/addons/account/tests/test_account_move_rounding.py", line 19, in setUp
'currency_id': self.currency.id,
File "<decorator-gen-435>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 338, in _model_create_multi
return create(self, [arg])
File "/home/my077ib0t8sl-28822/build_src/to_inter_company_sale_purchase_stock/models/res_company.py", line 13, in create
res = super(ResCompany, self).create(vals_list)
File "<decorator-gen-425>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 320, in _model_create_single
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/odoo/api.py", line 320, in <genexpr>
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/viindooaddons13.0/to_foreign_trade/models/res_company.py", line 28, in create
res = super(ResCompany, self).create(vals)
File "<decorator-gen-364>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 338, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/viindooaddons13.0/to_hr_payroll/models/res_company.py", line 736, in create
companies = super(ResCompany, self).create(vals_list)
File "<decorator-gen-354>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 320, in _model_create_single
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/odoo/api.py", line 320, in <genexpr>
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/addons/project_timesheet_holidays/models/res_company.py", line 30, in create
company = super(Company, self).create(values)
File "<decorator-gen-341>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 338, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/viindooaddons13.0/viin_hr_overtime/models/res_company.py", line 17, in create
companies = super(ResCompany, self).create(vals_list)
File "<decorator-gen-331>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 320, in _model_create_single
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/odoo/api.py", line 320, in <genexpr>
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/viindooaddons13.0/to_maintenance_approval/models/res_company.py", line 27, in create
company = super(ResCompany, self).create(values)
File "<decorator-gen-289>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 338, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/viindooaddons13.0/viin_helpdesk/models/res_company.py", line 14, in create
companies = super(Company, self).create(vals_list)
File "<decorator-gen-280>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/viindooaddons13.0/to_approvals/models/res_company.py", line 31, in create
companies = super(ResCompany, self).create(vals_list)
File "<decorator-gen-190>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 320, in _model_create_single
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/odoo/api.py", line 320, in <genexpr>
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/addons/stock/models/res_company.py", line 181, in create
company = super(Company, self).create(vals)
File "<decorator-gen-152>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 317, in _model_create_single
return create(self, arg)
File "/opt/odoo/13.0/addons/product/models/res_company.py", line 12, in create
new_company = super(ResCompany, self).create(vals)
File "<decorator-gen-102>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 317, in _model_create_single
return create(self, arg)
File "/opt/odoo/13.0/addons/resource/models/res_company.py", line 28, in create
company = super(ResCompany, self).create(values)
File "<decorator-gen-95>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 317, in _model_create_single
return create(self, arg)
File "/opt/odoo/13.0/addons/web/models/models.py", line 397, in create
res = super().create(values)
File "<decorator-gen-84>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 317, in _model_create_single
return create(self, arg)
File "/opt/odoo/13.0/odoo/addons/base/models/res_company.py", line 227, in create
'country_id': vals.get('country_id'),
File "<decorator-gen-420>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 338, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/viindooaddons13.0/to_foreign_trade/models/res_partner.py", line 72, in create
partners = super(res_partner, self).create(vals_list)
File "<decorator-gen-297>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 320, in _model_create_single
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/odoo/api.py", line 320, in <genexpr>
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/addons/base_vat/models/res_partner.py", line 529, in create
return super(ResPartner, self).create(values)
File "<decorator-gen-262>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 338, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/13.0/addons/account/models/partner.py", line 515, in create
return super().create(vals_list)
File "<decorator-gen-143>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/13.0/addons/partner_autocomplete/models/res_partner.py", line 183, in create
partners = super(ResPartner, self).create(vals_list)
File "<decorator-gen-83>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/13.0/odoo/addons/base/models/res_partner.py", line 544, in create
partners = super(Partner, self).create(vals_list)
File "<decorator-gen-115>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/13.0/addons/mail/models/mail_thread.py", line 269, in create
threads = super(MailThread, self).create(vals_list)
File "<decorator-gen-253>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/13.0/addons/website/models/mixins.py", line 152, in create
records = super(WebsitePublishedMixin, self).create(vals_list)
File "<decorator-gen-98>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/viindooaddons13.0/viin_user_assignment_log/models/base.py", line 11, in create
records = super(Base, self).create(vals_list)
File "<decorator-gen-3>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/13.0/odoo/models.py", line 3825, in create
records = self._create(data_list)
File "/opt/odoo/13.0/odoo/models.py", line 3998, in _create
records._validate_fields(name for data in data_list for name in data['stored'])
File "/opt/odoo/13.0/odoo/models.py", line 1212, in _validate_fields
check(self)
File "/opt/odoo/viindooaddons13.0/to_partner_check_unique_vat/models/res_partner.py", line 10, in _check_unique_vat
self.flush()
File "/opt/odoo/13.0/odoo/models.py", line 5514, in flush
self.recompute()
File "/opt/odoo/13.0/odoo/models.py", line 5956, in recompute
process(field)
File "/opt/odoo/13.0/odoo/models.py", line 5940, in process
recs.mapped(field.name)
File "/opt/odoo/13.0/odoo/models.py", line 5322, in mapped
recs = recs._mapped_func(operator.itemgetter(name))
File "/opt/odoo/13.0/odoo/models.py", line 5281, in _mapped_func
vals = [func(rec) for rec in self]
File "/opt/odoo/13.0/odoo/models.py", line 5281, in <listcomp>
vals = [func(rec) for rec in self]
File "/opt/odoo/13.0/odoo/models.py", line 5746, in __getitem__
return self._fields[key].__get__(self, type(self))
File "/opt/odoo/13.0/odoo/fields.py", line 1033, in __get__
self.compute_value(recs)
File "/opt/odoo/13.0/odoo/fields.py", line 1147, in compute_value
records._compute_field_value(self)
File "/opt/odoo/13.0/odoo/models.py", line 4018, in _compute_field_value
getattr(self, field.compute)()
File "/opt/odoo/13.0/addons/phone_validation/models/mail_thread_phone.py", line 44, in _compute_phone_sanitized
sanitized = record.phone_get_sanitized_number(number_fname=fname)
File "/opt/odoo/13.0/addons/phone_validation/models/mail_thread_phone.py", line 117, in phone_get_sanitized_number
return phone_validation.phone_sanitize_numbers_w_record([number], self, record_country_fname=country_fname, force_format=force_format)[number]['sanitized']
File "/opt/odoo/13.0/addons/phone_validation/tools/phone_validation.py", line 113, in phone_sanitize_numbers_w_record
country = record.env.company.country_id
File "/opt/odoo/13.0/odoo/fields.py", line 2370, in __get__
return super().__get__(records, owner)
File "/opt/odoo/13.0/odoo/fields.py", line 1062, in __get__
self.compute_value(recs)
File "/opt/odoo/13.0/odoo/fields.py", line 1147, in compute_value
records._compute_field_value(self)
File "/opt/odoo/13.0/odoo/models.py", line 4018, in _compute_field_value
getattr(self, field.compute)()
File "/opt/odoo/13.0/odoo/addons/base/models/res_company.py", line 127, in _compute_address
for company in self.filtered(lambda company: company.partner_id):
File "/opt/odoo/13.0/odoo/models.py", line 5359, in filtered
return self.browse([rec.id for rec in self if func(rec)])
File "/opt/odoo/13.0/odoo/models.py", line 5359, in <listcomp>
return self.browse([rec.id for rec in self if func(rec)])
File "/opt/odoo/13.0/odoo/addons/base/models/res_company.py", line 127, in <lambda>
for company in self.filtered(lambda company: company.partner_id):
File "/opt/odoo/13.0/odoo/fields.py", line 2370, in __get__
return super().__get__(records, owner)
File "/opt/odoo/13.0/odoo/fields.py", line 1045, in __get__
recs._fetch_field(self)
File "/opt/odoo/13.0/odoo/models.py", line 3002, in _fetch_field
self._read(fnames)
File "/opt/odoo/13.0/odoo/models.py", line 3074, in _read
cr.execute(query_str, params)
File "/opt/odoo/13.0/odoo/sql_db.py", line 173, in wrapper
return f(self, *args, **kwargs)
File "/opt/odoo/13.0/odoo/sql_db.py", line 250, in execute
res = self._obj.execute(query, params)
psycopg2.ProgrammingError: column res_company.einvoice_auto_issue does not exist
LINE 1: ..." as "sinvoice_representation_file_as_attachment","res_compa...
^
01/14/2022 00:37:43 ERROR
Module account: 0 failures, 1 errors
01/14/2022 00:37:43 ERROR
bad query: SELECT "res_company"."id" as "id","res_company"."sequence" as "sequence","res_company"."parent_id" as "parent_id","res_company"."partner_id" as "partner_id","res_company"."report_header" as "report_header","res_company"."report_footer" as "report_footer","res_company"."currency_id" as "currency_id","res_company"."account_no" as "account_no","res_company"."email" as "email","res_company"."phone" as "phone","res_company"."company_registry" as "company_registry","res_company"."paperformat_id" as "paperformat_id","res_company"."external_report_layout_id" as "external_report_layout_id","res_company"."base_onboarding_company_state" as "base_onboarding_company_state","res_company"."primary_color" as "primary_color","res_company"."secondary_color" as "secondary_color","res_company"."font" as "font","res_company"."social_twitter" as "social_twitter","res_company"."social_facebook" as "social_facebook","res_company"."social_github" as "social_github","res_company"."social_linkedin" as "social_linkedin","res_company"."social_youtube" as "social_youtube","res_company"."social_instagram" as "social_instagram","res_company"."hotline" as "hotline","res_company"."nomenclature_id" as "nomenclature_id","res_company"."resource_calendar_id" as "resource_calendar_id","res_company"."name" as "name","res_company"."gengo_private_key" as "gengo_private_key","res_company"."gengo_public_key" as "gengo_public_key","res_company"."gengo_comment" as "gengo_comment","res_company"."gengo_auto_approve" as "gengo_auto_approve","res_company"."gengo_sandbox" as "gengo_sandbox","res_company"."check_unique_vat" as "check_unique_vat","res_company"."rotating_token_life" as "rotating_token_life","res_company"."lunch_minimum_threshold" as "lunch_minimum_threshold","res_company"."partner_gid" as "partner_gid","res_company"."snailmail_color" as "snailmail_color","res_company"."snailmail_cover" as "snailmail_cover","res_company"."snailmail_duplex" as "snailmail_duplex","res_company"."intercompany_user_id" as "intercompany_user_id","res_company"."hr_presence_control_email_amount" as "hr_presence_control_email_amount","res_company"."hr_presence_control_ip_list" as "hr_presence_control_ip_list","res_company"."internal_transit_location_id" as "internal_transit_location_id","res_company"."stock_move_email_validation" as "stock_move_email_validation","res_company"."stock_mail_confirmation_template_id" as "stock_mail_confirmation_template_id","res_company"."send_hbd_email" as "send_hbd_email","res_company"."hdb_email_template_id" as "hdb_email_template_id","res_company"."check_unique_product_default_code" as "check_unique_product_default_code","res_company"."zoom_api_key" as "zoom_api_key","res_company"."zoom_secret_key" as "zoom_secret_key","res_company"."facebook_app_id" as "facebook_app_id","res_company"."facebook_client_secret" as "facebook_client_secret","res_company"."linkedin_app_id" as "linkedin_app_id","res_company"."linkedin_client_secret" as "linkedin_client_secret","res_company"."manufacturing_lead" as "manufacturing_lead","res_company"."stock_move_sms_validation" as "stock_move_sms_validation","res_company"."stock_sms_confirmation_template_id" as "stock_sms_confirmation_template_id","res_company"."has_received_warning_stock_sms" as "has_received_warning_stock_sms","res_company"."fiscalyear_last_day" as "fiscalyear_last_day","res_company"."fiscalyear_last_month" as "fiscalyear_last_month","res_company"."period_lock_date" as "period_lock_date","res_company"."fiscalyear_lock_date" as "fiscalyear_lock_date","res_company"."tax_lock_date" as "tax_lock_date","res_company"."transfer_account_id" as "transfer_account_id","res_company"."expects_chart_of_accounts" as "expects_chart_of_accounts","res_company"."chart_template_id" as "chart_template_id","res_company"."bank_account_code_prefix" as "bank_account_code_prefix","res_company"."cash_account_code_prefix" as "cash_account_code_prefix","res_company"."default_cash_difference_income_account_id" as "default_cash_difference_income_account_id","res_company"."default_cash_difference_expense_account_id" as "default_cash_difference_expense_account_id","res_company"."transfer_account_code_prefix" as "transfer_account_code_prefix","res_company"."account_sale_tax_id" as "account_sale_tax_id","res_company"."account_purchase_tax_id" as "account_purchase_tax_id","res_company"."tax_cash_basis_journal_id" as "tax_cash_basis_journal_id","res_company"."tax_calculation_rounding_method" as "tax_calculation_rounding_method","res_company"."currency_exchange_journal_id" as "currency_exchange_journal_id","res_company"."anglo_saxon_accounting" as "anglo_saxon_accounting","res_company"."property_stock_account_input_categ_id" as "property_stock_account_input_categ_id","res_company"."property_stock_account_output_categ_id" as "property_stock_account_output_categ_id","res_company"."property_stock_valuation_account_id" as "property_stock_valuation_account_id","res_company"."tax_exigibility" as "tax_exigibility","res_company"."account_bank_reconciliation_start" as "account_bank_reconciliation_start","res_company"."incoterm_id" as "incoterm_id","res_company"."qr_code" as "qr_code","res_company"."invoice_is_email" as "invoice_is_email","res_company"."invoice_is_print" as "invoice_is_print","res_company"."account_opening_move_id" as "account_opening_move_id","res_company"."account_setup_bank_data_state" as "account_setup_bank_data_state","res_company"."account_setup_fy_data_state" as "account_setup_fy_data_state","res_company"."account_setup_coa_state" as "account_setup_coa_state","res_company"."account_onboarding_invoice_layout_state" as "account_onboarding_invoice_layout_state","res_company"."account_onboarding_sample_invoice_state" as "account_onboarding_sample_invoice_state","res_company"."account_onboarding_sale_tax_state" as "account_onboarding_sale_tax_state","res_company"."account_invoice_onboarding_state" as "account_invoice_onboarding_state","res_company"."account_dashboard_onboarding_state" as "account_dashboard_onboarding_state","res_company"."invoice_terms" as "invoice_terms","res_company"."account_default_pos_receivable_account_id" as "account_default_pos_receivable_account_id","res_company"."expense_accrual_account_id" as "expense_accrual_account_id","res_company"."revenue_accrual_account_id" as "revenue_accrual_account_id","res_company"."accrual_default_journal_id" as "accrual_default_journal_id","res_company"."hr_presence_last_compute_date" as "hr_presence_last_compute_date","res_company"."subcontracting_location_id" as "subcontracting_location_id","res_company"."default_helpdesk_team_id" as "default_helpdesk_team_id","res_company"."account_check_printing_layout" as "account_check_printing_layout","res_company"."account_check_printing_date_label" as "account_check_printing_date_label","res_company"."account_check_printing_multi_stub" as "account_check_printing_multi_stub","res_company"."account_check_printing_margin_top" as "account_check_printing_margin_top","res_company"."account_check_printing_margin_left" as "account_check_printing_margin_left","res_company"."account_check_printing_margin_right" as "account_check_printing_margin_right","res_company"."vat_check_vies" as "vat_check_vies","res_company"."project_time_mode_id" as "project_time_mode_id","res_company"."timesheet_encode_uom_id" as "timesheet_encode_uom_id","res_company"."payment_acquirer_onboarding_state" as "payment_acquirer_onboarding_state","res_company"."payment_onboarding_payment_method" as "payment_onboarding_payment_method","res_company"."po_lead" as "po_lead","res_company"."po_lock" as "po_lock","res_company"."po_double_validation" as "po_double_validation","res_company"."po_double_validation_amount" as "po_double_validation_amount","res_company"."invoice_is_snailmail" as "invoice_is_snailmail","res_company"."balance_carry_forward_journal_id" as "balance_carry_forward_journal_id","res_company"."affiliate_comm_percentage" as "affiliate_comm_percentage","res_company"."affiliate_cookie_age" as "affiliate_cookie_age","res_company"."affiliate_min_payout" as "affiliate_min_payout","res_company"."commission_product_id" as "commission_product_id","res_company"."aff_allowed" as "aff_allowed","res_company"."compute_aff_method" as "compute_aff_method","res_company"."main_currency_bank_id" as "main_currency_bank_id","res_company"."amount_double_validation" as "amount_double_validation","res_company"."use_employee_advance_pass_through_account" as "use_employee_advance_pass_through_account","res_company"."loan_borrowing_journal_id" as "loan_borrowing_journal_id","res_company"."loan_borrowing_account_id" as "loan_borrowing_account_id","res_company"."loan_lending_journal_id" as "loan_lending_journal_id","res_company"."loan_lending_account_id" as "loan_lending_account_id","res_company"."vendor_app_comm_percent" as "vendor_app_comm_percent","res_company"."vendor_app_min_payout" as "vendor_app_min_payout","res_company"."dedicated_app_download_token_lifetime" as "dedicated_app_download_token_lifetime","res_company"."app_download_token_lifetime" as "app_download_token_lifetime","res_company"."leave_timesheet_project_id" as "leave_timesheet_project_id","res_company"."leave_timesheet_task_id" as "leave_timesheet_task_id","res_company"."portal_confirmation_sign" as "portal_confirmation_sign","res_company"."portal_confirmation_pay" as "portal_confirmation_pay","res_company"."quotation_validity_days" as "quotation_validity_days","res_company"."sale_quotation_onboarding_state" as "sale_quotation_onboarding_state","res_company"."sale_onboarding_order_confirmation_state" as "sale_onboarding_order_confirmation_state","res_company"."sale_onboarding_sample_quotation_state" as "sale_onboarding_sample_quotation_state","res_company"."sale_onboarding_payment_method" as "sale_onboarding_payment_method","res_company"."days_between_two_followups" as "days_between_two_followups","res_company"."overdue_msg" as "overdue_msg","res_company"."totals_below_sections" as "totals_below_sections","res_company"."currency_conversion_diff_journal_id" as "currency_conversion_diff_journal_id","res_company"."einvoice_lock_legal_number" as "einvoice_lock_legal_number","res_company"."einvoice_issue_earliest_invoice_first" as "einvoice_issue_earliest_invoice_first","res_company"."sinvoice_exchange_file_as_attachment" as "sinvoice_exchange_file_as_attachment","res_company"."sinvoice_representation_file_as_attachment" as "sinvoice_representation_file_as_attachment","res_company"."einvoice_auto_issue" as "einvoice_auto_issue","res_company"."basic_wage_rule_categ_id" as "basic_wage_rule_categ_id","res_company"."gross_salary_rule_categ_id" as "gross_salary_rule_categ_id","res_company"."tax_base_rule_categ_id" as "tax_base_rule_categ_id","res_company"."net_income_salary_rule_categ_id" as "net_income_salary_rule_categ_id","res_company"."payslips_auto_generation" as "payslips_auto_generation","res_company"."payslips_auto_generation_mode" as "payslips_auto_generation_mode","res_company"."payslips_auto_generation_day" as "payslips_auto_generation_day","res_company"."payslips_auto_generation_lang" as "payslips_auto_generation_lang","res_company"."salary_cycle_id" as "salary_cycle_id","res_company"."property_promotion_voucher_profit_account_id" as "property_promotion_voucher_profit_account_id","res_company"."property_promotion_voucher_loss_account_id" as "property_promotion_voucher_loss_account_id","res_company"."property_unearn_revenue_account_id" as "property_unearn_revenue_account_id","res_company"."allow_edit_website_jobs_company_setting" as "allow_edit_website_jobs_company_setting","res_company"."security_lead" as "security_lead","res_company"."lc_journal_id" as "lc_journal_id","res_company"."payslip_batch_journal_entry" as "payslip_batch_journal_entry","res_company"."default_meal_emp_price" as "default_meal_emp_price","res_company"."general_overhead" as "general_overhead","res_company"."loyalty_points_reward_policy" as "loyalty_points_reward_policy","res_company"."manufacturing_period" as "manufacturing_period","res_company"."manufacturing_period_to_display" as "manufacturing_period_to_display","res_company"."mrp_mps_show_starting_inventory" as "mrp_mps_show_starting_inventory","res_company"."mrp_mps_show_demand_forecast" as "mrp_mps_show_demand_forecast","res_company"."mrp_mps_show_actual_demand" as "mrp_mps_show_actual_demand","res_company"."mrp_mps_show_indirect_demand" as "mrp_mps_show_indirect_demand","res_company"."mrp_mps_show_to_replenish" as "mrp_mps_show_to_replenish","res_company"."mrp_mps_show_actual_replenishment" as "mrp_mps_show_actual_replenishment","res_company"."mrp_mps_show_safety_stock" as "mrp_mps_show_safety_stock","res_company"."mrp_mps_show_available_to_promise" as "mrp_mps_show_available_to_promise","res_company"."sales_price_modifying_group_id" as "sales_price_modifying_group_id","res_company"."prevent_unlink_related_invoices" as "prevent_unlink_related_invoices","res_company"."website_sale_onboarding_payment_acquirer_state" as "website_sale_onboarding_payment_acquirer_state","res_company"."sinvoice_mode" as "sinvoice_mode","res_company"."sinvoice_start" as "sinvoice_start","res_company"."account_sinvoice_serial_id" as "account_sinvoice_serial_id","res_company"."account_sinvoice_template_id" as "account_sinvoice_template_id","res_company"."account_sinvoice_type_id" as "account_sinvoice_type_id","res_company"."sinvoice_synch_payment_status" as "sinvoice_synch_payment_status","res_company"."sinvoice_conversion_user_id" as "sinvoice_conversion_user_id","res_company"."sinvoice_api_username" as "sinvoice_api_username","res_company"."sinvoice_api_password" as "sinvoice_api_password","res_company"."sinvoice_max_len_bank_name" as "sinvoice_max_len_bank_name","res_company"."sinvoice_max_len_bank_account" as "sinvoice_max_len_bank_account","res_company"."einvoice_provider" as "einvoice_provider","res_company"."vninvoice_mode" as "vninvoice_mode","res_company"."vninvoice_start_date" as "vninvoice_start_date","res_company"."account_vninvoice_serial_id" as "account_vninvoice_serial_id","res_company"."account_vninvoice_template_id" as "account_vninvoice_template_id","res_company"."account_vninvoice_type_id" as "account_vninvoice_type_id","res_company"."vninvoice_api_username" as "vninvoice_api_username","res_company"."vninvoice_api_password" as "vninvoice_api_password","res_company"."account_journal_custom_clearance" as "account_journal_custom_clearance","res_company"."imp_custom_dec_sequence_id" as "imp_custom_dec_sequence_id","res_company"."exp_custom_dec_sequence_id" as "exp_custom_dec_sequence_id","res_company"."overtime_recognition_mode" as "overtime_recognition_mode","res_company"."prevent_unlink_related_pickings" as "prevent_unlink_related_pickings","res_company"."landed_cost_journal_id" as "landed_cost_journal_id","res_company"."applicable_on" as "applicable_on","res_company"."so_po_auto_validation" as "so_po_auto_validation","res_company"."import_vat_ctp_account_id" as "import_vat_ctp_account_id","res_company"."import_tax_payment_term" as "import_tax_payment_term","res_company"."export_vat_ctp_account_id" as "export_vat_ctp_account_id","res_company"."export_tax_payment_term" as "export_tax_payment_term","res_company"."use_intermediary_account" as "use_intermediary_account","res_company"."inter_comp_warehouse_id" as "inter_comp_warehouse_id","res_company"."create_uid" as "create_uid","res_company"."create_date" as "create_date","res_company"."write_uid" as "write_uid","res_company"."write_date" as "write_date" FROM "res_company" WHERE "res_company".id IN (1)
ERROR: column res_company.einvoice_auto_issue does not exist
LINE 1: ..." as "sinvoice_representation_file_as_attachment","res_compa...
^
01/14/2022 00:37:43 ERROR
ERROR: TestAccountDocumentLayout.test_render_account_document_layout
Traceback (most recent call last):
File "/opt/odoo/13.0/odoo/api.py", line 748, in get
value = self._data[field][record._ids[0]]
KeyError: 1

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/odoo/13.0/odoo/fields.py", line 1038, in __get__
value = env.cache.get(record, self)
File "/opt/odoo/13.0/odoo/api.py", line 754, in get
raise CacheMiss(record, field)
odoo.exceptions.CacheMiss: ('res.company(1,).chart_template_id', None)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/odoo/13.0/addons/account/tests/test_account_onboarding.py", line 17, in test_render_account_document_layout
if not main_company.chart_template_id or main_company.chart_template_id != generic_coa:
File "/opt/odoo/13.0/odoo/fields.py", line 2370, in __get__
return super().__get__(records, owner)
File "/opt/odoo/13.0/odoo/fields.py", line 1045, in __get__
recs._fetch_field(self)
File "/opt/odoo/13.0/odoo/models.py", line 3002, in _fetch_field
self._read(fnames)
File "/opt/odoo/13.0/odoo/models.py", line 3074, in _read
cr.execute(query_str, params)
File "/opt/odoo/13.0/odoo/sql_db.py", line 173, in wrapper
return f(self, *args, **kwargs)
File "/opt/odoo/13.0/odoo/sql_db.py", line 250, in execute
res = self._obj.execute(query, params)
psycopg2.ProgrammingError: column res_company.einvoice_auto_issue does not exist
LINE 1: ..." as "sinvoice_representation_file_as_attachment","res_compa...
^
01/14/2022 00:37:43 ERROR
Module account: 0 failures, 1 errors
01/14/2022 00:37:43 ERROR
bad query: SELECT "res_company"."id" as "id","res_company"."sequence" as "sequence","res_company"."parent_id" as "parent_id","res_company"."partner_id" as "partner_id","res_company"."report_header" as "report_header","res_company"."report_footer" as "report_footer","res_company"."currency_id" as "currency_id","res_company"."account_no" as "account_no","res_company"."email" as "email","res_company"."phone" as "phone","res_company"."company_registry" as "company_registry","res_company"."paperformat_id" as "paperformat_id","res_company"."external_report_layout_id" as "external_report_layout_id","res_company"."base_onboarding_company_state" as "base_onboarding_company_state","res_company"."primary_color" as "primary_color","res_company"."secondary_color" as "secondary_color","res_company"."font" as "font","res_company"."social_twitter" as "social_twitter","res_company"."social_facebook" as "social_facebook","res_company"."social_github" as "social_github","res_company"."social_linkedin" as "social_linkedin","res_company"."social_youtube" as "social_youtube","res_company"."social_instagram" as "social_instagram","res_company"."hotline" as "hotline","res_company"."nomenclature_id" as "nomenclature_id","res_company"."resource_calendar_id" as "resource_calendar_id","res_company"."name" as "name","res_company"."gengo_private_key" as "gengo_private_key","res_company"."gengo_public_key" as "gengo_public_key","res_company"."gengo_comment" as "gengo_comment","res_company"."gengo_auto_approve" as "gengo_auto_approve","res_company"."gengo_sandbox" as "gengo_sandbox","res_company"."check_unique_vat" as "check_unique_vat","res_company"."rotating_token_life" as "rotating_token_life","res_company"."lunch_minimum_threshold" as "lunch_minimum_threshold","res_company"."partner_gid" as "partner_gid","res_company"."snailmail_color" as "snailmail_color","res_company"."snailmail_cover" as "snailmail_cover","res_company"."snailmail_duplex" as "snailmail_duplex","res_company"."intercompany_user_id" as "intercompany_user_id","res_company"."hr_presence_control_email_amount" as "hr_presence_control_email_amount","res_company"."hr_presence_control_ip_list" as "hr_presence_control_ip_list","res_company"."internal_transit_location_id" as "internal_transit_location_id","res_company"."stock_move_email_validation" as "stock_move_email_validation","res_company"."stock_mail_confirmation_template_id" as "stock_mail_confirmation_template_id","res_company"."send_hbd_email" as "send_hbd_email","res_company"."hdb_email_template_id" as "hdb_email_template_id","res_company"."check_unique_product_default_code" as "check_unique_product_default_code","res_company"."zoom_api_key" as "zoom_api_key","res_company"."zoom_secret_key" as "zoom_secret_key","res_company"."facebook_app_id" as "facebook_app_id","res_company"."facebook_client_secret" as "facebook_client_secret","res_company"."linkedin_app_id" as "linkedin_app_id","res_company"."linkedin_client_secret" as "linkedin_client_secret","res_company"."manufacturing_lead" as "manufacturing_lead","res_company"."stock_move_sms_validation" as "stock_move_sms_validation","res_company"."stock_sms_confirmation_template_id" as "stock_sms_confirmation_template_id","res_company"."has_received_warning_stock_sms" as "has_received_warning_stock_sms","res_company"."fiscalyear_last_day" as "fiscalyear_last_day","res_company"."fiscalyear_last_month" as "fiscalyear_last_month","res_company"."period_lock_date" as "period_lock_date","res_company"."fiscalyear_lock_date" as "fiscalyear_lock_date","res_company"."tax_lock_date" as "tax_lock_date","res_company"."transfer_account_id" as "transfer_account_id","res_company"."expects_chart_of_accounts" as "expects_chart_of_accounts","res_company"."chart_template_id" as "chart_template_id","res_company"."bank_account_code_prefix" as "bank_account_code_prefix","res_company"."cash_account_code_prefix" as "cash_account_code_prefix","res_company"."default_cash_difference_income_account_id" as "default_cash_difference_income_account_id","res_company"."default_cash_difference_expense_account_id" as "default_cash_difference_expense_account_id","res_company"."transfer_account_code_prefix" as "transfer_account_code_prefix","res_company"."account_sale_tax_id" as "account_sale_tax_id","res_company"."account_purchase_tax_id" as "account_purchase_tax_id","res_company"."tax_cash_basis_journal_id" as "tax_cash_basis_journal_id","res_company"."tax_calculation_rounding_method" as "tax_calculation_rounding_method","res_company"."currency_exchange_journal_id" as "currency_exchange_journal_id","res_company"."anglo_saxon_accounting" as "anglo_saxon_accounting","res_company"."property_stock_account_input_categ_id" as "property_stock_account_input_categ_id","res_company"."property_stock_account_output_categ_id" as "property_stock_account_output_categ_id","res_company"."property_stock_valuation_account_id" as "property_stock_valuation_account_id","res_company"."tax_exigibility" as "tax_exigibility","res_company"."account_bank_reconciliation_start" as "account_bank_reconciliation_start","res_company"."incoterm_id" as "incoterm_id","res_company"."qr_code" as "qr_code","res_company"."invoice_is_email" as "invoice_is_email","res_company"."invoice_is_print" as "invoice_is_print","res_company"."account_opening_move_id" as "account_opening_move_id","res_company"."account_setup_bank_data_state" as "account_setup_bank_data_state","res_company"."account_setup_fy_data_state" as "account_setup_fy_data_state","res_company"."account_setup_coa_state" as "account_setup_coa_state","res_company"."account_onboarding_invoice_layout_state" as "account_onboarding_invoice_layout_state","res_company"."account_onboarding_sample_invoice_state" as "account_onboarding_sample_invoice_state","res_company"."account_onboarding_sale_tax_state" as "account_onboarding_sale_tax_state","res_company"."account_invoice_onboarding_state" as "account_invoice_onboarding_state","res_company"."account_dashboard_onboarding_state" as "account_dashboard_onboarding_state","res_company"."invoice_terms" as "invoice_terms","res_company"."account_default_pos_receivable_account_id" as "account_default_pos_receivable_account_id","res_company"."expense_accrual_account_id" as "expense_accrual_account_id","res_company"."revenue_accrual_account_id" as "revenue_accrual_account_id","res_company"."accrual_default_journal_id" as "accrual_default_journal_id","res_company"."hr_presence_last_compute_date" as "hr_presence_last_compute_date","res_company"."subcontracting_location_id" as "subcontracting_location_id","res_company"."default_helpdesk_team_id" as "default_helpdesk_team_id","res_company"."account_check_printing_layout" as "account_check_printing_layout","res_company"."account_check_printing_date_label" as "account_check_printing_date_label","res_company"."account_check_printing_multi_stub" as "account_check_printing_multi_stub","res_company"."account_check_printing_margin_top" as "account_check_printing_margin_top","res_company"."account_check_printing_margin_left" as "account_check_printing_margin_left","res_company"."account_check_printing_margin_right" as "account_check_printing_margin_right","res_company"."vat_check_vies" as "vat_check_vies","res_company"."project_time_mode_id" as "project_time_mode_id","res_company"."timesheet_encode_uom_id" as "timesheet_encode_uom_id","res_company"."payment_acquirer_onboarding_state" as "payment_acquirer_onboarding_state","res_company"."payment_onboarding_payment_method" as "payment_onboarding_payment_method","res_company"."po_lead" as "po_lead","res_company"."po_lock" as "po_lock","res_company"."po_double_validation" as "po_double_validation","res_company"."po_double_validation_amount" as "po_double_validation_amount","res_company"."invoice_is_snailmail" as "invoice_is_snailmail","res_company"."balance_carry_forward_journal_id" as "balance_carry_forward_journal_id","res_company"."affiliate_comm_percentage" as "affiliate_comm_percentage","res_company"."affiliate_cookie_age" as "affiliate_cookie_age","res_company"."affiliate_min_payout" as "affiliate_min_payout","res_company"."commission_product_id" as "commission_product_id","res_company"."aff_allowed" as "aff_allowed","res_company"."compute_aff_method" as "compute_aff_method","res_company"."main_currency_bank_id" as "main_currency_bank_id","res_company"."amount_double_validation" as "amount_double_validation","res_company"."use_employee_advance_pass_through_account" as "use_employee_advance_pass_through_account","res_company"."loan_borrowing_journal_id" as "loan_borrowing_journal_id","res_company"."loan_borrowing_account_id" as "loan_borrowing_account_id","res_company"."loan_lending_journal_id" as "loan_lending_journal_id","res_company"."loan_lending_account_id" as "loan_lending_account_id","res_company"."vendor_app_comm_percent" as "vendor_app_comm_percent","res_company"."vendor_app_min_payout" as "vendor_app_min_payout","res_company"."dedicated_app_download_token_lifetime" as "dedicated_app_download_token_lifetime","res_company"."app_download_token_lifetime" as "app_download_token_lifetime","res_company"."leave_timesheet_project_id" as "leave_timesheet_project_id","res_company"."leave_timesheet_task_id" as "leave_timesheet_task_id","res_company"."portal_confirmation_sign" as "portal_confirmation_sign","res_company"."portal_confirmation_pay" as "portal_confirmation_pay","res_company"."quotation_validity_days" as "quotation_validity_days","res_company"."sale_quotation_onboarding_state" as "sale_quotation_onboarding_state","res_company"."sale_onboarding_order_confirmation_state" as "sale_onboarding_order_confirmation_state","res_company"."sale_onboarding_sample_quotation_state" as "sale_onboarding_sample_quotation_state","res_company"."sale_onboarding_payment_method" as "sale_onboarding_payment_method","res_company"."days_between_two_followups" as "days_between_two_followups","res_company"."overdue_msg" as "overdue_msg","res_company"."totals_below_sections" as "totals_below_sections","res_company"."currency_conversion_diff_journal_id" as "currency_conversion_diff_journal_id","res_company"."einvoice_lock_legal_number" as "einvoice_lock_legal_number","res_company"."einvoice_issue_earliest_invoice_first" as "einvoice_issue_earliest_invoice_first","res_company"."sinvoice_exchange_file_as_attachment" as "sinvoice_exchange_file_as_attachment","res_company"."sinvoice_representation_file_as_attachment" as "sinvoice_representation_file_as_attachment","res_company"."einvoice_auto_issue" as "einvoice_auto_issue","res_company"."basic_wage_rule_categ_id" as "basic_wage_rule_categ_id","res_company"."gross_salary_rule_categ_id" as "gross_salary_rule_categ_id","res_company"."tax_base_rule_categ_id" as "tax_base_rule_categ_id","res_company"."net_income_salary_rule_categ_id" as "net_income_salary_rule_categ_id","res_company"."payslips_auto_generation" as "payslips_auto_generation","res_company"."payslips_auto_generation_mode" as "payslips_auto_generation_mode","res_company"."payslips_auto_generation_day" as "payslips_auto_generation_day","res_company"."payslips_auto_generation_lang" as "payslips_auto_generation_lang","res_company"."salary_cycle_id" as "salary_cycle_id","res_company"."property_promotion_voucher_profit_account_id" as "property_promotion_voucher_profit_account_id","res_company"."property_promotion_voucher_loss_account_id" as "property_promotion_voucher_loss_account_id","res_company"."property_unearn_revenue_account_id" as "property_unearn_revenue_account_id","res_company"."allow_edit_website_jobs_company_setting" as "allow_edit_website_jobs_company_setting","res_company"."security_lead" as "security_lead","res_company"."lc_journal_id" as "lc_journal_id","res_company"."payslip_batch_journal_entry" as "payslip_batch_journal_entry","res_company"."default_meal_emp_price" as "default_meal_emp_price","res_company"."general_overhead" as "general_overhead","res_company"."loyalty_points_reward_policy" as "loyalty_points_reward_policy","res_company"."manufacturing_period" as "manufacturing_period","res_company"."manufacturing_period_to_display" as "manufacturing_period_to_display","res_company"."mrp_mps_show_starting_inventory" as "mrp_mps_show_starting_inventory","res_company"."mrp_mps_show_demand_forecast" as "mrp_mps_show_demand_forecast","res_company"."mrp_mps_show_actual_demand" as "mrp_mps_show_actual_demand","res_company"."mrp_mps_show_indirect_demand" as "mrp_mps_show_indirect_demand","res_company"."mrp_mps_show_to_replenish" as "mrp_mps_show_to_replenish","res_company"."mrp_mps_show_actual_replenishment" as "mrp_mps_show_actual_replenishment","res_company"."mrp_mps_show_safety_stock" as "mrp_mps_show_safety_stock","res_company"."mrp_mps_show_available_to_promise" as "mrp_mps_show_available_to_promise","res_company"."sales_price_modifying_group_id" as "sales_price_modifying_group_id","res_company"."prevent_unlink_related_invoices" as "prevent_unlink_related_invoices","res_company"."website_sale_onboarding_payment_acquirer_state" as "website_sale_onboarding_payment_acquirer_state","res_company"."sinvoice_mode" as "sinvoice_mode","res_company"."sinvoice_start" as "sinvoice_start","res_company"."account_sinvoice_serial_id" as "account_sinvoice_serial_id","res_company"."account_sinvoice_template_id" as "account_sinvoice_template_id","res_company"."account_sinvoice_type_id" as "account_sinvoice_type_id","res_company"."sinvoice_synch_payment_status" as "sinvoice_synch_payment_status","res_company"."sinvoice_conversion_user_id" as "sinvoice_conversion_user_id","res_company"."sinvoice_api_username" as "sinvoice_api_username","res_company"."sinvoice_api_password" as "sinvoice_api_password","res_company"."sinvoice_max_len_bank_name" as "sinvoice_max_len_bank_name","res_company"."sinvoice_max_len_bank_account" as "sinvoice_max_len_bank_account","res_company"."einvoice_provider" as "einvoice_provider","res_company"."vninvoice_mode" as "vninvoice_mode","res_company"."vninvoice_start_date" as "vninvoice_start_date","res_company"."account_vninvoice_serial_id" as "account_vninvoice_serial_id","res_company"."account_vninvoice_template_id" as "account_vninvoice_template_id","res_company"."account_vninvoice_type_id" as "account_vninvoice_type_id","res_company"."vninvoice_api_username" as "vninvoice_api_username","res_company"."vninvoice_api_password" as "vninvoice_api_password","res_company"."account_journal_custom_clearance" as "account_journal_custom_clearance","res_company"."imp_custom_dec_sequence_id" as "imp_custom_dec_sequence_id","res_company"."exp_custom_dec_sequence_id" as "exp_custom_dec_sequence_id","res_company"."overtime_recognition_mode" as "overtime_recognition_mode","res_company"."prevent_unlink_related_pickings" as "prevent_unlink_related_pickings","res_company"."landed_cost_journal_id" as "landed_cost_journal_id","res_company"."applicable_on" as "applicable_on","res_company"."so_po_auto_validation" as "so_po_auto_validation","res_company"."import_vat_ctp_account_id" as "import_vat_ctp_account_id","res_company"."import_tax_payment_term" as "import_tax_payment_term","res_company"."export_vat_ctp_account_id" as "export_vat_ctp_account_id","res_company"."export_tax_payment_term" as "export_tax_payment_term","res_company"."use_intermediary_account" as "use_intermediary_account","res_company"."inter_comp_warehouse_id" as "inter_comp_warehouse_id","res_company"."create_uid" as "create_uid","res_company"."create_date" as "create_date","res_company"."write_uid" as "write_uid","res_company"."write_date" as "write_date" FROM "res_company" WHERE "res_company".id IN (1)
ERROR: column res_company.einvoice_auto_issue does not exist
LINE 1: ..." as "sinvoice_representation_file_as_attachment","res_compa...
^
01/14/2022 00:37:44 ERROR
ERROR: setUpClass (odoo.addons.account.tests.test_account_payment.TestAccountMovePayment)
Traceback (most recent call last):
File "/opt/odoo/13.0/odoo/api.py", line 748, in get
value = self._data[field][record._ids[0]]
KeyError: 1

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/odoo/13.0/odoo/fields.py", line 1038, in __get__
value = env.cache.get(record, self)
File "/opt/odoo/13.0/odoo/api.py", line 754, in get
raise CacheMiss(record, field)
odoo.exceptions.CacheMiss: ('res.company(1,).country_id', None)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/odoo/13.0/odoo/api.py", line 748, in get
value = self._data[field][record._ids[0]]
KeyError: 1

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/odoo/13.0/odoo/fields.py", line 1038, in __get__
value = env.cache.get(record, self)
File "/opt/odoo/13.0/odoo/api.py", line 754, in get
raise CacheMiss(record, field)
odoo.exceptions.CacheMiss: ('res.company(1,).partner_id', None)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/odoo/13.0/odoo/tests/common.py", line 191, in _handleClassSetUp
setUpClass()
File "/opt/odoo/13.0/addons/account/tests/test_account_payment.py", line 13, in setUpClass
super().setUpClass(chart_template_ref=chart_template_ref)
File "/opt/odoo/13.0/addons/account/tests/account_test_savepoint.py", line 51, in setUpClass
cls.company_data_2 = cls.setup_company_data('company_2_data', chart_template)
File "/opt/odoo/13.0/addons/account/tests/account_test_savepoint.py", line 197, in setup_company_data
**kwargs,
File "<decorator-gen-435>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 338, in _model_create_multi
return create(self, [arg])
File "/home/my077ib0t8sl-28822/build_src/to_inter_company_sale_purchase_stock/models/res_company.py", line 13, in create
res = super(ResCompany, self).create(vals_list)
File "<decorator-gen-425>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 320, in _model_create_single
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/odoo/api.py", line 320, in <genexpr>
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/viindooaddons13.0/to_foreign_trade/models/res_company.py", line 28, in create
res = super(ResCompany, self).create(vals)
File "<decorator-gen-364>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 338, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/viindooaddons13.0/to_hr_payroll/models/res_company.py", line 736, in create
companies = super(ResCompany, self).create(vals_list)
File "<decorator-gen-354>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 320, in _model_create_single
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/odoo/api.py", line 320, in <genexpr>
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/addons/project_timesheet_holidays/models/res_company.py", line 30, in create
company = super(Company, self).create(values)
File "<decorator-gen-341>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 338, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/viindooaddons13.0/viin_hr_overtime/models/res_company.py", line 17, in create
companies = super(ResCompany, self).create(vals_list)
File "<decorator-gen-331>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 320, in _model_create_single
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/odoo/api.py", line 320, in <genexpr>
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/viindooaddons13.0/to_maintenance_approval/models/res_company.py", line 27, in create
company = super(ResCompany, self).create(values)
File "<decorator-gen-289>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 338, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/viindooaddons13.0/viin_helpdesk/models/res_company.py", line 14, in create
companies = super(Company, self).create(vals_list)
File "<decorator-gen-280>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/viindooaddons13.0/to_approvals/models/res_company.py", line 31, in create
companies = super(ResCompany, self).create(vals_list)
File "<decorator-gen-190>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 320, in _model_create_single
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/odoo/api.py", line 320, in <genexpr>
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/addons/stock/models/res_company.py", line 181, in create
company = super(Company, self).create(vals)
File "<decorator-gen-152>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 317, in _model_create_single
return create(self, arg)
File "/opt/odoo/13.0/addons/product/models/res_company.py", line 12, in create
new_company = super(ResCompany, self).create(vals)
File "<decorator-gen-102>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 317, in _model_create_single
return create(self, arg)
File "/opt/odoo/13.0/addons/resource/models/res_company.py", line 28, in create
company = super(ResCompany, self).create(values)
File "<decorator-gen-95>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 317, in _model_create_single
return create(self, arg)
File "/opt/odoo/13.0/addons/web/models/models.py", line 397, in create
res = super().create(values)
File "<decorator-gen-84>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 317, in _model_create_single
return create(self, arg)
File "/opt/odoo/13.0/odoo/addons/base/models/res_company.py", line 227, in create
'country_id': vals.get('country_id'),
File "<decorator-gen-420>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 338, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/viindooaddons13.0/to_foreign_trade/models/res_partner.py", line 72, in create
partners = super(res_partner, self).create(vals_list)
File "<decorator-gen-297>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 320, in _model_create_single
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/odoo/api.py", line 320, in <genexpr>
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/addons/base_vat/models/res_partner.py", line 529, in create
return super(ResPartner, self).create(values)
File "<decorator-gen-262>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 338, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/13.0/addons/account/models/partner.py", line 515, in create
return super().create(vals_list)
File "<decorator-gen-143>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/13.0/addons/partner_autocomplete/models/res_partner.py", line 183, in create
partners = super(ResPartner, self).create(vals_list)
File "<decorator-gen-83>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/13.0/odoo/addons/base/models/res_partner.py", line 544, in create
partners = super(Partner, self).create(vals_list)
File "<decorator-gen-115>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/13.0/addons/mail/models/mail_thread.py", line 269, in create
threads = super(MailThread, self).create(vals_list)
File "<decorator-gen-253>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/13.0/addons/website/models/mixins.py", line 152, in create
records = super(WebsitePublishedMixin, self).create(vals_list)
File "<decorator-gen-98>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/viindooaddons13.0/viin_user_assignment_log/models/base.py", line 11, in create
records = super(Base, self).create(vals_list)
File "<decorator-gen-3>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/13.0/odoo/models.py", line 3825, in create
records = self._create(data_list)
File "/opt/odoo/13.0/odoo/models.py", line 3998, in _create
records._validate_fields(name for data in data_list for name in data['stored'])
File "/opt/odoo/13.0/odoo/models.py", line 1212, in _validate_fields
check(self)
File "/opt/odoo/viindooaddons13.0/to_partner_check_unique_vat/models/res_partner.py", line 10, in _check_unique_vat
self.flush()
File "/opt/odoo/13.0/odoo/models.py", line 5514, in flush
self.recompute()
File "/opt/odoo/13.0/odoo/models.py", line 5956, in recompute
process(field)
File "/opt/odoo/13.0/odoo/models.py", line 5940, in process
recs.mapped(field.name)
File "/opt/odoo/13.0/odoo/models.py", line 5322, in mapped
recs = recs._mapped_func(operator.itemgetter(name))
File "/opt/odoo/13.0/odoo/models.py", line 5281, in _mapped_func
vals = [func(rec) for rec in self]
File "/opt/odoo/13.0/odoo/models.py", line 5281, in <listcomp>
vals = [func(rec) for rec in self]
File "/opt/odoo/13.0/odoo/models.py", line 5746, in __getitem__
return self._fields[key].__get__(self, type(self))
File "/opt/odoo/13.0/odoo/fields.py", line 1033, in __get__
self.compute_value(recs)
File "/opt/odoo/13.0/odoo/fields.py", line 1147, in compute_value
records._compute_field_value(self)
File "/opt/odoo/13.0/odoo/models.py", line 4018, in _compute_field_value
getattr(self, field.compute)()
File "/opt/odoo/13.0/addons/phone_validation/models/mail_thread_phone.py", line 44, in _compute_phone_sanitized
sanitized = record.phone_get_sanitized_number(number_fname=fname)
File "/opt/odoo/13.0/addons/phone_validation/models/mail_thread_phone.py", line 117, in phone_get_sanitized_number
return phone_validation.phone_sanitize_numbers_w_record([number], self, record_country_fname=country_fname, force_format=force_format)[number]['sanitized']
File "/opt/odoo/13.0/addons/phone_validation/tools/phone_validation.py", line 113, in phone_sanitize_numbers_w_record
country = record.env.company.country_id
File "/opt/odoo/13.0/odoo/fields.py", line 2370, in __get__
return super().__get__(records, owner)
File "/opt/odoo/13.0/odoo/fields.py", line 1062, in __get__
self.compute_value(recs)
File "/opt/odoo/13.0/odoo/fields.py", line 1147, in compute_value
records._compute_field_value(self)
File "/opt/odoo/13.0/odoo/models.py", line 4018, in _compute_field_value
getattr(self, field.compute)()
File "/opt/odoo/13.0/odoo/addons/base/models/res_company.py", line 127, in _compute_address
for company in self.filtered(lambda company: company.partner_id):
File "/opt/odoo/13.0/odoo/models.py", line 5359, in filtered
return self.browse([rec.id for rec in self if func(rec)])
File "/opt/odoo/13.0/odoo/models.py", line 5359, in <listcomp>
return self.browse([rec.id for rec in self if func(rec)])
File "/opt/odoo/13.0/odoo/addons/base/models/res_company.py", line 127, in <lambda>
for company in self.filtered(lambda company: company.partner_id):
File "/opt/odoo/13.0/odoo/fields.py", line 2370, in __get__
return super().__get__(records, owner)
File "/opt/odoo/13.0/odoo/fields.py", line 1045, in __get__
recs._fetch_field(self)
File "/opt/odoo/13.0/odoo/models.py", line 3002, in _fetch_field
self._read(fnames)
File "/opt/odoo/13.0/odoo/models.py", line 3074, in _read
cr.execute(query_str, params)
File "/opt/odoo/13.0/odoo/sql_db.py", line 173, in wrapper
return f(self, *args, **kwargs)
File "/opt/odoo/13.0/odoo/sql_db.py", line 250, in execute
res = self._obj.execute(query, params)
psycopg2.ProgrammingError: column res_company.einvoice_auto_issue does not exist
LINE 1: ..." as "sinvoice_representation_file_as_attachment","res_compa...
^
01/14/2022 00:37:44 ERROR
Module account: 0 failures, 1 errors
01/14/2022 00:37:44 ERROR
bad query: SELECT "res_company"."id" as "id","res_company"."sequence" as "sequence","res_company"."parent_id" as "parent_id","res_company"."partner_id" as "partner_id","res_company"."report_header" as "report_header","res_company"."report_footer" as "report_footer","res_company"."currency_id" as "currency_id","res_company"."account_no" as "account_no","res_company"."email" as "email","res_company"."phone" as "phone","res_company"."company_registry" as "company_registry","res_company"."paperformat_id" as "paperformat_id","res_company"."external_report_layout_id" as "external_report_layout_id","res_company"."base_onboarding_company_state" as "base_onboarding_company_state","res_company"."primary_color" as "primary_color","res_company"."secondary_color" as "secondary_color","res_company"."font" as "font","res_company"."social_twitter" as "social_twitter","res_company"."social_facebook" as "social_facebook","res_company"."social_github" as "social_github","res_company"."social_linkedin" as "social_linkedin","res_company"."social_youtube" as "social_youtube","res_company"."social_instagram" as "social_instagram","res_company"."hotline" as "hotline","res_company"."nomenclature_id" as "nomenclature_id","res_company"."resource_calendar_id" as "resource_calendar_id","res_company"."name" as "name","res_company"."gengo_private_key" as "gengo_private_key","res_company"."gengo_public_key" as "gengo_public_key","res_company"."gengo_comment" as "gengo_comment","res_company"."gengo_auto_approve" as "gengo_auto_approve","res_company"."gengo_sandbox" as "gengo_sandbox","res_company"."check_unique_vat" as "check_unique_vat","res_company"."rotating_token_life" as "rotating_token_life","res_company"."lunch_minimum_threshold" as "lunch_minimum_threshold","res_company"."partner_gid" as "partner_gid","res_company"."snailmail_color" as "snailmail_color","res_company"."snailmail_cover" as "snailmail_cover","res_company"."snailmail_duplex" as "snailmail_duplex","res_company"."intercompany_user_id" as "intercompany_user_id","res_company"."hr_presence_control_email_amount" as "hr_presence_control_email_amount","res_company"."hr_presence_control_ip_list" as "hr_presence_control_ip_list","res_company"."internal_transit_location_id" as "internal_transit_location_id","res_company"."stock_move_email_validation" as "stock_move_email_validation","res_company"."stock_mail_confirmation_template_id" as "stock_mail_confirmation_template_id","res_company"."send_hbd_email" as "send_hbd_email","res_company"."hdb_email_template_id" as "hdb_email_template_id","res_company"."check_unique_product_default_code" as "check_unique_product_default_code","res_company"."zoom_api_key" as "zoom_api_key","res_company"."zoom_secret_key" as "zoom_secret_key","res_company"."facebook_app_id" as "facebook_app_id","res_company"."facebook_client_secret" as "facebook_client_secret","res_company"."linkedin_app_id" as "linkedin_app_id","res_company"."linkedin_client_secret" as "linkedin_client_secret","res_company"."manufacturing_lead" as "manufacturing_lead","res_company"."stock_move_sms_validation" as "stock_move_sms_validation","res_company"."stock_sms_confirmation_template_id" as "stock_sms_confirmation_template_id","res_company"."has_received_warning_stock_sms" as "has_received_warning_stock_sms","res_company"."fiscalyear_last_day" as "fiscalyear_last_day","res_company"."fiscalyear_last_month" as "fiscalyear_last_month","res_company"."period_lock_date" as "period_lock_date","res_company"."fiscalyear_lock_date" as "fiscalyear_lock_date","res_company"."tax_lock_date" as "tax_lock_date","res_company"."transfer_account_id" as "transfer_account_id","res_company"."expects_chart_of_accounts" as "expects_chart_of_accounts","res_company"."chart_template_id" as "chart_template_id","res_company"."bank_account_code_prefix" as "bank_account_code_prefix","res_company"."cash_account_code_prefix" as "cash_account_code_prefix","res_company"."default_cash_difference_income_account_id" as "default_cash_difference_income_account_id","res_company"."default_cash_difference_expense_account_id" as "default_cash_difference_expense_account_id","res_company"."transfer_account_code_prefix" as "transfer_account_code_prefix","res_company"."account_sale_tax_id" as "account_sale_tax_id","res_company"."account_purchase_tax_id" as "account_purchase_tax_id","res_company"."tax_cash_basis_journal_id" as "tax_cash_basis_journal_id","res_company"."tax_calculation_rounding_method" as "tax_calculation_rounding_method","res_company"."currency_exchange_journal_id" as "currency_exchange_journal_id","res_company"."anglo_saxon_accounting" as "anglo_saxon_accounting","res_company"."property_stock_account_input_categ_id" as "property_stock_account_input_categ_id","res_company"."property_stock_account_output_categ_id" as "property_stock_account_output_categ_id","res_company"."property_stock_valuation_account_id" as "property_stock_valuation_account_id","res_company"."tax_exigibility" as "tax_exigibility","res_company"."account_bank_reconciliation_start" as "account_bank_reconciliation_start","res_company"."incoterm_id" as "incoterm_id","res_company"."qr_code" as "qr_code","res_company"."invoice_is_email" as "invoice_is_email","res_company"."invoice_is_print" as "invoice_is_print","res_company"."account_opening_move_id" as "account_opening_move_id","res_company"."account_setup_bank_data_state" as "account_setup_bank_data_state","res_company"."account_setup_fy_data_state" as "account_setup_fy_data_state","res_company"."account_setup_coa_state" as "account_setup_coa_state","res_company"."account_onboarding_invoice_layout_state" as "account_onboarding_invoice_layout_state","res_company"."account_onboarding_sample_invoice_state" as "account_onboarding_sample_invoice_state","res_company"."account_onboarding_sale_tax_state" as "account_onboarding_sale_tax_state","res_company"."account_invoice_onboarding_state" as "account_invoice_onboarding_state","res_company"."account_dashboard_onboarding_state" as "account_dashboard_onboarding_state","res_company"."invoice_terms" as "invoice_terms","res_company"."account_default_pos_receivable_account_id" as "account_default_pos_receivable_account_id","res_company"."expense_accrual_account_id" as "expense_accrual_account_id","res_company"."revenue_accrual_account_id" as "revenue_accrual_account_id","res_company"."accrual_default_journal_id" as "accrual_default_journal_id","res_company"."hr_presence_last_compute_date" as "hr_presence_last_compute_date","res_company"."subcontracting_location_id" as "subcontracting_location_id","res_company"."default_helpdesk_team_id" as "default_helpdesk_team_id","res_company"."account_check_printing_layout" as "account_check_printing_layout","res_company"."account_check_printing_date_label" as "account_check_printing_date_label","res_company"."account_check_printing_multi_stub" as "account_check_printing_multi_stub","res_company"."account_check_printing_margin_top" as "account_check_printing_margin_top","res_company"."account_check_printing_margin_left" as "account_check_printing_margin_left","res_company"."account_check_printing_margin_right" as "account_check_printing_margin_right","res_company"."vat_check_vies" as "vat_check_vies","res_company"."project_time_mode_id" as "project_time_mode_id","res_company"."timesheet_encode_uom_id" as "timesheet_encode_uom_id","res_company"."payment_acquirer_onboarding_state" as "payment_acquirer_onboarding_state","res_company"."payment_onboarding_payment_method" as "payment_onboarding_payment_method","res_company"."po_lead" as "po_lead","res_company"."po_lock" as "po_lock","res_company"."po_double_validation" as "po_double_validation","res_company"."po_double_validation_amount" as "po_double_validation_amount","res_company"."invoice_is_snailmail" as "invoice_is_snailmail","res_company"."balance_carry_forward_journal_id" as "balance_carry_forward_journal_id","res_company"."affiliate_comm_percentage" as "affiliate_comm_percentage","res_company"."affiliate_cookie_age" as "affiliate_cookie_age","res_company"."affiliate_min_payout" as "affiliate_min_payout","res_company"."commission_product_id" as "commission_product_id","res_company"."aff_allowed" as "aff_allowed","res_company"."compute_aff_method" as "compute_aff_method","res_company"."main_currency_bank_id" as "main_currency_bank_id","res_company"."amount_double_validation" as "amount_double_validation","res_company"."use_employee_advance_pass_through_account" as "use_employee_advance_pass_through_account","res_company"."loan_borrowing_journal_id" as "loan_borrowing_journal_id","res_company"."loan_borrowing_account_id" as "loan_borrowing_account_id","res_company"."loan_lending_journal_id" as "loan_lending_journal_id","res_company"."loan_lending_account_id" as "loan_lending_account_id","res_company"."vendor_app_comm_percent" as "vendor_app_comm_percent","res_company"."vendor_app_min_payout" as "vendor_app_min_payout","res_company"."dedicated_app_download_token_lifetime" as "dedicated_app_download_token_lifetime","res_company"."app_download_token_lifetime" as "app_download_token_lifetime","res_company"."leave_timesheet_project_id" as "leave_timesheet_project_id","res_company"."leave_timesheet_task_id" as "leave_timesheet_task_id","res_company"."portal_confirmation_sign" as "portal_confirmation_sign","res_company"."portal_confirmation_pay" as "portal_confirmation_pay","res_company"."quotation_validity_days" as "quotation_validity_days","res_company"."sale_quotation_onboarding_state" as "sale_quotation_onboarding_state","res_company"."sale_onboarding_order_confirmation_state" as "sale_onboarding_order_confirmation_state","res_company"."sale_onboarding_sample_quotation_state" as "sale_onboarding_sample_quotation_state","res_company"."sale_onboarding_payment_method" as "sale_onboarding_payment_method","res_company"."days_between_two_followups" as "days_between_two_followups","res_company"."overdue_msg" as "overdue_msg","res_company"."totals_below_sections" as "totals_below_sections","res_company"."currency_conversion_diff_journal_id" as "currency_conversion_diff_journal_id","res_company"."einvoice_lock_legal_number" as "einvoice_lock_legal_number","res_company"."einvoice_issue_earliest_invoice_first" as "einvoice_issue_earliest_invoice_first","res_company"."sinvoice_exchange_file_as_attachment" as "sinvoice_exchange_file_as_attachment","res_company"."sinvoice_representation_file_as_attachment" as "sinvoice_representation_file_as_attachment","res_company"."einvoice_auto_issue" as "einvoice_auto_issue","res_company"."basic_wage_rule_categ_id" as "basic_wage_rule_categ_id","res_company"."gross_salary_rule_categ_id" as "gross_salary_rule_categ_id","res_company"."tax_base_rule_categ_id" as "tax_base_rule_categ_id","res_company"."net_income_salary_rule_categ_id" as "net_income_salary_rule_categ_id","res_company"."payslips_auto_generation" as "payslips_auto_generation","res_company"."payslips_auto_generation_mode" as "payslips_auto_generation_mode","res_company"."payslips_auto_generation_day" as "payslips_auto_generation_day","res_company"."payslips_auto_generation_lang" as "payslips_auto_generation_lang","res_company"."salary_cycle_id" as "salary_cycle_id","res_company"."property_promotion_voucher_profit_account_id" as "property_promotion_voucher_profit_account_id","res_company"."property_promotion_voucher_loss_account_id" as "property_promotion_voucher_loss_account_id","res_company"."property_unearn_revenue_account_id" as "property_unearn_revenue_account_id","res_company"."allow_edit_website_jobs_company_setting" as "allow_edit_website_jobs_company_setting","res_company"."security_lead" as "security_lead","res_company"."lc_journal_id" as "lc_journal_id","res_company"."payslip_batch_journal_entry" as "payslip_batch_journal_entry","res_company"."default_meal_emp_price" as "default_meal_emp_price","res_company"."general_overhead" as "general_overhead","res_company"."loyalty_points_reward_policy" as "loyalty_points_reward_policy","res_company"."manufacturing_period" as "manufacturing_period","res_company"."manufacturing_period_to_display" as "manufacturing_period_to_display","res_company"."mrp_mps_show_starting_inventory" as "mrp_mps_show_starting_inventory","res_company"."mrp_mps_show_demand_forecast" as "mrp_mps_show_demand_forecast","res_company"."mrp_mps_show_actual_demand" as "mrp_mps_show_actual_demand","res_company"."mrp_mps_show_indirect_demand" as "mrp_mps_show_indirect_demand","res_company"."mrp_mps_show_to_replenish" as "mrp_mps_show_to_replenish","res_company"."mrp_mps_show_actual_replenishment" as "mrp_mps_show_actual_replenishment","res_company"."mrp_mps_show_safety_stock" as "mrp_mps_show_safety_stock","res_company"."mrp_mps_show_available_to_promise" as "mrp_mps_show_available_to_promise","res_company"."sales_price_modifying_group_id" as "sales_price_modifying_group_id","res_company"."prevent_unlink_related_invoices" as "prevent_unlink_related_invoices","res_company"."website_sale_onboarding_payment_acquirer_state" as "website_sale_onboarding_payment_acquirer_state","res_company"."sinvoice_mode" as "sinvoice_mode","res_company"."sinvoice_start" as "sinvoice_start","res_company"."account_sinvoice_serial_id" as "account_sinvoice_serial_id","res_company"."account_sinvoice_template_id" as "account_sinvoice_template_id","res_company"."account_sinvoice_type_id" as "account_sinvoice_type_id","res_company"."sinvoice_synch_payment_status" as "sinvoice_synch_payment_status","res_company"."sinvoice_conversion_user_id" as "sinvoice_conversion_user_id","res_company"."sinvoice_api_username" as "sinvoice_api_username","res_company"."sinvoice_api_password" as "sinvoice_api_password","res_company"."sinvoice_max_len_bank_name" as "sinvoice_max_len_bank_name","res_company"."sinvoice_max_len_bank_account" as "sinvoice_max_len_bank_account","res_company"."einvoice_provider" as "einvoice_provider","res_company"."vninvoice_mode" as "vninvoice_mode","res_company"."vninvoice_start_date" as "vninvoice_start_date","res_company"."account_vninvoice_serial_id" as "account_vninvoice_serial_id","res_company"."account_vninvoice_template_id" as "account_vninvoice_template_id","res_company"."account_vninvoice_type_id" as "account_vninvoice_type_id","res_company"."vninvoice_api_username" as "vninvoice_api_username","res_company"."vninvoice_api_password" as "vninvoice_api_password","res_company"."account_journal_custom_clearance" as "account_journal_custom_clearance","res_company"."imp_custom_dec_sequence_id" as "imp_custom_dec_sequence_id","res_company"."exp_custom_dec_sequence_id" as "exp_custom_dec_sequence_id","res_company"."overtime_recognition_mode" as "overtime_recognition_mode","res_company"."prevent_unlink_related_pickings" as "prevent_unlink_related_pickings","res_company"."landed_cost_journal_id" as "landed_cost_journal_id","res_company"."applicable_on" as "applicable_on","res_company"."so_po_auto_validation" as "so_po_auto_validation","res_company"."import_vat_ctp_account_id" as "import_vat_ctp_account_id","res_company"."import_tax_payment_term" as "import_tax_payment_term","res_company"."export_vat_ctp_account_id" as "export_vat_ctp_account_id","res_company"."export_tax_payment_term" as "export_tax_payment_term","res_company"."use_intermediary_account" as "use_intermediary_account","res_company"."inter_comp_warehouse_id" as "inter_comp_warehouse_id","res_company"."create_uid" as "create_uid","res_company"."create_date" as "create_date","res_company"."write_uid" as "write_uid","res_company"."write_date" as "write_date" FROM "res_company" WHERE "res_company".id IN (1)
ERROR: column res_company.einvoice_auto_issue does not exist
LINE 1: ..." as "sinvoice_representation_file_as_attachment","res_compa...
^
01/14/2022 00:37:44 ERROR
ERROR: setUpClass (odoo.addons.account.tests.test_account_tax.TestAccountTax)
Traceback (most recent call last):
File "/opt/odoo/13.0/odoo/api.py", line 748, in get
value = self._data[field][record._ids[0]]
KeyError: 1

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/odoo/13.0/odoo/fields.py", line 1038, in __get__
value = env.cache.get(record, self)
File "/opt/odoo/13.0/odoo/api.py", line 754, in get
raise CacheMiss(record, field)
odoo.exceptions.CacheMiss: ('res.company(1,).country_id', None)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/odoo/13.0/odoo/api.py", line 748, in get
value = self._data[field][record._ids[0]]
KeyError: 1

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/odoo/13.0/odoo/fields.py", line 1038, in __get__
value = env.cache.get(record, self)
File "/opt/odoo/13.0/odoo/api.py", line 754, in get
raise CacheMiss(record, field)
odoo.exceptions.CacheMiss: ('res.company(1,).partner_id', None)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/odoo/13.0/odoo/tests/common.py", line 191, in _handleClassSetUp
setUpClass()
File "/opt/odoo/13.0/addons/account/tests/test_account_tax.py", line 12, in setUpClass
super().setUpClass(chart_template_ref=chart_template_ref)
File "/opt/odoo/13.0/addons/account/tests/account_test_savepoint.py", line 51, in setUpClass
cls.company_data_2 = cls.setup_company_data('company_2_data', chart_template)
File "/opt/odoo/13.0/addons/account/tests/account_test_savepoint.py", line 197, in setup_company_data
**kwargs,
File "<decorator-gen-435>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 338, in _model_create_multi
return create(self, [arg])
File "/home/my077ib0t8sl-28822/build_src/to_inter_company_sale_purchase_stock/models/res_company.py", line 13, in create
res = super(ResCompany, self).create(vals_list)
File "<decorator-gen-425>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 320, in _model_create_single
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/odoo/api.py", line 320, in <genexpr>
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/viindooaddons13.0/to_foreign_trade/models/res_company.py", line 28, in create
res = super(ResCompany, self).create(vals)
File "<decorator-gen-364>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 338, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/viindooaddons13.0/to_hr_payroll/models/res_company.py", line 736, in create
companies = super(ResCompany, self).create(vals_list)
File "<decorator-gen-354>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 320, in _model_create_single
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/odoo/api.py", line 320, in <genexpr>
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/addons/project_timesheet_holidays/models/res_company.py", line 30, in create
company = super(Company, self).create(values)
File "<decorator-gen-341>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 338, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/viindooaddons13.0/viin_hr_overtime/models/res_company.py", line 17, in create
companies = super(ResCompany, self).create(vals_list)
File "<decorator-gen-331>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 320, in _model_create_single
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/odoo/api.py", line 320, in <genexpr>
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/viindooaddons13.0/to_maintenance_approval/models/res_company.py", line 27, in create
company = super(ResCompany, self).create(values)
File "<decorator-gen-289>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 338, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/viindooaddons13.0/viin_helpdesk/models/res_company.py", line 14, in create
companies = super(Company, self).create(vals_list)
File "<decorator-gen-280>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/viindooaddons13.0/to_approvals/models/res_company.py", line 31, in create
companies = super(ResCompany, self).create(vals_list)
File "<decorator-gen-190>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 320, in _model_create_single
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/odoo/api.py", line 320, in <genexpr>
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/addons/stock/models/res_company.py", line 181, in create
company = super(Company, self).create(vals)
File "<decorator-gen-152>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 317, in _model_create_single
return create(self, arg)
File "/opt/odoo/13.0/addons/product/models/res_company.py", line 12, in create
new_company = super(ResCompany, self).create(vals)
File "<decorator-gen-102>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 317, in _model_create_single
return create(self, arg)
File "/opt/odoo/13.0/addons/resource/models/res_company.py", line 28, in create
company = super(ResCompany, self).create(values)
File "<decorator-gen-95>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 317, in _model_create_single
return create(self, arg)
File "/opt/odoo/13.0/addons/web/models/models.py", line 397, in create
res = super().create(values)
File "<decorator-gen-84>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 317, in _model_create_single
return create(self, arg)
File "/opt/odoo/13.0/odoo/addons/base/models/res_company.py", line 227, in create
'country_id': vals.get('country_id'),
File "<decorator-gen-420>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 338, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/viindooaddons13.0/to_foreign_trade/models/res_partner.py", line 72, in create
partners = super(res_partner, self).create(vals_list)
File "<decorator-gen-297>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 320, in _model_create_single
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/odoo/api.py", line 320, in <genexpr>
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/addons/base_vat/models/res_partner.py", line 529, in create
return super(ResPartner, self).create(values)
File "<decorator-gen-262>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 338, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/13.0/addons/account/models/partner.py", line 515, in create
return super().create(vals_list)
File "<decorator-gen-143>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/13.0/addons/partner_autocomplete/models/res_partner.py", line 183, in create
partners = super(ResPartner, self).create(vals_list)
File "<decorator-gen-83>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/13.0/odoo/addons/base/models/res_partner.py", line 544, in create
partners = super(Partner, self).create(vals_list)
File "<decorator-gen-115>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/13.0/addons/mail/models/mail_thread.py", line 269, in create
threads = super(MailThread, self).create(vals_list)
File "<decorator-gen-253>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/13.0/addons/website/models/mixins.py", line 152, in create
records = super(WebsitePublishedMixin, self).create(vals_list)
File "<decorator-gen-98>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/viindooaddons13.0/viin_user_assignment_log/models/base.py", line 11, in create
records = super(Base, self).create(vals_list)
File "<decorator-gen-3>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/13.0/odoo/models.py", line 3825, in create
records = self._create(data_list)
File "/opt/odoo/13.0/odoo/models.py", line 3998, in _create
records._validate_fields(name for data in data_list for name in data['stored'])
File "/opt/odoo/13.0/odoo/models.py", line 1212, in _validate_fields
check(self)
File "/opt/odoo/viindooaddons13.0/to_partner_check_unique_vat/models/res_partner.py", line 10, in _check_unique_vat
self.flush()
File "/opt/odoo/13.0/odoo/models.py", line 5514, in flush
self.recompute()
File "/opt/odoo/13.0/odoo/models.py", line 5956, in recompute
process(field)
File "/opt/odoo/13.0/odoo/models.py", line 5940, in process
recs.mapped(field.name)
File "/opt/odoo/13.0/odoo/models.py", line 5322, in mapped
recs = recs._mapped_func(operator.itemgetter(name))
File "/opt/odoo/13.0/odoo/models.py", line 5281, in _mapped_func
vals = [func(rec) for rec in self]
File "/opt/odoo/13.0/odoo/models.py", line 5281, in <listcomp>
vals = [func(rec) for rec in self]
File "/opt/odoo/13.0/odoo/models.py", line 5746, in __getitem__
return self._fields[key].__get__(self, type(self))
File "/opt/odoo/13.0/odoo/fields.py", line 1033, in __get__
self.compute_value(recs)
File "/opt/odoo/13.0/odoo/fields.py", line 1147, in compute_value
records._compute_field_value(self)
File "/opt/odoo/13.0/odoo/models.py", line 4018, in _compute_field_value
getattr(self, field.compute)()
File "/opt/odoo/13.0/addons/phone_validation/models/mail_thread_phone.py", line 44, in _compute_phone_sanitized
sanitized = record.phone_get_sanitized_number(number_fname=fname)
File "/opt/odoo/13.0/addons/phone_validation/models/mail_thread_phone.py", line 117, in phone_get_sanitized_number
return phone_validation.phone_sanitize_numbers_w_record([number], self, record_country_fname=country_fname, force_format=force_format)[number]['sanitized']
File "/opt/odoo/13.0/addons/phone_validation/tools/phone_validation.py", line 113, in phone_sanitize_numbers_w_record
country = record.env.company.country_id
File "/opt/odoo/13.0/odoo/fields.py", line 2370, in __get__
return super().__get__(records, owner)
File "/opt/odoo/13.0/odoo/fields.py", line 1062, in __get__
self.compute_value(recs)
File "/opt/odoo/13.0/odoo/fields.py", line 1147, in compute_value
records._compute_field_value(self)
File "/opt/odoo/13.0/odoo/models.py", line 4018, in _compute_field_value
getattr(self, field.compute)()
File "/opt/odoo/13.0/odoo/addons/base/models/res_company.py", line 127, in _compute_address
for company in self.filtered(lambda company: company.partner_id):
File "/opt/odoo/13.0/odoo/models.py", line 5359, in filtered
return self.browse([rec.id for rec in self if func(rec)])
File "/opt/odoo/13.0/odoo/models.py", line 5359, in <listcomp>
return self.browse([rec.id for rec in self if func(rec)])
File "/opt/odoo/13.0/odoo/addons/base/models/res_company.py", line 127, in <lambda>
for company in self.filtered(lambda company: company.partner_id):
File "/opt/odoo/13.0/odoo/fields.py", line 2370, in __get__
return super().__get__(records, owner)
File "/opt/odoo/13.0/odoo/fields.py", line 1045, in __get__
recs._fetch_field(self)
File "/opt/odoo/13.0/odoo/models.py", line 3002, in _fetch_field
self._read(fnames)
File "/opt/odoo/13.0/odoo/models.py", line 3074, in _read
cr.execute(query_str, params)
File "/opt/odoo/13.0/odoo/sql_db.py", line 173, in wrapper
return f(self, *args, **kwargs)
File "/opt/odoo/13.0/odoo/sql_db.py", line 250, in execute
res = self._obj.execute(query, params)
psycopg2.ProgrammingError: column res_company.einvoice_auto_issue does not exist
LINE 1: ..." as "sinvoice_representation_file_as_attachment","res_compa...
^
01/14/2022 00:37:44 ERROR
Module account: 0 failures, 1 errors
01/14/2022 00:37:44 ERROR
bad query: SELECT "res_company"."id" as "id","res_company"."sequence" as "sequence","res_company"."parent_id" as "parent_id","res_company"."partner_id" as "partner_id","res_company"."report_header" as "report_header","res_company"."report_footer" as "report_footer","res_company"."currency_id" as "currency_id","res_company"."account_no" as "account_no","res_company"."email" as "email","res_company"."phone" as "phone","res_company"."company_registry" as "company_registry","res_company"."paperformat_id" as "paperformat_id","res_company"."external_report_layout_id" as "external_report_layout_id","res_company"."base_onboarding_company_state" as "base_onboarding_company_state","res_company"."primary_color" as "primary_color","res_company"."secondary_color" as "secondary_color","res_company"."font" as "font","res_company"."social_twitter" as "social_twitter","res_company"."social_facebook" as "social_facebook","res_company"."social_github" as "social_github","res_company"."social_linkedin" as "social_linkedin","res_company"."social_youtube" as "social_youtube","res_company"."social_instagram" as "social_instagram","res_company"."hotline" as "hotline","res_company"."nomenclature_id" as "nomenclature_id","res_company"."resource_calendar_id" as "resource_calendar_id","res_company"."name" as "name","res_company"."gengo_private_key" as "gengo_private_key","res_company"."gengo_public_key" as "gengo_public_key","res_company"."gengo_comment" as "gengo_comment","res_company"."gengo_auto_approve" as "gengo_auto_approve","res_company"."gengo_sandbox" as "gengo_sandbox","res_company"."check_unique_vat" as "check_unique_vat","res_company"."rotating_token_life" as "rotating_token_life","res_company"."lunch_minimum_threshold" as "lunch_minimum_threshold","res_company"."partner_gid" as "partner_gid","res_company"."snailmail_color" as "snailmail_color","res_company"."snailmail_cover" as "snailmail_cover","res_company"."snailmail_duplex" as "snailmail_duplex","res_company"."intercompany_user_id" as "intercompany_user_id","res_company"."hr_presence_control_email_amount" as "hr_presence_control_email_amount","res_company"."hr_presence_control_ip_list" as "hr_presence_control_ip_list","res_company"."internal_transit_location_id" as "internal_transit_location_id","res_company"."stock_move_email_validation" as "stock_move_email_validation","res_company"."stock_mail_confirmation_template_id" as "stock_mail_confirmation_template_id","res_company"."send_hbd_email" as "send_hbd_email","res_company"."hdb_email_template_id" as "hdb_email_template_id","res_company"."check_unique_product_default_code" as "check_unique_product_default_code","res_company"."zoom_api_key" as "zoom_api_key","res_company"."zoom_secret_key" as "zoom_secret_key","res_company"."facebook_app_id" as "facebook_app_id","res_company"."facebook_client_secret" as "facebook_client_secret","res_company"."linkedin_app_id" as "linkedin_app_id","res_company"."linkedin_client_secret" as "linkedin_client_secret","res_company"."manufacturing_lead" as "manufacturing_lead","res_company"."stock_move_sms_validation" as "stock_move_sms_validation","res_company"."stock_sms_confirmation_template_id" as "stock_sms_confirmation_template_id","res_company"."has_received_warning_stock_sms" as "has_received_warning_stock_sms","res_company"."fiscalyear_last_day" as "fiscalyear_last_day","res_company"."fiscalyear_last_month" as "fiscalyear_last_month","res_company"."period_lock_date" as "period_lock_date","res_company"."fiscalyear_lock_date" as "fiscalyear_lock_date","res_company"."tax_lock_date" as "tax_lock_date","res_company"."transfer_account_id" as "transfer_account_id","res_company"."expects_chart_of_accounts" as "expects_chart_of_accounts","res_company"."chart_template_id" as "chart_template_id","res_company"."bank_account_code_prefix" as "bank_account_code_prefix","res_company"."cash_account_code_prefix" as "cash_account_code_prefix","res_company"."default_cash_difference_income_account_id" as "default_cash_difference_income_account_id","res_company"."default_cash_difference_expense_account_id" as "default_cash_difference_expense_account_id","res_company"."transfer_account_code_prefix" as "transfer_account_code_prefix","res_company"."account_sale_tax_id" as "account_sale_tax_id","res_company"."account_purchase_tax_id" as "account_purchase_tax_id","res_company"."tax_cash_basis_journal_id" as "tax_cash_basis_journal_id","res_company"."tax_calculation_rounding_method" as "tax_calculation_rounding_method","res_company"."currency_exchange_journal_id" as "currency_exchange_journal_id","res_company"."anglo_saxon_accounting" as "anglo_saxon_accounting","res_company"."property_stock_account_input_categ_id" as "property_stock_account_input_categ_id","res_company"."property_stock_account_output_categ_id" as "property_stock_account_output_categ_id","res_company"."property_stock_valuation_account_id" as "property_stock_valuation_account_id","res_company"."tax_exigibility" as "tax_exigibility","res_company"."account_bank_reconciliation_start" as "account_bank_reconciliation_start","res_company"."incoterm_id" as "incoterm_id","res_company"."qr_code" as "qr_code","res_company"."invoice_is_email" as "invoice_is_email","res_company"."invoice_is_print" as "invoice_is_print","res_company"."account_opening_move_id" as "account_opening_move_id","res_company"."account_setup_bank_data_state" as "account_setup_bank_data_state","res_company"."account_setup_fy_data_state" as "account_setup_fy_data_state","res_company"."account_setup_coa_state" as "account_setup_coa_state","res_company"."account_onboarding_invoice_layout_state" as "account_onboarding_invoice_layout_state","res_company"."account_onboarding_sample_invoice_state" as "account_onboarding_sample_invoice_state","res_company"."account_onboarding_sale_tax_state" as "account_onboarding_sale_tax_state","res_company"."account_invoice_onboarding_state" as "account_invoice_onboarding_state","res_company"."account_dashboard_onboarding_state" as "account_dashboard_onboarding_state","res_company"."invoice_terms" as "invoice_terms","res_company"."account_default_pos_receivable_account_id" as "account_default_pos_receivable_account_id","res_company"."expense_accrual_account_id" as "expense_accrual_account_id","res_company"."revenue_accrual_account_id" as "revenue_accrual_account_id","res_company"."accrual_default_journal_id" as "accrual_default_journal_id","res_company"."hr_presence_last_compute_date" as "hr_presence_last_compute_date","res_company"."subcontracting_location_id" as "subcontracting_location_id","res_company"."default_helpdesk_team_id" as "default_helpdesk_team_id","res_company"."account_check_printing_layout" as "account_check_printing_layout","res_company"."account_check_printing_date_label" as "account_check_printing_date_label","res_company"."account_check_printing_multi_stub" as "account_check_printing_multi_stub","res_company"."account_check_printing_margin_top" as "account_check_printing_margin_top","res_company"."account_check_printing_margin_left" as "account_check_printing_margin_left","res_company"."account_check_printing_margin_right" as "account_check_printing_margin_right","res_company"."vat_check_vies" as "vat_check_vies","res_company"."project_time_mode_id" as "project_time_mode_id","res_company"."timesheet_encode_uom_id" as "timesheet_encode_uom_id","res_company"."payment_acquirer_onboarding_state" as "payment_acquirer_onboarding_state","res_company"."payment_onboarding_payment_method" as "payment_onboarding_payment_method","res_company"."po_lead" as "po_lead","res_company"."po_lock" as "po_lock","res_company"."po_double_validation" as "po_double_validation","res_company"."po_double_validation_amount" as "po_double_validation_amount","res_company"."invoice_is_snailmail" as "invoice_is_snailmail","res_company"."balance_carry_forward_journal_id" as "balance_carry_forward_journal_id","res_company"."affiliate_comm_percentage" as "affiliate_comm_percentage","res_company"."affiliate_cookie_age" as "affiliate_cookie_age","res_company"."affiliate_min_payout" as "affiliate_min_payout","res_company"."commission_product_id" as "commission_product_id","res_company"."aff_allowed" as "aff_allowed","res_company"."compute_aff_method" as "compute_aff_method","res_company"."main_currency_bank_id" as "main_currency_bank_id","res_company"."amount_double_validation" as "amount_double_validation","res_company"."use_employee_advance_pass_through_account" as "use_employee_advance_pass_through_account","res_company"."loan_borrowing_journal_id" as "loan_borrowing_journal_id","res_company"."loan_borrowing_account_id" as "loan_borrowing_account_id","res_company"."loan_lending_journal_id" as "loan_lending_journal_id","res_company"."loan_lending_account_id" as "loan_lending_account_id","res_company"."vendor_app_comm_percent" as "vendor_app_comm_percent","res_company"."vendor_app_min_payout" as "vendor_app_min_payout","res_company"."dedicated_app_download_token_lifetime" as "dedicated_app_download_token_lifetime","res_company"."app_download_token_lifetime" as "app_download_token_lifetime","res_company"."leave_timesheet_project_id" as "leave_timesheet_project_id","res_company"."leave_timesheet_task_id" as "leave_timesheet_task_id","res_company"."portal_confirmation_sign" as "portal_confirmation_sign","res_company"."portal_confirmation_pay" as "portal_confirmation_pay","res_company"."quotation_validity_days" as "quotation_validity_days","res_company"."sale_quotation_onboarding_state" as "sale_quotation_onboarding_state","res_company"."sale_onboarding_order_confirmation_state" as "sale_onboarding_order_confirmation_state","res_company"."sale_onboarding_sample_quotation_state" as "sale_onboarding_sample_quotation_state","res_company"."sale_onboarding_payment_method" as "sale_onboarding_payment_method","res_company"."days_between_two_followups" as "days_between_two_followups","res_company"."overdue_msg" as "overdue_msg","res_company"."totals_below_sections" as "totals_below_sections","res_company"."currency_conversion_diff_journal_id" as "currency_conversion_diff_journal_id","res_company"."einvoice_lock_legal_number" as "einvoice_lock_legal_number","res_company"."einvoice_issue_earliest_invoice_first" as "einvoice_issue_earliest_invoice_first","res_company"."sinvoice_exchange_file_as_attachment" as "sinvoice_exchange_file_as_attachment","res_company"."sinvoice_representation_file_as_attachment" as "sinvoice_representation_file_as_attachment","res_company"."einvoice_auto_issue" as "einvoice_auto_issue","res_company"."basic_wage_rule_categ_id" as "basic_wage_rule_categ_id","res_company"."gross_salary_rule_categ_id" as "gross_salary_rule_categ_id","res_company"."tax_base_rule_categ_id" as "tax_base_rule_categ_id","res_company"."net_income_salary_rule_categ_id" as "net_income_salary_rule_categ_id","res_company"."payslips_auto_generation" as "payslips_auto_generation","res_company"."payslips_auto_generation_mode" as "payslips_auto_generation_mode","res_company"."payslips_auto_generation_day" as "payslips_auto_generation_day","res_company"."payslips_auto_generation_lang" as "payslips_auto_generation_lang","res_company"."salary_cycle_id" as "salary_cycle_id","res_company"."property_promotion_voucher_profit_account_id" as "property_promotion_voucher_profit_account_id","res_company"."property_promotion_voucher_loss_account_id" as "property_promotion_voucher_loss_account_id","res_company"."property_unearn_revenue_account_id" as "property_unearn_revenue_account_id","res_company"."allow_edit_website_jobs_company_setting" as "allow_edit_website_jobs_company_setting","res_company"."security_lead" as "security_lead","res_company"."lc_journal_id" as "lc_journal_id","res_company"."payslip_batch_journal_entry" as "payslip_batch_journal_entry","res_company"."default_meal_emp_price" as "default_meal_emp_price","res_company"."general_overhead" as "general_overhead","res_company"."loyalty_points_reward_policy" as "loyalty_points_reward_policy","res_company"."manufacturing_period" as "manufacturing_period","res_company"."manufacturing_period_to_display" as "manufacturing_period_to_display","res_company"."mrp_mps_show_starting_inventory" as "mrp_mps_show_starting_inventory","res_company"."mrp_mps_show_demand_forecast" as "mrp_mps_show_demand_forecast","res_company"."mrp_mps_show_actual_demand" as "mrp_mps_show_actual_demand","res_company"."mrp_mps_show_indirect_demand" as "mrp_mps_show_indirect_demand","res_company"."mrp_mps_show_to_replenish" as "mrp_mps_show_to_replenish","res_company"."mrp_mps_show_actual_replenishment" as "mrp_mps_show_actual_replenishment","res_company"."mrp_mps_show_safety_stock" as "mrp_mps_show_safety_stock","res_company"."mrp_mps_show_available_to_promise" as "mrp_mps_show_available_to_promise","res_company"."sales_price_modifying_group_id" as "sales_price_modifying_group_id","res_company"."prevent_unlink_related_invoices" as "prevent_unlink_related_invoices","res_company"."website_sale_onboarding_payment_acquirer_state" as "website_sale_onboarding_payment_acquirer_state","res_company"."sinvoice_mode" as "sinvoice_mode","res_company"."sinvoice_start" as "sinvoice_start","res_company"."account_sinvoice_serial_id" as "account_sinvoice_serial_id","res_company"."account_sinvoice_template_id" as "account_sinvoice_template_id","res_company"."account_sinvoice_type_id" as "account_sinvoice_type_id","res_company"."sinvoice_synch_payment_status" as "sinvoice_synch_payment_status","res_company"."sinvoice_conversion_user_id" as "sinvoice_conversion_user_id","res_company"."sinvoice_api_username" as "sinvoice_api_username","res_company"."sinvoice_api_password" as "sinvoice_api_password","res_company"."sinvoice_max_len_bank_name" as "sinvoice_max_len_bank_name","res_company"."sinvoice_max_len_bank_account" as "sinvoice_max_len_bank_account","res_company"."einvoice_provider" as "einvoice_provider","res_company"."vninvoice_mode" as "vninvoice_mode","res_company"."vninvoice_start_date" as "vninvoice_start_date","res_company"."account_vninvoice_serial_id" as "account_vninvoice_serial_id","res_company"."account_vninvoice_template_id" as "account_vninvoice_template_id","res_company"."account_vninvoice_type_id" as "account_vninvoice_type_id","res_company"."vninvoice_api_username" as "vninvoice_api_username","res_company"."vninvoice_api_password" as "vninvoice_api_password","res_company"."account_journal_custom_clearance" as "account_journal_custom_clearance","res_company"."imp_custom_dec_sequence_id" as "imp_custom_dec_sequence_id","res_company"."exp_custom_dec_sequence_id" as "exp_custom_dec_sequence_id","res_company"."overtime_recognition_mode" as "overtime_recognition_mode","res_company"."prevent_unlink_related_pickings" as "prevent_unlink_related_pickings","res_company"."landed_cost_journal_id" as "landed_cost_journal_id","res_company"."applicable_on" as "applicable_on","res_company"."so_po_auto_validation" as "so_po_auto_validation","res_company"."import_vat_ctp_account_id" as "import_vat_ctp_account_id","res_company"."import_tax_payment_term" as "import_tax_payment_term","res_company"."export_vat_ctp_account_id" as "export_vat_ctp_account_id","res_company"."export_tax_payment_term" as "export_tax_payment_term","res_company"."use_intermediary_account" as "use_intermediary_account","res_company"."inter_comp_warehouse_id" as "inter_comp_warehouse_id","res_company"."create_uid" as "create_uid","res_company"."create_date" as "create_date","res_company"."write_uid" as "write_uid","res_company"."write_date" as "write_date" FROM "res_company" WHERE "res_company".id IN (1)
ERROR: column res_company.einvoice_auto_issue does not exist
LINE 1: ..." as "sinvoice_representation_file_as_attachment","res_compa...
^
01/14/2022 00:37:44 ERROR
ERROR: TestBankStatementReconciliation.test_confirm_statement_usd
Traceback (most recent call last):
File "/opt/odoo/13.0/odoo/api.py", line 748, in get
value = self._data[field][record._ids[0]]
KeyError: 1

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/odoo/13.0/odoo/fields.py", line 1038, in __get__
value = env.cache.get(record, self)
File "/opt/odoo/13.0/odoo/api.py", line 754, in get
raise CacheMiss(record, field)
odoo.exceptions.CacheMiss: ('res.company(1,).country_id', None)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/odoo/13.0/odoo/api.py", line 748, in get
value = self._data[field][record._ids[0]]
KeyError: 1

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/odoo/13.0/odoo/fields.py", line 1038, in __get__
value = env.cache.get(record, self)
File "/opt/odoo/13.0/odoo/api.py", line 754, in get
raise CacheMiss(record, field)
odoo.exceptions.CacheMiss: ('res.company(1,).partner_id', None)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/odoo/13.0/addons/account/tests/test_bank_statement_reconciliation.py", line 99, in test_confirm_statement_usd
self.env['res.currency.rate'].search([]).unlink()
File "/opt/odoo/viindooaddons13.0/viin_user_assignment_log/models/base.py", line 45, in unlink
return super(Base, self).unlink()
File "/opt/odoo/13.0/odoo/models.py", line 3375, in unlink
self.flush()
File "/opt/odoo/13.0/odoo/models.py", line 5514, in flush
self.recompute()
File "/opt/odoo/13.0/odoo/models.py", line 5956, in recompute
process(field)
File "/opt/odoo/13.0/odoo/models.py", line 5940, in process
recs.mapped(field.name)
File "/opt/odoo/13.0/odoo/models.py", line 5322, in mapped
recs = recs._mapped_func(operator.itemgetter(name))
File "/opt/odoo/13.0/odoo/models.py", line 5281, in _mapped_func
vals = [func(rec) for rec in self]
File "/opt/odoo/13.0/odoo/models.py", line 5281, in <listcomp>
vals = [func(rec) for rec in self]
File "/opt/odoo/13.0/odoo/models.py", line 5746, in __getitem__
return self._fields[key].__get__(self, type(self))
File "/opt/odoo/13.0/odoo/fields.py", line 1033, in __get__
self.compute_value(recs)
File "/opt/odoo/13.0/odoo/fields.py", line 1147, in compute_value
records._compute_field_value(self)
File "/opt/odoo/13.0/odoo/models.py", line 4018, in _compute_field_value
getattr(self, field.compute)()
File "/opt/odoo/13.0/addons/phone_validation/models/mail_thread_phone.py", line 44, in _compute_phone_sanitized
sanitized = record.phone_get_sanitized_number(number_fname=fname)
File "/opt/odoo/13.0/addons/phone_validation/models/mail_thread_phone.py", line 117, in phone_get_sanitized_number
return phone_validation.phone_sanitize_numbers_w_record([number], self, record_country_fname=country_fname, force_format=force_format)[number]['sanitized']
File "/opt/odoo/13.0/addons/phone_validation/tools/phone_validation.py", line 113, in phone_sanitize_numbers_w_record
country = record.env.company.country_id
File "/opt/odoo/13.0/odoo/fields.py", line 2370, in __get__
return super().__get__(records, owner)
File "/opt/odoo/13.0/odoo/fields.py", line 1062, in __get__
self.compute_value(recs)
File "/opt/odoo/13.0/odoo/fields.py", line 1147, in compute_value
records._compute_field_value(self)
File "/opt/odoo/13.0/odoo/models.py", line 4018, in _compute_field_value
getattr(self, field.compute)()
File "/opt/odoo/13.0/odoo/addons/base/models/res_company.py", line 127, in _compute_address
for company in self.filtered(lambda company: company.partner_id):
File "/opt/odoo/13.0/odoo/models.py", line 5359, in filtered
return self.browse([rec.id for rec in self if func(rec)])
File "/opt/odoo/13.0/odoo/models.py", line 5359, in <listcomp>
return self.browse([rec.id for rec in self if func(rec)])
File "/opt/odoo/13.0/odoo/addons/base/models/res_company.py", line 127, in <lambda>
for company in self.filtered(lambda company: company.partner_id):
File "/opt/odoo/13.0/odoo/fields.py", line 2370, in __get__
return super().__get__(records, owner)
File "/opt/odoo/13.0/odoo/fields.py", line 1045, in __get__
recs._fetch_field(self)
File "/opt/odoo/13.0/odoo/models.py", line 3002, in _fetch_field
self._read(fnames)
File "/opt/odoo/13.0/odoo/models.py", line 3074, in _read
cr.execute(query_str, params)
File "/opt/odoo/13.0/odoo/sql_db.py", line 173, in wrapper
return f(self, *args, **kwargs)
File "/opt/odoo/13.0/odoo/sql_db.py", line 250, in execute
res = self._obj.execute(query, params)
psycopg2.ProgrammingError: column res_company.einvoice_auto_issue does not exist
LINE 1: ..." as "sinvoice_representation_file_as_attachment","res_compa...
^
01/14/2022 00:37:44 ERROR
bad query: SELECT "account_journal"."id" as "id","account_journal"."name" as "name","account_journal"."code" as "code","account_journal"."active" as "active","account_journal"."type" as "type","account_journal"."default_credit_account_id" as "default_credit_account_id","account_journal"."default_debit_account_id" as "default_debit_account_id","account_journal"."restrict_mode_hash_table" as "restrict_mode_hash_table","account_journal"."sequence_id" as "sequence_id","account_journal"."refund_sequence_id" as "refund_sequence_id","account_journal"."sequence" as "sequence","account_journal"."invoice_reference_type" as "invoice_reference_type","account_journal"."invoice_reference_model" as "invoice_reference_model","account_journal"."currency_id" as "currency_id","account_journal"."company_id" as "company_id","account_journal"."refund_sequence" as "refund_sequence","account_journal"."at_least_one_inbound" as "at_least_one_inbound","account_journal"."at_least_one_outbound" as "at_least_one_outbound","account_journal"."profit_account_id" as "profit_account_id","account_journal"."loss_account_id" as "loss_account_id","account_journal"."bank_account_id" as "bank_account_id","account_journal"."bank_statements_source" as "bank_statements_source","account_journal"."post_at" as "post_at","account_journal"."alias_id" as "alias_id","account_journal"."secure_sequence_id" as "secure_sequence_id","account_journal"."show_on_dashboard" as "show_on_dashboard","account_journal"."color" as "color","account_journal"."check_manual_sequencing" as "check_manual_sequencing","account_journal"."check_sequence_id" as "check_sequence_id","account_journal"."is_advance_journal" as "is_advance_journal","account_journal"."invoice_line_summary_mode" as "invoice_line_summary_mode","account_journal"."invoice_display_mode" as "invoice_display_mode","account_journal"."einvoice_disabled" as "einvoice_disabled","account_journal"."einvoice_enabled" as "einvoice_enabled","account_journal"."einvoice_item_name" as "einvoice_item_name","account_journal"."send_mail_einvoice_disabled" as "send_mail_einvoice_disabled","account_journal"."einvoice_item_name_new_line_replacement" as "einvoice_item_name_new_line_replacement","account_journal"."einvoice_item_name_limit" as "einvoice_item_name_limit","account_journal"."einvoice_send_mail_option" as "einvoice_send_mail_option","account_journal"."einvoice_display_bank_account" as "einvoice_display_bank_account","account_journal"."einvoice_auto_issue" as "einvoice_auto_issue","account_journal"."voucher_payment" as "voucher_payment","account_journal"."account_sinvoice_serial_id" as "account_sinvoice_serial_id","account_journal"."account_sinvoice_template_id" as "account_sinvoice_template_id","account_journal"."account_sinvoice_type_id" as "account_sinvoice_type_id","account_journal"."account_vninvoice_serial_id" as "account_vninvoice_serial_id","account_journal"."account_vninvoice_template_id" as "account_vninvoice_template_id","account_journal"."account_vninvoice_type_id" as "account_vninvoice_type_id","account_journal"."message_main_attachment_id" as "message_main_attachment_id","account_journal"."create_uid" as "create_uid","account_journal"."create_date" as "create_date","account_journal"."write_uid" as "write_uid","account_journal"."write_date" as "write_date" FROM "account_journal" WHERE "account_journal".id IN (11)
ERROR: column account_journal.einvoice_auto_issue does not exist
LINE 1: ..._bank_account" as "einvoice_display_bank_account","account_j...
^
01/14/2022 00:37:44 ERROR
ERROR: TestBankStatementReconciliation.test_full_reconcile
Traceback (most recent call last):
File "/opt/odoo/13.0/odoo/api.py", line 748, in get
value = self._data[field][record._ids[0]]
KeyError: 11

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/odoo/13.0/odoo/fields.py", line 1038, in __get__
value = env.cache.get(record, self)
File "/opt/odoo/13.0/odoo/api.py", line 754, in get
raise CacheMiss(record, field)
odoo.exceptions.CacheMiss: ('account.journal(11,).invoice_line_summary_mode', None)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/odoo/13.0/addons/account/tests/test_bank_statement_reconciliation.py", line 29, in test_full_reconcile
self._reconcile_invoice_with_statement('pay_val')
File "/opt/odoo/13.0/addons/account/tests/test_bank_statement_reconciliation.py", line 42, in _reconcile_invoice_with_statement
rcv_mv_line = self.create_invoice(100)
File "/opt/odoo/13.0/addons/account/tests/test_bank_statement_reconciliation.py", line 76, in create_invoice
'name': 'test invoice',
File "<decorator-gen-324>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 338, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/viindooaddons13.0/to_invoice_line_summary/models/account_move.py", line 49, in create
val.setdefault('invoice_line_summary_mode',journal.invoice_line_summary_mode)
File "/opt/odoo/13.0/odoo/fields.py", line 1045, in __get__
recs._fetch_field(self)
File "/opt/odoo/13.0/odoo/models.py", line 3002, in _fetch_field
self._read(fnames)
File "/opt/odoo/13.0/odoo/models.py", line 3074, in _read
cr.execute(query_str, params)
File "/opt/odoo/13.0/odoo/sql_db.py", line 173, in wrapper
return f(self, *args, **kwargs)
File "/opt/odoo/13.0/odoo/sql_db.py", line 250, in execute
res = self._obj.execute(query, params)
psycopg2.ProgrammingError: column account_journal.einvoice_auto_issue does not exist
LINE 1: ..._bank_account" as "einvoice_display_bank_account","account_j...
^
01/14/2022 00:37:44 ERROR
bad query: SELECT "account_journal"."id" as "id","account_journal"."name" as "name","account_journal"."code" as "code","account_journal"."active" as "active","account_journal"."type" as "type","account_journal"."default_credit_account_id" as "default_credit_account_id","account_journal"."default_debit_account_id" as "default_debit_account_id","account_journal"."restrict_mode_hash_table" as "restrict_mode_hash_table","account_journal"."sequence_id" as "sequence_id","account_journal"."refund_sequence_id" as "refund_sequence_id","account_journal"."sequence" as "sequence","account_journal"."invoice_reference_type" as "invoice_reference_type","account_journal"."invoice_reference_model" as "invoice_reference_model","account_journal"."currency_id" as "currency_id","account_journal"."company_id" as "company_id","account_journal"."refund_sequence" as "refund_sequence","account_journal"."at_least_one_inbound" as "at_least_one_inbound","account_journal"."at_least_one_outbound" as "at_least_one_outbound","account_journal"."profit_account_id" as "profit_account_id","account_journal"."loss_account_id" as "loss_account_id","account_journal"."bank_account_id" as "bank_account_id","account_journal"."bank_statements_source" as "bank_statements_source","account_journal"."post_at" as "post_at","account_journal"."alias_id" as "alias_id","account_journal"."secure_sequence_id" as "secure_sequence_id","account_journal"."show_on_dashboard" as "show_on_dashboard","account_journal"."color" as "color","account_journal"."check_manual_sequencing" as "check_manual_sequencing","account_journal"."check_sequence_id" as "check_sequence_id","account_journal"."is_advance_journal" as "is_advance_journal","account_journal"."invoice_line_summary_mode" as "invoice_line_summary_mode","account_journal"."invoice_display_mode" as "invoice_display_mode","account_journal"."einvoice_disabled" as "einvoice_disabled","account_journal"."einvoice_enabled" as "einvoice_enabled","account_journal"."einvoice_item_name" as "einvoice_item_name","account_journal"."send_mail_einvoice_disabled" as "send_mail_einvoice_disabled","account_journal"."einvoice_item_name_new_line_replacement" as "einvoice_item_name_new_line_replacement","account_journal"."einvoice_item_name_limit" as "einvoice_item_name_limit","account_journal"."einvoice_send_mail_option" as "einvoice_send_mail_option","account_journal"."einvoice_display_bank_account" as "einvoice_display_bank_account","account_journal"."einvoice_auto_issue" as "einvoice_auto_issue","account_journal"."voucher_payment" as "voucher_payment","account_journal"."account_sinvoice_serial_id" as "account_sinvoice_serial_id","account_journal"."account_sinvoice_template_id" as "account_sinvoice_template_id","account_journal"."account_sinvoice_type_id" as "account_sinvoice_type_id","account_journal"."account_vninvoice_serial_id" as "account_vninvoice_serial_id","account_journal"."account_vninvoice_template_id" as "account_vninvoice_template_id","account_journal"."account_vninvoice_type_id" as "account_vninvoice_type_id","account_journal"."message_main_attachment_id" as "message_main_attachment_id","account_journal"."create_uid" as "create_uid","account_journal"."create_date" as "create_date","account_journal"."write_uid" as "write_uid","account_journal"."write_date" as "write_date" FROM "account_journal" WHERE "account_journal".id IN (11)
ERROR: column account_journal.einvoice_auto_issue does not exist
LINE 1: ..._bank_account" as "einvoice_display_bank_account","account_j...
^
01/14/2022 00:37:44 ERROR
ERROR: TestBankStatementReconciliation.test_post_at_bank_rec_full_reconcile
Traceback (most recent call last):
File "/opt/odoo/13.0/odoo/api.py", line 748, in get
value = self._data[field][record._ids[0]]
KeyError: 11

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/odoo/13.0/odoo/fields.py", line 1038, in __get__
value = env.cache.get(record, self)
File "/opt/odoo/13.0/odoo/api.py", line 754, in get
raise CacheMiss(record, field)
odoo.exceptions.CacheMiss: ('account.journal(11,).invoice_line_summary_mode', None)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/odoo/13.0/addons/account/tests/test_bank_statement_reconciliation.py", line 34, in test_post_at_bank_rec_full_reconcile
self._reconcile_invoice_with_statement('bank_rec')
File "/opt/odoo/13.0/addons/account/tests/test_bank_statement_reconciliation.py", line 42, in _reconcile_invoice_with_statement
rcv_mv_line = self.create_invoice(100)
File "/opt/odoo/13.0/addons/account/tests/test_bank_statement_reconciliation.py", line 76, in create_invoice
'name': 'test invoice',
File "<decorator-gen-324>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 338, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/viindooaddons13.0/to_invoice_line_summary/models/account_move.py", line 49, in create
val.setdefault('invoice_line_summary_mode',journal.invoice_line_summary_mode)
File "/opt/odoo/13.0/odoo/fields.py", line 1045, in __get__
recs._fetch_field(self)
File "/opt/odoo/13.0/odoo/models.py", line 3002, in _fetch_field
self._read(fnames)
File "/opt/odoo/13.0/odoo/models.py", line 3074, in _read
cr.execute(query_str, params)
File "/opt/odoo/13.0/odoo/sql_db.py", line 173, in wrapper
return f(self, *args, **kwargs)
File "/opt/odoo/13.0/odoo/sql_db.py", line 250, in execute
res = self._obj.execute(query, params)
psycopg2.ProgrammingError: column account_journal.einvoice_auto_issue does not exist
LINE 1: ..._bank_account" as "einvoice_display_bank_account","account_j...
^
01/14/2022 00:37:45 ERROR
bad query: SELECT "account_journal"."id" as "id","account_journal"."name" as "name","account_journal"."code" as "code","account_journal"."active" as "active","account_journal"."type" as "type","account_journal"."default_credit_account_id" as "default_credit_account_id","account_journal"."default_debit_account_id" as "default_debit_account_id","account_journal"."restrict_mode_hash_table" as "restrict_mode_hash_table","account_journal"."sequence_id" as "sequence_id","account_journal"."refund_sequence_id" as "refund_sequence_id","account_journal"."sequence" as "sequence","account_journal"."invoice_reference_type" as "invoice_reference_type","account_journal"."invoice_reference_model" as "invoice_reference_model","account_journal"."currency_id" as "currency_id","account_journal"."company_id" as "company_id","account_journal"."refund_sequence" as "refund_sequence","account_journal"."at_least_one_inbound" as "at_least_one_inbound","account_journal"."at_least_one_outbound" as "at_least_one_outbound","account_journal"."profit_account_id" as "profit_account_id","account_journal"."loss_account_id" as "loss_account_id","account_journal"."bank_account_id" as "bank_account_id","account_journal"."bank_statements_source" as "bank_statements_source","account_journal"."post_at" as "post_at","account_journal"."alias_id" as "alias_id","account_journal"."secure_sequence_id" as "secure_sequence_id","account_journal"."show_on_dashboard" as "show_on_dashboard","account_journal"."color" as "color","account_journal"."check_manual_sequencing" as "check_manual_sequencing","account_journal"."check_sequence_id" as "check_sequence_id","account_journal"."is_advance_journal" as "is_advance_journal","account_journal"."invoice_line_summary_mode" as "invoice_line_summary_mode","account_journal"."invoice_display_mode" as "invoice_display_mode","account_journal"."einvoice_disabled" as "einvoice_disabled","account_journal"."einvoice_enabled" as "einvoice_enabled","account_journal"."einvoice_item_name" as "einvoice_item_name","account_journal"."send_mail_einvoice_disabled" as "send_mail_einvoice_disabled","account_journal"."einvoice_item_name_new_line_replacement" as "einvoice_item_name_new_line_replacement","account_journal"."einvoice_item_name_limit" as "einvoice_item_name_limit","account_journal"."einvoice_send_mail_option" as "einvoice_send_mail_option","account_journal"."einvoice_display_bank_account" as "einvoice_display_bank_account","account_journal"."einvoice_auto_issue" as "einvoice_auto_issue","account_journal"."voucher_payment" as "voucher_payment","account_journal"."account_sinvoice_serial_id" as "account_sinvoice_serial_id","account_journal"."account_sinvoice_template_id" as "account_sinvoice_template_id","account_journal"."account_sinvoice_type_id" as "account_sinvoice_type_id","account_journal"."account_vninvoice_serial_id" as "account_vninvoice_serial_id","account_journal"."account_vninvoice_template_id" as "account_vninvoice_template_id","account_journal"."account_vninvoice_type_id" as "account_vninvoice_type_id","account_journal"."message_main_attachment_id" as "message_main_attachment_id","account_journal"."create_uid" as "create_uid","account_journal"."create_date" as "create_date","account_journal"."write_uid" as "write_uid","account_journal"."write_date" as "write_date" FROM "account_journal" WHERE "account_journal".id IN (11)
ERROR: column account_journal.einvoice_auto_issue does not exist
LINE 1: ..._bank_account" as "einvoice_display_bank_account","account_j...
^
01/14/2022 00:37:45 ERROR
ERROR: TestBankStatementReconciliation.test_reconciliation_proposition
Traceback (most recent call last):
File "/opt/odoo/13.0/odoo/api.py", line 748, in get
value = self._data[field][record._ids[0]]
KeyError: 11

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/odoo/13.0/odoo/fields.py", line 1038, in __get__
value = env.cache.get(record, self)
File "/opt/odoo/13.0/odoo/api.py", line 754, in get
raise CacheMiss(record, field)
odoo.exceptions.CacheMiss: ('account.journal(11,).invoice_line_summary_mode', None)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/odoo/13.0/addons/account/tests/test_bank_statement_reconciliation.py", line 18, in test_reconciliation_proposition
rcv_mv_line = self.create_invoice(100)
File "/opt/odoo/13.0/addons/account/tests/test_bank_statement_reconciliation.py", line 76, in create_invoice
'name': 'test invoice',
File "<decorator-gen-324>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 338, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/viindooaddons13.0/to_invoice_line_summary/models/account_move.py", line 49, in create
val.setdefault('invoice_line_summary_mode',journal.invoice_line_summary_mode)
File "/opt/odoo/13.0/odoo/fields.py", line 1045, in __get__
recs._fetch_field(self)
File "/opt/odoo/13.0/odoo/models.py", line 3002, in _fetch_field
self._read(fnames)
File "/opt/odoo/13.0/odoo/models.py", line 3074, in _read
cr.execute(query_str, params)
File "/opt/odoo/13.0/odoo/sql_db.py", line 173, in wrapper
return f(self, *args, **kwargs)
File "/opt/odoo/13.0/odoo/sql_db.py", line 250, in execute
res = self._obj.execute(query, params)
psycopg2.ProgrammingError: column account_journal.einvoice_auto_issue does not exist
LINE 1: ..._bank_account" as "einvoice_display_bank_account","account_j...
^
01/14/2022 00:37:45 ERROR
Module account: 0 failures, 4 errors
01/14/2022 00:37:45 ERROR
bad query: SELECT "res_company"."id" as "id","res_company"."sequence" as "sequence","res_company"."parent_id" as "parent_id","res_company"."partner_id" as "partner_id","res_company"."report_header" as "report_header","res_company"."report_footer" as "report_footer","res_company"."currency_id" as "currency_id","res_company"."account_no" as "account_no","res_company"."email" as "email","res_company"."phone" as "phone","res_company"."company_registry" as "company_registry","res_company"."paperformat_id" as "paperformat_id","res_company"."external_report_layout_id" as "external_report_layout_id","res_company"."base_onboarding_company_state" as "base_onboarding_company_state","res_company"."primary_color" as "primary_color","res_company"."secondary_color" as "secondary_color","res_company"."font" as "font","res_company"."social_twitter" as "social_twitter","res_company"."social_facebook" as "social_facebook","res_company"."social_github" as "social_github","res_company"."social_linkedin" as "social_linkedin","res_company"."social_youtube" as "social_youtube","res_company"."social_instagram" as "social_instagram","res_company"."hotline" as "hotline","res_company"."nomenclature_id" as "nomenclature_id","res_company"."resource_calendar_id" as "resource_calendar_id","res_company"."name" as "name","res_company"."gengo_private_key" as "gengo_private_key","res_company"."gengo_public_key" as "gengo_public_key","res_company"."gengo_comment" as "gengo_comment","res_company"."gengo_auto_approve" as "gengo_auto_approve","res_company"."gengo_sandbox" as "gengo_sandbox","res_company"."check_unique_vat" as "check_unique_vat","res_company"."rotating_token_life" as "rotating_token_life","res_company"."lunch_minimum_threshold" as "lunch_minimum_threshold","res_company"."partner_gid" as "partner_gid","res_company"."snailmail_color" as "snailmail_color","res_company"."snailmail_cover" as "snailmail_cover","res_company"."snailmail_duplex" as "snailmail_duplex","res_company"."intercompany_user_id" as "intercompany_user_id","res_company"."hr_presence_control_email_amount" as "hr_presence_control_email_amount","res_company"."hr_presence_control_ip_list" as "hr_presence_control_ip_list","res_company"."internal_transit_location_id" as "internal_transit_location_id","res_company"."stock_move_email_validation" as "stock_move_email_validation","res_company"."stock_mail_confirmation_template_id" as "stock_mail_confirmation_template_id","res_company"."send_hbd_email" as "send_hbd_email","res_company"."hdb_email_template_id" as "hdb_email_template_id","res_company"."check_unique_product_default_code" as "check_unique_product_default_code","res_company"."zoom_api_key" as "zoom_api_key","res_company"."zoom_secret_key" as "zoom_secret_key","res_company"."facebook_app_id" as "facebook_app_id","res_company"."facebook_client_secret" as "facebook_client_secret","res_company"."linkedin_app_id" as "linkedin_app_id","res_company"."linkedin_client_secret" as "linkedin_client_secret","res_company"."manufacturing_lead" as "manufacturing_lead","res_company"."stock_move_sms_validation" as "stock_move_sms_validation","res_company"."stock_sms_confirmation_template_id" as "stock_sms_confirmation_template_id","res_company"."has_received_warning_stock_sms" as "has_received_warning_stock_sms","res_company"."fiscalyear_last_day" as "fiscalyear_last_day","res_company"."fiscalyear_last_month" as "fiscalyear_last_month","res_company"."period_lock_date" as "period_lock_date","res_company"."fiscalyear_lock_date" as "fiscalyear_lock_date","res_company"."tax_lock_date" as "tax_lock_date","res_company"."transfer_account_id" as "transfer_account_id","res_company"."expects_chart_of_accounts" as "expects_chart_of_accounts","res_company"."chart_template_id" as "chart_template_id","res_company"."bank_account_code_prefix" as "bank_account_code_prefix","res_company"."cash_account_code_prefix" as "cash_account_code_prefix","res_company"."default_cash_difference_income_account_id" as "default_cash_difference_income_account_id","res_company"."default_cash_difference_expense_account_id" as "default_cash_difference_expense_account_id","res_company"."transfer_account_code_prefix" as "transfer_account_code_prefix","res_company"."account_sale_tax_id" as "account_sale_tax_id","res_company"."account_purchase_tax_id" as "account_purchase_tax_id","res_company"."tax_cash_basis_journal_id" as "tax_cash_basis_journal_id","res_company"."tax_calculation_rounding_method" as "tax_calculation_rounding_method","res_company"."currency_exchange_journal_id" as "currency_exchange_journal_id","res_company"."anglo_saxon_accounting" as "anglo_saxon_accounting","res_company"."property_stock_account_input_categ_id" as "property_stock_account_input_categ_id","res_company"."property_stock_account_output_categ_id" as "property_stock_account_output_categ_id","res_company"."property_stock_valuation_account_id" as "property_stock_valuation_account_id","res_company"."tax_exigibility" as "tax_exigibility","res_company"."account_bank_reconciliation_start" as "account_bank_reconciliation_start","res_company"."incoterm_id" as "incoterm_id","res_company"."qr_code" as "qr_code","res_company"."invoice_is_email" as "invoice_is_email","res_company"."invoice_is_print" as "invoice_is_print","res_company"."account_opening_move_id" as "account_opening_move_id","res_company"."account_setup_bank_data_state" as "account_setup_bank_data_state","res_company"."account_setup_fy_data_state" as "account_setup_fy_data_state","res_company"."account_setup_coa_state" as "account_setup_coa_state","res_company"."account_onboarding_invoice_layout_state" as "account_onboarding_invoice_layout_state","res_company"."account_onboarding_sample_invoice_state" as "account_onboarding_sample_invoice_state","res_company"."account_onboarding_sale_tax_state" as "account_onboarding_sale_tax_state","res_company"."account_invoice_onboarding_state" as "account_invoice_onboarding_state","res_company"."account_dashboard_onboarding_state" as "account_dashboard_onboarding_state","res_company"."invoice_terms" as "invoice_terms","res_company"."account_default_pos_receivable_account_id" as "account_default_pos_receivable_account_id","res_company"."expense_accrual_account_id" as "expense_accrual_account_id","res_company"."revenue_accrual_account_id" as "revenue_accrual_account_id","res_company"."accrual_default_journal_id" as "accrual_default_journal_id","res_company"."hr_presence_last_compute_date" as "hr_presence_last_compute_date","res_company"."subcontracting_location_id" as "subcontracting_location_id","res_company"."default_helpdesk_team_id" as "default_helpdesk_team_id","res_company"."account_check_printing_layout" as "account_check_printing_layout","res_company"."account_check_printing_date_label" as "account_check_printing_date_label","res_company"."account_check_printing_multi_stub" as "account_check_printing_multi_stub","res_company"."account_check_printing_margin_top" as "account_check_printing_margin_top","res_company"."account_check_printing_margin_left" as "account_check_printing_margin_left","res_company"."account_check_printing_margin_right" as "account_check_printing_margin_right","res_company"."vat_check_vies" as "vat_check_vies","res_company"."project_time_mode_id" as "project_time_mode_id","res_company"."timesheet_encode_uom_id" as "timesheet_encode_uom_id","res_company"."payment_acquirer_onboarding_state" as "payment_acquirer_onboarding_state","res_company"."payment_onboarding_payment_method" as "payment_onboarding_payment_method","res_company"."po_lead" as "po_lead","res_company"."po_lock" as "po_lock","res_company"."po_double_validation" as "po_double_validation","res_company"."po_double_validation_amount" as "po_double_validation_amount","res_company"."invoice_is_snailmail" as "invoice_is_snailmail","res_company"."balance_carry_forward_journal_id" as "balance_carry_forward_journal_id","res_company"."affiliate_comm_percentage" as "affiliate_comm_percentage","res_company"."affiliate_cookie_age" as "affiliate_cookie_age","res_company"."affiliate_min_payout" as "affiliate_min_payout","res_company"."commission_product_id" as "commission_product_id","res_company"."aff_allowed" as "aff_allowed","res_company"."compute_aff_method" as "compute_aff_method","res_company"."main_currency_bank_id" as "main_currency_bank_id","res_company"."amount_double_validation" as "amount_double_validation","res_company"."use_employee_advance_pass_through_account" as "use_employee_advance_pass_through_account","res_company"."loan_borrowing_journal_id" as "loan_borrowing_journal_id","res_company"."loan_borrowing_account_id" as "loan_borrowing_account_id","res_company"."loan_lending_journal_id" as "loan_lending_journal_id","res_company"."loan_lending_account_id" as "loan_lending_account_id","res_company"."vendor_app_comm_percent" as "vendor_app_comm_percent","res_company"."vendor_app_min_payout" as "vendor_app_min_payout","res_company"."dedicated_app_download_token_lifetime" as "dedicated_app_download_token_lifetime","res_company"."app_download_token_lifetime" as "app_download_token_lifetime","res_company"."leave_timesheet_project_id" as "leave_timesheet_project_id","res_company"."leave_timesheet_task_id" as "leave_timesheet_task_id","res_company"."portal_confirmation_sign" as "portal_confirmation_sign","res_company"."portal_confirmation_pay" as "portal_confirmation_pay","res_company"."quotation_validity_days" as "quotation_validity_days","res_company"."sale_quotation_onboarding_state" as "sale_quotation_onboarding_state","res_company"."sale_onboarding_order_confirmation_state" as "sale_onboarding_order_confirmation_state","res_company"."sale_onboarding_sample_quotation_state" as "sale_onboarding_sample_quotation_state","res_company"."sale_onboarding_payment_method" as "sale_onboarding_payment_method","res_company"."days_between_two_followups" as "days_between_two_followups","res_company"."overdue_msg" as "overdue_msg","res_company"."totals_below_sections" as "totals_below_sections","res_company"."currency_conversion_diff_journal_id" as "currency_conversion_diff_journal_id","res_company"."einvoice_lock_legal_number" as "einvoice_lock_legal_number","res_company"."einvoice_issue_earliest_invoice_first" as "einvoice_issue_earliest_invoice_first","res_company"."sinvoice_exchange_file_as_attachment" as "sinvoice_exchange_file_as_attachment","res_company"."sinvoice_representation_file_as_attachment" as "sinvoice_representation_file_as_attachment","res_company"."einvoice_auto_issue" as "einvoice_auto_issue","res_company"."basic_wage_rule_categ_id" as "basic_wage_rule_categ_id","res_company"."gross_salary_rule_categ_id" as "gross_salary_rule_categ_id","res_company"."tax_base_rule_categ_id" as "tax_base_rule_categ_id","res_company"."net_income_salary_rule_categ_id" as "net_income_salary_rule_categ_id","res_company"."payslips_auto_generation" as "payslips_auto_generation","res_company"."payslips_auto_generation_mode" as "payslips_auto_generation_mode","res_company"."payslips_auto_generation_day" as "payslips_auto_generation_day","res_company"."payslips_auto_generation_lang" as "payslips_auto_generation_lang","res_company"."salary_cycle_id" as "salary_cycle_id","res_company"."property_promotion_voucher_profit_account_id" as "property_promotion_voucher_profit_account_id","res_company"."property_promotion_voucher_loss_account_id" as "property_promotion_voucher_loss_account_id","res_company"."property_unearn_revenue_account_id" as "property_unearn_revenue_account_id","res_company"."allow_edit_website_jobs_company_setting" as "allow_edit_website_jobs_company_setting","res_company"."security_lead" as "security_lead","res_company"."lc_journal_id" as "lc_journal_id","res_company"."payslip_batch_journal_entry" as "payslip_batch_journal_entry","res_company"."default_meal_emp_price" as "default_meal_emp_price","res_company"."general_overhead" as "general_overhead","res_company"."loyalty_points_reward_policy" as "loyalty_points_reward_policy","res_company"."manufacturing_period" as "manufacturing_period","res_company"."manufacturing_period_to_display" as "manufacturing_period_to_display","res_company"."mrp_mps_show_starting_inventory" as "mrp_mps_show_starting_inventory","res_company"."mrp_mps_show_demand_forecast" as "mrp_mps_show_demand_forecast","res_company"."mrp_mps_show_actual_demand" as "mrp_mps_show_actual_demand","res_company"."mrp_mps_show_indirect_demand" as "mrp_mps_show_indirect_demand","res_company"."mrp_mps_show_to_replenish" as "mrp_mps_show_to_replenish","res_company"."mrp_mps_show_actual_replenishment" as "mrp_mps_show_actual_replenishment","res_company"."mrp_mps_show_safety_stock" as "mrp_mps_show_safety_stock","res_company"."mrp_mps_show_available_to_promise" as "mrp_mps_show_available_to_promise","res_company"."sales_price_modifying_group_id" as "sales_price_modifying_group_id","res_company"."prevent_unlink_related_invoices" as "prevent_unlink_related_invoices","res_company"."website_sale_onboarding_payment_acquirer_state" as "website_sale_onboarding_payment_acquirer_state","res_company"."sinvoice_mode" as "sinvoice_mode","res_company"."sinvoice_start" as "sinvoice_start","res_company"."account_sinvoice_serial_id" as "account_sinvoice_serial_id","res_company"."account_sinvoice_template_id" as "account_sinvoice_template_id","res_company"."account_sinvoice_type_id" as "account_sinvoice_type_id","res_company"."sinvoice_synch_payment_status" as "sinvoice_synch_payment_status","res_company"."sinvoice_conversion_user_id" as "sinvoice_conversion_user_id","res_company"."sinvoice_api_username" as "sinvoice_api_username","res_company"."sinvoice_api_password" as "sinvoice_api_password","res_company"."sinvoice_max_len_bank_name" as "sinvoice_max_len_bank_name","res_company"."sinvoice_max_len_bank_account" as "sinvoice_max_len_bank_account","res_company"."einvoice_provider" as "einvoice_provider","res_company"."vninvoice_mode" as "vninvoice_mode","res_company"."vninvoice_start_date" as "vninvoice_start_date","res_company"."account_vninvoice_serial_id" as "account_vninvoice_serial_id","res_company"."account_vninvoice_template_id" as "account_vninvoice_template_id","res_company"."account_vninvoice_type_id" as "account_vninvoice_type_id","res_company"."vninvoice_api_username" as "vninvoice_api_username","res_company"."vninvoice_api_password" as "vninvoice_api_password","res_company"."account_journal_custom_clearance" as "account_journal_custom_clearance","res_company"."imp_custom_dec_sequence_id" as "imp_custom_dec_sequence_id","res_company"."exp_custom_dec_sequence_id" as "exp_custom_dec_sequence_id","res_company"."overtime_recognition_mode" as "overtime_recognition_mode","res_company"."prevent_unlink_related_pickings" as "prevent_unlink_related_pickings","res_company"."landed_cost_journal_id" as "landed_cost_journal_id","res_company"."applicable_on" as "applicable_on","res_company"."so_po_auto_validation" as "so_po_auto_validation","res_company"."import_vat_ctp_account_id" as "import_vat_ctp_account_id","res_company"."import_tax_payment_term" as "import_tax_payment_term","res_company"."export_vat_ctp_account_id" as "export_vat_ctp_account_id","res_company"."export_tax_payment_term" as "export_tax_payment_term","res_company"."use_intermediary_account" as "use_intermediary_account","res_company"."inter_comp_warehouse_id" as "inter_comp_warehouse_id","res_company"."create_uid" as "create_uid","res_company"."create_date" as "create_date","res_company"."write_uid" as "write_uid","res_company"."write_date" as "write_date" FROM "res_company" WHERE "res_company".id IN (1)
ERROR: column res_company.einvoice_auto_issue does not exist
LINE 1: ..." as "sinvoice_representation_file_as_attachment","res_compa...
^
01/14/2022 00:37:45 ERROR
ERROR: setUpClass (odoo.addons.account.tests.test_invoice_tax_amount_by_group.TestInvoiceTaxAmountByGroup)
Traceback (most recent call last):
File "/opt/odoo/13.0/odoo/api.py", line 748, in get
value = self._data[field][record._ids[0]]
KeyError: 1

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/odoo/13.0/odoo/fields.py", line 1038, in __get__
value = env.cache.get(record, self)
File "/opt/odoo/13.0/odoo/api.py", line 754, in get
raise CacheMiss(record, field)
odoo.exceptions.CacheMiss: ('res.company(1,).country_id', None)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/odoo/13.0/odoo/api.py", line 748, in get
value = self._data[field][record._ids[0]]
KeyError: 1

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/odoo/13.0/odoo/fields.py", line 1038, in __get__
value = env.cache.get(record, self)
File "/opt/odoo/13.0/odoo/api.py", line 754, in get
raise CacheMiss(record, field)
odoo.exceptions.CacheMiss: ('res.company(1,).partner_id', None)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/odoo/13.0/odoo/tests/common.py", line 191, in _handleClassSetUp
setUpClass()
File "/opt/odoo/13.0/addons/account/tests/test_invoice_tax_amount_by_group.py", line 11, in setUpClass
super().setUpClass(chart_template_ref=chart_template_ref)
File "/opt/odoo/13.0/addons/account/tests/account_test_savepoint.py", line 51, in setUpClass
cls.company_data_2 = cls.setup_company_data('company_2_data', chart_template)
File "/opt/odoo/13.0/addons/account/tests/account_test_savepoint.py", line 197, in setup_company_data
**kwargs,
File "<decorator-gen-435>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 338, in _model_create_multi
return create(self, [arg])
File "/home/my077ib0t8sl-28822/build_src/to_inter_company_sale_purchase_stock/models/res_company.py", line 13, in create
res = super(ResCompany, self).create(vals_list)
File "<decorator-gen-425>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 320, in _model_create_single
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/odoo/api.py", line 320, in <genexpr>
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/viindooaddons13.0/to_foreign_trade/models/res_company.py", line 28, in create
res = super(ResCompany, self).create(vals)
File "<decorator-gen-364>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 338, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/viindooaddons13.0/to_hr_payroll/models/res_company.py", line 736, in create
companies = super(ResCompany, self).create(vals_list)
File "<decorator-gen-354>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 320, in _model_create_single
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/odoo/api.py", line 320, in <genexpr>
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/addons/project_timesheet_holidays/models/res_company.py", line 30, in create
company = super(Company, self).create(values)
File "<decorator-gen-341>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 338, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/viindooaddons13.0/viin_hr_overtime/models/res_company.py", line 17, in create
companies = super(ResCompany, self).create(vals_list)
File "<decorator-gen-331>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 320, in _model_create_single
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/odoo/api.py", line 320, in <genexpr>
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/viindooaddons13.0/to_maintenance_approval/models/res_company.py", line 27, in create
company = super(ResCompany, self).create(values)
File "<decorator-gen-289>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 338, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/viindooaddons13.0/viin_helpdesk/models/res_company.py", line 14, in create
companies = super(Company, self).create(vals_list)
File "<decorator-gen-280>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/viindooaddons13.0/to_approvals/models/res_company.py", line 31, in create
companies = super(ResCompany, self).create(vals_list)
File "<decorator-gen-190>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 320, in _model_create_single
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/odoo/api.py", line 320, in <genexpr>
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/addons/stock/models/res_company.py", line 181, in create
company = super(Company, self).create(vals)
File "<decorator-gen-152>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 317, in _model_create_single
return create(self, arg)
File "/opt/odoo/13.0/addons/product/models/res_company.py", line 12, in create
new_company = super(ResCompany, self).create(vals)
File "<decorator-gen-102>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 317, in _model_create_single
return create(self, arg)
File "/opt/odoo/13.0/addons/resource/models/res_company.py", line 28, in create
company = super(ResCompany, self).create(values)
File "<decorator-gen-95>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 317, in _model_create_single
return create(self, arg)
File "/opt/odoo/13.0/addons/web/models/models.py", line 397, in create
res = super().create(values)
File "<decorator-gen-84>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 317, in _model_create_single
return create(self, arg)
File "/opt/odoo/13.0/odoo/addons/base/models/res_company.py", line 227, in create
'country_id': vals.get('country_id'),
File "<decorator-gen-420>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 338, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/viindooaddons13.0/to_foreign_trade/models/res_partner.py", line 72, in create
partners = super(res_partner, self).create(vals_list)
File "<decorator-gen-297>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 320, in _model_create_single
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/odoo/api.py", line 320, in <genexpr>
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/opt/odoo/13.0/addons/base_vat/models/res_partner.py", line 529, in create
return super(ResPartner, self).create(values)
File "<decorator-gen-262>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 338, in _model_create_multi
return create(self, [arg])
File "/opt/odoo/13.0/addons/account/models/partner.py", line 515, in create
return super().create(vals_list)
File "<decorator-gen-143>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/13.0/addons/partner_autocomplete/models/res_partner.py", line 183, in create
partners = super(ResPartner, self).create(vals_list)
File "<decorator-gen-83>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/13.0/odoo/addons/base/models/res_partner.py", line 544, in create
partners = super(Partner, self).create(vals_list)
File "<decorator-gen-115>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/13.0/addons/mail/models/mail_thread.py", line 269, in create
threads = super(MailThread, self).create(vals_list)
File "<decorator-gen-253>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/13.0/addons/website/models/mixins.py", line 152, in create
records = super(WebsitePublishedMixin, self).create(vals_list)
File "<decorator-gen-98>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/viindooaddons13.0/viin_user_assignment_log/models/base.py", line 11, in create
records = super(Base, self).create(vals_list)
File "<decorator-gen-3>", line 2, in create
File "/opt/odoo/13.0/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/opt/odoo/13.0/odoo/models.py", line 3825, in create
records = self._create(data_list)
File "/opt/odoo/13.0/odoo/models.py", line 3998, in _create
records._validate_fields(name for data in data_list for name in data['stored'])
File "/opt/odoo/13.0/odoo/models.py", line 1212, in _validate_fields
check(self)
File "/opt/odoo/viindooaddons13.0/to_partner_check_unique_vat/models/res_partner.py", line 10, in _check_unique_vat
self.flush()
File "/opt/odoo/13.0/odoo/models.py", line 5514, in flush
self.recompute()
File "/opt/odoo/13.0/odoo/models.py", line 5956, in recompute
process(field)
File "/opt/odoo/13.0/odoo/models.py", line 5940, in process
recs.mapped(field.name)
File "/opt/odoo/13.0/odoo/models.py", line 5322, in mapped
recs = recs._mapped_func(operator.itemgetter(name))
File "/opt/odoo/13.0/odoo/models.py", line 5281, in _mapped_func
vals = [func(rec) for rec in self]
File "/opt/odoo/13.0/odoo/models.py", line 5281, in <listcomp>
vals = [func(rec) for rec in self]
File "/opt/odoo/13.0/odoo/models.py", line 5746, in __getitem__
return self._fields[key].__get__(self, type(self))
File "/opt/odoo/13.0/odoo/fields.py", line 1033, in __get__
self.compute_value(recs)
File "/opt/odoo/13.0/odoo/fields.py", line 1147, in compute_value
records._compute_field_value(self)
File "/opt/odoo/13.0/odoo/models.py", line 4018, in _compute_field_value
getattr(self, field.compute)()
File "/opt/odoo/13.0/addons/phone_validation/models/mail_thread_phone.py", line 44, in _compute_phone_sanitized
sanitized = record.phone_get_sanitized_number(number_fname=fname)
File "/opt/odoo/13.0/addons/phone_validation/models/mail_thread_phone.py", line 117, in phone_get_sanitized_number
return phone_validation.phone_sanitize_numbers_w_record([number], self, record_country_fname=country_fname, force_format=force_format)[number]['sanitized']
File "/opt/odoo/13.0/addons/phone_validation/tools/phone_validation.py", line 113, in phone_sanitize_numbers_w_record
country = record.env.company.country_id
File "/opt/odoo/13.0/odoo/fields.py", line 2370, in __get__
return super().__get__(records, owner)
File "/opt/odoo/13.0/odoo/fields.py", line 1062, in __get__
self.compute_value(recs)
File "/opt/odoo/13.0/odoo/fields.py", line 1147, in compute_value
records._compute_field_value(self)
File "/opt/odoo/13.0/odoo/models.py", line 4018, in _compute_field_value
getattr(self, field.compute)()
File "/opt/odoo/13.0/odoo/addons/base/models/res_company.py", line 127, in _compute_address
for company in self.filtered(lambda company: company.partner_id):
File "/opt/odoo/13.0/odoo/models.py", line 5359, in filtered
return self.browse([rec.id for rec in self if func(rec)])
File "/opt/odoo/13.0/odoo/models.py", line 5359, in <listcomp>
return self.browse([rec.id for rec in self if func(rec)])
File "/opt/odoo/13.0/odoo/addons/base/models/res_company.py", line 127, in <lambda>
for company in self.filtered(lambda company: company.partner_id):
File "/opt/odoo/13.0/odoo/fields.py", line 2370, in __get__
return super().__get__(records, owner)
File "/opt/odoo/13.0/odoo/fields.py", line 1045, in __get__
recs._fetch_field(self)
File "/opt/odoo/13.0/odoo/models.py", line 3002, in _fetch_field
self._read(fnames)
File "/opt/odoo/13.0/odoo/models.py", line 3074, in _read
cr.execute(query_str, params)
File "/opt/odoo/13.0/odoo/sql_db.py", line 173, in wrapper
return f(self, *args, **kwargs)
File "/opt/odoo/13.0/odoo/sql_db.py", line 250, in execute
res = self._obj.execute(query, params)
psycopg2.ProgrammingError: column res_company.einvoice_auto_issue does not exist
LINE 1: ..." as "sinvoice_representation_file_as_attachment","res_compa...
^
01/14/2022 00:37:45 ERROR
Module account: 0 failures, 1 errors
01/14/2022 00:37:46 ERROR
bad query: SELECT "res_company"."id" as "id","res_company"."sequence" as "sequence","res_company"."parent_id" as "parent_id","res_company"."partner_id" as "partner_id","res_company"."report_header" as "report_header","res_company"."report_footer" as "report_footer","res_company"."currency_id" as "currency_id","res_company"."account_no" as "account_no","res_company"."email" as "email","res_company"."phone" as "phone","res_company"."company_registry" as "company_registry","res_company"."paperformat_id" as "paperformat_id","res_company"."external_report_layout_id" as "external_report_layout_id","res_company"."base_onboarding_company_state" as "base_onboarding_company_state","res_company"."primary_color" as "primary_color","res_company"."secondary_color" as "secondary_color","res_company"."font" as "font","res_company"."social_twitter" as "social_twitter","res_company"."social_facebook" as "social_facebook","res_company"."social_github" as "social_github","res_company"."social_linkedin" as "social_linkedin","res_company"."social_youtube" as "social_youtube","res_company"."social_instagram" as "social_instagram","res_company"."hotline" as "hotline","res_company"."nomenclature_id" as "nomenclature_id","res_company"."resource_calendar_id" as "resource_calendar_id","res_company"."name" as "name","res_company"."gengo_private_key" as "gengo_private_key","res_company"."gengo_public_key" as "gengo_public_key","res_company"."gengo_comment" as "gengo_comment","res_company"."gengo_auto_approve" as "gengo_auto_approve","res_company"."gengo_sandbox" as "gengo_sandbox","res_company"."check_unique_vat" as "check_unique_vat","res_company"."rotating_token_life" as "rotating_token_life","res_company"."lunch_minimum_threshold" as "lunch_minimum_threshold","res_company"."partner_gid" as "partner_gid","res_company"."snailmail_color" as "snailmail_color","res_company"."snailmail_cover" as "snailmail_cover","res_company"."snailmail_duplex" as "snailmail_duplex","res_company"."intercompany_user_id" as "intercompany_user_id","res_company"."hr_presence_control_email_amount" as "hr_presence_control_email_amount","res_company"."hr_presence_control_ip_list" as "hr_presence_control_ip_list","res_company"."internal_transit_location_id" as "internal_transit_location_id","res_company"."stock_move_email_validation" as "stock_move_email_validation","res_company"."stock_mail_confirmation_template_id" as "stock_mail_confirmation_template_id","res_company"."send_hbd_email" as "send_hbd_email","res_company"."hdb_email_template_id" as "hdb_email_template_id","res_company"."check_unique_product_default_code" as "check_unique_product_default_code","res_company"."zoom_api_key" as "zoom_api_key","res_company"."zoom_secret_key" as "zoom_secret_key","res_company"."facebook_app_id" as "facebook_app_id","res_company"."facebook_client_secret" as "facebook_client_secret","res_company"."linkedin_app_id" as "linkedin_app_id","res_company"."linkedin_client_secret" as "linkedin_client_secret","res_company"."manufacturing_lead" as "manufacturing_lead","res_company"."stock_move_sms_validation" as "stock_move_sms_validation","res_company"."stock_sms_confirmation_template_id" as "stock_sms_confirmation_template_id","res_company"."has_received_warning_stock_sms" as "has_received_warning_stock_sms","res_company"."fiscalyear_last_day" as "fiscalyear_last_day","res_company"."fiscalyear_last_month" as "fiscalyear_last_month","res_company"."period_lock_date" as "period_lock_date","res_company"."fiscalyear_lock_date" as "fiscalyear_lock_date","res_company"."tax_lock_date" as "tax_lock_date","res_company"."transfer_account_id" as "transfer_account_id","res_company"."expects_chart_of_accounts" as "expects_chart_of_accounts","res_company"."chart_template_id" as "chart_template_id","res_company"."bank_account_code_prefix" as "bank_account_code_prefix","res_company"."cash_account_code_prefix" as "cash_account_code_prefix","res_company"."default_cash_difference_income_account_id" as "default_cash_difference_income_account_id","res_company"."default_cash_difference_expense_account_id" as "default_cash_difference_expense_account_id","res_company"."transfer_account_code_prefix" as "transfer_account_code_prefix","res_company"."account_sale_tax_id" as "account_sale_tax_id","res_company"."account_purchase_tax_id" as "account_purchase_tax_id","res_company"."tax_cash_basis_journal_id" as "tax_cash_basis_journal_id","res_company"."tax_calculation_rounding_method" as "tax_calculation_rounding_method","res_company"."currency_exchange_journal_id" as "currency_exchange_journal_id","res_company"."anglo_saxon_accounting" as "anglo_saxon_accounting","res_company"."property_stock_account_input_categ_id" as "property_stock_account_input_categ_id","res_company"."property_stock_account_output_categ_id" as "property_stock_account_output_categ_id","res_company"."property_stock_valuation_account_id" as "property_stock_valuation_account_id","res_company"."tax_exigibility" as "tax_exigibility","res_company"."account_bank_reconciliation_start" as "account_bank_reconciliation_start","res_company"."incoterm_id" as "incoterm_id","res_company"."qr_code" as "qr_code","res_company"."invoice_is_email" as "invoice_is_email","res_company"."invoice_is_print" as "invoice_is_print","res_company"."account_opening_move_id" as "account_opening_move_id","res_company"."account_setup_bank_data_state" as "account_setup_bank_data_state","res_company"."account_setup_fy_data_state" as "account_setup_fy_data_state","res_company"."account_setup_coa_state" as "account_setup_coa_state","res_company"."account_onboarding_invoice_layout_state" as "account_onboarding_invoice_layout_state","res_company"."account_onboarding_sample_invoice_state" as "account_onboarding_sample_invoice_state","res_company"."account_onboarding_sale_tax_state" as "account_onboarding_sale_tax_state","res_company"."account_invoice_onboarding_state" as "account_invoice_onboarding_state","res_company"."account_dashboard_onboarding_state" as "account_dashboard_onboarding_state","res_company"."invoice_terms" as "invoice_terms","res_company"."account_default_pos_receivable_account_id" as "account_default_pos_receivable_account_id","res_company"."expense_accrual_account_id" as "expense_accrual_account_id","res_company"."revenue_accrual_account_id" as "revenue_accrual_account_id","res_company"."accrual_default_journal_id" as "accrual_default_journal_id","res_company"."hr_presence_last_compute_date" as "hr_presence_last_compute_date","res_company"."subcontracting_location_id" as "subcontracting_location_id","res_company"."default_helpdesk_team_id" as "default_helpdesk_team_id","res_company"."account_check_printing_layout" as "account_check_printing_layout","res_company"."account_check_printing_date_label" as "account_check_printing_date_label","res_company"."account_check_printing_multi_stub" as "account_check_printing_multi_stub","res_company"."account_check_printing_margin_top" as "account_check_printing_margin_top","res_company"."account_check_printing_margin_left" as "account_check_printing_margin_left","res_company"."account_check_printing_margin_right" as "account_check_printing_margin_right","res_company"."vat_check_vies" as "vat_check_vies","res_company"."project_time_mode_id" as "project_time_mode_id","res_company"."timesheet_encode_uom_id" as "timesheet_encode_uom_id","res_company"."payment_acquirer_onboarding_state" as "payment_acquirer_onboarding_state","res_company"."payment_onboarding_payment_method" as "payment_onboarding_payment_method","res_company"."po_lead" as "po_lead","res_company"."po_lock" as "po_lock","res_company"."po_double_validation" as "po_double_validation","res_company"."po_double_validation_amount" as "po_double_validation_amount","res_company"."invoice_is_snailmail" as "invoice_is_snailmail","res_company"."balance_carry_forward_journal_id" as "balance_carry_forward_journal_id","res_company"."affiliate_comm_percentage" as "affiliate_comm_percentage","res_company"."affiliate_cookie_age" as "affiliate_cookie_age","res_company"."affiliate_min_payout" as "affiliate_min_payout","res_company"."commission_product_id" as "commission_product_id","res_company"."aff_allowed" as "aff_allowed","res_company"."compute_aff_method" as "compute_aff_method","res_company"."main_currency_bank_id" as "main_currency_bank_id","res_company"."amount_double_validation" as "amount_double_validation","res_company"."use_employee_advance_pass_through_account" as "use_employee_advance_pass_through_account","res_company"."loan_borrowing_journal_id" as "loan_borrowing_journal_id","res_company"."loan_borrowing_account_id" as "loan_borrowing_account_id","res_company"."loan_lending_journal_id" as "loan_lending_journal_id","res_company"."loan_lending_account_id" as "loan_lending_account_id","res_company"."vendor_app_comm_percent" as "vendor_app_comm_percent","res_company"."vendor_app_min_payout" as "vendor_app_min_payout","res_company"."dedicated_app_download_token_lifetime" as "dedicated_app_download_token_lifetime","res_company"."app_download_token_lifetime" as "app_download_token_lifetime","res_company"."leave_timesheet_project_id" as "leave_timesheet_project_id","res_company"."leave_timesheet_task_id" as "leave_timesheet_task_id","res_company"."portal_confirmation_sign" as "portal_confirmation_sign","res_company"."portal_confirmation_pay" as "portal_confirmation_pay","res_company"."quotation_validity_days" as "quotation_validity_days","res_company"."sale_quotation_onboarding_state" as "sale_quotation_onboarding_state","res_company"."sale_onboarding_order_confirmation_state" as "sale_onboarding_order_confirmation_state","res_company"."sale_onboarding_sample_quotation_state" as "sale_onboarding_sample_quotation_state","res_company"."sale_onboarding_payment_method" as "sale_onboarding_payment_method","res_company"."days_between_two_followups" as "days_between_two_followups","res_company"."overdue_msg" as "overdue_msg","res_company"."totals_below_sections" as "totals_below_sections","res_company"."currency_conversion_diff_journal_id" as "currency_conversion_diff_journal_id","res_company"."einvoice_lock_legal_number" as "einvoice_lock_legal_number","res_company"."einvoice_issue_earliest_invoice_first" as "einvoice_issue_earliest_invoice_first","res_company"."sinvoice_exchange_file_as_attachment" as "sinvoice_exchange_file_as_attachment","res_company"."sinvoice_representation_file_as_attachment" as "sinvoice_representation_file_as_attachment","res_company"."einvoice_auto_issue" as "einvoice_auto_issue","res_company"."basic_wage_rule_categ_id" as "basic_wage_rule_categ_id","res_company"."gross_salary_rule_categ_id" as "gross_salary_rule_categ_id","res_company"."tax_base_rule_categ_id" as "tax_base_rule_categ_id","res_company"."net_income_salary_rule_categ_id" as "net_income_salary_rule_categ_id","res_company"."payslips_auto_generation" as "payslips_auto_generation","res_company"."payslips_auto_generation_mode" as "payslips_auto_generation_mode","res_company"."payslips_auto_generation_day" as "payslips_auto_generation_day","res_company"."payslips_auto_generation_lang" as "payslips_auto_generation_lang","res_company"."salary_cycle_id" as "salary_cycle_id","res_company"."property_promotion_voucher_profit_account_id" as "property_promotion_voucher_profit_account_id","res_company"."property_promotion_voucher_loss_account_id" as "property_promotion_voucher_loss_account_id","res_company"."property_unearn_revenue_account_id"