Re: New web site & MrProject 0.6

Alvaro <[email protected]>
Newsgroups gmane.comp.gnome.apps.mr-project.user
Message-ID <1029691485.679.7.camel@linex>
El dom, 18-08-2002 a las 18:00, Alvaro escribió:
> El dom, 18-08-2002 a las 10:17, Richard Hult escribió:
> > sön 2002-08-18 klockan 03.14 skrev Kurt Maute:
> > > I just compiled MrProject v0.6.0.
> > > It's good to see that weekends are skipped now in
> > > calculating the calendar duration.  However, I'm sorry
> > > to see the duration field gone.  I know you want to
> > 
> > It's only gone temporarily.
> > 
> > > I like the new cost field in the Task view.  However,
> > > it does seem to calculate strangely.  I set up a
> > > resource with a cost of 1, and a task with work of 1
> > > day, and the cost calculates as 9.  When I increase
> > > the work field to 2 days, the task cost increases to
> > > 33.
> > 
> > Alvaro, could you take a look at this?
> 
> Sure, i will do it today or maybe tomorrow

I have looked at it. The problem is that the cost is calculated as:

total_cost += (mrp_task_get_duration (task)/3600) * cost;

The "cost" for a resource is ok, but the duration for a 1 day task is
32400, I don't know why.

So 32400/3600 = 9

The fixed values for now are:

cost: the cost per hour
task duration: has to be in seconds

Cheers

-- Alvaro

> 
> > 
> > > Ok, I'll educate myself on the AA format for future
> > > use.  Know any good links/resources?
> > 
> > GDK_USE_XFT=1 enables anti-aliased fonts for Gtk+ 2 apps.
> > 
> > Regards,
> > Richard
> > 
> > -- 
> > Richard Hult                    [email protected]
> > CodeFactory AB                  http://www.codefactory.se/
> > _______________________________________________
> > MrProject mailing list
> > [email protected]
> > http://lists.codefactory.se/mailman/listinfo/mrproject
> > 
> 
> 
> _______________________________________________
> MrProject mailing list
> [email protected]
> http://lists.codefactory.se/mailman/listinfo/mrproject
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.