← Back to team overview

openerp-india team mailing list archive

[Bug 1276056] [NEW] Wrong phase restrictions when creating a long term project from a template

 

Public bug reported:

I don't know if this is one bug or many of them, because everything
seems related, so I will try to explain it fine.

Steps to reproduce:
- OpenERP Server 7.0-20140124-002431. Debian 7 64bit.
- Install project_long_term.
- Create a new project, call it TPL_PROJ.
- Add these phases to TPL_PROJ:
    - PHASE_1.
    - PHASE_2.
        - Sequence 20.
        - Previous phases: PHASE_1.
- Add these tasks to TPL_PROJ:
    - TASK_1.
        - Attach it to PHASE_1.
    - TASK_2.
        - Attach it to PHASE_2.
- Set TPL_PROJ as template.
- Click on create project based on this template.
- Call the new project REAL_PROJ.

Now you can see the weird things it does:
- Go to REAL_PROJ > Phases > PHASE_2.
    - Go to Restrictions > Previous phases.
        - It is linked to PHASE_1 of TPL_PROJ, instead of PHASE_1 of REAL_PROJ (bad).
    - Go to Taks details.
        - There is TASK_2 duplicated. One of them attached to TPL_PROJ and the other to REAL_PROJ (bad).
- Go to REAL_PROJ > Tasks.
    - TASK_1 and TASK_2 are duplicated.
        - Inspect both TASK_1 and click on each one's phase.
            - One TASK_1 is linked to PHASE_1 of REAL_PROJ (good).
            - The other TASK_1 is linked to PHASE_1 of TPL_PROJ (bad).
- Go to TPL_PROJ > Tasks.
    - Again, happens the same as in REAL_PROJ > Tasks, but this is even worse, because the template has been modified, which should never happen.

** Affects: openobject-addons
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1276056

Title:
  Wrong phase restrictions when creating a long term project from a
  template

Status in OpenERP Addons (modules):
  New

Bug description:
  I don't know if this is one bug or many of them, because everything
  seems related, so I will try to explain it fine.

  Steps to reproduce:
  - OpenERP Server 7.0-20140124-002431. Debian 7 64bit.
  - Install project_long_term.
  - Create a new project, call it TPL_PROJ.
  - Add these phases to TPL_PROJ:
      - PHASE_1.
      - PHASE_2.
          - Sequence 20.
          - Previous phases: PHASE_1.
  - Add these tasks to TPL_PROJ:
      - TASK_1.
          - Attach it to PHASE_1.
      - TASK_2.
          - Attach it to PHASE_2.
  - Set TPL_PROJ as template.
  - Click on create project based on this template.
  - Call the new project REAL_PROJ.

  Now you can see the weird things it does:
  - Go to REAL_PROJ > Phases > PHASE_2.
      - Go to Restrictions > Previous phases.
          - It is linked to PHASE_1 of TPL_PROJ, instead of PHASE_1 of REAL_PROJ (bad).
      - Go to Taks details.
          - There is TASK_2 duplicated. One of them attached to TPL_PROJ and the other to REAL_PROJ (bad).
  - Go to REAL_PROJ > Tasks.
      - TASK_1 and TASK_2 are duplicated.
          - Inspect both TASK_1 and click on each one's phase.
              - One TASK_1 is linked to PHASE_1 of REAL_PROJ (good).
              - The other TASK_1 is linked to PHASE_1 of TPL_PROJ (bad).
  - Go to TPL_PROJ > Tasks.
      - Again, happens the same as in REAL_PROJ > Tasks, but this is even worse, because the template has been modified, which should never happen.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1276056/+subscriptions


Follow ups

References