This commit is contained in:
Florian da Costa
2018-08-30 22:26:38 +02:00
committed by Lois Rilo
parent 95a8ad9d3e
commit 8f3fb97bac
2 changed files with 6 additions and 4 deletions

View File

@@ -122,11 +122,13 @@ class MrpProduction(models.Model):
raise UserError('\n'.join(errors))
return True
# This method should be overriden in submodule to manage cases where
# we need to add quantities to the forecast quantity. Like draft purchase
# order, purchase request, etc...
@api.model
def _get_incoming_qty_waiting_validation(self, move):
"""
This method should be overriden in submodule to manage cases where
we need to add quantities to the forecast quantity. Like draft
purchase order, purchase request, etc...
"""
return 0.0
@api.multi

View File

@@ -6,7 +6,7 @@
"summary": "Module needed to make mrp_mto_with_stock module compatible "
"with purchase module.",
"author": "Akretion, Odoo Community Association (OCA)",
"website": "https://odoo-community.org/",
"website": "https://github.com/OCA/manufacture",
"category": "Manufacturing",
"version": "11.0.1.0.0",
"license": "AGPL-3",