Skip to content

sale_project: migration to 18.0 change in field selection logic of task_in_project #5992

Description

@sergiocorato

Module

sale_project migration

Describe the bug

In v. 17.0 selection of field service_tracking with task_in_project created a task in the existing project of the sale order.
In v. 18.0 the same selection create a new project and a task inside it, even if the project in set in sale order.

To Reproduce

Affected versions:

Steps to reproduce the behavior:

  1. create a sale order with a service with service_tracking with task_in_project
  2. set the project in the sale order
  3. confirm the sale order

Expected behavior
A task is created in selected project

Additional context
The placeholder in the selection task_global_project says Defined on quotation, which is correct for that selection: https://github.com/odoo/odoo/blob/238a41e35280256382f6509182b9e900fb4f7aba/addons/sale_project/views/product_views.xml#L19
Test other selection usability.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions