Skip to content

[18.0][Auditlog] Patched CRUD methods keep their definition names, breaking name based lookups #3737

Description

@JsickOpenfellas

Not really an issue on auditlog side but noteworthy since it requires a workaround.
I created an issue on queue_job aswell (OCA/queue#996) .

queue_job records a delayed call by func.name and resolves it again
with getattr(recordset, method_name). Delaying unlink or write on an
audited model therefore raises during job creation:

AttributeError: 'res.partner' object has no attribute 'unlink_full'

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions