Merge PR #385 into 11.0

Signed-off-by lreficent
This commit is contained in:
OCA-git-bot
2019-07-16 11:14:33 +00:00
2 changed files with 5 additions and 1 deletions

View File

@@ -3,7 +3,7 @@
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
{
'name': 'MRP Multi Level',
'version': '11.0.3.1.0',
'version': '11.0.3.1.1',
'development_status': 'Beta',
'license': 'AGPL-3',
'author': 'Ucamco, '

View File

@@ -767,3 +767,7 @@ class MultiLevelMrp(models.TransientModel):
self._mrp_initialisation(self.mrp_area_ids)
self._mrp_calculation(mrp_lowest_llc, self.mrp_area_ids)
self._mrp_final_process(self.mrp_area_ids)
# Open MRP inventory screen to show result if manually run:
action = self.env.ref("mrp_multi_level.mrp_inventory_action")
result = action.read()[0]
return result