Skip to content

Purchase Request module 19v Error on Supply Method: Take From Stock, if unavailable, Trigger Another Rule. #2985

@olenadziadyk

Description

@olenadziadyk
An Odoo (Odoo 19 EE) error occurs when creating a purchase request if the route is configured with Supply Method: Take From Stock, if unavailable, Trigger Another Rule.

If other Supply Methods are configured, this problem doesn't occur and the system correctly creates a purchase request.

Could you help me figure out this problem?

Video: https://monosnap.ai/file/EGgtcaZhRmVrx8r8SbZTdZf7hNVn9S
Link to error: https://self-erp-kik-st-03-27648072.dev.odoo.com/odoo/documents/TSD8ThBNTQqYrHJZtncBTQo8f

Module

The name of the module that has a bug.
Purchase Request

Describe the bug

A clear and concise description of what the bug is.
https://self-erp-kik-st-03-27648072.dev.odoo.com/odoo/documents/TSD8ThBNTQqYrHJZtncBTQo8f

To Reproduce

Affected versions:
Odoo 19 EE
Steps to reproduce the behavior:

  1. Product with route where supply method is Take From Stock, if unavailable, Trigger Another Rule.
  2. System shows error when we try create Sale Order

Expected behavior
A clear and concise description of what you expected to happen.

Additional context
Add any other context about the problem here. (e.g. OS, Python version, ...)

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