No analytic entry is generated finishing one production order

Bug #500931 reported by Ana Juaristi Olalde
22
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Low
OpenERP R&D Addons Team 2

Bug Description

I defined and analytic account on workcenter cycle account and another one on hours account. I defined a manufacturing process with a single operation linked to this workcenter.

I can see these issues:
  1. If you don't set a financial account and a analytic journal associated to work center No analytic line is created. So, if this fields are mandatory to generate analytic movements, they should be modified to mandatory once the analytic account is set on workcenter's cycle account or hours account.
Additionaly, even if you set a financial account, no movements are generated on it.

 2. The analytic line created has got quantity = 0 and product null. There is no way knowing what production order created the analytic movement, so it seems quite difficult obtaining any kind of statistics with these entries, since you could use same work center to produce different products or for different production orders to produce same product. IMHO analitic line should be linked someway to final product and quantity of final product produced but this way, we would loose the analytic account lines object that is invoicing working hours against that analytic account.

 3. Even if your real working hours are set to 0, it always takes the planned hours to calculate the line cost. This is not a very big problem because the order shows the real working hours so, if needed, it's posible changing the value by hand before closing the work but analytic line shows only the total cost and not units taken to calculate cost.

I will go on testing.

Thank you very much:

Ana

Related branches

Changed in openobject-addons:
status: New → Confirmed
Changed in openobject-addons:
assignee: nobody → vra (openerp) (vra-openerp)
importance: Undecided → Low
milestone: none → 5.0.13
Revision history for this message
Vinay Rana (OpenERP) (vra-openerp) wrote :

We are working on a suitable solution.
we will post it soon.

Thanks.

Changed in openobject-addons:
milestone: 5.0.13 → none
Revision history for this message
Ana Juaristi Olalde (ajuaristio) wrote :

IMHO the correct way of calculating production cost would be as it is on project tasks. This is, we should be able to assign a services product, and one analytic account on each operation defined for a production proccess. Production process should add all operation costs included on it.

The product would have a product_cost so after that system could compute hours/units of cost using this product and time taken from work_order starting and finishing time.

Maybe this new feature could be included for 6.0.

For correct cost calculation on manufacturing order, it's necesary having the possibility of specifying time unit cost for the operation, in a machine for a production process. This is:

Operation cut on machine1 to produce product1, could be different cost of same operation made on machine2 to produce same product1. Same with required time to finish same operation on different machines.

Additionally, there should be a planned cost and a real cost for each product so we could know before starting an order the stimated cost of really producing it.

Revision history for this message
Francois Pietquin (OpenERP) (fpi-openerp) wrote :

Hello,

I've reported exactly the same bug few weeks ago... and now I see that it's exists from December 2009!
Why isn't it fixed? It seems rather important...

Regards.

Revision history for this message
Davide Corio (enlightx-deactivatedaccount) wrote :

I'm doing complete tests on manufacturing workflow on openerp 6.0 (just updated)

even if i filled out all the accounting related fields + nr of cycles + nr of hours and so on, no analytic entries are generated.
So IMO this issue must have a higher priority

Revision history for this message
Nhomar - Vauxoo (nhomar) wrote :

++1 totally agree

Changed in openobject-addons:
importance: Low → High
Revision history for this message
Francois Pietquin (OpenERP) (fpi-openerp) wrote :

Hello,

Is this bug gonna be fixed soon?

Thanks

Changed in openobject-addons:
assignee: vra (openerp) (vra-openerp) → Harry (Open ERP) (hmo-tinyerp)
Revision history for this message
Harry (OpenERP) (hmo-tinyerp) wrote :

Hello ,

1) We should make required Analytic Journal and General Account if Hours Account or Cycle Account are specified. so we should use attr in both fields in form view of Work Center.

2) I think, We should add two many2one(product.product) fields 'hour_product_id' and 'cycle_product_id' in work center model.
    hour_prouduct_id : specify Service product which represent planned cost of hours and UOM.
   cycle_product_id: specify Service product which represent planned cost of cycle and UOM.
   after product produce, we can specify these products in analytical entry with no. of hours or no. of cycle with UOM

Thanks

Revision history for this message
Harry (OpenERP) (hmo-tinyerp) wrote :

Sorry I'm wrong

one field 'product_id' enough to represent work center cost.
cost of cycle should be calculate base on cost of hour and time per 1 cycle.

Thanks

Changed in openobject-addons:
importance: High → Medium
Changed in openobject-addons:
assignee: Harry (Open ERP) (hmo-tinyerp) → nobody
Revision history for this message
Fabien (Open ERP) (fp-tinyerp) wrote :

I confirm point 1,2,3 of ana.
I set importance to low as it's useability improvement.

Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 2 (openerp-dev-addons2)
importance: Medium → Low
Revision history for this message
Ana Juaristi Olalde (ajuaristio) wrote :

Thank you Fabien...

qdp (OpenERP) (qdp)
Changed in openobject-addons:
milestone: none → 6.0-rc2
Revision history for this message
Kirti Savalia(OpenERP) (ksa-openerp) wrote :

Hello Ana,

it has been fixed in branch lp:~openerp-dev/openobject-addons/ksa-addons2
Revision NO - 3854
Revision ID: <email address hidden>

Thanks.

Changed in openobject-addons:
status: Confirmed → Fix Committed
Changed in openobject-addons:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.