Button to manually update standard from Bom now restricted to MRP manager Improve module description
33 lines
1.4 KiB
Python
33 lines
1.4 KiB
Python
# -*- coding: utf-8 -*-
|
|
# © 2016-2017 Akretion (Alexis de Lattre <alexis.delattre@akretion.com>)
|
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
|
|
|
{
|
|
'name': 'MRP Average Cost',
|
|
'version': '10.0.1.0.0',
|
|
'category': 'Manufactuing',
|
|
'license': 'AGPL-3',
|
|
'summary': 'Update standard_price upon validation of a manufacturing order',
|
|
'description': """
|
|
MRP Average Cost
|
|
================
|
|
|
|
By default, the official *stock* module updates the *standard_price* of a product that has costing_method = *average* when validating an incoming picking. But the official *mrp* module doesn't do that when you validate a manufactuging order.
|
|
|
|
With this module, when you validate a manufacturing order of a product that has costing method = *average*, the standard_price of the product will be updated by taking into account the standard_price of each raw material and also the labour cost lines defined on the BOM. In fact, if you use the costing method *Last Price* (from the module *stock_cost_method_last*), it will work too.
|
|
|
|
This module has been written by Alexis de Lattre from Akretion
|
|
<alexis.delattre@akretion.com>.
|
|
""",
|
|
'author': 'Akretion',
|
|
'website': 'http://www.akretion.com',
|
|
'depends': ['mrp', 'stock_account'],
|
|
'data': [
|
|
'mrp_view.xml',
|
|
'mrp_data.xml',
|
|
'security/labour_cost_profile_security.xml',
|
|
'security/ir.model.access.csv',
|
|
],
|
|
'installable': True,
|
|
}
|