On Sunday, October 21, 2018 at 2:30:07 PM UTC+6, Koushik Mutsuddi wrote:
> Hello, I was able to process the production works and change the status to 'finished' for all works. Finally, I was trying to change the production status from 'running' to 'done' by pressing 'done' button. But it shows me an error -"The costs of the outputs (1079.80000) of production "7" do not match the cost of the production (1898.2800).". Does it mean the cost value of the finished goods need to be equal to cost of the production?
After several trials I found the reason why I am getting the error "The costs of the outputs (XXXX.XX) of production "X" do not match the cost of the production (XXXX.XX)." in the demo tryton instance.
It seems the unit cost for the output products is not updating. The unit cost should be calculated based on the raw materials cost and operation cycle consumption cost. When we want to change the production status from 'running' to 'done' then the system is checking the costs of the output products (quantity * unit cost) and cost of the production in the other info section. As there is a difference in calculating both costs system is showing the error. Please let me know if I am doing something wrong or it is a bug that needs to be fixed.