-
-
Notifications
You must be signed in to change notification settings - Fork 479
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[IMP] mrp_production_real_cost: Tests + cleaning + adaptation to OCA
- Loading branch information
1 parent
06942b6
commit 0d0df77
Showing
21 changed files
with
532 additions
and
440 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,85 @@ | ||
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg | ||
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html | ||
:alt: License: AGPL-3 | ||
|
||
================================== | ||
Real costs in manufacturing orders | ||
================================== | ||
|
||
This module allows to manage the control of Manufacturing Orders actual costs, | ||
by creating analytic lines as defined in the MO (from *mrp_project_link*). | ||
by creating analytic lines as defined in the MO (from *mrp_project*). | ||
|
||
It also updates product standard price when a manufacturing orders is finished | ||
according this formula: | ||
|
||
(Product stock * Product standard price + Production real cost) / | ||
(Product stock + Final product quantity) | ||
|
||
Installation | ||
============ | ||
|
||
This module depends on the module *product_variant_cost_price*, that is | ||
available in: | ||
|
||
https://github.com/OCA/product-variant | ||
|
||
Usage | ||
===== | ||
|
||
Operating with a manufacture order, analytic entries adding costs will be | ||
created when: | ||
|
||
* Some raw material is consumed. | ||
* A work order is finished or paused. | ||
|
||
Also, thanks to *project_timesheet* modules, users time is also translated to | ||
costs in the linked analytic account. | ||
|
||
|
||
|
||
.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas | ||
:alt: Try me on Runbot | ||
:target: https://runbot.odoo-community.org/runbot/129/8.0 | ||
|
||
Bug Tracker | ||
=========== | ||
|
||
Bugs are tracked on `GitHub Issues | ||
<https://github.com/OCA/manufacture/issues>`_. In case of trouble, please | ||
check there if your issue has already been reported. If you spotted it first, | ||
help us smashing it by providing a detailed and welcomed `feedback | ||
<https://github.com/OCA/ | ||
manufacture/issues/new?body=module:%20 | ||
mrp_production_real_cost%0Aversion:%20 | ||
8.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_. | ||
|
||
Credits | ||
======= | ||
|
||
Contributors | ||
------------ | ||
|
||
* Pedro M. Baeza <pedro.baeza@serviciosbaeza.com> | ||
* Ana Juaristi <ajuaristio@gmail.com> | ||
* Ainara Galdona <agaldona@avanzosc.es> | ||
|
||
Images | ||
------ | ||
|
||
* Original Odoo MRP icon | ||
* Thanks to https://openclipart.org/detail/224801/black-and-white-calculator | ||
|
||
Maintainer | ||
---------- | ||
|
||
.. image:: https://odoo-community.org/logo.png | ||
:alt: Odoo Community Association | ||
:target: https://odoo-community.org | ||
|
||
This module is maintained by the OCA. | ||
|
||
OCA, or the Odoo Community Association, is a nonprofit organization whose | ||
mission is to support the collaborative development of Odoo features and | ||
promote its widespread use. | ||
|
||
To contribute to this module, please visit https://odoo-community.org. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,6 @@ | ||
# -*- encoding: utf-8 -*- | ||
############################################################################## | ||
# | ||
# This program is free software: you can redistribute it and/or modify | ||
# it under the terms of the GNU Affero General Public License as published | ||
# by the Free Software Foundation, either version 3 of the License, or | ||
# (at your option) any later version. | ||
# | ||
# This program is distributed in the hope that it will be useful, | ||
# but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
# GNU General Public License for more details. | ||
# | ||
# You should have received a copy of the GNU General Public License | ||
# along with this program. If not, see http://www.gnu.org/licenses/. | ||
# | ||
############################################################################## | ||
# -*- coding: utf-8 -*- | ||
# © 2014-2015 Avanzosc | ||
# © 2014-2015 Pedro M. Baeza | ||
# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html | ||
|
||
from . import models | ||
from . import wizard |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,29 @@ | ||
# -*- coding: utf-8 -*- | ||
############################################################################## | ||
# | ||
# This program is free software: you can redistribute it and/or modify | ||
# it under the terms of the GNU Affero General Public License as published | ||
# by the Free Software Foundation, either version 3 of the License, or | ||
# (at your option) any later version. | ||
# | ||
# This program is distributed in the hope that it will be useful, | ||
# but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
# GNU General Public License for more details. | ||
# | ||
# You should have received a copy of the GNU General Public License | ||
# along with this program. If not, see http://www.gnu.org/licenses/. | ||
# | ||
############################################################################## | ||
# © 2014-2015 Avanzosc | ||
# © 2014-2015 Antiun Ingeniería | ||
# © 2014-2015 Pedro M. Baeza | ||
# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html | ||
|
||
{ | ||
"name": "MRP real costs", | ||
"version": "8.0.1.0.1", | ||
"depends": ["analytic", | ||
"project_timesheet", | ||
"mrp_project_link", | ||
"mrp_operations_time_control", | ||
"stock_account", | ||
"product_variant_cost", | ||
"mrp_production_project_estimated_cost"], | ||
"author": "OdooMRP team," | ||
"AvanzOSC," | ||
"Serv. Tecnol. Avanzados - Pedro M. Baeza", | ||
"category": "MRP", | ||
"name": "Real costs in manufacturing orders", | ||
"version": "8.0.1.0.0", | ||
"depends": [ | ||
"project_timesheet", | ||
"mrp_project", | ||
"mrp_operations_extension", | ||
"mrp_operations_time_control", | ||
"stock_account", | ||
"product_variant_cost_price", | ||
], | ||
"author": "OdooMRP team, " | ||
"AvanzOSC, " | ||
"Serv. Tecnol. Avanzados - Pedro M. Baeza, " | ||
"Antiun Ingeniería S.L., " | ||
"Odoo Community Association (OCA)", | ||
"category": "Manufacturing", | ||
'data': [ | ||
"data/analytic_journal_data.xml", | ||
"views/mrp_production_view.xml", | ||
"views/res_config_view.xml" | ||
], | ||
'installable': True, | ||
'auto_install': False, | ||
} |
This file was deleted.
Oops, something went wrong.
38 changes: 0 additions & 38 deletions
38
mrp_production_real_cost/i18n/mrp_production_real_costs.pot
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,9 @@ | ||
# -*- encoding: utf-8 -*- | ||
############################################################################## | ||
# | ||
# This program is free software: you can redistribute it and/or modify | ||
# it under the terms of the GNU Affero General Public License as published | ||
# by the Free Software Foundation, either version 3 of the License, or | ||
# (at your option) any later version. | ||
# | ||
# This program is distributed in the hope that it will be useful, | ||
# but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
# GNU General Public License for more details. | ||
# | ||
# You should have received a copy of the GNU General Public License | ||
# along with this program. If not, see http://www.gnu.org/licenses/. | ||
# | ||
############################################################################## | ||
# -*- coding: utf-8 -*- | ||
# © 2014-2015 Avanzosc | ||
# © 2014-2015 Pedro M. Baeza | ||
# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html | ||
|
||
from . import stock_move | ||
from . import mrp_production_workcenter_line | ||
from . import mrp_production | ||
from . import mrp_bom | ||
from . import mrp_config | ||
from . import mrp_production | ||
from . import mrp_production_workcenter_line | ||
from . import stock_move |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.