← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 403145] Re: Production Order causes wrong Stock Valuation

 

** Changed in: openobject-addons
       Status: In Progress => Triaged

-- 
Production Order causes wrong Stock Valuation
https://bugs.launchpad.net/bugs/403145
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.

Status in OpenObject Addons Modules: Triaged

Bug description:
This applies to Open ERP 5.0.1.

The Production Order posts transactions which results in incorrect stock valuation.

Let:

     Cost Price of Materials = 100
     Cost Price of Finished Product = 200

     Stock Location Inventory Account = x1100
     Production Location Inventory Account = x1200
     Settlement Account = x1300

Beginning Balances:

     x1100 = 100
     x1200 = 0
     x1300 = 0

Observed Behavior:

1. On Start Production:

     a. Debit x1200 100, credit x1100 100.
     b. Ending Balances: x1100 = 0, x1200 = 100.

2. On Production Done:

    a. Debit x1100 200, credit x1200 200.
    b. Debit x1200 100, credit x1100 100.
    c. Ending Balances: x1100 = 100, x1200 = 0.

Expected Ending Balances:

    x1100 = 200
    x1200 = 0
    x1300 = -100