This question has been flagged
1 Reply
9366 Views

Interesting problem with the Product Cost Structure report but I'm not sure if it's a bug or a configuration problem.

I setup a Work Center with everything set to 1 (Efficiency, capacity, time for 1 cycle) Cost per hour I set at 18.32 and Cost per cycle as 4.40

image description

I setup a Routing which uses this Work Center for a number of work steps, Number of Cycles and Number of Hours are identical (because 1 cycle takes 1 hour)

image description

I attach the Routing to a Bill of Materials, go into the Product record and ask it to print a Product Cost Structure Report.

Looking at the report, the cycle costs are correct but for some reason the Hourly Cost is doubled.

When I look at the Work Orders tab in the Manufacturing Order, the number of hours is doubled from the figure that appears in my Routing, can't see any reason why this should happen.

image description

I'm using MRP and MRP Operations modules

Any ideas if it could be my configuration ?

Avatar
Discard
Best Answer

Yes Mr Watt,

its in your configuration,

you dont need to set 'number of houres' for work centre operations in routing if you already configured 'Time for 1 cycle (hour) ' field of that workcentre

odoo/openERP will do the multipliction for you

if you configure both, this is how the system calculates the time:

> mrp.py

> def _bom_explode

    .

    .

    'hour': float(wc_use.hour_nbr * mult + ((wc.time_start or 0.0) + (wc.time_stop or 0.0) + cycle * (wc.time_cycle or 0.0)) *     (wc.time_efficiency or 1.0)),

This is why you getting number of hours doubled.

Avatar
Discard