Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Selecting a Contract Template results in "Missing Record" - Record does not exist of has been deleted. #1297

@TxTechnician

Description

@TxTechnician

Module

contract

Describe the bug

When creating a new Customer Contract. And selecting a Contract Template which has invoice items wherein the line item is set to Auto Renew.
A lookup error will happen:

Image

To Reproduce

Affected versions:
I am using Odoo Versions 18 installed via Podman using Image:
docker.io/library/odoo:18

Here are the installed modules I have of contract modules:

Image

Steps to reproduce the behavior:

  1. Create Contract Template with items which are set to "Auto-Renew".
  2. Create new contract and try to select a template.

Expected behavior
The selected template should populate. But it will only populate if you install dont have "Auto Renew" selected.

Additional context
I've attached the calls so you can see the transactions

Odoo_Contract_Problem.tar.gz

and the odoo error response.

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