Skip to content

Migration 14.0 -> 15.0 Issue with Project, Tasks, timesheet, invoices #3604

@NICO-SOLUTIONS

Description

@NICO-SOLUTIONS

The problem affects to the modules "project" & "timesheets" & Invoices

After upgrading a db from 14.0 to 15.0 i get the following problems.

  • not able to enter project view

relevant Result:
return field_cache[record._ids[0]]
KeyError: 11

raise CacheMiss(record, field)

odoo.exceptions.CacheMiss: 'project.project(11,).timesheet_count'

The above exception was the direct cause of the following exception:

raise exception.with_traceback(None) from new_cause

ValueError: Invalid field project.project.allowed_internal_user_ids in leaf ('allowed_internal_user_ids', 'in', [6])

The same happens when trying to access the timesheet or the invoice view...

ValueError: Invalid field project.project.allowed_internal_user_ids in leaf ('allowed_internal_user_ids', 'in', [6])

Simply Updating the modules doesnt help..

In additipn... it seems like i do have a problem with the payment entries, as they dont seem to be linked to a payment method. Due to this i had to to delete all payments and unreconcile them before upgrading... Possible that this could lead to this behaviour? With the original data the logs tell me, that i have to define a payment method for my payments.... something is srewed up here...

Any hints for solving this would be highly appreciated

regards
Nils

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions