Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FIX] project: Saving and Task Creation Issues #143282

Closed
wants to merge 3 commits into from

Commits on Mar 27, 2024

  1. [FIX] project: inability to save subtasks when project is added

    Steps to reproduce:
    - Access the 'project.task' module.
    - Create a subtask.
    - Attempt to save the subtask after adding a project to it.
    
    Issue:
    - Saving a subtask becomes impossible when a project is added, causing an
      obstruction in the process.
    
    Solution:
    - Rectify the functionality to enable successful saving of a subtask even after
      adding a project, ensuring a seamless process for subtask creation and
      association with projects.
    
    task-3584963
    mjvi-odoo committed Mar 27, 2024
    Configuration menu
    Copy the full SHA
    ea7b908 View commit details
    Browse the repository at this point in the history
  2. [FIX] project: resolve traceback task creation in project sharing

    Steps to reproduce:
    - In 'project sharing' create a task T in project A.
    - Add 2 subtasks to task T in project A.
    - Share project A in edit mode.
    - Access the view form of task T as a portal user.
    - Click on the subtask button to navigate to the tree/kanban view of subtasks.
    - Select the kanban view.
    - Create a new task on the fly, resulting in a traceback.
    
    Issue:
    - When a portal user creates a new task on the fly from the subtask kanban view,
      a traceback occurs, and the expected behavior of creating a new task Y in
      project A is not met. Additionally, task Y should not be a subtask of task T.
    
    Solution:
    - Resolve the traceback issue when creating a new task from the subtask kanban
      view as a portal user in project sharing.
    - Ensure that the new task Y is correctly created in project A and is not
      set as a subtask of task T.
    
    task-3584963
    mjvi-odoo committed Mar 27, 2024
    Configuration menu
    Copy the full SHA
    e8cadc0 View commit details
    Browse the repository at this point in the history
  3. [FIX] project: add domain in parent_id in convert task/sub-task form

    - Instead of raising an error, we simply exclude sub-tasks of the current
      task from the domain of the 'parent task' field
    
    task-3584963
    mjvi-odoo committed Mar 27, 2024
    Configuration menu
    Copy the full SHA
    a7c522f View commit details
    Browse the repository at this point in the history