[IMP] Readme's

This commit is contained in:
QS5ELkMu
2018-11-25 18:08:58 +01:00
parent 9c76c0e932
commit 017e6d2343
21 changed files with 103 additions and 74 deletions

14
hotel_calendar/README.md Normal file
View File

@@ -0,0 +1,14 @@
HOTEL CALENDAR
=============
Calendars for manage reservations and revenue
** UNDER DEVELOPMENT: NOT USE IN PRODUCTION **
Credits
=======
Creator
------------
* Alexandre Díaz <alex@aloxa.eu>

View File

@@ -1,28 +1,28 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="action_hotel_calendar" model="ir.actions.act_window">
<field name="name">Hotel Calendar</field>
<field name="res_model">hotel.reservation</field>
<field name="view_mode">pms</field>
<field name="view_type">form</field>
</record>
<record id="action_hotel_calendar" model="ir.actions.act_window">
<field name="name">Hotel Calendar</field>
<field name="res_model">hotel.reservation</field>
<field name="view_mode">pms</field>
<field name="view_type">form</field>
</record>
<record id="action_hotel_calendar_management" model="ir.actions.act_window">
<field name="name">Hotel Calendar Management</field>
<field name="res_model">hotel.calendar.management</field>
<field name="view_mode">mpms</field>
</record>
<record id="action_hotel_calendar_management" model="ir.actions.act_window">
<field name="name">Hotel Calendar Management</field>
<field name="res_model">hotel.calendar.management</field>
<field name="view_mode">mpms</field>
</record>
<menuitem id="hotel_calendar_menu" name="Hotel Calendar" sequence="10"
web_icon="hotel_calendar,static/description/icon_calendar.png"
action="action_hotel_calendar" />
<menuitem id="hotel_calendar_menu" name="Hotel Calendar" sequence="10"
web_icon="hotel_calendar,static/description/icon_calendar.png"
action="action_hotel_calendar" />
<menuitem id="hotel_calendar_management_menu" name="Hotel Calendar Management" sequence="20"
web_icon="hotel_calendar,static/description/icon_calendar_configurator.png"
action="action_hotel_calendar_management" groups="hotel.group_hotel_manager" />
<menuitem id="hotel_calendar_management_menu" name="Hotel Calendar Management" sequence="20"
web_icon="hotel_calendar,static/description/icon_calendar_configurator.png"
action="action_hotel_calendar_management" groups="hotel.group_hotel_manager" />
<menuitem id="hotel_room_pricelist_cached" name="Room Pricelist Cached"
sequence="1" action="hotel_room_pricelist_cached_action_form_tree" parent="sale.menu_sale_config"/>
<menuitem id="hotel_room_pricelist_cached" name="Room Pricelist Cached"
sequence="1" action="hotel_room_pricelist_cached_action_form_tree" parent="sale.menu_sale_config"/>
</odoo>

View File

@@ -1,27 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<!-- FIXME: This collide with base view... something is wrong here :/
idk how define this view for use in pms view without touch base hotel view -->
<record id="hotel_calendar_view" model="ir.ui.view">
<field name="name">Hotel Calendar</field>
<field name="model">hotel.reservation</field>
<field name="inherit_id" ref="hotel.hotel_reservation_view_form" />
<field name="type">form</field>
<field name="arch" type="xml">
<xpath expr="." position="inside">
<div id="hcalendar"> </div>
</xpath>
</field>
</record>
<record id="hotel_calendar_management_view_form" model="ir.ui.view">
<field name="name">Hotel Calendar Management</field>
<field name="model">hotel.calendar.management</field>
<field name="type">form</field>
<field name="arch" type="xml">
<div id="hcalendar_management"> </div>
</field>
</record>
</odoo>

View File

@@ -1,8 +1,8 @@
This module adds new view type "pms"
This module adds new view type "pms" and "mpms"
Features:
* Responsive & Interactive PMS
* Booking Management
* Revenue Management
* Long-Polling Communication

View File

@@ -0,0 +1 @@
* Alexandre Díaz <dev@redneboa.es>

View File

@@ -0,0 +1,7 @@
This module unify 'hotel_calendar' and 'hotel_channel_connector'
Features:
* Add 'cloud' button on calendar
* Adds restrictions to reservation management
* Call connector

View File

@@ -0,0 +1 @@
No configuration required

View File

@@ -0,0 +1 @@
* Alexandre Díaz <dev@redneboa.es>

View File

@@ -0,0 +1,6 @@
Base module for implement channel connectors
Features:
* Avaliability Management
* Odoo Connector

View File

@@ -0,0 +1 @@
No configuration required. This is a 'tool' module, need be used with other modules.

View File

@@ -1,29 +1,27 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data noupdate="1">
<odoo noupdate="1">
<record model="ir.cron" id="channel_connector_push_changes">
<field name="name">Channel Connector Push Changes</field>
<field name="interval_number">5</field>
<field name="interval_type">minutes</field>
<field name="numbercall">-1</field>
<field name="state">code</field>
<field name="doall" eval="False" />
<field name="model_id" ref="model_channel_backend" />
<field name="code">model.with_context({'show_notify': False}).cron_push_changes()</field>
<field name="name">Channel Connector Push Changes</field>
<field name="interval_number">5</field>
<field name="interval_type">minutes</field>
<field name="numbercall">-1</field>
<field name="state">code</field>
<field name="doall" eval="False" />
<field name="model_id" ref="model_channel_backend" />
<field name="code">model.with_context({'show_notify': False}).cron_push_changes()</field>
</record>
<record model="ir.cron" id="channel_connector_fetch_new_bookings">
<field name="name">Channel Connector Fetch New Bookings</field>
<field name="user_id" ref="base.user_root" />
<field name="interval_number">1</field>
<field name="interval_type">minutes</field>
<field name="numbercall">-1</field>
<field name="state">code</field>
<field name="doall" eval="False" />
<field name="model_id" ref="model_channel_backend" />
<field name="code">model.with_context({'show_notify': False}).cron_import_reservations()</field>
<field name="name">Channel Connector Fetch New Bookings</field>
<field name="user_id" ref="base.user_root" />
<field name="interval_number">1</field>
<field name="interval_type">minutes</field>
<field name="numbercall">-1</field>
<field name="state">code</field>
<field name="doall" eval="False" />
<field name="model_id" ref="model_channel_backend" />
<field name="code">model.with_context({'show_notify': False}).cron_import_reservations()</field>
</record>
</data>
</odoo>

View File

@@ -1,11 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo noupdate="1">
<record model="ir.sequence" id="seq_room_type_id">
<field name="name">Room Type Short Code</field>
<field name="code">hotel.room.type</field>
<field name="prefix"></field>
<field name="padding">4</field>
</record>
<record model="ir.sequence" id="seq_room_type_id">
<field name="name">Room Type Short Code</field>
<field name="code">hotel.room.type</field>
<field name="prefix"></field>
<field name="padding">4</field>
</record>
</odoo>

View File

@@ -0,0 +1 @@
* Alexandre Díaz <dev@redneboa.es>

View File

@@ -0,0 +1,11 @@
This module implement Wubook API
Features:
* Avaliability Management
* Restrictions Management
* Prices Management
* Rooms Management
* Booking Management
* HTTP Push Controllers
* CRON Jobs

View File

@@ -0,0 +1,15 @@
Go to connector section and create a new channel backend. Fill form and use buttons to synchronize data:
1. Create Backend
2. Import OTA's Info
3. Import Rooms
4. Import Restrictions & Price Plans
5. Import Availiability, Restrictions & Price Values
6. Synch Push URL
7. Import Reservations
Avaliability, Restrictions and Pricelist are flagged when change to know when need be uploaded.
All other records modifications are handled to be sent to server as it changes.
All changes are pushed every 5 minutes... and request new bookings every minute.
Modifications using calendars are pushed immediately when press "save" button.