diff --git a/addons/stock_calendar/__init__.py b/addons/stock_calendar/__init__.py index 7a3be6818a8..81fc81d29c9 100644 --- a/addons/stock_calendar/__init__.py +++ b/addons/stock_calendar/__init__.py @@ -1,6 +1,4 @@ # -*- coding: utf-8 -*- # Part of Odoo. See LICENSE file for full copyright and licensing details. -import stock -import procurement -import resource +import models diff --git a/addons/stock_calendar/__openerp__.py b/addons/stock_calendar/__openerp__.py index d6c763073ee..9d96e5c14e5 100644 --- a/addons/stock_calendar/__openerp__.py +++ b/addons/stock_calendar/__openerp__.py @@ -45,7 +45,9 @@ ], 'data': [ - 'stock_calendar_view.xml' + 'views/stock_views.xml', + 'views/procurement_views.xml', + 'views/resource_views.xml', ], 'test': [ 'test/orderpoint_calendar.yml' diff --git a/addons/stock_calendar/models/__init__.py b/addons/stock_calendar/models/__init__.py new file mode 100644 index 00000000000..03dad687433 --- /dev/null +++ b/addons/stock_calendar/models/__init__.py @@ -0,0 +1,6 @@ +# -*- coding: utf-8 -*- +# Part of Odoo. See LICENSE file for full copyright and licensing details. + +import procurement +import resource +import stock diff --git a/addons/stock_calendar/procurement.py b/addons/stock_calendar/models/procurement.py similarity index 100% rename from addons/stock_calendar/procurement.py rename to addons/stock_calendar/models/procurement.py diff --git a/addons/stock_calendar/resource.py b/addons/stock_calendar/models/resource.py similarity index 100% rename from addons/stock_calendar/resource.py rename to addons/stock_calendar/models/resource.py diff --git a/addons/stock_calendar/stock.py b/addons/stock_calendar/models/stock.py similarity index 100% rename from addons/stock_calendar/stock.py rename to addons/stock_calendar/models/stock.py diff --git a/addons/stock_calendar/stock_calendar_view.xml b/addons/stock_calendar/stock_calendar_view.xml deleted file mode 100644 index 86d3dcd5e29..00000000000 --- a/addons/stock_calendar/stock_calendar_view.xml +++ /dev/null @@ -1,40 +0,0 @@ - - - - stock.warehouse.orderpoint.form.inherit - stock.warehouse.orderpoint - - - - - - - - - - - - resource.calendar.attendance.tree.procurement - - resource.calendar.attendance - - - - - - - - - - procurement.order.form.stock.inherit - procurement.order - - - -