flectra/addons/stock/models/web_planner.py
2018-01-16 02:34:37 -08:00

13 lines
327 B
Python

# -*- coding: utf-8 -*-
from flectra 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