Files
manufacture/mrp_subcontracting/__manifest__.py
Pedro M. Baeza 4875fd46eb [FIX] mrp_subcontracting: Don't perform subcontracting on 0 quantity
If there are several lines in the picking, and some of them are not
received, you've got an error due to the unconditional processing of
all lines.

Now we prevent those that are not received in the loop.

Closes #640
2021-05-20 18:31:31 +02:00

28 lines
877 B
Python

# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl).
# Copyright 2019 Odoo
# Copyright 2020 Tecnativa - Alexandre Díaz
# Copyright 2020 Tecnativa - Pedro M. Baeza
{
'name': "Subcontract Productions",
'version': '12.0.1.0.5',
"author": "Odoo S.A., Tecnativa, Odoo Community Association (OCA)",
'website': 'https://github.com/OCA/manufacture',
'category': 'Manufacturing Orders & BOMs',
'depends': ['mrp'],
'data': [
'data/mrp_subcontracting_data.xml',
'views/mrp_bom_views.xml',
'views/res_partner_views.xml',
'views/stock_warehouse_views.xml',
'views/stock_move_views.xml',
'views/stock_picking_views.xml',
'views/supplier_info_views.xml',
],
'demo': [
'data/mrp_subcontracting_demo.xml',
],
"uninstall_hook": "uninstall_hook",
"license": "LGPL-3",
}