← Back to team overview

openerp-india team mailing list archive

Re: [Openerp-expert-service] [Bug 726185] [NEW] long term scheduling doesn't work across projects

 

2012/1/18 maulik vadhar <726185@xxxxxxxxxxxxxxxxxx>:
> Hi
>
> Yes in resource screen we have a line named as Resource Allocation and in
> that a field is Availability....
> So you can try that one so that resource would not be allocated 100%
> particular phase
>
> So try this one as above may be it will be helpful to you, and pls revert
> me back for this

Hello,

the availability field does not help (in openerp 6.1 it does not even exist).
Two separate projects are always considered independent by the scheduler.

If you look at 'schedule_phases' method[1], you can see that 'faces'
library is called once for each project, independently by the others.

In OpenERP 6.1 it is a bit different. I proposed a patch[2]
With those changes, launching the 'schedule phases' wizard and
selecting 'compute all projects', faces should be able to avoid
resources overlapping.

Feedbacks are welcome :-)

[1] http://bazaar.launchpad.net/~openerp/openobject-addons/6.0/view/5005/project_long_term/project_long_term.py#L434
[2] https://code.launchpad.net/~openerp-community/openobject-addons/fix_726185_trunk/+merge/88996

-- 
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/726185

Title:
  long term scheduling doesn't work across projects

Status in OpenERP Addons (modules):
  Confirmed

Bug description:
  When you have two projects with two phases each. Every phase has two
  tasks. You have only one the same resource for all tasks in both
  projects. This resource is in Resource Allocation in all phases. And
  user for the resource is a member of both projects. The resource-user
  has Working period from standard demo data. So it is only one
  resource-user for all 8 tasks. When you make "Compute Phase
  Scheduling" for all projects the system schedules for the same time
  tasks from two projects for the same resource-user. Scheduling works
  correctly only within project. Scheduling doesn't see that resource-
  user is busy on another project task.

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


References