OCA / manufacture

Odoo Manufacturing Addons
GNU Affero General Public License v3.0
173 stars 484 forks source link

8.0 [BUG] MRP Total Real Cost #81

Closed JMODaERP closed 8 years ago

JMODaERP commented 8 years ago

The costs charged (direct) in an order of production standard, whatever the industry sector, are calculated based on the cost of raw materials and auxiliary materials, plus the cost of operators, plus the cost of machinery. Also many companies include preparing machines (CAM,CAD,setting dies, tooling etc ) and often include cleaning the room or production facility , like pre and post tasks.

Currently, the calculations performed Odoo OCA , the costs of operators that are being 33% of the total real costs, and allocation of hours which are ignored have created the " Operators time" tab and the employee has been included HR Settings and product_id of hr_employee .

Maybe it's an oversight (BUG) or a special way to calculate the total real costs.

If you see fit to do this repair VS improving the resolution love me , otherwise I would open a debate on the subject.

Thank you.

For example : In a production

Current Behavior.

1 2016-01-24 12_34_48-2016-01-24 12_06_18-costs revenues - odoo-operarios 1-ingles

                                                            Visual 1

2 2016-01-24 12_07_39-costs revenues - odoo-operarios 2

                                                            Visual 2

3 2016-01-24 12_08_06-costs revenues - odoo-operarios 3

                                                             Visual 3

4 2016-01-24 12_52_54-2016-01-24 12_09_02-manufacturing orders - odoo-mo-total real cost

                                                              Visual 4

Expectde Behavior.

5 2016-01-24 14_04_43-sin titulo - paint

                                                               Visual 5
pedrobaeza commented 8 years ago

Please follow expected schema for reporting bugs:

module: mrp_production_real_cost version: 8.0

Steps to reproduce

Current behavior

Expected behavior

JMODaERP commented 8 years ago

O.K.

JMODaERP commented 8 years ago

The actual total cost that determines the order is 1,7618.31 , which is none other than the difference between 2,264.38 and 496.07 . As I wanted to show .

                                                1,7618.31 = 2,264.38 - 496.07

2016-01-24 13_05_49-2016-01-24 12_09_02-manufacturing orders - odoo-mo-total real cost-new

Thanks Peter.

JMODaERP commented 8 years ago

Thanks ddico, good job. O.K.

rafaelbn commented 8 years ago

We can close this issue because https://github.com/OCA/manufacture/pull/85