diff --git a/__init__.py b/__init__.py index bf7caf4..23e0943 100644 --- a/__init__.py +++ b/__init__.py @@ -93,6 +93,7 @@ def register(): dash.AppHotelPlanner, dash.AppHousekeeping, dash.AppWebCheckIn, + dash.AppBooking, invoice.InvoiceLine, invoice.Invoice, room.HotelTask, diff --git a/dash.py b/dash.py index d80d2d5..f54ea10 100644 --- a/dash.py +++ b/dash.py @@ -3,7 +3,7 @@ from trytond.pool import PoolMeta from trytond.modules.dash.dash import DashAppBase - +# cada clase que registro la debo declarar en _init,py class DashApp(metaclass=PoolMeta): __name__ = "dash.app" @@ -15,6 +15,7 @@ class DashApp(metaclass=PoolMeta): "dash.app.hotel_planner", "dash.app.housekeeping", "dash.app.web_checkin", + "dash.app.booking", ] ) return origins @@ -27,6 +28,7 @@ class DashApp(metaclass=PoolMeta): ("hotel_planner", "Planner"), ("housekeeping", "Housekeeping"), ("web_checkin", "Web Checkin"), + ("booking", "Booking"), ] ) return options @@ -36,7 +38,7 @@ class AppHotelPlanner(DashAppBase): "App Hotel Planner" __name__ = "dash.app.hotel_planner" - +# sdhsad class AppHousekeeping(DashAppBase): "App Housekeeping" __name__ = "dash.app.housekeeping" @@ -45,3 +47,7 @@ class AppHousekeeping(DashAppBase): class AppWebCheckIn(DashAppBase): "App Web Check-In" __name__ = "dash.app.web_checkin" + +class AppBooking(DashAppBase): + "App Booking" + __name__ = "dash.app.booking" diff --git a/dash.xml b/dash.xml index 900ecde..614f02a 100644 --- a/dash.xml +++ b/dash.xml @@ -14,7 +14,7 @@ this repository contains the full copyright notices and license terms. --> True hotel_planner - + 1 key @@ -27,6 +27,20 @@ this repository contains the full copyright notices and license terms. --> housekeeping + + + 1 + key + internal + + + Booking + dash.app.booking,1 + True + booking + + + 1 key