Skip to content
Snippets Groups Projects
Commit 7afe1b0a authored by Darshan Kalola's avatar Darshan Kalola Committed by Simon Lejeune
Browse files

[ADD]stock: added new planner for inventory.

parent 16c1ed53
No related branches found
No related tags found
No related merge requests found
......@@ -8,5 +8,6 @@ import procurement
import report
import wizard
import res_config
import web_planner
import controllers
......@@ -32,7 +32,7 @@ Dashboard / Reports for Inventory Management will include:
* Moves Analysis
""",
'website': 'https://www.odoo.com/page/warehouse',
'depends': ['product', 'procurement', 'barcodes'],
'depends': ['product', 'procurement', 'barcodes', 'web_planner'],
'category': 'Inventory Management',
'sequence': 13,
'demo': [
......@@ -74,6 +74,7 @@ Dashboard / Reports for Inventory Management will include:
'stock_dashboard.xml',
'wizard/stock_immediate_transfer.xml',
'wizard/stock_backorder_confirmation.xml',
'data/web_planner_data.xml',
],
'test': [
'test/inventory.yml',
......
This diff is collapsed.
# -*- coding: utf-8 -*-
from openerp import models
class PlannerInventory(models.Model):
_inherit = 'web.planner'
def _get_planner_application(self):
planner = super(PlannerInventory, self)._get_planner_application()
planner.append(['planner_inventory', 'Inventory Planner'])
return planner
def _prepare_planner_inventory_data(self):
return {
'uom_menu_id': self.env.ref('stock.menu_stock_uom_form_action').id
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment