Merge lp:~serpentcs/hotel-management-system/hotel-7.0 into lp:hotel-management-system
- hotel-7.0
- Merge into trunk
Proposed by
Vanooteghem
Status: | Needs review |
---|---|
Proposed branch: | lp:~serpentcs/hotel-management-system/hotel-7.0 |
Merge into: | lp:hotel-management-system |
Diff against target: |
13960 lines (+7702/-2935) (has conflicts) 91 files modified
board_frontdesk/Doc/ChangeLog.txt (+8/-0) board_frontdesk/__init__.py (+15/-12) board_frontdesk/__openerp__.py (+20/-19) board_frontdesk/board_frontdesk_view.xml (+40/-49) board_frontdesk/i18n/fr.po (+76/-0) hotel/Doc/ChangeLog.txt (+23/-0) hotel/__init__.py (+14/-12) hotel/__openerp__.py (+37/-9) hotel/hotel.py (+344/-311) hotel/hotel_data.xml (+16/-35) hotel/hotel_folio_workflow.xml (+4/-19) hotel/hotel_scheduler.xml (+17/-0) hotel/hotel_sequence.xml (+18/-0) hotel/hotel_view.xml (+855/-3) hotel/i18n/fr.po (+752/-0) hotel/i18n/hotel.pot (+562/-341) hotel/report/__init__.py (+11/-10) hotel/report/hotel_report.py (+22/-23) hotel/report/hotel_report.xml (+1/-0) hotel/report/total_folio.rml (+33/-21) hotel/security/ir.model.access.csv (+33/-12) hotel/static/src/css/room_kanban.css (+4/-0) hotel/wizard/__init__.py (+10/-9) hotel/wizard/hotel_wizard.py (+26/-31) hotel/wizard/hotel_wizard.xml (+37/-35) hotel_housekeeping/Doc/ChangeLog.txt (+17/-0) hotel_housekeeping/__init__.py (+12/-11) hotel_housekeeping/__openerp__.py (+24/-24) hotel_housekeeping/hotel_housekeeping.py (+76/-80) hotel_housekeeping/hotel_housekeeping_view.xml (+86/-89) hotel_housekeeping/i18n/fr.po (+356/-0) hotel_housekeeping/report/__init__.py (+11/-10) hotel_housekeeping/report/activity_detail.rml (+35/-24) hotel_housekeeping/report/hotel_housekeeping_report.xml (+2/-3) hotel_housekeeping/report/housekeeping_report.py (+48/-35) hotel_housekeeping/security/ir.model.access.csv (+13/-6) hotel_housekeeping/wizard/__init__.py (+11/-10) hotel_housekeeping/wizard/hotel_housekeeping_wizard.xml (+19/-17) hotel_housekeeping/wizard/housekeeping_wizard.py (+24/-29) hotel_reservation/Doc/ChangeLog.txt (+23/-0) hotel_reservation/__init__.py (+12/-11) hotel_reservation/__openerp__.py (+34/-11) hotel_reservation/hotel_reservation.py (+315/-114) hotel_reservation/hotel_reservation_data.xml (+56/-67) hotel_reservation/hotel_reservation_sequence.xml (+1/-1) hotel_reservation/hotel_reservation_view.xml (+205/-77) hotel_reservation/hotel_scheduler.xml (+15/-0) hotel_reservation/i18n/fr.po (+356/-0) hotel_reservation/i18n/hotel_reservation.pot (+482/-297) hotel_reservation/report/__init__.py (+10/-9) hotel_reservation/report/checkinlist.rml (+25/-24) hotel_reservation/report/checkoutlist.rml (+32/-29) hotel_reservation/report/hotel_reservation_report.py (+82/-50) hotel_reservation/report/maxroom.rml (+34/-7) hotel_reservation/report/room_res.rml (+69/-75) hotel_reservation/security/ir.model.access.csv (+9/-2) hotel_reservation/static/src/css/room_summary.css (+24/-0) hotel_reservation/static/src/js/hotel_room_summary.js (+99/-0) hotel_reservation/static/src/xml/hotel_room_summary.xml (+31/-0) hotel_reservation/wizard/__init__.py (+10/-9) hotel_reservation/wizard/hotel_reservation_wizard.py (+54/-70) hotel_reservation/wizard/hotel_reservation_wizard.xml (+35/-38) hotel_restaurant/Doc/ChangeLog.txt (+14/-0) hotel_restaurant/__init__.py (+12/-12) hotel_restaurant/__openerp__.py (+23/-22) hotel_restaurant/hotel_restaurant.py (+155/-215) hotel_restaurant/hotel_restaurant_data.xml (+104/-21) hotel_restaurant/hotel_restaurant_view.xml (+232/-116) hotel_restaurant/hotel_restaurant_workflow.xml (+15/-4) hotel_restaurant/i18n/fr.po (+591/-0) hotel_restaurant/report/__init__.py (+10/-9) hotel_restaurant/report/bill.rml (+51/-38) hotel_restaurant/report/hotel_restaurant_report.py (+19/-20) hotel_restaurant/report/hotel_restaurant_report.xml (+2/-1) hotel_restaurant/report/kot.rml (+47/-55) hotel_restaurant/report/res_table.rml (+25/-16) hotel_restaurant/wizard/__init__.py (+10/-9) hotel_restaurant/wizard/hotel_restaurant_wizard.py (+20/-32) hotel_restaurant/wizard/hotel_restaurant_wizard.xml (+24/-21) report_hotel_reservation/Doc/ChangeLog.txt (+11/-0) report_hotel_reservation/__init__.py (+4/-5) report_hotel_reservation/__openerp__.py (+13/-12) report_hotel_reservation/i18n/fr.po (+357/-0) report_hotel_reservation/report_hotel_reservation.py (+9/-15) report_hotel_reservation/report_hotel_reservation_view.xml (+17/-25) report_hotel_restaurant/Doc/ChangeLog.txt (+11/-0) report_hotel_restaurant/__init__.py (+4/-5) report_hotel_restaurant/__openerp__.py (+15/-15) report_hotel_restaurant/i18n/fr.po (+108/-0) report_hotel_restaurant/report_hotel_restaurant.py (+11/-15) report_hotel_restaurant/report_hotel_restaurant_view.xml (+63/-72) Text conflict in hotel/__openerp__.py Text conflict in hotel/hotel_view.xml Conflict adding file hotel/static. Moved existing file to hotel/static.moved. Text conflict in hotel_reservation/__openerp__.py |
To merge this branch: | bzr merge lp:~serpentcs/hotel-management-system/hotel-7.0 |
Related bugs: | |
Related blueprints: |
Kanban view in rooms
(High)
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Hotel Editors | Pending | ||
Review via email: mp+236253@code.launchpad.net |
Commit message
Description of the change
To post a comment you must log in.
Unmerged revisions
- 67. By Dhwani ( Serpent Consulting Services)
-
[IMP]: Improved the room category code
- 66. By Serpent Consulting Services
-
FIX : Corrected wrong domain on Hotel View(Courtesy :Andreas Andreou <email address hidden> )
- 65. By Dhwani ( Serpent Consulting Services)
-
[IMP]: Improved the code for folio
- 64. By Serpent Consulting Services
-
[ADD] FR translations added. Courtesy to Richmond FIKO <email address hidden>
- 63. By Dhwani ( Serpent Consulting Services)
-
[FIX]: Fixed the issue of room price while change the pricelist
- 62. By Dhwani ( Serpent Consulting Services)
-
[IMP]: Imprvoed the reservation code.
- 61. By Dhwani ( Serpent Consulting Services)
-
[IMP]: Improved the code
- 60. By Dhwani ( Serpent Consulting Services)
-
[IMP]: Standardized the modules as per v7
- 59. By Serpent Consulting Services
-
Some optimizations and py standards corrected
- 58. By Serpent Consulting Services
-
Company name updated
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1 | === added directory 'board_frontdesk/Doc' | |||
2 | === added file 'board_frontdesk/Doc/ChangeLog.txt' | |||
3 | --- board_frontdesk/Doc/ChangeLog.txt 1970-01-01 00:00:00 +0000 | |||
4 | +++ board_frontdesk/Doc/ChangeLog.txt 2014-09-28 13:18:16 +0000 | |||
5 | @@ -0,0 +1,8 @@ | |||
6 | 1 | ============================================================================================================================ | ||
7 | 2 | Version Change Log (board_frontdesk) | ||
8 | 3 | ============================================================================================================================ | ||
9 | 4 | 0.03 on 2014-01-07 by Krunal Soni | ||
10 | 5 | * Added Accurate licensing terms and Copyright(C) on top inside license info in each py file. | ||
11 | 6 | |||
12 | 7 | 0.02 on 2013-11-13 by Sudhir Arya | ||
13 | 8 | * Standardized the module as per v7 standards. | ||
14 | 0 | 9 | ||
15 | === modified file 'board_frontdesk/__init__.py' | |||
16 | --- board_frontdesk/__init__.py 2012-05-18 07:39:13 +0000 | |||
17 | +++ board_frontdesk/__init__.py 2014-09-28 13:18:16 +0000 | |||
18 | @@ -1,20 +1,23 @@ | |||
20 | 1 | # -*- encoding: utf-8 -*- | 1 | # -*- coding: utf-8 -*- |
21 | 2 | ############################################################################## | 2 | ############################################################################## |
23 | 3 | # | 3 | # |
24 | 4 | # OpenERP, Open Source Management Solution | 4 | # OpenERP, Open Source Management Solution |
26 | 5 | # Copyright (C) 2004-2009 Tiny SPRL (<http://tiny.be>). | 5 | # Copyright (C) 2012-Today Serpent Consulting Services Pvt. Ltd. (<http://www.serpentcs.com>) |
27 | 6 | # Copyright (C) 2004 OpenERP SA (<http://www.openerp.com>) | ||
28 | 6 | # | 7 | # |
29 | 7 | # This program is free software: you can redistribute it and/or modify | 8 | # This program is free software: you can redistribute it and/or modify |
33 | 8 | # it under the terms of the GNU Affero General Public License as | 9 | # it under the terms of the GNU General Public License as published by |
34 | 9 | # published by the Free Software Foundation, either version 3 of the | 10 | # the Free Software Foundation, either version 3 of the License, or |
35 | 10 | # License, or (at your option) any later version. | 11 | # (at your option) any later version. |
36 | 11 | # | 12 | # |
37 | 12 | # This program is distributed in the hope that it will be useful, | 13 | # This program is distributed in the hope that it will be useful, |
38 | 13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | 14 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
39 | 14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 15 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
40 | 15 | # GNU Affero General Public License for more details. | ||
41 | 16 | # | ||
42 | 17 | # You should have received a copy of the GNU Affero General Public License | ||
43 | 18 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
44 | 19 | # | ||
45 | 20 | ############################################################################## | ||
46 | 21 | \ No newline at end of file | 16 | \ No newline at end of file |
47 | 17 | # GNU General Public License for more details. | ||
48 | 18 | # | ||
49 | 19 | # You should have received a copy of the GNU General Public License | ||
50 | 20 | # along with this program. If not, see <http://www.gnu.org/licenses/> | ||
51 | 21 | # | ||
52 | 22 | ############################################################################## | ||
53 | 23 | |||
54 | 24 | # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: | ||
55 | 22 | \ No newline at end of file | 25 | \ No newline at end of file |
56 | 23 | 26 | ||
57 | === modified file 'board_frontdesk/__openerp__.py' | |||
58 | --- board_frontdesk/__openerp__.py 2012-05-22 14:06:57 +0000 | |||
59 | +++ board_frontdesk/__openerp__.py 2014-09-28 13:18:16 +0000 | |||
60 | @@ -1,42 +1,43 @@ | |||
62 | 1 | # -*- encoding: utf-8 -*- | 1 | # -*- coding: utf-8 -*- |
63 | 2 | ############################################################################## | 2 | ############################################################################## |
65 | 3 | # | 3 | # |
66 | 4 | # OpenERP, Open Source Management Solution | 4 | # OpenERP, Open Source Management Solution |
68 | 5 | # Copyright (C) 2004-2009 Tiny SPRL (<http://tiny.be>). | 5 | # Copyright (C) 2012-Today Serpent Consulting Services Pvt. Ltd. (<http://www.serpentcs.com>) |
69 | 6 | # Copyright (C) 2004 OpenERP SA (<http://www.openerp.com>) | ||
70 | 6 | # | 7 | # |
71 | 7 | # This program is free software: you can redistribute it and/or modify | 8 | # This program is free software: you can redistribute it and/or modify |
75 | 8 | # it under the terms of the GNU Affero General Public License as | 9 | # it under the terms of the GNU General Public License as published by |
76 | 9 | # published by the Free Software Foundation, either version 3 of the | 10 | # the Free Software Foundation, either version 3 of the License, or |
77 | 10 | # License, or (at your option) any later version. | 11 | # (at your option) any later version. |
78 | 11 | # | 12 | # |
79 | 12 | # This program is distributed in the hope that it will be useful, | 13 | # This program is distributed in the hope that it will be useful, |
80 | 13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | 14 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
81 | 14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 15 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
83 | 15 | # GNU Affero General Public License for more details. | 16 | # GNU General Public License for more details. |
84 | 16 | # | 17 | # |
87 | 17 | # You should have received a copy of the GNU Affero General Public License | 18 | # You should have received a copy of the GNU General Public License |
88 | 18 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | 19 | # along with this program. If not, see <http://www.gnu.org/licenses/> |
89 | 19 | # | 20 | # |
90 | 20 | ############################################################################## | 21 | ############################################################################## |
91 | 21 | { | 22 | { |
92 | 22 | "name":"Board for Hotel FrontDesk", | 23 | "name":"Board for Hotel FrontDesk", |
95 | 23 | "version":"1.0", | 24 | "version" : "0.03", |
96 | 24 | "author":"Tiny", | 25 | "author":"Serpent Consulting Services Pvt. Ltd.", "OpenERP SA" |
97 | 25 | "category":"Board/Hotel FrontDesk", | 26 | "category":"Board/Hotel FrontDesk", |
98 | 27 | "website": ["http://www.serpentcs.com", "http://www.openerp.com"], | ||
99 | 26 | "depends":[ | 28 | "depends":[ |
100 | 27 | "board", | 29 | "board", |
104 | 28 | "report_hotel_reservation", | 30 | "hotel_reservation", |
102 | 29 | |||
103 | 30 | |||
105 | 31 | ], | 31 | ], |
106 | 32 | "demo_xml":[], | ||
107 | 33 | "update_xml":["board_frontdesk_view.xml"], | ||
108 | 34 | "description": """ | 32 | "description": """ |
109 | 35 | This module implements a dashboard for hotel FrontDesk that includes: | 33 | This module implements a dashboard for hotel FrontDesk that includes: |
110 | 36 | * Calendar view of Today's Check-In and Check-Out | 34 | * Calendar view of Today's Check-In and Check-Out |
111 | 37 | * Calendar view of Weekly Check-In and Check-Out | 35 | * Calendar view of Weekly Check-In and Check-Out |
112 | 38 | * Calendar view of Monthly Check-In and Check-Out | 36 | * Calendar view of Monthly Check-In and Check-Out |
113 | 39 | """, | 37 | """, |
114 | 40 | "active":False, | ||
115 | 41 | "installable":True, | ||
116 | 42 | } | ||
117 | 43 | \ No newline at end of file | 38 | \ No newline at end of file |
118 | 39 | "data":["board_frontdesk_view.xml"], | ||
119 | 40 | "auto_install": False, | ||
120 | 41 | "installable": True | ||
121 | 42 | } | ||
122 | 43 | |||
123 | 44 | # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: | ||
124 | 44 | \ No newline at end of file | 45 | \ No newline at end of file |
125 | 45 | 46 | ||
126 | === modified file 'board_frontdesk/board_frontdesk_view.xml' | |||
127 | --- board_frontdesk/board_frontdesk_view.xml 2012-05-22 14:06:57 +0000 | |||
128 | +++ board_frontdesk/board_frontdesk_view.xml 2014-09-28 13:18:16 +0000 | |||
129 | @@ -1,51 +1,42 @@ | |||
130 | 1 | <?xml version="1.0"?> | 1 | <?xml version="1.0"?> |
131 | 2 | <openerp> | 2 | <openerp> |
181 | 3 | <data> | 3 | <data> |
182 | 4 | 4 | ||
183 | 5 | <!-- <record model="board.note.type" id="note_frontdesk_type">--> | 5 | <record model="ir.actions.act_window" id="action_view_frontdesk_cal"> |
184 | 6 | <!-- <field name="name">FrontDesk</field>--> | 6 | <field name="name">FrontDesk</field> |
185 | 7 | <!-- </record>--> | 7 | <field name="res_model">hotel.reservation</field> |
186 | 8 | 8 | <field name="view_type">form</field> | |
187 | 9 | <record model="ir.actions.act_window" id="action_view_frontdesk_cal"> | 9 | <field name="view_mode">tree,form,calendar</field> |
188 | 10 | <field name="name">FrontDesk</field> | 10 | <field name="view_id" ref="hotel_reservation.hotel_calendar_view"/> |
189 | 11 | <field name="res_model">hotel.reservation</field> | 11 | </record> |
190 | 12 | <field name="view_type">form</field> | 12 | |
191 | 13 | <field name="view_mode">calendar,form</field> | 13 | <record model="ir.ui.view" id="board_frontdesk_form"> |
192 | 14 | <field name="view_id" ref="hotel_reservation.hotel_calendar_view" /> | 14 | <field name="name">board.frontdesk.form</field> |
193 | 15 | </record> | 15 | <field name="model">board.board</field> |
194 | 16 | 16 | <field name="arch" type="xml"> | |
195 | 17 | <record model="ir.ui.view" id="board_frontdesk_form"> | 17 | <form string="FrontDesk board" version="7.0"> |
196 | 18 | <field name="name">board.frontdesk.form</field> | 18 | <board style="2-1"> |
197 | 19 | <field name="model">board.board</field> | 19 | <column> |
198 | 20 | <field name="type">form</field> | 20 | <action string="Reservation" name="%(action_view_frontdesk_cal)d"/> |
199 | 21 | <field name="arch" type="xml"> | 21 | </column> |
200 | 22 | <form string="FrontDesk board"> | 22 | </board> |
201 | 23 | <hpaned> | 23 | </form> |
202 | 24 | <child1> | 24 | </field> |
203 | 25 | <action | 25 | </record> |
204 | 26 | string="Reservation" | 26 | |
205 | 27 | name="%(action_view_frontdesk_cal)d" | 27 | <record model="ir.actions.act_window" id="open_board_frontdesk"> |
206 | 28 | /> | 28 | <field name="name">FrontDesk Dashboard</field> |
207 | 29 | </child1> | 29 | <field name="res_model">board.board</field> |
208 | 30 | </hpaned> | 30 | <field name="view_type">form</field> |
209 | 31 | </form> | 31 | <field name="view_mode">form</field> |
210 | 32 | </field> | 32 | <field name="view_id" ref="board_frontdesk_form"/> |
211 | 33 | </record> | 33 | </record> |
212 | 34 | 34 | ||
213 | 35 | <record model="ir.actions.act_window" id="open_board_frontdesk"> | 35 | <menuitem id="menu_board_frontdesk" |
214 | 36 | <field name="name">FrontDesk Dashboard</field> | 36 | name="Hotel FrontDesk Board" |
215 | 37 | <field name="res_model">board.board</field> | 37 | action="open_board_frontdesk" |
216 | 38 | <field name="view_type">form</field> | 38 | sequence="46" |
217 | 39 | <field name="usage">menu</field> | 39 | parent="base.menu_reporting_dashboard"/> |
218 | 40 | <field name="view_id" ref="board_frontdesk_form"/> | 40 | |
219 | 41 | </record> | 41 | </data> |
220 | 42 | 42 | </openerp> | |
172 | 43 | <menuitem | ||
173 | 44 | name="Hotel FrontDesk Board" | ||
174 | 45 | action="open_board_frontdesk" | ||
175 | 46 | sequence="1" | ||
176 | 47 | id="menu_board_frontdesk" icon="terp-graph" | ||
177 | 48 | parent="base.menu_dashboard_admin"/> | ||
178 | 49 | |||
179 | 50 | </data> | ||
180 | 51 | </openerp> | ||
221 | 52 | \ No newline at end of file | 43 | \ No newline at end of file |
222 | 53 | 44 | ||
223 | === modified file 'board_frontdesk/i18n/board_frontdesk.pot' (properties changed: +x to -x) | |||
224 | === added file 'board_frontdesk/i18n/fr.po' | |||
225 | --- board_frontdesk/i18n/fr.po 1970-01-01 00:00:00 +0000 | |||
226 | +++ board_frontdesk/i18n/fr.po 2014-09-28 13:18:16 +0000 | |||
227 | @@ -0,0 +1,76 @@ | |||
228 | 1 | # Translation of OpenERP Server. | ||
229 | 2 | # This file contains the translation of the following modules: | ||
230 | 3 | # * board_frontdesk | ||
231 | 4 | # | ||
232 | 5 | msgid "" | ||
233 | 6 | msgstr "" | ||
234 | 7 | "Project-Id-Version: OpenERP Server 5.0.6\n" | ||
235 | 8 | "Report-Msgid-Bugs-To: support@openerp.com\n" | ||
236 | 9 | "POT-Creation-Date: 2009-11-26 06:18:01+0000\n" | ||
237 | 10 | "PO-Revision-Date: 2014-07-18 17:17-0000\n" | ||
238 | 11 | "Last-Translator: <>\n" | ||
239 | 12 | "Language-Team: \n" | ||
240 | 13 | "MIME-Version: 1.0\n" | ||
241 | 14 | "Content-Type: text/plain; charset=UTF-8\n" | ||
242 | 15 | "Content-Transfer-Encoding: 8bit\n" | ||
243 | 16 | "Plural-Forms: \n" | ||
244 | 17 | "Language: fr\n" | ||
245 | 18 | "X-Generator: Poedit 1.6.6\n" | ||
246 | 19 | |||
247 | 20 | #. module: board_frontdesk | ||
248 | 21 | #: model:ir.ui.menu,name:board_frontdesk.menu_board_frontdesk | ||
249 | 22 | msgid "Hotel FrontDesk Board" | ||
250 | 23 | msgstr "Réception Hôtel" | ||
251 | 24 | |||
252 | 25 | #. module: board_frontdesk | ||
253 | 26 | #: constraint:ir.ui.view:0 | ||
254 | 27 | msgid "Invalid XML for View Architecture!" | ||
255 | 28 | msgstr "XML invalide pour cette vue!" | ||
256 | 29 | |||
257 | 30 | #. module: board_frontdesk | ||
258 | 31 | #: model:ir.actions.act_window,name:board_frontdesk.open_board_frontdesk | ||
259 | 32 | msgid "FrontDesk Dashboard" | ||
260 | 33 | msgstr "Tableau de bord Accueil" | ||
261 | 34 | |||
262 | 35 | #. module: board_frontdesk | ||
263 | 36 | #: model:ir.module.module,description:board_frontdesk.module_meta_information | ||
264 | 37 | msgid "" | ||
265 | 38 | "\n" | ||
266 | 39 | "This module implements a dashboard for hotel FrontDesk that includes:\n" | ||
267 | 40 | " * Calendar view of Today's Check-In and Check-Out\n" | ||
268 | 41 | " * Calendar view of Weekly Check-In and Check-Out\n" | ||
269 | 42 | " * Calendar view of Monthly Check-In and Check-Out\n" | ||
270 | 43 | " " | ||
271 | 44 | msgstr "" | ||
272 | 45 | "\n" | ||
273 | 46 | "Ce module intègre un tableau de bord pour la Réception de l'hôtel composé " | ||
274 | 47 | "de:\n" | ||
275 | 48 | " * Un calendrier des Arrivés et Départs quotidiens\n" | ||
276 | 49 | " * Un calendrier des Arrivés et Départs hebdomadaires\n" | ||
277 | 50 | " * Un calendrier des Arrivés et Départs mensuels\n" | ||
278 | 51 | " " | ||
279 | 52 | |||
280 | 53 | #. module: board_frontdesk | ||
281 | 54 | #: constraint:ir.actions.act_window:0 | ||
282 | 55 | msgid "Invalid model name in the action definition." | ||
283 | 56 | msgstr "Nom du modèle incorrect dans \"action definition\"" | ||
284 | 57 | |||
285 | 58 | #. module: board_frontdesk | ||
286 | 59 | #: model:ir.actions.act_window,name:board_frontdesk.action_view_frontdesk_cal | ||
287 | 60 | msgid "FrontDesk" | ||
288 | 61 | msgstr "Accueil" | ||
289 | 62 | |||
290 | 63 | #. module: board_frontdesk | ||
291 | 64 | #: view:board.board:0 | ||
292 | 65 | msgid "Reservation" | ||
293 | 66 | msgstr "Réservation" | ||
294 | 67 | |||
295 | 68 | #. module: board_frontdesk | ||
296 | 69 | #: model:ir.module.module,shortdesc:board_frontdesk.module_meta_information | ||
297 | 70 | msgid "Board for Hotel FrontDesk" | ||
298 | 71 | msgstr "Tableau Réception" | ||
299 | 72 | |||
300 | 73 | #. module: board_frontdesk | ||
301 | 74 | #: view:board.board:0 | ||
302 | 75 | msgid "FrontDesk board" | ||
303 | 76 | msgstr "Tableau Réception" | ||
304 | 0 | 77 | ||
305 | === modified file 'board_frontdesk/i18n/fr_BE.po' (properties changed: +x to -x) | |||
306 | === added directory 'hotel/Doc' | |||
307 | === added file 'hotel/Doc/ChangeLog.txt' | |||
308 | --- hotel/Doc/ChangeLog.txt 1970-01-01 00:00:00 +0000 | |||
309 | +++ hotel/Doc/ChangeLog.txt 2014-09-28 13:18:16 +0000 | |||
310 | @@ -0,0 +1,23 @@ | |||
311 | 1 | ============================================================================================================================ | ||
312 | 2 | Version Change Log (hotel) | ||
313 | 3 | ============================================================================================================================ | ||
314 | 4 | 0.07 on 2014-04-04 by Dhwani | ||
315 | 5 | * Standardized the module as per v7 standards. | ||
316 | 6 | |||
317 | 7 | 0.06 on 2014-01-11 by Krunal Soni | ||
318 | 8 | * Checked code quality and improved report format. | ||
319 | 9 | |||
320 | 10 | 0.05 on 2014-01-07 by Krunal Soni | ||
321 | 11 | * Added Accurate licensing terms and Copyright(C) on top inside license info in each py file. | ||
322 | 12 | |||
323 | 13 | 0.04 on 2013-11-19 by Sudhir Arya | ||
324 | 14 | * Fixed onchanage errors, bugs in generate folio and enhanced the code. | ||
325 | 15 | |||
326 | 16 | 0.03 on 2013-11-18 by Sudhir Arya | ||
327 | 17 | * Added access rights to some objects. | ||
328 | 18 | |||
329 | 19 | 0.02 on 2013-11-13 by Sudhir Arya | ||
330 | 20 | * Standardized the module as per v7 standards. | ||
331 | 21 | |||
332 | 22 | 1.01 --> Oct 1,2013 : Anil Kesariya | ||
333 | 23 | * Added Access control for manager user Improved labels and Fixed the error. | ||
334 | 0 | \ No newline at end of file | 24 | \ No newline at end of file |
335 | 1 | 25 | ||
336 | === modified file 'hotel/__init__.py' | |||
337 | --- hotel/__init__.py 2012-05-22 14:06:57 +0000 | |||
338 | +++ hotel/__init__.py 2014-09-28 13:18:16 +0000 | |||
339 | @@ -1,25 +1,27 @@ | |||
341 | 1 | # -*- encoding: utf-8 -*- | 1 | # -*- coding: utf-8 -*- |
342 | 2 | ############################################################################## | 2 | ############################################################################## |
344 | 3 | # | 3 | # |
345 | 4 | # OpenERP, Open Source Management Solution | 4 | # OpenERP, Open Source Management Solution |
347 | 5 | # Copyright (C) 2004-2009 Tiny SPRL (<http://tiny.be>). | 5 | # Copyright (C) 2012-Today Serpent Consulting Services Pvt. Ltd. (<http://www.serpentcs.com>) |
348 | 6 | # Copyright (C) 2004 OpenERP SA (<http://www.openerp.com>) | ||
349 | 6 | # | 7 | # |
350 | 7 | # This program is free software: you can redistribute it and/or modify | 8 | # This program is free software: you can redistribute it and/or modify |
354 | 8 | # it under the terms of the GNU Affero General Public License as | 9 | # it under the terms of the GNU General Public License as published by |
355 | 9 | # published by the Free Software Foundation, either version 3 of the | 10 | # the Free Software Foundation, either version 3 of the License, or |
356 | 10 | # License, or (at your option) any later version. | 11 | # (at your option) any later version. |
357 | 11 | # | 12 | # |
358 | 12 | # This program is distributed in the hope that it will be useful, | 13 | # This program is distributed in the hope that it will be useful, |
359 | 13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | 14 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
360 | 14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 15 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
362 | 15 | # GNU Affero General Public License for more details. | 16 | # GNU General Public License for more details. |
363 | 16 | # | 17 | # |
366 | 17 | # You should have received a copy of the GNU Affero General Public License | 18 | # You should have received a copy of the GNU General Public License |
367 | 18 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | 19 | # along with this program. If not, see <http://www.gnu.org/licenses/> |
368 | 19 | # | 20 | # |
369 | 20 | ############################################################################## | 21 | ############################################################################## |
373 | 21 | import hotel | 22 | |
374 | 22 | import wizard | 23 | from . import hotel |
375 | 23 | import report | 24 | from . import wizard |
376 | 25 | from . import report | ||
377 | 24 | 26 | ||
378 | 25 | # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: | 27 | # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: |
379 | 26 | 28 | ||
380 | === modified file 'hotel/__openerp__.py' | |||
381 | --- hotel/__openerp__.py 2012-11-24 23:33:44 +0000 | |||
382 | +++ hotel/__openerp__.py 2014-09-28 13:18:16 +0000 | |||
383 | @@ -1,28 +1,35 @@ | |||
385 | 1 | # -*- encoding: utf-8 -*- | 1 | # -*- coding: utf-8 -*- |
386 | 2 | ############################################################################## | 2 | ############################################################################## |
388 | 3 | # | 3 | # |
389 | 4 | # OpenERP, Open Source Management Solution | 4 | # OpenERP, Open Source Management Solution |
391 | 5 | # Copyright (C) 2004-2009 Tiny SPRL (<http://tiny.be>). | 5 | # Copyright (C) 2012-Today Serpent Consulting Services Pvt. Ltd. (<http://www.serpentcs.com>) |
392 | 6 | # Copyright (C) 2004 OpenERP SA (<http://www.openerp.com>) | ||
393 | 6 | # | 7 | # |
394 | 7 | # This program is free software: you can redistribute it and/or modify | 8 | # This program is free software: you can redistribute it and/or modify |
398 | 8 | # it under the terms of the GNU Affero General Public License as | 9 | # it under the terms of the GNU General Public License as published by |
399 | 9 | # published by the Free Software Foundation, either version 3 of the | 10 | # the Free Software Foundation, either version 3 of the License, or |
400 | 10 | # License, or (at your option) any later version. | 11 | # (at your option) any later version. |
401 | 11 | # | 12 | # |
402 | 12 | # This program is distributed in the hope that it will be useful, | 13 | # This program is distributed in the hope that it will be useful, |
403 | 13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | 14 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
404 | 14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 15 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
406 | 15 | # GNU Affero General Public License for more details. | 16 | # GNU General Public License for more details. |
407 | 16 | # | 17 | # |
410 | 17 | # You should have received a copy of the GNU Affero General Public License | 18 | # You should have received a copy of the GNU General Public License |
411 | 18 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | 19 | # along with this program. If not, see <http://www.gnu.org/licenses/> |
412 | 19 | # | 20 | # |
413 | 20 | ############################################################################## | 21 | ############################################################################## |
414 | 21 | 22 | ||
415 | 22 | { | 23 | { |
416 | 24 | <<<<<<< TREE | ||
417 | 23 | "name" : "Hotel Management Base", | 25 | "name" : "Hotel Management Base", |
418 | 24 | "version" : "1.0", | 26 | "version" : "1.0", |
419 | 25 | "author" : "Tiny", | 27 | "author" : "Tiny", |
420 | 28 | ======= | ||
421 | 29 | "name" : "Hotel Management", | ||
422 | 30 | "version" : "0.07", | ||
423 | 31 | "author": ["Serpent Consulting Services Pvt. Ltd.", "OpenERP SA" ], | ||
424 | 32 | >>>>>>> MERGE-SOURCE | ||
425 | 26 | "category" : "Generic Modules/Hotel Management", | 33 | "category" : "Generic Modules/Hotel Management", |
426 | 27 | "description": """ | 34 | "description": """ |
427 | 28 | Module for Hotel/Resort/Rooms/Property management. You can manage: | 35 | Module for Hotel/Resort/Rooms/Property management. You can manage: |
428 | @@ -35,6 +42,7 @@ | |||
429 | 35 | 42 | ||
430 | 36 | Different reports are also provided, mainly for hotel statistics. | 43 | Different reports are also provided, mainly for hotel statistics. |
431 | 37 | """, | 44 | """, |
432 | 45 | <<<<<<< TREE | ||
433 | 38 | "depends" : ["sale"], | 46 | "depends" : ["sale"], |
434 | 39 | "init_xml" : [], | 47 | "init_xml" : [], |
435 | 40 | "demo_xml" : [ | 48 | "demo_xml" : [ |
436 | @@ -52,6 +60,26 @@ | |||
437 | 52 | "active": False, | 60 | "active": False, |
438 | 53 | "installable": True, | 61 | "installable": True, |
439 | 54 | 'application': True, | 62 | 'application': True, |
440 | 63 | ======= | ||
441 | 64 | "website": ["http://www.serpentcs.com", "http://www.openerp.com"], | ||
442 | 65 | "depends" : ["sale_stock"], | ||
443 | 66 | "demo" : [ | ||
444 | 67 | ], | ||
445 | 68 | "data": [ | ||
446 | 69 | "security/hotel_security.xml", | ||
447 | 70 | "security/ir.model.access.csv", | ||
448 | 71 | "hotel_sequence.xml", | ||
449 | 72 | "hotel_folio_workflow.xml", | ||
450 | 73 | # "hotel_scheduler.xml", | ||
451 | 74 | "report/hotel_report.xml", | ||
452 | 75 | "hotel_view.xml", | ||
453 | 76 | "hotel_data.xml", | ||
454 | 77 | "wizard/hotel_wizard.xml", | ||
455 | 78 | ], | ||
456 | 79 | 'css': ["static/src/css/room_kanban.css"], | ||
457 | 80 | "auto_install": False, | ||
458 | 81 | "installable": True | ||
459 | 82 | >>>>>>> MERGE-SOURCE | ||
460 | 55 | } | 83 | } |
461 | 56 | 84 | ||
462 | 57 | # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: | 85 | # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: |
463 | 58 | 86 | ||
464 | === modified file 'hotel/data/hotel-color.png' (properties changed: -x to +x) | |||
465 | === modified file 'hotel/data/hotel-grey.png' (properties changed: -x to +x) | |||
466 | === modified file 'hotel/hotel.py' | |||
467 | --- hotel/hotel.py 2012-05-25 11:25:10 +0000 | |||
468 | +++ hotel/hotel.py 2014-09-28 13:18:16 +0000 | |||
469 | @@ -1,172 +1,164 @@ | |||
471 | 1 | # -*- encoding: utf-8 -*- | 1 | # -*- coding: utf-8 -*- |
472 | 2 | ############################################################################## | 2 | ############################################################################## |
474 | 3 | # | 3 | # |
475 | 4 | # OpenERP, Open Source Management Solution | 4 | # OpenERP, Open Source Management Solution |
477 | 5 | # Copyright (C) 2004-2009 Tiny SPRL (<http://tiny.be>). | 5 | # Copyright (C) 2012-Today Serpent Consulting Services Pvt. Ltd. (<http://www.serpentcs.com>) |
478 | 6 | # Copyright (C) 2004 OpenERP SA (<http://www.openerp.com>) | ||
479 | 6 | # | 7 | # |
480 | 7 | # This program is free software: you can redistribute it and/or modify | 8 | # This program is free software: you can redistribute it and/or modify |
484 | 8 | # it under the terms of the GNU Affero General Public License as | 9 | # it under the terms of the GNU General Public License as published by |
485 | 9 | # published by the Free Software Foundation, either version 3 of the | 10 | # the Free Software Foundation, either version 3 of the License, or |
486 | 10 | # License, or (at your option) any later version. | 11 | # (at your option) any later version. |
487 | 11 | # | 12 | # |
488 | 12 | # This program is distributed in the hope that it will be useful, | 13 | # This program is distributed in the hope that it will be useful, |
489 | 13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | 14 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
490 | 14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 15 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
492 | 15 | # GNU Affero General Public License for more details. | 16 | # GNU General Public License for more details. |
493 | 16 | # | 17 | # |
496 | 17 | # You should have received a copy of the GNU Affero General Public License | 18 | # You should have received a copy of the GNU General Public License |
497 | 18 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | 19 | # along with this program. If not, see <http://www.gnu.org/licenses/> |
498 | 19 | # | 20 | # |
499 | 20 | ############################################################################## | 21 | ############################################################################## |
501 | 21 | from osv import fields, osv | 22 | |
502 | 23 | from openerp.osv import fields, osv | ||
503 | 22 | import time | 24 | import time |
507 | 23 | import netsvc | 25 | from openerp import netsvc |
505 | 24 | #import ir | ||
506 | 25 | from mx import DateTime | ||
508 | 26 | import datetime | 26 | import datetime |
510 | 27 | from tools import config | 27 | from openerp.tools.translate import _ |
511 | 28 | from openerp.tools import DEFAULT_SERVER_DATETIME_FORMAT | ||
512 | 28 | 29 | ||
514 | 29 | class hotel_floor(osv.osv): | 30 | class hotel_floor(osv.Model): |
515 | 30 | _name = "hotel.floor" | 31 | _name = "hotel.floor" |
516 | 31 | _description = "Floor" | 32 | _description = "Floor" |
517 | 32 | _columns = { | 33 | _columns = { |
518 | 33 | 'name': fields.char('Floor Name', size=64, required=True, select=True), | 34 | 'name': fields.char('Floor Name', size=64, required=True, select=True), |
522 | 34 | 'sequence' : fields.integer('Sequence', size=64), | 35 | 'sequence': fields.integer('Sequence', size=64), |
523 | 35 | } | 36 | } |
521 | 36 | hotel_floor() | ||
524 | 37 | 37 | ||
526 | 38 | class product_category(osv.osv): | 38 | class product_category(osv.Model): |
527 | 39 | _inherit = "product.category" | 39 | _inherit = "product.category" |
528 | 40 | _columns = { | 40 | _columns = { |
532 | 41 | 'isroomtype':fields.boolean('Is Room Type'), | 41 | 'isroomtype': fields.boolean('Is Room Type'), |
533 | 42 | 'isamenitype':fields.boolean('Is amenities Type'), | 42 | 'isamenitype': fields.boolean('Is amenities Type'), |
534 | 43 | 'isservicetype':fields.boolean('Is Service Type'), | 43 | 'isservicetype': fields.boolean('Is Service Type'), |
535 | 44 | } | 44 | } |
536 | 45 | product_category() | ||
537 | 46 | 45 | ||
541 | 47 | class hotel_room_type(osv.osv): | 46 | class hotel_room_type(osv.Model): |
542 | 48 | _name = "hotel.room_type" | 47 | _name = "hotel.room.type" |
543 | 49 | _inherits = {'product.category':'cat_id'} | 48 | _inherits = {'product.category': 'cat_id'} |
544 | 50 | _description = "Room Type" | 49 | _description = "Room Type" |
548 | 51 | _columns = { | 50 | _columns = { |
549 | 52 | 'cat_id':fields.many2one('product.category', 'category', required=True, select=True, ondelete='cascade'), | 51 | 'cat_id': fields.many2one('product.category', 'category', required=True, select=True, ondelete='cascade'), |
547 | 53 | |||
550 | 54 | } | 52 | } |
551 | 55 | _defaults = { | 53 | _defaults = { |
558 | 56 | 'isroomtype': lambda * a: 1, | 54 | 'isroomtype': 1, |
559 | 57 | } | 55 | } |
560 | 58 | hotel_room_type() | 56 | |
561 | 59 | 57 | class product_product(osv.Model): | |
556 | 60 | |||
557 | 61 | class product_product(osv.osv): | ||
562 | 62 | _inherit = "product.product" | 58 | _inherit = "product.product" |
563 | 63 | _columns = { | 59 | _columns = { |
568 | 64 | 'isroom':fields.boolean('Is Room'), | 60 | 'isroom': fields.boolean('Is Room'), |
569 | 65 | 'iscategid':fields.boolean('Is categ id'), | 61 | 'iscategid': fields.boolean('Is categ id'), |
570 | 66 | 'isservice':fields.boolean('Is Service id'), | 62 | 'isservice': fields.boolean('Is Service id'), |
567 | 67 | |||
571 | 68 | } | 63 | } |
572 | 69 | product_product() | ||
573 | 70 | 64 | ||
576 | 71 | class hotel_room_amenities_type(osv.osv): | 65 | class hotel_room_amenities_type(osv.Model): |
577 | 72 | _name = 'hotel.room_amenities_type' | 66 | _name = 'hotel.room.amenities.type' |
578 | 73 | _description = 'amenities Type' | 67 | _description = 'amenities Type' |
579 | 74 | _inherits = {'product.category':'cat_id'} | 68 | _inherits = {'product.category':'cat_id'} |
580 | 75 | _columns = { | 69 | _columns = { |
583 | 76 | 'cat_id':fields.many2one('product.category', 'category', required=True, ondelete='cascade'), | 70 | 'cat_id': fields.many2one('product.category', 'category', required=True, ondelete='cascade'), |
584 | 77 | } | 71 | } |
585 | 78 | _defaults = { | 72 | _defaults = { |
588 | 79 | 'isamenitype': lambda * a: 1, | 73 | 'isamenitype': 1, |
587 | 80 | |||
589 | 81 | } | 74 | } |
590 | 82 | 75 | ||
595 | 83 | hotel_room_amenities_type() | 76 | class hotel_room_amenities(osv.Model): |
596 | 84 | 77 | _name = 'hotel.room.amenities' | |
593 | 85 | class hotel_room_amenities(osv.osv): | ||
594 | 86 | _name = 'hotel.room_amenities' | ||
597 | 87 | _description = 'Room amenities' | 78 | _description = 'Room amenities' |
598 | 88 | _inherits = {'product.product':'room_categ_id'} | 79 | _inherits = {'product.product':'room_categ_id'} |
599 | 89 | _columns = { | 80 | _columns = { |
604 | 90 | 'room_categ_id':fields.many2one('product.product', 'Product Category', required=True, ondelete='cascade'), | 81 | 'room_categ_id': fields.many2one('product.product', 'Product Category', required=True, ondelete='cascade'), |
605 | 91 | 'rcateg_id':fields.many2one('hotel.room_amenities_type', 'Amenity Catagory'), | 82 | 'rcateg_id': fields.many2one('hotel.room.amenities.type', 'Amenity Catagory'), |
606 | 92 | 'amenity_rate':fields.integer('Amenity Rate'), | 83 | } |
603 | 93 | } | ||
607 | 94 | _defaults = { | 84 | _defaults = { |
612 | 95 | 'iscategid': lambda * a: 1, | 85 | 'iscategid': 1, |
613 | 96 | } | 86 | } |
610 | 97 | |||
611 | 98 | hotel_room_amenities() | ||
614 | 99 | 87 | ||
617 | 100 | class hotel_room(osv.osv): | 88 | class hotel_room(osv.Model): |
616 | 101 | |||
618 | 102 | _name = 'hotel.room' | 89 | _name = 'hotel.room' |
620 | 103 | _inherits = {'product.product':'product_id'} | 90 | _inherits = {'product.product': 'product_id'} |
621 | 104 | _description = 'Hotel Room' | 91 | _description = 'Hotel Room' |
622 | 105 | _columns = { | 92 | _columns = { |
623 | 106 | |||
624 | 107 | 'product_id': fields.many2one('product.product', 'Product_id', required=True, ondelete='cascade'), | 93 | 'product_id': fields.many2one('product.product', 'Product_id', required=True, ondelete='cascade'), |
631 | 108 | 'floor_id':fields.many2one('hotel.floor', 'Floor No'), | 94 | 'floor_id': fields.many2one('hotel.floor', 'Floor No', help='At which floor the room is located.'), |
632 | 109 | 'max_adult':fields.integer('Max Adult'), | 95 | 'max_adult': fields.integer('Max Adult'), |
633 | 110 | 'max_child':fields.integer('Max Child'), | 96 | 'max_child': fields.integer('Max Child'), |
634 | 111 | 'avail_status':fields.selection([('assigned', 'Assigned'), (' unassigned', 'Unassigned')], 'Room Status'), | 97 | 'room_amenities': fields.many2many('hotel.room.amenities', 'temp_tab', 'room_amenities', 'rcateg_id', 'Room Amenities', help='List of room amenities. '), |
635 | 112 | 'room_amenities':fields.many2many('hotel.room_amenities', 'temp_tab', 'room_amenities', 'rcateg_id', 'Room Amenities'), | 98 | 'status': fields.selection([('available', 'Available'), ('occupied', 'Occupied')], 'Status'), |
636 | 113 | } | 99 | # 'room_reservation_line_ids': fields.one2many('hotel.room.reservation.line','room_id','Room Reservation Line'), |
637 | 100 | 'room_rent_ids': fields.one2many('room.rent', 'rent_id', 'Room Rent'), | ||
638 | 101 | } | ||
639 | 114 | _defaults = { | 102 | _defaults = { |
654 | 115 | 'isroom': lambda * a: 1, | 103 | 'isroom': 1, |
655 | 116 | 'rental': lambda * a: 1, | 104 | 'rental': 1, |
656 | 117 | } | 105 | 'status': 'available', |
657 | 118 | 106 | } | |
658 | 119 | hotel_room() | 107 | |
659 | 120 | 108 | def set_room_status_occupied(self, cr, uid, ids, context=None): | |
660 | 121 | class hotel_folio(osv.osv): | 109 | return self.write(cr, uid, ids, {'status': 'occupied'}, context=context) |
661 | 122 | 110 | ||
662 | 123 | def _incoterm_get(self, cr, uid, context={}): | 111 | def set_room_status_available(self, cr, uid, ids, context=None): |
663 | 124 | return self.pool.get('sale.order')._incoterm_get(cr, uid, context={}) | 112 | return self.write(cr, uid, ids, {'status': 'available'}, context=context) |
664 | 125 | 113 | ||
665 | 126 | def copy(self, cr, uid, id, default=None, context={}): | 114 | class room_rent(osv.Model): |
666 | 127 | return self.pool.get('sale.order').copy(cr, uid, id, default=None, context={}) | 115 | _name = 'room.rent' |
667 | 128 | 116 | _columns = { | |
668 | 117 | 'rent_id': fields.many2one('hotel.room', 'Room Rent'), | ||
669 | 118 | 'price': fields.float('Price (Per night)'), | ||
670 | 119 | 'mon': fields.boolean('Monday'), | ||
671 | 120 | 'tue': fields.boolean('Tuesday'), | ||
672 | 121 | 'wed': fields.boolean('Wednesday'), | ||
673 | 122 | 'thu': fields.boolean('Thursday'), | ||
674 | 123 | 'fri': fields.boolean('Friday'), | ||
675 | 124 | 'sat': fields.boolean('Saturday'), | ||
676 | 125 | 'sun': fields.boolean('Sunday'), | ||
677 | 126 | } | ||
678 | 127 | |||
679 | 128 | class hotel_folio(osv.Model): | ||
680 | 129 | |||
681 | 130 | def copy(self, cr, uid, id, default=None, context=None): | ||
682 | 131 | return self.pool.get('sale.order').copy(cr, uid, id, default=None, context=None) | ||
683 | 132 | |||
684 | 129 | def _invoiced(self, cursor, user, ids, name, arg, context=None): | 133 | def _invoiced(self, cursor, user, ids, name, arg, context=None): |
686 | 130 | return self.pool.get('sale.order')._invoiced(cursor, user, ids, name, arg, context=None) | 134 | return self.pool.get('sale.order')._invoiced(cursor, user, ids, name, arg, context=None) |
687 | 131 | 135 | ||
688 | 132 | def _invoiced_search(self, cursor, user, obj, name, args): | 136 | def _invoiced_search(self, cursor, user, obj, name, args): |
700 | 133 | return self.pool.get('sale.order')._invoiced_search(cursor, user, obj, name, args) | 137 | return self.pool.get('sale.order')._invoiced_search(cursor, user, obj, name, args) |
701 | 134 | 138 | ||
691 | 135 | def _amount_untaxed(self, cr, uid, ids, field_name, arg, context): | ||
692 | 136 | return self.pool.get('sale.order')._amount_untaxed(cr, uid, ids, field_name, arg, context) | ||
693 | 137 | |||
694 | 138 | def _amount_tax(self, cr, uid, ids, field_name, arg, context): | ||
695 | 139 | return self.pool.get('sale.order')._amount_tax(cr, uid, ids, field_name, arg, context) | ||
696 | 140 | |||
697 | 141 | def _amount_total(self, cr, uid, ids, field_name, arg, context): | ||
698 | 142 | return self.pool.get('sale.order')._amount_total(cr, uid, ids, field_name, arg, context) | ||
699 | 143 | |||
702 | 144 | _name = 'hotel.folio' | 139 | _name = 'hotel.folio' |
703 | 145 | |||
704 | 146 | _description = 'hotel folio new' | 140 | _description = 'hotel folio new' |
708 | 147 | 141 | _inherits = {'sale.order': 'order_id'} | |
706 | 148 | _inherits = {'sale.order':'order_id'} | ||
707 | 149 | |||
709 | 150 | _rec_name = 'order_id' | 142 | _rec_name = 'order_id' |
711 | 151 | 143 | _order = 'id desc' | |
712 | 152 | _columns = { | 144 | _columns = { |
720 | 153 | 'order_id':fields.many2one('sale.order', 'order_id', required=True, ondelete='cascade'), | 145 | 'name': fields.char('Folio Number', size=24, readonly=True), |
721 | 154 | 'checkin_date': fields.datetime('Check In', required=True, readonly=True, states={'draft':[('readonly', False)]}), | 146 | 'order_id': fields.many2one('sale.order', 'Order', required=True, ondelete='cascade'), |
722 | 155 | 'checkout_date': fields.datetime('Check Out', required=True, readonly=True, states={'draft':[('readonly', False)]}), | 147 | 'checkin_date': fields.datetime('Check In', required=True, readonly=True, states={'draft':[('readonly', False)]}), |
723 | 156 | 'room_lines': fields.one2many('hotel_folio.line', 'folio_id'), | 148 | 'checkout_date': fields.datetime('Check Out', required=True, readonly=True, states={'draft':[('readonly', False)]}), |
724 | 157 | 'service_lines': fields.one2many('hotel_service.line', 'folio_id'), | 149 | 'room_lines': fields.one2many('hotel.folio.line', 'folio_id', readonly=True, states={'draft': [('readonly', False)], 'sent': [('readonly', False)]}, help="Hotel room reservation detail."), |
725 | 158 | 'hotel_policy':fields.selection([('prepaid', 'On Booking'), ('manual', 'On Check In'), ('picking', 'On Checkout')], 'Hotel Policy', required=True), | 150 | 'service_lines': fields.one2many('hotel.service.line', 'folio_id', readonly=True, states={'draft': [('readonly', False)], 'sent': [('readonly', False)]}, help="Hotel services detail provide to customer and it will include in main Invoice."), |
726 | 159 | 'duration':fields.float('Duration'), | 151 | 'hotel_policy': fields.selection([('prepaid', 'On Booking'), ('manual', 'On Check In'), ('picking', 'On Checkout')], 'Hotel Policy', help="Hotel policy for payment that either the guest has to payment at booking time or check-in check-out time."), |
727 | 152 | 'duration': fields.float('Duration in Days', readonly=True, help="Number of days which will automatically count from the check-in and check-out date. "), | ||
728 | 160 | } | 153 | } |
729 | 161 | |||
730 | 162 | _defaults = { | 154 | _defaults = { |
734 | 163 | 'hotel_policy':'manual' | 155 | 'name': lambda obj, cr, uid, context: obj.pool.get('ir.sequence').get(cr, uid, 'hotel.folio'), |
735 | 164 | } | 156 | 'hotel_policy': 'manual' |
736 | 165 | 157 | } | |
737 | 166 | _sql_constraints = [ | 158 | _sql_constraints = [ |
741 | 167 | ('check_in_out', 'CHECK (checkin_date<=checkout_date)', 'Check in Date Should be less than the Check Out Date!'), | 159 | ('check_in_out', 'CHECK (checkin_date<=checkout_date)', 'Check in Date Should be less than the Check Out Date!'), |
742 | 168 | ] | 160 | ] |
743 | 169 | 161 | ||
744 | 170 | def _check_room_vacant(self, cr, uid, ids, context=None): | 162 | def _check_room_vacant(self, cr, uid, ids, context=None): |
745 | 171 | folio = self.browse(cr, uid, ids[0], context=context) | 163 | folio = self.browse(cr, uid, ids[0], context=context) |
746 | 172 | rooms = [] | 164 | rooms = [] |
747 | @@ -175,13 +167,22 @@ | |||
748 | 175 | return False | 167 | return False |
749 | 176 | rooms.append(room.product_id) | 168 | rooms.append(room.product_id) |
750 | 177 | return True | 169 | return True |
752 | 178 | 170 | ||
753 | 179 | _constraints = [ | 171 | _constraints = [ |
755 | 180 | (_check_room_vacant, 'You can not allocate the same room twice!', ['room_lines']) | 172 | (_check_room_vacant, 'You cannot allocate the same room twice!', ['room_lines']) |
756 | 181 | ] | 173 | ] |
758 | 182 | 174 | ||
759 | 183 | def onchange_dates(self, cr, uid, ids, checkin_date=False, checkout_date=False, duration=False): | 175 | def onchange_dates(self, cr, uid, ids, checkin_date=False, checkout_date=False, duration=False): |
760 | 176 | # This mathod gives the duration between check in checkout if customer will leave only for some hour it would be considers as | ||
761 | 177 | # a whole day. If customer will checkin checkout for more or equal hours , which configured in company as additional hours than | ||
762 | 178 | # it would be consider as full day | ||
763 | 184 | value = {} | 179 | value = {} |
764 | 180 | company_obj = self.pool.get('res.company') | ||
765 | 181 | configured_addition_hours = 0 | ||
766 | 182 | company_ids = company_obj.search(cr, uid, []) | ||
767 | 183 | if company_ids: | ||
768 | 184 | company = company_obj.browse(cr, uid, company_ids[0]) | ||
769 | 185 | configured_addition_hours = company.additional_hours | ||
770 | 185 | if not duration: | 186 | if not duration: |
771 | 186 | duration = 0 | 187 | duration = 0 |
772 | 187 | if checkin_date and checkout_date: | 188 | if checkin_date and checkout_date: |
773 | @@ -189,6 +190,10 @@ | |||
774 | 189 | chkout_dt = datetime.datetime.strptime(checkout_date, '%Y-%m-%d %H:%M:%S') | 190 | chkout_dt = datetime.datetime.strptime(checkout_date, '%Y-%m-%d %H:%M:%S') |
775 | 190 | dur = chkout_dt - chkin_dt | 191 | dur = chkout_dt - chkin_dt |
776 | 191 | duration = dur.days | 192 | duration = dur.days |
777 | 193 | if configured_addition_hours > 0: | ||
778 | 194 | additional_hours = abs((dur.seconds / 60) / 60) | ||
779 | 195 | if additional_hours >= configured_addition_hours: | ||
780 | 196 | duration += 1 | ||
781 | 192 | value.update({'value':{'duration':duration}}) | 197 | value.update({'value':{'duration':duration}}) |
782 | 193 | else: | 198 | else: |
783 | 194 | if checkin_date: | 199 | if checkin_date: |
784 | @@ -197,76 +202,77 @@ | |||
785 | 197 | checkout_date = datetime.datetime.strftime(chkout_dt, '%Y-%m-%d %H:%M:%S') | 202 | checkout_date = datetime.datetime.strftime(chkout_dt, '%Y-%m-%d %H:%M:%S') |
786 | 198 | value.update({'value':{'checkout_date':checkout_date}}) | 203 | value.update({'value':{'checkout_date':checkout_date}}) |
787 | 199 | return value | 204 | return value |
789 | 200 | 205 | ||
790 | 201 | def create(self, cr, uid, vals, context=None, check=True): | 206 | def create(self, cr, uid, vals, context=None, check=True): |
791 | 202 | tmp_room_lines = vals.get('room_lines', []) | 207 | tmp_room_lines = vals.get('room_lines', []) |
792 | 203 | tmp_service_lines = vals.get('service_lines', []) | ||
793 | 204 | vals['order_policy'] = vals.get('hotel_policy', 'manual') | 208 | vals['order_policy'] = vals.get('hotel_policy', 'manual') |
803 | 205 | if not vals.has_key("folio_id"): | 209 | if not 'service_lines' and 'folio_id' in vals: |
804 | 206 | vals.update({'room_lines':[], 'service_lines':[]}) | 210 | # if not 'folio_id' in vals: |
805 | 207 | folio_id = super(hotel_folio, self).create(cr, uid, vals, context) | 211 | vals.update({'room_lines':[]}) |
806 | 208 | for line in tmp_room_lines: | 212 | folio_id = super(hotel_folio, self).create(cr, uid, vals, context=context) |
807 | 209 | line[2].update({'folio_id':folio_id}) | 213 | for line in (tmp_room_lines): |
808 | 210 | for line in tmp_service_lines: | 214 | line[2].update({'folio_id':folio_id}) |
809 | 211 | line[2].update({'folio_id':folio_id}) | 215 | vals.update({'room_lines':tmp_room_lines}) |
810 | 212 | vals.update({'room_lines':tmp_room_lines, 'service_lines':tmp_service_lines}) | 216 | super(hotel_folio, self).write(cr, uid, [folio_id], vals, context=context) |
802 | 213 | super(hotel_folio, self).write(cr, uid, [folio_id], vals, context) | ||
811 | 214 | else: | 217 | else: |
813 | 215 | folio_id = super(hotel_folio, self).create(cr, uid, vals, context) | 218 | folio_id = super(hotel_folio, self).create(cr, uid, vals, context=context) |
814 | 216 | return folio_id | 219 | return folio_id |
817 | 217 | 220 | ||
816 | 218 | |||
818 | 219 | def onchange_shop_id(self, cr, uid, ids, shop_id): | 221 | def onchange_shop_id(self, cr, uid, ids, shop_id): |
827 | 220 | return self.pool.get('sale.order').onchange_shop_id(cr, uid, ids, shop_id) | 222 | order_ids = [folio.order_id.id for folio in self.browse(cr, uid, ids)] |
828 | 221 | 223 | return self.pool.get('sale.order').onchange_shop_id(cr, uid, order_ids, shop_id) | |
829 | 222 | def onchange_partner_id(self, cr, uid, ids, part): | 224 | |
830 | 223 | return self.pool.get('sale.order').onchange_partner_id(cr, uid, ids, part) | 225 | def onchange_partner_id(self, cr, uid, ids, part, context=None): |
831 | 224 | 226 | order_ids = [folio.order_id.id for folio in self.browse(cr, uid, ids, context=context)] | |
832 | 225 | def button_dummy(self, cr, uid, ids, context={}): | 227 | return self.pool.get('sale.order').onchange_partner_id(cr, uid, order_ids, part, context=None) |
833 | 226 | return self.pool.get('sale.order').button_dummy(cr, uid, ids, context={}) | 228 | |
834 | 227 | 229 | def button_dummy(self, cr, uid, ids, context=None): | |
835 | 230 | order_ids = [folio.order_id.id for folio in self.browse(cr, uid, ids)] | ||
836 | 231 | return self.pool.get('sale.order').button_dummy(cr, uid, order_ids, context={}) | ||
837 | 232 | |||
838 | 228 | def action_invoice_create(self, cr, uid, ids, grouped=False, states=['confirmed', 'done']): | 233 | def action_invoice_create(self, cr, uid, ids, grouped=False, states=['confirmed', 'done']): |
847 | 229 | i = self.pool.get('sale.order').action_invoice_create(cr, uid, ids, grouped=False, states=['confirmed', 'done']) | 234 | order_ids = [folio.order_id.id for folio in self.browse(cr, uid, ids)] |
848 | 230 | for line in self.browse(cr, uid, ids, context={}): | 235 | invoice_id = self.pool.get('sale.order').action_invoice_create(cr, uid, order_ids, grouped=False, states=['confirmed', 'done']) |
849 | 231 | self.write(cr, uid, [line.id], {'invoiced':True}) | 236 | for line in self.browse(cr, uid, ids): |
850 | 232 | if grouped: | 237 | values = { |
851 | 233 | self.write(cr, uid, [line.id], {'state' : 'progress'}) | 238 | 'invoiced': True, |
852 | 234 | else: | 239 | 'state': 'progress' if grouped else 'progress', |
853 | 235 | self.write(cr, uid, [line.id], {'state' : 'progress'}) | 240 | } |
854 | 236 | return i | 241 | line.write(values) |
855 | 242 | return invoice_id | ||
856 | 237 | 243 | ||
861 | 238 | 244 | def action_invoice_cancel(self, cr, uid, ids, context=None): | |
862 | 239 | def action_invoice_cancel(self, cr, uid, ids, context={}): | 245 | order_ids = [folio.order_id.id for folio in self.browse(cr, uid, ids)] |
863 | 240 | res = self.pool.get('sale.order').action_invoice_cancel(cr, uid, ids, context={}) | 246 | res = self.pool.get('sale.order').action_invoice_cancel(cr, uid, order_ids, context=context) |
864 | 241 | for sale in self.browse(cr, uid, ids): | 247 | for sale in self.browse(cr, uid, ids, context=context): |
865 | 242 | for line in sale.order_line: | 248 | for line in sale.order_line: |
885 | 243 | self.pool.get('sale.order.line').write(cr, uid, [line.id], {'invoiced': invoiced}) | 249 | line.write({'invoiced': 'invoiced'}) |
886 | 244 | self.write(cr, uid, ids, {'state':'invoice_except', 'invoice_id':False}) | 250 | self.write(cr, uid, ids, {'state':'invoice_except'}, context=context) |
887 | 245 | return res | 251 | return res |
888 | 246 | def action_cancel(self, cr, uid, ids, context={}): | 252 | |
889 | 247 | c = self.pool.get('sale.order').action_cancel(cr, uid, ids, context={}) | 253 | def action_cancel(self, cr, uid, ids, context=None): |
890 | 248 | ok = True | 254 | order_ids = [folio.order_id.id for folio in self.browse(cr, uid, ids, context=context)] |
891 | 249 | for sale in self.browse(cr, uid, ids): | 255 | rv = self.pool.get('sale.order').action_cancel(cr, uid, order_ids, context=context) |
892 | 250 | for r in self.read(cr, uid, ids, ['picking_ids']): | 256 | wf_service = netsvc.LocalService("workflow") |
893 | 251 | for pick in r['picking_ids']: | 257 | for sale in self.browse(cr, uid, ids, context=context): |
894 | 252 | wf_service = netsvc.LocalService("workflow") | 258 | for pick in sale.picking_ids: |
895 | 253 | wf_service.trg_validate(uid, 'stock.picking', pick, 'button_cancel', cr) | 259 | wf_service.trg_validate(uid, 'stock.picking', pick.id, 'button_cancel', cr) |
896 | 254 | for r in self.read(cr, uid, ids, ['invoice_ids']): | 260 | for invoice in sale.invoice_ids: |
897 | 255 | for inv in r['invoice_ids']: | 261 | wf_service.trg_validate(uid, 'account.invoice', invoice.id, 'invoice_cancel', cr) |
898 | 256 | wf_service = netsvc.LocalService("workflow") | 262 | sale.write({'state':'cancel'}) |
899 | 257 | wf_service.trg_validate(uid, 'account.invoice', inv, 'invoice_cancel', cr) | 263 | return rv |
900 | 258 | 264 | ||
882 | 259 | self.write(cr, uid, ids, {'state':'cancel'}) | ||
883 | 260 | return c | ||
884 | 261 | |||
901 | 262 | def action_wait(self, cr, uid, ids, *args): | 265 | def action_wait(self, cr, uid, ids, *args): |
909 | 263 | res = self.pool.get('sale.order').action_wait(cr, uid, ids, *args) | 266 | sale_order_obj = self.pool.get('sale.order') |
910 | 264 | for o in self.browse(cr, uid, ids): | 267 | res = False |
911 | 265 | if (o.order_policy == 'manual') and (not o.invoice_ids): | 268 | for o in self.browse(cr, uid, ids): |
912 | 266 | self.write(cr, uid, [o.id], {'state': 'manual'}) | 269 | res = sale_order_obj.action_wait(cr, uid, [o.order_id.id], *args) |
913 | 267 | else: | 270 | if (o.order_policy == 'manual') and (not o.invoice_ids): |
914 | 268 | self.write(cr, uid, [o.id], {'state': 'progress'}) | 271 | self.write(cr, uid, [o.id], {'state': 'manual'}) |
915 | 269 | return res | 272 | else: |
916 | 273 | self.write(cr, uid, [o.id], {'state': 'progress'}) | ||
917 | 274 | return res | ||
918 | 275 | |||
919 | 270 | def test_state(self, cr, uid, ids, mode, *args): | 276 | def test_state(self, cr, uid, ids, mode, *args): |
920 | 271 | write_done_ids = [] | 277 | write_done_ids = [] |
921 | 272 | write_cancel_ids = [] | 278 | write_cancel_ids = [] |
922 | @@ -275,221 +281,248 @@ | |||
923 | 275 | self.pool.get('sale.order.line').write(cr, uid, write_done_ids, {'state': 'done'}) | 281 | self.pool.get('sale.order.line').write(cr, uid, write_done_ids, {'state': 'done'}) |
924 | 276 | if write_cancel_ids: | 282 | if write_cancel_ids: |
925 | 277 | self.pool.get('sale.order.line').write(cr, uid, write_cancel_ids, {'state': 'cancel'}) | 283 | self.pool.get('sale.order.line').write(cr, uid, write_cancel_ids, {'state': 'cancel'}) |
927 | 278 | return res | 284 | return res |
928 | 285 | |||
929 | 279 | def procurement_lines_get(self, cr, uid, ids, *args): | 286 | def procurement_lines_get(self, cr, uid, ids, *args): |
934 | 280 | res = self.pool.get('sale.order').procurement_lines_get(cr, uid, ids, *args) | 287 | order_ids = [folio.order_id.id for folio in self.browse(cr, uid, ids)] |
935 | 281 | return res | 288 | return self.pool.get('sale.order').procurement_lines_get(cr, uid, order_ids, *args) |
936 | 282 | def action_ship_create(self, cr, uid, ids, *args): | 289 | |
937 | 283 | res = self.pool.get('sale.order').action_ship_create(cr, uid, ids, *args) | 290 | def action_ship_create(self, cr, uid, ids, context=None): |
938 | 291 | order_ids = [folio.order_id.id for folio in self.browse(cr, uid, ids)] | ||
939 | 292 | return self.pool.get('sale.order').action_ship_create(cr, uid, order_ids, context=None) | ||
940 | 293 | |||
941 | 294 | def action_ship_end(self, cr, uid, ids, context=None): | ||
942 | 295 | order_ids = [folio.order_id.id for folio in self.browse(cr, uid, ids)] | ||
943 | 296 | res = self.pool.get('sale.order').action_ship_end(cr, uid, order_ids, context=context) | ||
944 | 297 | for order in self.browse(cr, uid, ids, context=context): | ||
945 | 298 | order.write ({'shipped':True}) | ||
946 | 284 | return res | 299 | return res |
955 | 285 | def action_ship_end(self, cr, uid, ids, context={}): | 300 | |
948 | 286 | res = self.pool.get('sale.order').action_ship_end(cr, uid, ids, context={}) | ||
949 | 287 | for order in self.browse(cr, uid, ids): | ||
950 | 288 | val = {'shipped':True} | ||
951 | 289 | self.write(cr, uid, [order.id], val) | ||
952 | 290 | return res | ||
953 | 291 | def _log_event(self, cr, uid, ids, factor=0.7, name='Open Order'): | ||
954 | 292 | return self.pool.get('sale.order')._log_event(cr, uid, ids, factor=0.7, name='Open Order') | ||
956 | 293 | def has_stockable_products(self, cr, uid, ids, *args): | 301 | def has_stockable_products(self, cr, uid, ids, *args): |
958 | 294 | return self.pool.get('sale.order').has_stockable_products(cr, uid, ids, *args) | 302 | order_ids = [folio.order_id.id for folio in self.browse(cr, uid, ids)] |
959 | 303 | return self.pool.get('sale.order').has_stockable_products(cr, uid, order_ids, *args) | ||
960 | 304 | |||
961 | 295 | def action_cancel_draft(self, cr, uid, ids, *args): | 305 | def action_cancel_draft(self, cr, uid, ids, *args): |
975 | 296 | d = self.pool.get('sale.order').action_cancel_draft(cr, uid, ids, *args) | 306 | if not len(ids): |
976 | 297 | self.write(cr, uid, ids, {'state':'draft', 'invoice_ids':[], 'shipped':0}) | 307 | return False |
977 | 298 | self.pool.get('sale.order.line').write(cr, uid, ids, {'invoiced':False, 'state':'draft', 'invoice_lines':[(6, 0, [])]}) | 308 | cr.execute('select id from sale_order_line where order_id IN %s and state=%s', (tuple(ids), 'cancel')) |
978 | 299 | return d | 309 | line_ids = map(lambda x: x[0], cr.fetchall()) |
979 | 300 | 310 | self.write(cr, uid, ids, {'state': 'draft', 'invoice_ids': [], 'shipped': 0}) | |
980 | 301 | hotel_folio() | 311 | self.pool.get('sale.order.line').write(cr, uid, line_ids, {'invoiced': False, 'state': 'draft', 'invoice_lines': [(6, 0, [])]}) |
981 | 302 | 312 | wf_service = netsvc.LocalService("workflow") | |
982 | 303 | class hotel_folio_line(osv.osv): | 313 | for inv_id in ids: |
983 | 304 | 314 | # Deleting the existing instance of workflow for SO | |
984 | 305 | def copy(self, cr, uid, id, default=None, context={}): | 315 | wf_service.trg_delete(uid, 'sale.order', inv_id, cr) |
985 | 306 | return self.pool.get('sale.order.line').copy(cr, uid, id, default=None, context={}) | 316 | wf_service.trg_create(uid, 'sale.order', inv_id, cr) |
986 | 307 | def _amount_line_net(self, cr, uid, ids, field_name, arg, context): | 317 | for (id, name) in self.name_get(cr, uid, ids): |
987 | 308 | return self.pool.get('sale.order.line')._amount_line_net(cr, uid, ids, field_name, arg, context) | 318 | message = _("The sales order '%s' has been set in draft state.") % (name,) |
988 | 319 | self.log(cr, uid, id, message) | ||
989 | 320 | return True | ||
990 | 321 | |||
991 | 322 | class hotel_folio_line(osv.Model): | ||
992 | 323 | |||
993 | 324 | def copy(self, cr, uid, id, default=None, context=None): | ||
994 | 325 | return self.pool.get('sale.order.line').copy(cr, uid, id, default=None, context=context) | ||
995 | 326 | |||
996 | 309 | def _amount_line(self, cr, uid, ids, field_name, arg, context): | 327 | def _amount_line(self, cr, uid, ids, field_name, arg, context): |
998 | 310 | return self.pool.get('sale.order.line')._amount_line(cr, uid, ids, field_name, arg, context) | 328 | return self.pool.get('sale.order.line')._amount_line(cr, uid, ids, field_name, arg, context) |
999 | 329 | |||
1000 | 311 | def _number_packages(self, cr, uid, ids, field_name, arg, context): | 330 | def _number_packages(self, cr, uid, ids, field_name, arg, context): |
1005 | 312 | return self.pool.get('sale.order.line')._number_packages(cr, uid, ids, field_name, arg, context) | 331 | return self.pool.get('sale.order.line')._number_packages(cr, uid, ids, field_name, arg, context) |
1006 | 313 | def _get_1st_packaging(self, cr, uid, context={}): | 332 | |
1007 | 314 | return self.pool.get('sale.order.line')._get_1st_packaging(cr, uid, context={}) | 333 | def _get_checkin_date(self, cr, uid, context=None): |
1004 | 315 | def _get_checkin_date(self, cr, uid, context={}): | ||
1008 | 316 | if 'checkin_date' in context: | 334 | if 'checkin_date' in context: |
1009 | 317 | return context['checkin_date'] | 335 | return context['checkin_date'] |
1010 | 318 | return time.strftime('%Y-%m-%d %H:%M:%S') | 336 | return time.strftime('%Y-%m-%d %H:%M:%S') |
1012 | 319 | def _get_checkout_date(self, cr, uid, context={}): | 337 | |
1013 | 338 | def _get_checkout_date(self, cr, uid, context=None): | ||
1014 | 320 | if 'checkin_date' in context: | 339 | if 'checkin_date' in context: |
1015 | 321 | return context['checkout_date'] | 340 | return context['checkout_date'] |
1016 | 322 | return time.strftime('%Y-%m-%d %H:%M:%S') | 341 | return time.strftime('%Y-%m-%d %H:%M:%S') |
1020 | 323 | 342 | ||
1021 | 324 | _name = 'hotel_folio.line' | 343 | _name = 'hotel.folio.line' |
1022 | 325 | _description = 'hotel folio1 room line' | 344 | _description = 'hotel folio room line' |
1023 | 326 | _inherits = {'sale.order.line':'order_line_id'} | 345 | _inherits = {'sale.order.line':'order_line_id'} |
1024 | 327 | _columns = { | 346 | _columns = { |
1029 | 328 | 'order_line_id':fields.many2one('sale.order.line', 'order_line_id', required=True, ondelete='cascade'), | 347 | 'order_line_id': fields.many2one('sale.order.line', 'Order Line', required=True, ondelete='cascade'), |
1030 | 329 | 'folio_id':fields.many2one('hotel.folio', 'folio_id', ondelete='cascade'), | 348 | 'folio_id': fields.many2one('hotel.folio', 'Folio', ondelete='cascade'), |
1031 | 330 | 'checkin_date': fields.datetime('Check In', required=True), | 349 | 'checkin_date': fields.datetime('Check In', required=True), |
1032 | 331 | 'checkout_date': fields.datetime('Check Out', required=True), | 350 | 'checkout_date': fields.datetime('Check Out', required=True), |
1033 | 332 | } | 351 | } |
1034 | 333 | _defaults = { | 352 | _defaults = { |
1038 | 334 | 'checkin_date':_get_checkin_date, | 353 | 'checkin_date':_get_checkin_date, |
1039 | 335 | 'checkout_date':_get_checkout_date, | 354 | 'checkout_date':_get_checkout_date, |
1037 | 336 | |||
1040 | 337 | } | 355 | } |
1042 | 338 | 356 | ||
1043 | 339 | def create(self, cr, uid, vals, context=None, check=True): | 357 | def create(self, cr, uid, vals, context=None, check=True): |
1048 | 340 | if not context: | 358 | if 'folio_id' in vals: |
1049 | 341 | context = {} | 359 | folio = self.pool.get("hotel.folio").browse(cr, uid, vals['folio_id'], context=context) |
1046 | 342 | if vals.has_key("folio_id"): | ||
1047 | 343 | folio = self.pool.get("hotel.folio").browse(cr, uid, [vals['folio_id']])[0] | ||
1050 | 344 | vals.update({'order_id':folio.order_id.id}) | 360 | vals.update({'order_id':folio.order_id.id}) |
1054 | 345 | roomline = super(osv.osv, self).create(cr, uid, vals, context) | 361 | return super(osv.Model, self).create(cr, uid, vals, context) |
1055 | 346 | return roomline | 362 | |
1056 | 347 | 363 | def unlink(self, cr, uid, ids, context=None): | |
1057 | 364 | sale_line_obj = self.pool.get('sale.order.line') | ||
1058 | 365 | for line in self.browse(cr, uid, ids, context=context): | ||
1059 | 366 | if line.order_line_id: | ||
1060 | 367 | sale_line_obj.unlink(cr, uid, [line.order_line_id.id], context=context) | ||
1061 | 368 | return super(hotel_folio_line, self).unlink(cr, uid, ids, context=None) | ||
1062 | 369 | |||
1063 | 348 | def uos_change(self, cr, uid, ids, product_uos, product_uos_qty=0, product_id=None): | 370 | def uos_change(self, cr, uid, ids, product_uos, product_uos_qty=0, product_id=None): |
1066 | 349 | return self.pool.get('sale.order.line').uos_change(cr, uid, ids, product_uos, product_uos_qty=0, product_id=None) | 371 | line_ids = [folio.order_line_id.id for folio in self.browse(cr, uid, ids)] |
1067 | 350 | 372 | return self.pool.get('sale.order.line').uos_change(cr, uid, line_ids, product_uos, product_uos_qty=0, product_id=None) | |
1068 | 373 | |||
1069 | 351 | def product_id_change(self, cr, uid, ids, pricelist, product, qty=0, | 374 | def product_id_change(self, cr, uid, ids, pricelist, product, qty=0, |
1070 | 352 | uom=False, qty_uos=0, uos=False, name='', partner_id=False, | 375 | uom=False, qty_uos=0, uos=False, name='', partner_id=False, |
1071 | 353 | lang=False, update_tax=True, date_order=False): | 376 | lang=False, update_tax=True, date_order=False): |
1073 | 354 | return self.pool.get('sale.order.line').product_id_change(cr, uid, ids, pricelist, product, qty=0, | 377 | line_ids = [folio.order_line_id.id for folio in self.browse(cr, uid, ids)] |
1074 | 378 | return self.pool.get('sale.order.line').product_id_change(cr, uid, line_ids, pricelist, product, qty=0, | ||
1075 | 355 | uom=False, qty_uos=0, uos=False, name='', partner_id=partner_id, | 379 | uom=False, qty_uos=0, uos=False, name='', partner_id=partner_id, |
1076 | 356 | lang=False, update_tax=True, date_order=False) | 380 | lang=False, update_tax=True, date_order=False) |
1078 | 357 | 381 | ||
1079 | 358 | def product_uom_change(self, cursor, user, ids, pricelist, product, qty=0, | 382 | def product_uom_change(self, cursor, user, ids, pricelist, product, qty=0, |
1080 | 359 | uom=False, qty_uos=0, uos=False, name='', partner_id=False, | 383 | uom=False, qty_uos=0, uos=False, name='', partner_id=False, |
1081 | 360 | lang=False, update_tax=True, date_order=False): | 384 | lang=False, update_tax=True, date_order=False): |
1083 | 361 | return self.pool.get('sale.order.line').product_uom_change(cursor, user, ids, pricelist, product, qty=0, | 385 | return self.product_id_change(cursor, user, ids, pricelist, product, qty=0, |
1084 | 362 | uom=False, qty_uos=0, uos=False, name='', partner_id=partner_id, | 386 | uom=False, qty_uos=0, uos=False, name='', partner_id=partner_id, |
1085 | 363 | lang=False, update_tax=True, date_order=False) | 387 | lang=False, update_tax=True, date_order=False) |
1088 | 364 | 388 | ||
1089 | 365 | def on_change_checkout(self, cr, uid, ids, checkin_date=time.strftime('%Y-%m-%d %H:%M:%S'), checkout_date=time.strftime('%Y-%m-%d %H:%M:%S'), context=None): | 389 | def on_change_checkout(self, cr, uid, ids, checkin_date=None, checkout_date=None, context=None): |
1090 | 390 | if not checkin_date: | ||
1091 | 391 | checkin_date = time.strftime('%Y-%m-%d %H:%M:%S') | ||
1092 | 392 | if not checkout_date: | ||
1093 | 393 | checkout_date = time.strftime('%Y-%m-%d %H:%M:%S') | ||
1094 | 366 | qty = 1 | 394 | qty = 1 |
1095 | 367 | if checkout_date < checkin_date: | 395 | if checkout_date < checkin_date: |
1097 | 368 | raise osv.except_osv ('Error !', 'Checkout must be greater or equal checkin date') | 396 | raise osv.except_osv(_('Error !'), _('Checkout must be greater or equal checkin date')) |
1098 | 369 | if checkin_date: | 397 | if checkin_date: |
1099 | 370 | diffDate = datetime.datetime(*time.strptime(checkout_date, '%Y-%m-%d %H:%M:%S')[:5]) - datetime.datetime(*time.strptime(checkin_date, '%Y-%m-%d %H:%M:%S')[:5]) | 398 | diffDate = datetime.datetime(*time.strptime(checkout_date, '%Y-%m-%d %H:%M:%S')[:5]) - datetime.datetime(*time.strptime(checkin_date, '%Y-%m-%d %H:%M:%S')[:5]) |
1100 | 371 | qty = diffDate.days | 399 | qty = diffDate.days |
1101 | 372 | if qty == 0: | 400 | if qty == 0: |
1102 | 373 | qty = 1 | 401 | qty = 1 |
1103 | 374 | return {'value':{'product_uom_qty':qty}} | 402 | return {'value':{'product_uom_qty':qty}} |
1110 | 375 | 403 | ||
1111 | 376 | def button_confirm(self, cr, uid, ids, context={}): | 404 | def button_confirm(self, cr, uid, ids, context=None): |
1112 | 377 | 405 | line_ids = [folio.order_line_id.id for folio in self.browse(cr, uid, ids)] | |
1113 | 378 | return self.pool.get('sale.order.line').button_confirm(cr, uid, ids, context={}) | 406 | return self.pool.get('sale.order.line').button_confirm(cr, uid, line_ids, context=context) |
1114 | 379 | def button_done(self, cr, uid, ids, context={}): | 407 | |
1115 | 380 | res = self.pool.get('sale.order.line').button_done(cr, uid, ids, context={}) | 408 | def button_done(self, cr, uid, ids, context=None): |
1116 | 409 | line_ids = [folio.order_line_id.id for folio in self.browse(cr, uid, ids)] | ||
1117 | 410 | res = self.pool.get('sale.order.line').button_done(cr, uid, line_ids, context=context) | ||
1118 | 381 | wf_service = netsvc.LocalService("workflow") | 411 | wf_service = netsvc.LocalService("workflow") |
1119 | 382 | res = self.write(cr, uid, ids, {'state':'done'}) | 412 | res = self.write(cr, uid, ids, {'state':'done'}) |
1120 | 383 | for line in self.browse(cr, uid, ids, context): | 413 | for line in self.browse(cr, uid, ids, context): |
1122 | 384 | wf_service.trg_write(uid, 'sale.order', line.order_id.id, cr) | 414 | wf_service.trg_write(uid, 'sale.order', line.order_line_id.order_id.id, cr) |
1123 | 385 | return res | 415 | return res |
1124 | 386 | 416 | ||
1141 | 387 | 417 | def copy_data(self, cr, uid, id, default=None, context=None): | |
1142 | 388 | def uos_change(self, cr, uid, ids, product_uos, product_uos_qty=0, product_id=None): | 418 | line_id = self.browse(cr, uid, id).order_line_id.id |
1143 | 389 | return self.pool.get('sale.order.line').uos_change(cr, uid, ids, product_uos, product_uos_qty=0, product_id=None) | 419 | return self.pool.get('sale.order.line').copy_data(cr, uid, line_id, default=None, context=context) |
1144 | 390 | def copy(self, cr, uid, id, default=None, context={}): | 420 | |
1145 | 391 | return self.pool.get('sale.order.line').copy(cr, uid, id, default=None, context={}) | 421 | class hotel_service_line(osv.Model): |
1146 | 392 | 422 | ||
1147 | 393 | 423 | def copy(self, cr, uid, id, default=None, context=None): | |
1148 | 394 | 424 | line_id = self.browse(cr, uid, id).service_line_id.id | |
1149 | 395 | hotel_folio_line() | 425 | return self.pool.get('sale.order.line').copy(cr, uid, line_id, default=None, context=context) |
1150 | 396 | 426 | ||
1135 | 397 | class hotel_service_line(osv.osv): | ||
1136 | 398 | |||
1137 | 399 | def copy(self, cr, uid, id, default=None, context={}): | ||
1138 | 400 | return self.pool.get('sale.order.line').copy(cr, uid, id, default=None, context={}) | ||
1139 | 401 | def _amount_line_net(self, cr, uid, ids, field_name, arg, context): | ||
1140 | 402 | return self.pool.get('sale.order.line')._amount_line_net(cr, uid, ids, field_name, arg, context) | ||
1151 | 403 | def _amount_line(self, cr, uid, ids, field_name, arg, context): | 427 | def _amount_line(self, cr, uid, ids, field_name, arg, context): |
1153 | 404 | return self.pool.get('sale.order.line')._amount_line(cr, uid, ids, field_name, arg, context) | 428 | line_ids = [folio.service_line_id.id for folio in self.browse(cr, uid, ids)] |
1154 | 429 | return self.pool.get('sale.order.line')._amount_line(cr, uid, line_ids, field_name, arg, context) | ||
1155 | 430 | |||
1156 | 405 | def _number_packages(self, cr, uid, ids, field_name, arg, context): | 431 | def _number_packages(self, cr, uid, ids, field_name, arg, context): |
1163 | 406 | return self.pool.get('sale.order.line')._number_packages(cr, uid, ids, field_name, arg, context) | 432 | line_ids = [folio.service_line_id.id for folio in self.browse(cr, uid, ids)] |
1164 | 407 | def _get_1st_packaging(self, cr, uid, context={}): | 433 | return self.pool.get('sale.order.line')._number_packages(cr, uid, line_ids, field_name, arg, context) |
1165 | 408 | return self.pool.get('sale.order.line')._get_1st_packaging(cr, uid, context={}) | 434 | |
1166 | 409 | 435 | _name = 'hotel.service.line' | |
1161 | 410 | |||
1162 | 411 | _name = 'hotel_service.line' | ||
1167 | 412 | _description = 'hotel Service line' | 436 | _description = 'hotel Service line' |
1168 | 413 | _inherits = {'sale.order.line':'service_line_id'} | 437 | _inherits = {'sale.order.line':'service_line_id'} |
1169 | 414 | _columns = { | 438 | _columns = { |
1173 | 415 | 'service_line_id':fields.many2one('sale.order.line', 'service_line_id', required=True, ondelete='cascade'), | 439 | 'service_line_id': fields.many2one('sale.order.line', 'Service Line', required=True, ondelete='cascade'), |
1174 | 416 | 'folio_id':fields.many2one('hotel.folio', 'folio_id', ondelete='cascade'), | 440 | 'folio_id': fields.many2one('hotel.folio', 'Folio', ondelete='cascade'), |
1172 | 417 | |||
1175 | 418 | } | 441 | } |
1176 | 419 | 442 | ||
1177 | 420 | def create(self, cr, uid, vals, context=None, check=True): | 443 | def create(self, cr, uid, vals, context=None, check=True): |
1182 | 421 | if not context: | 444 | if 'folio_id' in vals: |
1183 | 422 | context = {} | 445 | folio = self.pool.get("hotel.folio").browse(cr, uid, vals['folio_id'], context=context) |
1180 | 423 | if vals.has_key("folio_id"): | ||
1181 | 424 | folio = self.pool.get("hotel.folio").browse(cr, uid, [vals['folio_id']])[0] | ||
1184 | 425 | vals.update({'order_id':folio.order_id.id}) | 446 | vals.update({'order_id':folio.order_id.id}) |
1191 | 426 | roomline = super(osv.osv, self).create(cr, uid, vals, context) | 447 | return super(osv.Model, self).create(cr, uid, vals, context=context) |
1192 | 427 | return roomline | 448 | |
1193 | 428 | 449 | def unlink(self, cr, uid, ids, context=None): | |
1194 | 429 | def uos_change(self, cr, uid, ids, product_uos, product_uos_qty=0, product_id=None): | 450 | sale_line_obj = self.pool.get('sale.order.line') |
1195 | 430 | return self.pool.get('sale.order.line').uos_change(cr, uid, ids, product_uos, product_uos_qty=0, product_id=None) | 451 | for line in self.browse(cr, uid, ids, context=context): |
1196 | 431 | 452 | if line.service_line_id: | |
1197 | 453 | sale_line_obj.unlink(cr, uid, [line.service_line_id.id], context=context) | ||
1198 | 454 | return super(hotel_service_line, self).unlink(cr, uid, ids, context=None) | ||
1199 | 455 | |||
1200 | 432 | def product_id_change(self, cr, uid, ids, pricelist, product, qty=0, | 456 | def product_id_change(self, cr, uid, ids, pricelist, product, qty=0, |
1201 | 433 | uom=False, qty_uos=0, uos=False, name='', partner_id=False, | 457 | uom=False, qty_uos=0, uos=False, name='', partner_id=False, |
1202 | 434 | lang=False, update_tax=True, date_order=False): | 458 | lang=False, update_tax=True, date_order=False): |
1204 | 435 | return self.pool.get('sale.order.line').product_id_change(cr, uid, ids, pricelist, product, qty=0, | 459 | line_ids = [folio.service_line_id.id for folio in self.browse(cr, uid, ids)] |
1205 | 460 | return self.pool.get('sale.order.line').product_id_change(cr, uid, line_ids, pricelist, product, qty=0, | ||
1206 | 436 | uom=False, qty_uos=0, uos=False, name='', partner_id=partner_id, | 461 | uom=False, qty_uos=0, uos=False, name='', partner_id=partner_id, |
1207 | 437 | lang=False, update_tax=True, date_order=False) | 462 | lang=False, update_tax=True, date_order=False) |
1208 | 463 | |||
1209 | 438 | def product_uom_change(self, cursor, user, ids, pricelist, product, qty=0, | 464 | def product_uom_change(self, cursor, user, ids, pricelist, product, qty=0, |
1210 | 439 | uom=False, qty_uos=0, uos=False, name='', partner_id=False, | 465 | uom=False, qty_uos=0, uos=False, name='', partner_id=False, |
1211 | 440 | lang=False, update_tax=True, date_order=False): | 466 | lang=False, update_tax=True, date_order=False): |
1213 | 441 | return self.pool.get('sale.order.line').product_uom_change(cursor, user, ids, pricelist, product, qty=0, | 467 | return self.product_id_change(cursor, user, ids, pricelist, product, qty=0, |
1214 | 442 | uom=False, qty_uos=0, uos=False, name='', partner_id=partner_id, | 468 | uom=False, qty_uos=0, uos=False, name='', partner_id=partner_id, |
1215 | 443 | lang=False, update_tax=True, date_order=False) | 469 | lang=False, update_tax=True, date_order=False) |
1217 | 444 | def on_change_checkout(self, cr, uid, ids, checkin_date=time.strftime('%Y-%m-%d %H:%M:%S'), checkout_date=time.strftime('%Y-%m-%d %H:%M:%S'), context=None): | 470 | |
1218 | 471 | def on_change_checkout(self, cr, uid, ids, checkin_date=None, checkout_date=None, context=None): | ||
1219 | 472 | if not checkin_date: | ||
1220 | 473 | checkin_date = time.strftime('%Y-%m-%d %H:%M:%S') | ||
1221 | 474 | if not checkout_date: | ||
1222 | 475 | checkout_date = time.strftime('%Y-%m-%d %H:%M:%S') | ||
1223 | 445 | qty = 1 | 476 | qty = 1 |
1224 | 446 | if checkout_date < checkin_date: | 477 | if checkout_date < checkin_date: |
1226 | 447 | raise osv.except_osv ('Error !', 'Checkout must be greater or equal checkin date') | 478 | raise osv.except_osv(_('Error !'), _('Checkout must be greater or equal checkin date')) |
1227 | 448 | if checkin_date: | 479 | if checkin_date: |
1228 | 449 | diffDate = datetime.datetime(*time.strptime(checkout_date, '%Y-%m-%d %H:%M:%S')[:5]) - datetime.datetime(*time.strptime(checkin_date, '%Y-%m-%d %H:%M:%S')[:5]) | 480 | diffDate = datetime.datetime(*time.strptime(checkout_date, '%Y-%m-%d %H:%M:%S')[:5]) - datetime.datetime(*time.strptime(checkin_date, '%Y-%m-%d %H:%M:%S')[:5]) |
1229 | 450 | qty = diffDate.days | 481 | qty = diffDate.days |
1230 | 451 | return {'value':{'product_uom_qty':qty}} | 482 | return {'value':{'product_uom_qty':qty}} |
1237 | 452 | 483 | ||
1238 | 453 | def button_confirm(self, cr, uid, ids, context={}): | 484 | def button_confirm(self, cr, uid, ids, context=None): |
1239 | 454 | 485 | line_ids = [folio.service_line_id.id for folio in self.browse(cr, uid, ids)] | |
1240 | 455 | return self.pool.get('sale.order.line').button_confirm(cr, uid, ids, context={}) | 486 | return self.pool.get('sale.order.line').button_confirm(cr, uid, line_ids, context=context) |
1241 | 456 | def button_done(self, cr, uid, ids, context={}): | 487 | |
1242 | 457 | return self.pool.get('sale.order.line').button_done(cr, uid, ids, context={}) | 488 | def button_done(self, cr, uid, ids, context=None): |
1243 | 489 | line_ids = [folio.service_line_id.id for folio in self.browse(cr, uid, ids)] | ||
1244 | 490 | return self.pool.get('sale.order.line').button_done(cr, uid, line_ids, context=context) | ||
1245 | 491 | |||
1246 | 458 | def uos_change(self, cr, uid, ids, product_uos, product_uos_qty=0, product_id=None): | 492 | def uos_change(self, cr, uid, ids, product_uos, product_uos_qty=0, product_id=None): |
1257 | 459 | return self.pool.get('sale.order.line').uos_change(cr, uid, ids, product_uos, product_uos_qty=0, product_id=None) | 493 | line_ids = [folio.service_line_id.id for folio in self.browse(cr, uid, ids)] |
1258 | 460 | def copy(self, cr, uid, id, default=None, context={}): | 494 | return self.pool.get('sale.order.line').uos_change(cr, uid, line_ids, product_uos, product_uos_qty=0, product_id=None) |
1259 | 461 | return self.pool.get('sale.order.line').copy(cr, uid, id, default=None, context={}) | 495 | |
1260 | 462 | 496 | def copy_data(self, cr, uid, id, default=None, context=None): | |
1261 | 463 | 497 | line_id = self.browse(cr, uid, id).service_line_id.id | |
1262 | 464 | 498 | return self.pool.get('sale.order.line').copy_data(cr, uid, line_id, default=default, context=context) | |
1263 | 465 | hotel_service_line() | 499 | |
1264 | 466 | 500 | class hotel_service_type(osv.Model): | |
1265 | 467 | class hotel_service_type(osv.osv): | 501 | _name = "hotel.service.type" |
1256 | 468 | _name = "hotel.service_type" | ||
1266 | 469 | _inherits = {'product.category':'ser_id'} | 502 | _inherits = {'product.category':'ser_id'} |
1267 | 470 | _description = "Service Type" | 503 | _description = "Service Type" |
1268 | 471 | _columns = { | 504 | _columns = { |
1271 | 472 | 'ser_id':fields.many2one('product.category', 'category', required=True, select=True, ondelete='cascade'), | 505 | 'ser_id': fields.many2one('product.category', 'Category', required=True, select=True, ondelete='cascade'), |
1270 | 473 | |||
1272 | 474 | } | 506 | } |
1273 | 475 | _defaults = { | 507 | _defaults = { |
1277 | 476 | 'isservicetype': lambda * a: 1, | 508 | 'isservicetype': 1, |
1278 | 477 | } | 509 | } |
1276 | 478 | hotel_service_type() | ||
1279 | 479 | 510 | ||
1282 | 480 | class hotel_services(osv.osv): | 511 | class hotel_services(osv.Model): |
1281 | 481 | |||
1283 | 482 | _name = 'hotel.services' | 512 | _name = 'hotel.services' |
1284 | 483 | _description = 'Hotel Services and its charges' | 513 | _description = 'Hotel Services and its charges' |
1285 | 484 | _inherits = {'product.product':'service_id'} | 514 | _inherits = {'product.product':'service_id'} |
1286 | 485 | _columns = { | 515 | _columns = { |
1290 | 486 | 'service_id': fields.many2one('product.product', 'Service_id', required=True, ondelete='cascade'), | 516 | 'service_id': fields.many2one('product.product', 'Service id', required=True, ondelete='cascade'), |
1291 | 487 | 517 | } | |
1289 | 488 | } | ||
1292 | 489 | _defaults = { | 518 | _defaults = { |
1296 | 490 | 'isservice': lambda * a: 1, | 519 | 'isservice': 1, |
1297 | 491 | } | 520 | } |
1295 | 492 | hotel_services() | ||
1298 | 493 | 521 | ||
1299 | 522 | class res_company(osv.Model): | ||
1300 | 523 | _inherit = 'res.company' | ||
1301 | 524 | _columns = { | ||
1302 | 525 | 'additional_hours': fields.integer('Additional Hours', help="Provide the min hours value for check in, checkout days, whatever the hours will be provided here based on that extra days will be calculated."), | ||
1303 | 526 | } | ||
1304 | 494 | 527 | ||
1305 | 495 | # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: | 528 | # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: |
1306 | 496 | 529 | ||
1307 | === modified file 'hotel/hotel_data.xml' | |||
1308 | --- hotel/hotel_data.xml 2012-05-22 14:06:57 +0000 | |||
1309 | +++ hotel/hotel_data.xml 2014-09-28 13:18:16 +0000 | |||
1310 | @@ -1,9 +1,8 @@ | |||
1312 | 1 | <?xml version="1.0" ?> | 1 | <?xml version="1.0" encoding="utf-8"?> |
1313 | 2 | <openerp> | 2 | <openerp> |
1314 | 3 | <data noupdate="1"> | 3 | <data noupdate="1"> |
1315 | 4 | 4 | ||
1316 | 5 | <!-- Floor --> | 5 | <!-- Floor --> |
1317 | 6 | |||
1318 | 7 | <record id="hotel_floor_ground0" model="hotel.floor"> | 6 | <record id="hotel_floor_ground0" model="hotel.floor"> |
1319 | 8 | <field eval=""Ground"" name="name"/> | 7 | <field eval=""Ground"" name="name"/> |
1320 | 9 | </record> | 8 | </record> |
1321 | @@ -21,74 +20,60 @@ | |||
1322 | 21 | </record> | 20 | </record> |
1323 | 22 | 21 | ||
1324 | 23 | <!-- hotel_room_amenities_type --> | 22 | <!-- hotel_room_amenities_type --> |
1328 | 24 | 23 | <record id="hotel_room_amenities_type_0" model="hotel.room.amenities.type"> | |
1326 | 25 | |||
1327 | 26 | <record id="hotel_room_amenities_type_0" model="hotel.room_amenities_type"> | ||
1329 | 27 | <field name="parent_id" ref="null" /> | 24 | <field name="parent_id" ref="null" /> |
1330 | 28 | <field name="name">All Aminities</field> | 25 | <field name="name">All Aminities</field> |
1331 | 29 | |||
1332 | 30 | </record> | 26 | </record> |
1334 | 31 | <record id="hotel_room_amenities_type_1" model="hotel.room_amenities_type"> | 27 | <record id="hotel_room_amenities_type_1" model="hotel.room.amenities.type"> |
1335 | 32 | <field name="parent_id" model="product.category" search="[('isamenitype','=',True)]" ref="hotel_room_amenities_type_0"/> | 28 | <field name="parent_id" model="product.category" search="[('isamenitype','=',True)]" ref="hotel_room_amenities_type_0"/> |
1336 | 33 | <field name="name">Beds</field> | 29 | <field name="name">Beds</field> |
1337 | 34 | </record> | 30 | </record> |
1339 | 35 | <record id="hotel_room_amenities_type_2" model="hotel.room_amenities_type"> | 31 | <record id="hotel_room_amenities_type_2" model="hotel.room.amenities.type"> |
1340 | 36 | <field name="parent_id" model="product.category" search="[('isamenitype','=',True)]" ref="hotel_room_amenities_type_0"/> | 32 | <field name="parent_id" model="product.category" search="[('isamenitype','=',True)]" ref="hotel_room_amenities_type_0"/> |
1341 | 37 | <field name="name">Tables</field> | 33 | <field name="name">Tables</field> |
1342 | 38 | </record> | 34 | </record> |
1344 | 39 | <record id="hotel_room_amenities_type_3" model="hotel.room_amenities_type"> | 35 | <record id="hotel_room_amenities_type_3" model="hotel.room.amenities.type"> |
1345 | 40 | <field name="parent_id" model="product.category" search="[('isamenitype','=',True)]" ref="hotel_room_amenities_type_1"/> | 36 | <field name="parent_id" model="product.category" search="[('isamenitype','=',True)]" ref="hotel_room_amenities_type_1"/> |
1346 | 41 | <field name="name">Single Bed</field> | 37 | <field name="name">Single Bed</field> |
1347 | 42 | </record> | 38 | </record> |
1349 | 43 | <record id="hotel_room_amenities_type_4" model="hotel.room_amenities_type"> | 39 | <record id="hotel_room_amenities_type_4" model="hotel.room.amenities.type"> |
1350 | 44 | <field name="parent_id" model="product.category" search="[('isamenitype','=',True)]" ref="hotel_room_amenities_type_1"/> | 40 | <field name="parent_id" model="product.category" search="[('isamenitype','=',True)]" ref="hotel_room_amenities_type_1"/> |
1351 | 45 | <field name="name">Double Bed</field> | 41 | <field name="name">Double Bed</field> |
1352 | 46 | </record> | 42 | </record> |
1353 | 47 | 43 | ||
1354 | 48 | <!-- hotel_room_type --> | 44 | <!-- hotel_room_type --> |
1358 | 49 | 45 | <record id="hotel_room_type_0" model="hotel.room.type"> | |
1359 | 50 | <record id="hotel_room_type_0" model="hotel.room_type"> | 46 | <field name="parent_id" ref="null" /> |
1357 | 51 | <field name="parent_id" ref="null" /> | ||
1360 | 52 | <field name="name">All Rooms</field> | 47 | <field name="name">All Rooms</field> |
1361 | 53 | </record> | 48 | </record> |
1363 | 54 | <record id="hotel_room_type_1" model="hotel.room_type"> | 49 | <record id="hotel_room_type_1" model="hotel.room.type"> |
1364 | 55 | <field name="parent_id" model="product.category" search="[('isroomtype','=',True)]" ref="hotel_room_type_0"/> | 50 | <field name="parent_id" model="product.category" search="[('isroomtype','=',True)]" ref="hotel_room_type_0"/> |
1365 | 56 | <field name="name">Single</field> | 51 | <field name="name">Single</field> |
1366 | 57 | </record> | 52 | </record> |
1368 | 58 | <record id="hotel_room_type_2" model="hotel.room_type"> | 53 | <record id="hotel_room_type_2" model="hotel.room.type"> |
1369 | 59 | <field name="parent_id" model="product.category" search="[('isroomtype','=',True)]" ref="hotel_room_type_0"/> | 54 | <field name="parent_id" model="product.category" search="[('isroomtype','=',True)]" ref="hotel_room_type_0"/> |
1370 | 60 | <field name="name">Double</field> | 55 | <field name="name">Double</field> |
1371 | 61 | </record> | 56 | </record> |
1375 | 62 | 57 | <record id="hotel_room_type_3" model="hotel.room.type"> | |
1373 | 63 | |||
1374 | 64 | <record id="hotel_room_type_3" model="hotel.room_type"> | ||
1376 | 65 | <field name="parent_id" model="product.category" search="[('isroomtype','=',True)]" ref="hotel_room_type_0"/> | 58 | <field name="parent_id" model="product.category" search="[('isroomtype','=',True)]" ref="hotel_room_type_0"/> |
1377 | 66 | <field name="name">No Room</field> | 59 | <field name="name">No Room</field> |
1378 | 67 | </record> | 60 | </record> |
1387 | 68 | 61 | ||
1388 | 69 | <record id="hotel_room_type_3" model="hotel.room_type"> | 62 | <!-- hotel_service_type --> |
1389 | 70 | <field name="parent_id" model="product.category" search="[('isroomtype','=',True)]" ref="hotel_room_type_0"/> | 63 | <record id="hotel_service_type_0" model="hotel.service.type"> |
1382 | 71 | <field name="name">No Room</field> | ||
1383 | 72 | </record> | ||
1384 | 73 | <!-- hotel_service_type --> | ||
1385 | 74 | |||
1386 | 75 | <record id="hotel_service_type_0" model="hotel.service_type"> | ||
1390 | 76 | <field name="parent_id" ref="null" /> | 64 | <field name="parent_id" ref="null" /> |
1391 | 77 | <field name="name">All Services</field> | 65 | <field name="name">All Services</field> |
1392 | 78 | </record> | 66 | </record> |
1394 | 79 | <record id="hotel_service_type_1" model="hotel.service_type"> | 67 | <record id="hotel_service_type_1" model="hotel.service.type"> |
1395 | 80 | <field name="parent_id" model="product.category" search="[('isservicetype','=',True)]" ref="hotel_service_type_0"/> | 68 | <field name="parent_id" model="product.category" search="[('isservicetype','=',True)]" ref="hotel_service_type_0"/> |
1396 | 81 | <field name="name">Fixed</field> | 69 | <field name="name">Fixed</field> |
1397 | 82 | </record> | 70 | </record> |
1399 | 83 | <record id="hotel_service_type_2" model="hotel.service_type"> | 71 | <record id="hotel_service_type_2" model="hotel.service.type"> |
1400 | 84 | <field name="parent_id" model="product.category" search="[('isservicetype','=',True)]" ref="hotel_service_type_0"/> | 72 | <field name="parent_id" model="product.category" search="[('isservicetype','=',True)]" ref="hotel_service_type_0"/> |
1401 | 85 | <field name="name">Variable</field> | 73 | <field name="name">Variable</field> |
1402 | 86 | </record> | 74 | </record> |
1403 | 87 | |||
1404 | 88 | |||
1405 | 89 | 75 | ||
1406 | 90 | <!-- hotel_room --> | 76 | <!-- hotel_room --> |
1407 | 91 | |||
1408 | 92 | <record id="hotel_room_6" model="hotel.room"> | 77 | <record id="hotel_room_6" model="hotel.room"> |
1409 | 93 | <field name="name">No Room Available</field> | 78 | <field name="name">No Room Available</field> |
1410 | 94 | <field name="categ_id" model="product.category" search="[('isroomtype','=',True),('name','=','No Room')]" ref="hotel_room_type_3"/> | 79 | <field name="categ_id" model="product.category" search="[('isroomtype','=',True),('name','=','No Room')]" ref="hotel_room_type_3"/> |
1411 | @@ -99,7 +84,6 @@ | |||
1412 | 99 | <field name="categ_id" model="product.category" search="[('isroomtype','=',True),('name','=','Single')]" ref="hotel_room_type_1"/> | 84 | <field name="categ_id" model="product.category" search="[('isroomtype','=',True),('name','=','Single')]" ref="hotel_room_type_1"/> |
1413 | 100 | <field name="list_price">100.00</field> | 85 | <field name="list_price">100.00</field> |
1414 | 101 | </record> | 86 | </record> |
1415 | 102 | |||
1416 | 103 | <record id="hotel_room_1" model="hotel.room"> | 87 | <record id="hotel_room_1" model="hotel.room"> |
1417 | 104 | <field name="name">Single-102</field> | 88 | <field name="name">Single-102</field> |
1418 | 105 | <field name="categ_id" model="product.category" search="[('isroomtype','=',True),('name','=','Single')]" ref="hotel_room_type_1"/> | 89 | <field name="categ_id" model="product.category" search="[('isroomtype','=',True),('name','=','Single')]" ref="hotel_room_type_1"/> |
1419 | @@ -132,8 +116,6 @@ | |||
1420 | 132 | </record> | 116 | </record> |
1421 | 133 | 117 | ||
1422 | 134 | <!-- hotel_services --> | 118 | <!-- hotel_services --> |
1423 | 135 | |||
1424 | 136 | |||
1425 | 137 | <record id="hotel_service_6" model="hotel.services"> | 119 | <record id="hotel_service_6" model="hotel.services"> |
1426 | 138 | <field name="name">Internet</field> | 120 | <field name="name">Internet</field> |
1427 | 139 | <field name="categ_id" model="product.category" search="[('isservicetype','=',True),('name','=','Fixed')]" ref="hotel_service_type_1"/> | 121 | <field name="categ_id" model="product.category" search="[('isservicetype','=',True),('name','=','Fixed')]" ref="hotel_service_type_1"/> |
1428 | @@ -150,6 +132,5 @@ | |||
1429 | 150 | <field name="list_price">150.00</field> | 132 | <field name="list_price">150.00</field> |
1430 | 151 | </record> | 133 | </record> |
1431 | 152 | 134 | ||
1432 | 153 | |||
1433 | 154 | </data> | 135 | </data> |
1434 | 155 | </openerp> | 136 | </openerp> |
1435 | 156 | \ No newline at end of file | 137 | \ No newline at end of file |
1436 | 157 | 138 | ||
1437 | === modified file 'hotel/hotel_folio_workflow.xml' | |||
1438 | --- hotel/hotel_folio_workflow.xml 2012-05-22 14:06:57 +0000 | |||
1439 | +++ hotel/hotel_folio_workflow.xml 2014-09-28 13:18:16 +0000 | |||
1440 | @@ -1,22 +1,20 @@ | |||
1442 | 1 | <?xml version="1.0"?> | 1 | <?xml version="1.0" encoding="utf-8"?> |
1443 | 2 | <openerp> | 2 | <openerp> |
1444 | 3 | <data> | 3 | <data> |
1445 | 4 | <record model="workflow" id="wkf_hotel"> | 4 | <record model="workflow" id="wkf_hotel"> |
1449 | 5 | <field name="name">hotel.folio.basic</field> | 5 | <field name="name">hotel.folio.basic</field> |
1450 | 6 | <field name="osv">hotel.folio</field> | 6 | <field name="osv">hotel.folio</field> |
1451 | 7 | <field name="on_create">True</field> | 7 | <field name="on_create">True</field> |
1452 | 8 | </record> | 8 | </record> |
1453 | 9 | 9 | ||
1454 | 10 | #---------------------------------------------- | 10 | #---------------------------------------------- |
1455 | 11 | # Activity | 11 | # Activity |
1456 | 12 | #---------------------------------------------- | 12 | #---------------------------------------------- |
1457 | 13 | |||
1458 | 14 | <record model="workflow.activity" id="act_draft"> | 13 | <record model="workflow.activity" id="act_draft"> |
1459 | 15 | <field name="wkf_id" ref="wkf_hotel"/> | 14 | <field name="wkf_id" ref="wkf_hotel"/> |
1460 | 16 | <field name="flow_start">True</field> | 15 | <field name="flow_start">True</field> |
1461 | 17 | <field name="name">draft</field> | 16 | <field name="name">draft</field> |
1462 | 18 | </record> | 17 | </record> |
1463 | 19 | |||
1464 | 20 | <record model="workflow.activity" id="act_router"> | 18 | <record model="workflow.activity" id="act_router"> |
1465 | 21 | <field name="wkf_id" ref="wkf_hotel"/> | 19 | <field name="wkf_id" ref="wkf_hotel"/> |
1466 | 22 | <field name="name">router</field> | 20 | <field name="name">router</field> |
1467 | @@ -32,7 +30,6 @@ | |||
1468 | 32 | <field name="wkf_id" ref="wkf_hotel"/> | 30 | <field name="wkf_id" ref="wkf_hotel"/> |
1469 | 33 | <field name="name">wait_ship</field> | 31 | <field name="name">wait_ship</field> |
1470 | 34 | </record> | 32 | </record> |
1471 | 35 | |||
1472 | 36 | <record model="workflow.activity" id="act_done"> | 33 | <record model="workflow.activity" id="act_done"> |
1473 | 37 | <field name="wkf_id" ref="wkf_hotel"/> | 34 | <field name="wkf_id" ref="wkf_hotel"/> |
1474 | 38 | <field name="name">done</field> | 35 | <field name="name">done</field> |
1475 | @@ -62,7 +59,6 @@ | |||
1476 | 62 | <field name="kind">stopall</field> | 59 | <field name="kind">stopall</field> |
1477 | 63 | <field name="action">action_cancel()</field> | 60 | <field name="action">action_cancel()</field> |
1478 | 64 | </record> | 61 | </record> |
1479 | 65 | |||
1480 | 66 | <record model="workflow.activity" id="act_invoice"> | 62 | <record model="workflow.activity" id="act_invoice"> |
1481 | 67 | <field name="wkf_id" ref="wkf_hotel"/> | 63 | <field name="wkf_id" ref="wkf_hotel"/> |
1482 | 68 | <field name="name">invoice</field> | 64 | <field name="name">invoice</field> |
1483 | @@ -88,7 +84,6 @@ | |||
1484 | 88 | <field name="kind">stopall</field> | 84 | <field name="kind">stopall</field> |
1485 | 89 | <field name="action">action_cancel()</field> | 85 | <field name="action">action_cancel()</field> |
1486 | 90 | </record> | 86 | </record> |
1487 | 91 | |||
1488 | 92 | <record model="workflow.activity" id="act_ship"> | 87 | <record model="workflow.activity" id="act_ship"> |
1489 | 93 | <field name="wkf_id" ref="wkf_hotel"/> | 88 | <field name="wkf_id" ref="wkf_hotel"/> |
1490 | 94 | <field name="name">ship</field> | 89 | <field name="name">ship</field> |
1491 | @@ -138,48 +133,39 @@ | |||
1492 | 138 | <field name="act_to" ref="act_invoice_end"/> | 133 | <field name="act_to" ref="act_invoice_end"/> |
1493 | 139 | <field name="condition">(order_policy=='picking')</field> | 134 | <field name="condition">(order_policy=='picking')</field> |
1494 | 140 | </record> | 135 | </record> |
1495 | 141 | |||
1496 | 142 | |||
1497 | 143 | <record model="workflow.transition" id="trans_router_wait_invoice"> | 136 | <record model="workflow.transition" id="trans_router_wait_invoice"> |
1498 | 144 | <field name="act_from" ref="act_router"/> | 137 | <field name="act_from" ref="act_router"/> |
1499 | 145 | <field name="act_to" ref="act_wait_invoice"/> | 138 | <field name="act_to" ref="act_wait_invoice"/> |
1500 | 146 | </record> | 139 | </record> |
1501 | 147 | |||
1502 | 148 | <record model="workflow.transition" id="trans_router_wait_ship"> | 140 | <record model="workflow.transition" id="trans_router_wait_ship"> |
1503 | 149 | <field name="act_from" ref="act_router"/> | 141 | <field name="act_from" ref="act_router"/> |
1504 | 150 | <field name="act_to" ref="act_wait_ship"/> | 142 | <field name="act_to" ref="act_wait_ship"/> |
1505 | 151 | </record> | 143 | </record> |
1506 | 152 | |||
1507 | 153 | <record model="workflow.transition" id="trans_wait_invoice_cancel2"> | 144 | <record model="workflow.transition" id="trans_wait_invoice_cancel2"> |
1508 | 154 | <field name="act_from" ref="act_wait_invoice"/> | 145 | <field name="act_from" ref="act_wait_invoice"/> |
1509 | 155 | <field name="act_to" ref="act_cancel2"/> | 146 | <field name="act_to" ref="act_cancel2"/> |
1510 | 156 | <field name="signal">cancel</field> | 147 | <field name="signal">cancel</field> |
1511 | 157 | </record> | 148 | </record> |
1512 | 158 | |||
1513 | 159 | <record model="workflow.transition" id="trans_wait_ship_cancel3"> | 149 | <record model="workflow.transition" id="trans_wait_ship_cancel3"> |
1514 | 160 | <field name="act_from" ref="act_wait_ship"/> | 150 | <field name="act_from" ref="act_wait_ship"/> |
1515 | 161 | <field name="act_to" ref="act_cancel3"/> | 151 | <field name="act_to" ref="act_cancel3"/> |
1516 | 162 | <field name="signal">cancel</field> | 152 | <field name="signal">cancel</field> |
1517 | 163 | </record> | 153 | </record> |
1518 | 164 | |||
1519 | 165 | <record model="workflow.transition" id="trans_wait_ship_ship"> | 154 | <record model="workflow.transition" id="trans_wait_ship_ship"> |
1520 | 166 | <field name="act_from" ref="act_wait_ship"/> | 155 | <field name="act_from" ref="act_wait_ship"/> |
1521 | 167 | <field name="act_to" ref="act_ship"/> | 156 | <field name="act_to" ref="act_ship"/> |
1522 | 168 | <field name="condition">(order_policy!='prepaid') or invoiced</field> | 157 | <field name="condition">(order_policy!='prepaid') or invoiced</field> |
1523 | 169 | </record> | 158 | </record> |
1524 | 170 | |||
1525 | 171 | <record model="workflow.transition" id="trans_wait_invoice_invoice"> | 159 | <record model="workflow.transition" id="trans_wait_invoice_invoice"> |
1526 | 172 | <field name="act_from" ref="act_wait_invoice"/> | 160 | <field name="act_from" ref="act_wait_invoice"/> |
1527 | 173 | <field name="act_to" ref="act_invoice"/> | 161 | <field name="act_to" ref="act_invoice"/> |
1528 | 174 | <field name="condition">(order_policy=='prepaid') or ((order_policy=='postpaid') and shipped)</field> | 162 | <field name="condition">(order_policy=='prepaid') or ((order_policy=='postpaid') and shipped)</field> |
1529 | 175 | </record> | 163 | </record> |
1530 | 176 | |||
1531 | 177 | <record model="workflow.transition" id="trans_wait_invoice_invoice_manual"> | 164 | <record model="workflow.transition" id="trans_wait_invoice_invoice_manual"> |
1532 | 178 | <field name="act_from" ref="act_wait_invoice"/> | 165 | <field name="act_from" ref="act_wait_invoice"/> |
1533 | 179 | <field name="act_to" ref="act_invoice"/> | 166 | <field name="act_to" ref="act_invoice"/> |
1534 | 180 | <field name="signal">manual_invoice</field> | 167 | <field name="signal">manual_invoice</field> |
1535 | 181 | </record> | 168 | </record> |
1536 | 182 | |||
1537 | 183 | <record model="workflow.transition" id="trans_invoice_invoice_end"> | 169 | <record model="workflow.transition" id="trans_invoice_invoice_end"> |
1538 | 184 | <field name="act_from" ref="act_invoice"/> | 170 | <field name="act_from" ref="act_invoice"/> |
1539 | 185 | <field name="act_to" ref="act_invoice_end"/> | 171 | <field name="act_to" ref="act_invoice_end"/> |
1540 | @@ -209,7 +195,6 @@ | |||
1541 | 209 | <field name="act_from" ref="act_ship_end"/> | 195 | <field name="act_from" ref="act_ship_end"/> |
1542 | 210 | <field name="act_to" ref="act_done"/> | 196 | <field name="act_to" ref="act_done"/> |
1543 | 211 | </record> | 197 | </record> |
1544 | 212 | |||
1545 | 213 | <record model="workflow.transition" id="trans_ship_ship_end"> | 198 | <record model="workflow.transition" id="trans_ship_ship_end"> |
1546 | 214 | <field name="act_from" ref="act_ship"/> | 199 | <field name="act_from" ref="act_ship"/> |
1547 | 215 | <field name="act_to" ref="act_ship_end"/> | 200 | <field name="act_to" ref="act_ship_end"/> |
1548 | 216 | 201 | ||
1549 | === added file 'hotel/hotel_scheduler.xml' | |||
1550 | --- hotel/hotel_scheduler.xml 1970-01-01 00:00:00 +0000 | |||
1551 | +++ hotel/hotel_scheduler.xml 2014-09-28 13:18:16 +0000 | |||
1552 | @@ -0,0 +1,17 @@ | |||
1553 | 1 | <?xml version="1.0" encoding='UTF-8'?> | ||
1554 | 2 | <openerp> | ||
1555 | 3 | <data> | ||
1556 | 4 | |||
1557 | 5 | <record model="ir.cron" id="room_analytic_cron"> | ||
1558 | 6 | <field name="name">Room analysis</field> | ||
1559 | 7 | <field name="interval_number">1</field> | ||
1560 | 8 | <field name="interval_type">minutes</field> | ||
1561 | 9 | <field name="numbercall">-1</field> | ||
1562 | 10 | <field name="doall" eval="False"/> | ||
1563 | 11 | <field name="model" eval="'hotel.room'"/> | ||
1564 | 12 | <field name="function" eval="'cron_room_line'"/> | ||
1565 | 13 | <field name="args" eval="'()'" /> | ||
1566 | 14 | </record> | ||
1567 | 15 | |||
1568 | 16 | </data> | ||
1569 | 17 | </openerp> | ||
1570 | 0 | \ No newline at end of file | 18 | \ No newline at end of file |
1571 | 1 | 19 | ||
1572 | === added file 'hotel/hotel_sequence.xml' | |||
1573 | --- hotel/hotel_sequence.xml 1970-01-01 00:00:00 +0000 | |||
1574 | +++ hotel/hotel_sequence.xml 2014-09-28 13:18:16 +0000 | |||
1575 | @@ -0,0 +1,18 @@ | |||
1576 | 1 | <?xml version="1.0" encoding="UTF-8"?> | ||
1577 | 2 | <openerp> | ||
1578 | 3 | <data noupdate="1"> | ||
1579 | 4 | |||
1580 | 5 | <!-- Sequences for hotel.folio --> | ||
1581 | 6 | <record model="ir.sequence.type" id="seq_type_hotel_folio"> | ||
1582 | 7 | <field name="name">Hotel Folio</field> | ||
1583 | 8 | <field name="code">hotel.folio</field> | ||
1584 | 9 | </record> | ||
1585 | 10 | <record model="ir.sequence" id="seq_hotel_folio"> | ||
1586 | 11 | <field name="name">Hotel Folio</field> | ||
1587 | 12 | <field name="code">hotel.folio</field> | ||
1588 | 13 | <field name="prefix">Folio/</field> | ||
1589 | 14 | <field name="padding">5</field> | ||
1590 | 15 | </record> | ||
1591 | 16 | |||
1592 | 17 | </data> | ||
1593 | 18 | </openerp> | ||
1594 | 0 | \ No newline at end of file | 19 | \ No newline at end of file |
1595 | 1 | 20 | ||
1596 | === modified file 'hotel/hotel_view.xml' | |||
1597 | --- hotel/hotel_view.xml 2012-11-23 03:00:23 +0000 | |||
1598 | +++ hotel/hotel_view.xml 2014-09-28 13:18:16 +0000 | |||
1599 | @@ -1,8 +1,9 @@ | |||
1601 | 1 | <?xml version="1.0"?> | 1 | <?xml version="1.0" encoding="utf-8"?> |
1602 | 2 | <openerp> | 2 | <openerp> |
1605 | 3 | <data> | 3 | <data> |
1606 | 4 | <menuitem id="hotel_management_menu" name="Hotel Management" web_icon="data/hotel-grey.png" | 4 | <menuitem id="hotel_management_menu" name="Hotel Management" web_icon="data/hotel-grey.png" |
1607 | 5 | web_icon_hover="data/hotel-color.png"/> | 5 | web_icon_hover="data/hotel-color.png"/> |
1608 | 6 | <<<<<<< TREE | ||
1609 | 6 | <menuitem id="hotel_configuration_menu" name="Configuration" sequence="20" parent ="hotel_management_menu"/> | 7 | <menuitem id="hotel_configuration_menu" name="Configuration" sequence="20" parent ="hotel_management_menu"/> |
1610 | 7 | <menuitem id="hotel_report_menu" name="Reports" sequence="6" parent ="hotel_management_menu"/> | 8 | <menuitem id="hotel_report_menu" name="Reports" sequence="6" parent ="hotel_management_menu"/> |
1611 | 8 | 9 | ||
1612 | @@ -437,3 +438,854 @@ | |||
1613 | 437 | 438 | ||
1614 | 438 | </data> | 439 | </data> |
1615 | 439 | </openerp> | 440 | </openerp> |
1616 | 441 | ======= | ||
1617 | 442 | <menuitem id="hotel_configuration_menu" name="Configuration" sequence="20" parent ="hotel_management_menu"/> | ||
1618 | 443 | <menuitem id="hotel_report_menu" name="Reports" sequence="6" parent="hotel_management_menu"/> | ||
1619 | 444 | |||
1620 | 445 | <!-- ############################################### | ||
1621 | 446 | #############Company Configuration############# | ||
1622 | 447 | ############################################### | ||
1623 | 448 | --> | ||
1624 | 449 | |||
1625 | 450 | <record id="res_company_inherit_config_hotel" model="ir.ui.view"> | ||
1626 | 451 | <field name="name">res.company.inherit.config.hotel</field> | ||
1627 | 452 | <field name="model">res.company</field> | ||
1628 | 453 | <field name="inherit_id" ref="base.view_company_form" /> | ||
1629 | 454 | <field name="arch" type="xml"> | ||
1630 | 455 | <xpath expr="//field[@name='currency_id']" position="after"> | ||
1631 | 456 | <field name="additional_hours"/> | ||
1632 | 457 | </xpath> | ||
1633 | 458 | </field> | ||
1634 | 459 | </record> | ||
1635 | 460 | <!--==================================================== | ||
1636 | 461 | Floor | ||
1637 | 462 | ==================================================== --> | ||
1638 | 463 | |||
1639 | 464 | <record model="ir.ui.view" id="view_hotel_floor_form"> | ||
1640 | 465 | <field name="name">hotel.floor.form</field> | ||
1641 | 466 | <field name="model">hotel.floor</field> | ||
1642 | 467 | <field name="arch" type="xml"> | ||
1643 | 468 | <form string=" Hotel Floor" version="7.0"> | ||
1644 | 469 | <sheet> | ||
1645 | 470 | <group> | ||
1646 | 471 | <field name="name" colspan="1"/> | ||
1647 | 472 | <field name="sequence" select="1"/> | ||
1648 | 473 | </group> | ||
1649 | 474 | </sheet> | ||
1650 | 475 | </form> | ||
1651 | 476 | </field> | ||
1652 | 477 | </record> | ||
1653 | 478 | <record model="ir.ui.view" id="view_hotel_floor_tree"> | ||
1654 | 479 | <field name="name">hotel.floor.tree</field> | ||
1655 | 480 | <field name="model">hotel.floor</field> | ||
1656 | 481 | <field name="arch" type="xml"> | ||
1657 | 482 | <tree string=" Hotel Floors"> | ||
1658 | 483 | <field name="name" colspan="1"/> | ||
1659 | 484 | <field name="sequence" select="1"/> | ||
1660 | 485 | </tree> | ||
1661 | 486 | </field> | ||
1662 | 487 | </record> | ||
1663 | 488 | <record model="ir.actions.act_window" id="open_hotel_floor_form_tree"> | ||
1664 | 489 | <field name="name">Floor Structure</field> | ||
1665 | 490 | <field name="res_model">hotel.floor</field> | ||
1666 | 491 | <field name="view_type">form</field> | ||
1667 | 492 | <field name="view_mode">tree,form</field> | ||
1668 | 493 | </record> | ||
1669 | 494 | <menuitem name="Floor" | ||
1670 | 495 | id="menu_open_hotel_floor_form_tree" | ||
1671 | 496 | action="open_hotel_floor_form_tree" | ||
1672 | 497 | sequence="21" | ||
1673 | 498 | parent="hotel_configuration_menu"/> | ||
1674 | 499 | |||
1675 | 500 | <!--==================================================================== | ||
1676 | 501 | Amenities Type | ||
1677 | 502 | ====================================================================--> | ||
1678 | 503 | |||
1679 | 504 | <record model="ir.ui.view" id="view_hotel_room_amenities_type_form"> | ||
1680 | 505 | <field name="name">hotel.room_amenities_type_form</field> | ||
1681 | 506 | <field name="model">hotel.room.amenities.type</field> | ||
1682 | 507 | <field name="arch" type="xml"> | ||
1683 | 508 | <form string="Hotel Room Amenities Type" version="7.0"> | ||
1684 | 509 | <sheet> | ||
1685 | 510 | <group> | ||
1686 | 511 | <field name="name"/> | ||
1687 | 512 | <field name="parent_id" domain="[('isamenitype','=',True)]"/> | ||
1688 | 513 | </group> | ||
1689 | 514 | </sheet> | ||
1690 | 515 | </form> | ||
1691 | 516 | </field> | ||
1692 | 517 | </record> | ||
1693 | 518 | <record model="ir.ui.view" id="view_hotel_room_amenities_type_list"> | ||
1694 | 519 | <field name="name">hotel.room_amenities_type_list</field> | ||
1695 | 520 | <field name="model">hotel.room.amenities.type</field> | ||
1696 | 521 | <field name="arch" type="xml"> | ||
1697 | 522 | <tree string="Hotel Room Amenities Type"> | ||
1698 | 523 | <field name="complete_name"/> | ||
1699 | 524 | </tree> | ||
1700 | 525 | </field> | ||
1701 | 526 | </record> | ||
1702 | 527 | <record model="ir.actions.act_window" id="action_hotel_room_amenities_type_view_form"> | ||
1703 | 528 | <field name="name">Hotel Room Amenities Type</field> | ||
1704 | 529 | <field name="res_model">hotel.room.amenities.type</field> | ||
1705 | 530 | <field name="view_type">form</field> | ||
1706 | 531 | <field name="view_mode">tree,form</field> | ||
1707 | 532 | </record> | ||
1708 | 533 | <menuitem id="menu_amenity" name="Amenity" parent="hotel.hotel_configuration_menu" sequence="2"/> | ||
1709 | 534 | <menuitem name="Amenity Types" | ||
1710 | 535 | id="menu_action_hotel_room_amenities_type_view_form" | ||
1711 | 536 | action="action_hotel_room_amenities_type_view_form" | ||
1712 | 537 | sequence="3" | ||
1713 | 538 | parent="hotel.menu_amenity"/> | ||
1714 | 539 | |||
1715 | 540 | <!--=============================================================== | ||
1716 | 541 | Room Amenities | ||
1717 | 542 | ===============================================================--> | ||
1718 | 543 | |||
1719 | 544 | <record id="view_hotel_room_amenities_form" model="ir.ui.view" > | ||
1720 | 545 | <field name="name">hotel.room.amenities.form</field> | ||
1721 | 546 | <field name="model">hotel.room.amenities</field> | ||
1722 | 547 | <field name="arch" type="xml"> | ||
1723 | 548 | <form string="Hotel Room Amenities" version="7.0"> | ||
1724 | 549 | <sheet> | ||
1725 | 550 | <h1> | ||
1726 | 551 | <label string="Amenity" /> | ||
1727 | 552 | <field name="name" select="1"/> | ||
1728 | 553 | </h1> | ||
1729 | 554 | <group> | ||
1730 | 555 | <field name="default_code" select="1"/> | ||
1731 | 556 | </group> | ||
1732 | 557 | <notebook> | ||
1733 | 558 | <page string="Information"> | ||
1734 | 559 | <group colspan="4" col="4"> | ||
1735 | 560 | <field name="type" select="2"/> | ||
1736 | 561 | <field name="product_manager" select="2"/> | ||
1737 | 562 | <!-- <field name="procure_method"/> --> | ||
1738 | 563 | <field name="state" select="2"/> | ||
1739 | 564 | <field name="categ_id" select="1" domain="[('isamenitype','=',True)]"/> | ||
1740 | 565 | <field name="uom_id"/> | ||
1741 | 566 | <field name="uom_po_id"/> | ||
1742 | 567 | </group> | ||
1743 | 568 | <newline/> | ||
1744 | 569 | <separator colspan='4' string="Supplier Taxes"/> | ||
1745 | 570 | <field name="supplier_taxes_id" colspan="4" nolabel='1' help='Define supplier taxes if there any on the Amenity. '/> | ||
1746 | 571 | <newline/> | ||
1747 | 572 | <separator colspan='4' string="Customer Taxes"/> | ||
1748 | 573 | <field name="taxes_id" colspan="4" nolabel='1' help='List of customer taxes applied on the Amenity. '/> | ||
1749 | 574 | </page> | ||
1750 | 575 | |||
1751 | 576 | <page string="Procurement"> | ||
1752 | 577 | <group colspan="4" col="4"> | ||
1753 | 578 | <!-- <field name="supply_method"/> --> | ||
1754 | 579 | <field name="active" select="2"/> | ||
1755 | 580 | <field name="list_price"/> | ||
1756 | 581 | <field name="cost_method"/> | ||
1757 | 582 | <field name="sale_ok" select="2"/> | ||
1758 | 583 | <field name="standard_price"/> | ||
1759 | 584 | <field name="rental" select="2"/> | ||
1760 | 585 | <field name="uos_id" /> | ||
1761 | 586 | <field name="uos_coeff" /> | ||
1762 | 587 | </group> | ||
1763 | 588 | <newline /> | ||
1764 | 589 | <group> | ||
1765 | 590 | <separator string="Suppliers" /> | ||
1766 | 591 | <field name="seller_ids" colspan="4" nolabel="1" widget="one2many_list"/> | ||
1767 | 592 | </group> | ||
1768 | 593 | </page> | ||
1769 | 594 | <page string="Descriptions"> | ||
1770 | 595 | <separator string="Description" /> | ||
1771 | 596 | <field name="description" colspan="4" nolabel="1" /> | ||
1772 | 597 | <separator string="Sale Description"/> | ||
1773 | 598 | <field name="description_sale" colspan="4" nolabel="1"/> | ||
1774 | 599 | <separator string="Purchase Description"/> | ||
1775 | 600 | <field name="description_purchase" colspan="4" nolabel="1"/> | ||
1776 | 601 | </page> | ||
1777 | 602 | </notebook> | ||
1778 | 603 | </sheet> | ||
1779 | 604 | </form> | ||
1780 | 605 | </field> | ||
1781 | 606 | </record> | ||
1782 | 607 | |||
1783 | 608 | <record model="ir.ui.view" id="view_hotel_room_amenities_search"> | ||
1784 | 609 | <field name="name">hotel.room_amenities_search</field> | ||
1785 | 610 | <field name="model">hotel.room.amenities</field> | ||
1786 | 611 | <field name="arch" type="xml"> | ||
1787 | 612 | <search string="Hotel Room Amenities"> | ||
1788 | 613 | <field name="name" /> | ||
1789 | 614 | <field name="categ_id" select="1"/> | ||
1790 | 615 | <field name="list_price" string="Amenity rate"/> | ||
1791 | 616 | <newline/> | ||
1792 | 617 | <group expand="0" string="Group By..."> | ||
1793 | 618 | <filter name="categ_id" string="Catagory" icon="terp-stock_symbol-selection" domain="[]" context="{'group_by':'categ_id'}" /> | ||
1794 | 619 | </group> | ||
1795 | 620 | </search> | ||
1796 | 621 | </field> | ||
1797 | 622 | </record> | ||
1798 | 623 | <record model="ir.ui.view" id="view_hotel_room_amenities_list"> | ||
1799 | 624 | <field name="name">hotel.room_amenities_list</field> | ||
1800 | 625 | <field name="model">hotel.room.amenities</field> | ||
1801 | 626 | <field name="arch" type="xml"> | ||
1802 | 627 | <tree string="Hotel Room Amenities"> | ||
1803 | 628 | <field name="name" /> | ||
1804 | 629 | <field name="categ_id" select="1"/> | ||
1805 | 630 | <field name="list_price" string="Amenity rate"/> | ||
1806 | 631 | </tree> | ||
1807 | 632 | </field> | ||
1808 | 633 | </record> | ||
1809 | 634 | <record model="ir.actions.act_window" id="action_hotel_room_amenities_view_form"> | ||
1810 | 635 | <field name="name">Hotel Room Amenities</field> | ||
1811 | 636 | <field name="res_model">hotel.room.amenities</field> | ||
1812 | 637 | <field name="view_type">form</field> | ||
1813 | 638 | <field name="view_mode">tree,form</field> | ||
1814 | 639 | <field name="view_id" ref="view_hotel_room_amenities_list"/> | ||
1815 | 640 | </record> | ||
1816 | 641 | <menuitem name="Amenities" | ||
1817 | 642 | id="menu_action_hotel_room_amenities_view_form" | ||
1818 | 643 | action="action_hotel_room_amenities_view_form" | ||
1819 | 644 | sequence="2" | ||
1820 | 645 | parent="hotel.menu_amenity"/> | ||
1821 | 646 | |||
1822 | 647 | <!--======================================================== | ||
1823 | 648 | Room Type | ||
1824 | 649 | ========================================================--> | ||
1825 | 650 | <record model="ir.ui.view" id="view_hotel_room_type_form"> | ||
1826 | 651 | <field name="name">hotel.room_type.form</field> | ||
1827 | 652 | <field name="model">hotel.room.type</field> | ||
1828 | 653 | <field name="arch" type="xml"> | ||
1829 | 654 | <form string=" Hotel Room Type" version="7.0"> | ||
1830 | 655 | <sheet> | ||
1831 | 656 | <group> | ||
1832 | 657 | <field name="name" select="1"/> | ||
1833 | 658 | <field name="parent_id" domain="[('isroomtype','=',True)]" select="1"/> | ||
1834 | 659 | </group> | ||
1835 | 660 | </sheet> | ||
1836 | 661 | </form> | ||
1837 | 662 | </field> | ||
1838 | 663 | </record> | ||
1839 | 664 | <record model="ir.ui.view" id="view_hotel_room_type_tree"> | ||
1840 | 665 | <field name="name">hotel.room_type.tree</field> | ||
1841 | 666 | <field name="model">hotel.room.type</field> | ||
1842 | 667 | <field name="arch" type="xml"> | ||
1843 | 668 | <tree string=" Hotel Room Type"> | ||
1844 | 669 | <field name="complete_name"/> | ||
1845 | 670 | </tree> | ||
1846 | 671 | </field> | ||
1847 | 672 | </record> | ||
1848 | 673 | <record model="ir.actions.act_window" id="open_hotel_room_type_form_tree"> | ||
1849 | 674 | <field name="name">Room Type</field> | ||
1850 | 675 | <field name="res_model">hotel.room.type</field> | ||
1851 | 676 | <field name="view_type">form</field> | ||
1852 | 677 | <field name="view_mode">tree,form</field> | ||
1853 | 678 | </record> | ||
1854 | 679 | <menuitem id="menu_hotel_room" name="Room" parent="hotel.hotel_configuration_menu" sequence="2"/> | ||
1855 | 680 | <menuitem name="Room Types" | ||
1856 | 681 | id="menu_open_hotel_room_type_form_tree" | ||
1857 | 682 | action="open_hotel_room_type_form_tree" | ||
1858 | 683 | sequence="6" | ||
1859 | 684 | parent="hotel.menu_hotel_room"/> | ||
1860 | 685 | |||
1861 | 686 | <!--=================================================== | ||
1862 | 687 | Rooms | ||
1863 | 688 | =================================================== --> | ||
1864 | 689 | |||
1865 | 690 | <record model="ir.ui.view" id="view_hotel_room_form"> | ||
1866 | 691 | <field name="name">hotel.room.form</field> | ||
1867 | 692 | <field name="model">hotel.room</field> | ||
1868 | 693 | <field name="arch" type="xml"> | ||
1869 | 694 | <form string="Hotel Room" version="7.0"> | ||
1870 | 695 | <header> | ||
1871 | 696 | <field name="state" string="Room Status" widget='statusbar'/> | ||
1872 | 697 | </header> | ||
1873 | 698 | <sheet> | ||
1874 | 699 | <div class="oe_title"> | ||
1875 | 700 | <label for="name" string="Name" /> | ||
1876 | 701 | <h1> | ||
1877 | 702 | <field name="name" select="1"/> | ||
1878 | 703 | </h1> | ||
1879 | 704 | <label for="status" string="Status" /> | ||
1880 | 705 | <h2> | ||
1881 | 706 | <field name="status" /> | ||
1882 | 707 | </h2> | ||
1883 | 708 | </div> | ||
1884 | 709 | <notebook> | ||
1885 | 710 | <page string="Information"> | ||
1886 | 711 | <group colspan="4" col="4"> | ||
1887 | 712 | <field name="floor_id" string = "Floor" /> | ||
1888 | 713 | <field name="categ_id" select="1" domain="[('isroomtype','=',True)]"/> | ||
1889 | 714 | <field name="product_manager" select="2"/> | ||
1890 | 715 | <field name="uom_id" invisible="1"/> | ||
1891 | 716 | </group> | ||
1892 | 717 | <newline/> | ||
1893 | 718 | <separator colspan='4' string="Supplier Taxes"/> | ||
1894 | 719 | <field name="supplier_taxes_id" colspan="4" nolabel='1' help='List of supplier taxes if there any on the defined room. '/> | ||
1895 | 720 | <newline/> | ||
1896 | 721 | <separator colspan='4' string="Customer Taxes"/> | ||
1897 | 722 | <field name="taxes_id" colspan="4" nolabel='1' help='Customer taxes apply on the perticular room. '/> | ||
1898 | 723 | </page> | ||
1899 | 724 | <page string = "Room Amenities"> | ||
1900 | 725 | <separator string=" Room Amenities"/> | ||
1901 | 726 | <field name="room_amenities" colspan="4" nolabel="1"/> | ||
1902 | 727 | </page> | ||
1903 | 728 | <page string="Procurement"> | ||
1904 | 729 | <group colspan="4" col="4"> | ||
1905 | 730 | <field name="active" select="2"/> | ||
1906 | 731 | <field name="list_price"/> --> | ||
1907 | 732 | <field name="rental" select="2"/> | ||
1908 | 733 | <field name="standard_price"/> | ||
1909 | 734 | <field name="cost_method"/> | ||
1910 | 735 | <field name="uos_id"/> | ||
1911 | 736 | <field name="uos_coeff" /> | ||
1912 | 737 | <newline/> | ||
1913 | 738 | <separator string="Room Rent" /> | ||
1914 | 739 | <field name="room_rent_ids" colspan="4" nolabel='1' > | ||
1915 | 740 | <form string="Room Rent" version="7.0"> | ||
1916 | 741 | <group colspan="4" col="2"> | ||
1917 | 742 | <field name="price"/> | ||
1918 | 743 | </group> | ||
1919 | 744 | <group colspan="4" col="8"> | ||
1920 | 745 | <field name="mon"/> | ||
1921 | 746 | <field name="tue"/> | ||
1922 | 747 | <field name="wed"/> | ||
1923 | 748 | <field name="thu"/> | ||
1924 | 749 | <field name="fri"/> | ||
1925 | 750 | <field name="sat"/> | ||
1926 | 751 | <field name="sun"/> | ||
1927 | 752 | </group> | ||
1928 | 753 | </form> | ||
1929 | 754 | <tree string="Room Rent" editable="bottom" > | ||
1930 | 755 | <field name="price"/> | ||
1931 | 756 | <field name="mon"/> | ||
1932 | 757 | <field name="tue"/> | ||
1933 | 758 | <field name="wed"/> | ||
1934 | 759 | <field name="thu"/> | ||
1935 | 760 | <field name="fri"/> | ||
1936 | 761 | <field name="sat"/> | ||
1937 | 762 | <field name="sun"/> | ||
1938 | 763 | </tree> | ||
1939 | 764 | </field> | ||
1940 | 765 | </group> | ||
1941 | 766 | <newline/> | ||
1942 | 767 | <group> | ||
1943 | 768 | <separator string="Suppliers" /> | ||
1944 | 769 | <field name="seller_ids" colspan="4" nolabel="1" widget="one2many_list"/> | ||
1945 | 770 | </group> | ||
1946 | 771 | </page> | ||
1947 | 772 | <page string="Descriptions"> | ||
1948 | 773 | <separator string="Description" /> | ||
1949 | 774 | <field name="description" colspan="4" nolabel="1" /> | ||
1950 | 775 | </page> | ||
1951 | 776 | </notebook> | ||
1952 | 777 | </sheet> | ||
1953 | 778 | </form> | ||
1954 | 779 | </field> | ||
1955 | 780 | </record> | ||
1956 | 781 | |||
1957 | 782 | <record model="ir.ui.view" id="view_hotel_room_search"> | ||
1958 | 783 | <field name="name">hotel.room.search</field> | ||
1959 | 784 | <field name="model">hotel.room</field> | ||
1960 | 785 | <field name="arch" type="xml"> | ||
1961 | 786 | <search string="Hotel Room" > | ||
1962 | 787 | <field name="name" /> | ||
1963 | 788 | <field name="categ_id" select="1"/> | ||
1964 | 789 | <field name="list_price" string="Room rate"/> | ||
1965 | 790 | <field name="state" string="Status"/> | ||
1966 | 791 | <newline/> | ||
1967 | 792 | <filter string="Available" domain="[('state','=', 'unassigned')]" help="Available Rooms" /> | ||
1968 | 793 | <group expand="0" string="Group By..."> | ||
1969 | 794 | <filter name="state" string="state" domain="[]" context="{'group_by':'state'}" /> | ||
1970 | 795 | </group> | ||
1971 | 796 | </search> | ||
1972 | 797 | </field> | ||
1973 | 798 | </record> | ||
1974 | 799 | |||
1975 | 800 | <record model="ir.ui.view" id="view_hotel_room_tree"> | ||
1976 | 801 | <field name="name">hotel.room.tree</field> | ||
1977 | 802 | <field name="model">hotel.room</field> | ||
1978 | 803 | <field name="arch" type="xml"> | ||
1979 | 804 | <tree string="Hotel Room" > | ||
1980 | 805 | <field name="name" /> | ||
1981 | 806 | <field name="categ_id" select="1"/> | ||
1982 | 807 | <field name="list_price" string="Room rate"/> | ||
1983 | 808 | <field name="status"/> | ||
1984 | 809 | </tree> | ||
1985 | 810 | </field> | ||
1986 | 811 | </record> | ||
1987 | 812 | |||
1988 | 813 | <record model="ir.ui.view" id="view_hotel_room_kanban"> | ||
1989 | 814 | <field name="name">hotel.room.kanban</field> | ||
1990 | 815 | <field name="model">hotel.room</field> | ||
1991 | 816 | <field name="arch" type="xml"> | ||
1992 | 817 | <kanban version="7.0" default_group_by="status" > | ||
1993 | 818 | <field name="product_id" /> | ||
1994 | 819 | <field name="status" /> | ||
1995 | 820 | <field name="color" /> | ||
1996 | 821 | <templates> | ||
1997 | 822 | <t t-name="kanban-box"> | ||
1998 | 823 | <!-- <div class="oe_kanban_vignette oe_semantic_html_override"> --> | ||
1999 | 824 | <div t-attf-class="oe_kanban_color_#{kanban_getcolor(record.color.raw_value)} oe_kanban_card oe_kanban_project oe_kanban_global_click"> | ||
2000 | 825 | <div class="oe_dropdown_toggle oe_dropdown_kanban" groups="base.group_user"> | ||
2001 | 826 | <span class="oe_e">í</span> | ||
2002 | 827 | <ul class="oe_dropdown_menu"> | ||
2003 | 828 | <t t-if="widget.view.is_action_enabled('edit')"><li><a type="edit">Edit</a></li></t> | ||
2004 | 829 | <t t-if="widget.view.is_action_enabled('delete')"><li><a type="delete">Delete</a></li></t> | ||
2005 | 830 | <li><ul class="oe_kanban_colorpicker" data-field="color"/></li> | ||
2006 | 831 | </ul> | ||
2007 | 832 | </div> | ||
2008 | 833 | <!-- <div class="oe_kanban_details"> --> | ||
2009 | 834 | <div class="oe_kanban_content"> | ||
2010 | 835 | <div class="oe_kanban_project_list"> | ||
2011 | 836 | <h4> | ||
2012 | 837 | <a type="open"> | ||
2013 | 838 | <t t-if="record.code.raw_value" style="margin-right: 10px">[<field name="code" />] </t> <field name="name"/> | ||
2014 | 839 | </a> | ||
2015 | 840 | </h4> | ||
2016 | 841 | <div name="tags"/> | ||
2017 | 842 | <ul> | ||
2018 | 843 | <li>Status: <field name="status"></field></li> | ||
2019 | 844 | <li>Rate: <field name="list_price"></field></li> | ||
2020 | 845 | </ul> | ||
2021 | 846 | </div> | ||
2022 | 847 | <div class="oe_kanban_bottom_right"> | ||
2023 | 848 | <a t-if="record.status.raw_value === 'available'" type="object" string="Available" name="set_room_status_occupied" class="oe_kanban_status oe_kanban_status_green "> </a> | ||
2024 | 849 | <a t-if="record.status.raw_value === 'occupied'" type="object" string="occupied" name="set_room_status_available" class="oe_kanban_status oe_kanban_status_red " > </a> | ||
2025 | 850 | </div> | ||
2026 | 851 | </div> | ||
2027 | 852 | </div> | ||
2028 | 853 | </t> | ||
2029 | 854 | </templates> | ||
2030 | 855 | </kanban> | ||
2031 | 856 | </field> | ||
2032 | 857 | </record> | ||
2033 | 858 | |||
2034 | 859 | <record model="ir.actions.act_window" id="action_hotel_room_form"> | ||
2035 | 860 | <field name="name">Hotel Room</field> | ||
2036 | 861 | <field name="res_model">hotel.room</field> | ||
2037 | 862 | <field name="view_type">form</field> | ||
2038 | 863 | <field name="view_mode">kanban,tree,form</field> | ||
2039 | 864 | </record> | ||
2040 | 865 | |||
2041 | 866 | <menuitem name="Rooms" | ||
2042 | 867 | id="menu_open_hotel_room_form" | ||
2043 | 868 | action="action_hotel_room_form" | ||
2044 | 869 | sequence="5" | ||
2045 | 870 | parent="hotel.menu_hotel_room"/> | ||
2046 | 871 | |||
2047 | 872 | <!-- Services --> | ||
2048 | 873 | <record model="ir.ui.view" id="view_hotel_service_type_form"> | ||
2049 | 874 | <field name="name">hotel.service_type.form</field> | ||
2050 | 875 | <field name="model">hotel.service.type</field> | ||
2051 | 876 | <field name="arch" type="xml"> | ||
2052 | 877 | <form string="Service Type" version="7.0"> | ||
2053 | 878 | <sheet> | ||
2054 | 879 | <group> | ||
2055 | 880 | <field name="name" select="1"/> | ||
2056 | 881 | <field name="parent_id" domain="[('isservicetype','=',True)]" select="1"/> | ||
2057 | 882 | </group> | ||
2058 | 883 | </sheet> | ||
2059 | 884 | </form> | ||
2060 | 885 | </field> | ||
2061 | 886 | </record> | ||
2062 | 887 | <record model="ir.ui.view" id="view_hotel_service_type_tree"> | ||
2063 | 888 | <field name="name">hotel.service_type.tree</field> | ||
2064 | 889 | <field name="model">hotel.service.type</field> | ||
2065 | 890 | <field name="arch" type="xml"> | ||
2066 | 891 | <tree string="Service Type"> | ||
2067 | 892 | <field name="complete_name"/> | ||
2068 | 893 | </tree> | ||
2069 | 894 | </field> | ||
2070 | 895 | </record> | ||
2071 | 896 | <record model="ir.actions.act_window" id="open_hotel_service_type_form_tree"> | ||
2072 | 897 | <field name="name">Service Type</field> | ||
2073 | 898 | <field name="res_model">hotel.service.type</field> | ||
2074 | 899 | <field name="view_type">form</field> | ||
2075 | 900 | <field name="view_mode">tree,form</field> | ||
2076 | 901 | </record> | ||
2077 | 902 | <menuitem id="menu_hotel_service" name="Services" parent="hotel.hotel_configuration_menu" sequence="2"/> | ||
2078 | 903 | <menuitem name="Service Types" | ||
2079 | 904 | id="menu_open_hotel_service_type_form_tree" | ||
2080 | 905 | action="open_hotel_service_type_form_tree" | ||
2081 | 906 | sequence="9" | ||
2082 | 907 | parent="hotel.menu_hotel_service"/> | ||
2083 | 908 | |||
2084 | 909 | <record model="ir.ui.view" id="view_hotel_services_form"> | ||
2085 | 910 | <field name="name">.hotel.services.form</field> | ||
2086 | 911 | <field name="model">hotel.services</field> | ||
2087 | 912 | <field name="arch" type="xml"> | ||
2088 | 913 | <form string="Hotel Services" version="7.0"> | ||
2089 | 914 | <sheet> | ||
2090 | 915 | <h1> | ||
2091 | 916 | <label string="Service" /> | ||
2092 | 917 | <field name="name" select="1"/> | ||
2093 | 918 | </h1> | ||
2094 | 919 | <group> | ||
2095 | 920 | <field name="default_code" select="1" /> | ||
2096 | 921 | </group> | ||
2097 | 922 | <notebook> | ||
2098 | 923 | <page string="Information"> | ||
2099 | 924 | <group> | ||
2100 | 925 | <group colspan="4" col="4"> | ||
2101 | 926 | <field name="type" select="2"/> | ||
2102 | 927 | <!-- <field name="procure_method"/> --> | ||
2103 | 928 | <field name="state" select="2"/> | ||
2104 | 929 | <field name="categ_id" domain="[('isservicetype','=',True)]" select="1"/> | ||
2105 | 930 | <field name="product_manager" select="2"/> | ||
2106 | 931 | <field name="uom_id"/> | ||
2107 | 932 | <field name="uom_po_id"/> | ||
2108 | 933 | </group> | ||
2109 | 934 | </group> | ||
2110 | 935 | <newline/> | ||
2111 | 936 | <separator colspan='4' string="Supplier Taxes"/> | ||
2112 | 937 | <field name="supplier_taxes_id" colspan="4" nolabel='1' help='List of supplier taxes related to the service provided by hotel.'/> | ||
2113 | 938 | <newline/> | ||
2114 | 939 | <separator colspan='4' string="Customer Taxes"/> | ||
2115 | 940 | <field name="taxes_id" colspan="4" nolabel='1' help='Customer taxes applied on the service.'/> | ||
2116 | 941 | </page> | ||
2117 | 942 | <page string="Procurement"> | ||
2118 | 943 | <group colspan="4" col="4"> | ||
2119 | 944 | <!-- <field name="supply_method"/> --> | ||
2120 | 945 | <field name="active" select="2"/> | ||
2121 | 946 | <field name="list_price"/> | ||
2122 | 947 | <field name="cost_method"/> | ||
2123 | 948 | <field name="sale_ok" select="2"/> | ||
2124 | 949 | <field name="standard_price"/> | ||
2125 | 950 | <field name="rental" select="2"/> | ||
2126 | 951 | <field name="uos_id" /> | ||
2127 | 952 | <field name="uos_coeff" /> | ||
2128 | 953 | </group> | ||
2129 | 954 | <newline /> | ||
2130 | 955 | <group> | ||
2131 | 956 | <separator string="Suplliers" /> | ||
2132 | 957 | <field name="seller_ids" colspan="4" nolabel="1" widget="one2many_list"/> | ||
2133 | 958 | </group> | ||
2134 | 959 | </page> | ||
2135 | 960 | <page string="Descriptions"> | ||
2136 | 961 | <separator string="Description" /> | ||
2137 | 962 | <field name="description" colspan="4" nolabel="1" /> | ||
2138 | 963 | <separator string="Sale Description"/> | ||
2139 | 964 | <field name="description_sale" colspan="4" nolabel="1"/> | ||
2140 | 965 | <separator string="Purchase Description"/> | ||
2141 | 966 | <field name="description_purchase" colspan="4" nolabel="1"/> | ||
2142 | 967 | </page> | ||
2143 | 968 | </notebook> | ||
2144 | 969 | </sheet> | ||
2145 | 970 | </form> | ||
2146 | 971 | </field> | ||
2147 | 972 | </record> | ||
2148 | 973 | |||
2149 | 974 | <record model="ir.ui.view" id="view_hotel_services_search"> | ||
2150 | 975 | <field name="name">hotel.services.search</field> | ||
2151 | 976 | <field name="model">hotel.services</field> | ||
2152 | 977 | <field name="arch" type="xml"> | ||
2153 | 978 | <search string="Hotel Services" > | ||
2154 | 979 | <field name="name" /> | ||
2155 | 980 | <field name="categ_id" select="1"/> | ||
2156 | 981 | <field name="list_price" string="Service rate"/> | ||
2157 | 982 | <newline/> | ||
2158 | 983 | <group expand="0" string="Group By..."> | ||
2159 | 984 | <filter name="categ_id" string="Catagory" icon="terp-stock_symbol-selection" domain="[]" context="{'group_by':'categ_id'}" /> | ||
2160 | 985 | </group> | ||
2161 | 986 | </search> | ||
2162 | 987 | </field> | ||
2163 | 988 | </record> | ||
2164 | 989 | |||
2165 | 990 | <record model="ir.ui.view" id="view_hotel_services_tree"> | ||
2166 | 991 | <field name="name">hotel.services.tree</field> | ||
2167 | 992 | <field name="model">hotel.services</field> | ||
2168 | 993 | <field name="arch" type="xml"> | ||
2169 | 994 | <tree string="Hotel Services" > | ||
2170 | 995 | <field name="name" /> | ||
2171 | 996 | <field name="categ_id" select="1"/> | ||
2172 | 997 | <field name="list_price" string="Service rate"/> | ||
2173 | 998 | </tree> | ||
2174 | 999 | </field> | ||
2175 | 1000 | </record> | ||
2176 | 1001 | <record model="ir.actions.act_window" id="action_hotel_services_form"> | ||
2177 | 1002 | <field name="name">Hotel Services</field> | ||
2178 | 1003 | <field name="res_model">hotel.services</field> | ||
2179 | 1004 | <field name="view_type">form</field> | ||
2180 | 1005 | <field name="view_mode">tree,form</field> | ||
2181 | 1006 | </record> | ||
2182 | 1007 | |||
2183 | 1008 | <menuitem name="Services" | ||
2184 | 1009 | id="menu_open_hotel_services_form" | ||
2185 | 1010 | action="action_hotel_services_form" | ||
2186 | 1011 | sequence="8" | ||
2187 | 1012 | parent="hotel.menu_hotel_service"/> | ||
2188 | 1013 | |||
2189 | 1014 | <!--======================================================== | ||
2190 | 1015 | Hotel Folio | ||
2191 | 1016 | ========================================================--> | ||
2192 | 1017 | <record model="ir.ui.view" id="view_hotel_folio1_form"> | ||
2193 | 1018 | <field name="name">hotel.folio.form</field> | ||
2194 | 1019 | <field name="model">hotel.folio</field> | ||
2195 | 1020 | <field name="arch" type="xml"> | ||
2196 | 1021 | <form string="Folio" version="7.0"> | ||
2197 | 1022 | <header> | ||
2198 | 1023 | <button name="order_confirm" string="Confirm Folio" states="draft" icon="gtk-apply" class="oe_highlight"/> | ||
2199 | 1024 | <button name="invoice_recreate" string="Recreate Invoice" states="invoice_except" icon="gtk-redo"/> | ||
2200 | 1025 | <button name="invoice_corrected" string="Invoice Corrected" states="invoice_except" icon="gtk-paste-v"/> | ||
2201 | 1026 | <button name="ship_recreate" string="Recreate Procurement" states="shipping_except" icon="gtk-redo"/> | ||
2202 | 1027 | <button name="ship_corrected" string="Procurement Corrected" states="shipping_except" icon="gtk-paste-v"/> | ||
2203 | 1028 | <button name="manual_invoice" states="manual" string="Create Invoice" icon="gtk-new"/> | ||
2204 | 1029 | <button name="ship_cancel" string="Cancel Folio" states="shipping_except" icon="gtk-cancel" class="oe_highlight" /> | ||
2205 | 1030 | <button name="action_cancel_draft" states="cancel" string="Set to Draft" type="object" icon="gtk-file"/> | ||
2206 | 1031 | <button name="action_cancel" string="Cancel Folio" states="manual,progress" type="object" icon="gtk-cancel"/> | ||
2207 | 1032 | <button name="cancel" string="Cancel Folio" states="draft" icon="gtk-cancel"/> | ||
2208 | 1033 | <button name="invoice_cancel" string="Cancel Folio" states="invoice_except" icon="gtk-cancel"/> | ||
2209 | 1034 | <field name="state" select="2" widget="statusbar" statusbar_visible="draft,sent,invoiced,done"/> | ||
2210 | 1035 | </header> | ||
2211 | 1036 | <sheet> | ||
2212 | 1037 | <label string="Folio Number"/> | ||
2213 | 1038 | <h1> | ||
2214 | 1039 | <field name="name" colspan="4"/> | ||
2215 | 1040 | </h1> | ||
2216 | 1041 | <group colspan="4" col="4"> | ||
2217 | 1042 | <field name="date_order"/> | ||
2218 | 1043 | <field name="invoiced"/> | ||
2219 | 1044 | <field name="shop_id" string="Branch"/> | ||
2220 | 1045 | </group> | ||
2221 | 1046 | <notebook colspan="4"> | ||
2222 | 1047 | <page string="Folio"> | ||
2223 | 1048 | <group colspan="4" col="4"> | ||
2224 | 1049 | <field name="partner_id" on_change="onchange_partner_id(partner_id)" required="1" string="Guest Name"/> | ||
2225 | 1050 | <field name="partner_invoice_id" domain="[('parent_id','=',partner_id)]" /> | ||
2226 | 1051 | <field name="pricelist_id" domain="[('type','=','sale')]" /> | ||
2227 | 1052 | <field name="project_id"/> | ||
2228 | 1053 | <field name="partner_shipping_id" domain="[('parent_id','=',partner_id)]" invisible="1" /> | ||
2229 | 1054 | </group> | ||
2230 | 1055 | <newline/> | ||
2231 | 1056 | <group colspan="4" col="6"> | ||
2232 | 1057 | <field name="checkin_date" on_change="onchange_dates(checkin_date,checkout_date)" /> | ||
2233 | 1058 | <field name="checkout_date" on_change="onchange_dates(checkin_date,checkout_date)"/> | ||
2234 | 1059 | <field name="duration" on_change="onchange_dates(checkin_date,False,duration)"/> | ||
2235 | 1060 | </group> | ||
2236 | 1061 | <separator string="Room Lines" colspan="4"/> | ||
2237 | 1062 | <field name="room_lines" colspan="4" string="Room Line" default_get="{'checkin_date': checkin_date,'checkout_date':checkout_date}" nolabel="1"> | ||
2238 | 1063 | <form string="Room Line" version="7.0"> | ||
2239 | 1064 | <notebook> | ||
2240 | 1065 | <page string="Folio Line"> | ||
2241 | 1066 | <group> | ||
2242 | 1067 | <field name="checkin_date"/> | ||
2243 | 1068 | <field name="checkout_date" on_change="on_change_checkout(checkin_date,checkout_date)" /> | ||
2244 | 1069 | <separator string="Automatic Declaration" colspan="4"/> | ||
2245 | 1070 | <field name="product_uom_qty" | ||
2246 | 1071 | on_change="product_id_change(parent.pricelist_id,product_id,product_uom_qty,product_uom,product_uos_qty,product_uos,name,parent.partner_id, False, False, parent.date_order)" | ||
2247 | 1072 | context="{'partner_id':parent.partner_id,'quantity':product_uom_qty,'pricelist':parent.pricelist_id,'shop':parent.shop_id,'uom':product_uom}" | ||
2248 | 1073 | invisible="1"/> | ||
2249 | 1074 | <field name="product_uom" | ||
2250 | 1075 | on_change="product_uom_change(parent.pricelist_id,product_id,product_uom_qty,product_uom,product_uos_qty,product_uos,name,parent.partner_id, False, False, parent.date_order)" | ||
2251 | 1076 | string="Rent(UOM)"/> | ||
2252 | 1077 | <field name="product_id" | ||
2253 | 1078 | on_change="product_id_change(parent.pricelist_id,product_id,product_uom_qty,product_uom,product_uos_qty,product_uos,name,parent.partner_id, False, True, parent.date_order)" | ||
2254 | 1079 | context="{'partner_id':parent.partner_id,'quantity':product_uom_qty,'pricelist':parent.pricelist_id,'shop':parent.shop_id,'uom':product_uom}" | ||
2255 | 1080 | colspan="4" select="1" domain="[('isroom','=',True)]" string="Room No"/> | ||
2256 | 1081 | </group> | ||
2257 | 1082 | <separator string="Manual Description" | ||
2258 | 1083 | colspan="4" /> | ||
2259 | 1084 | <field name="name" colspan="4" select="2" placeholder="---Description---"/> | ||
2260 | 1085 | <group> | ||
2261 | 1086 | <field name="price_unit" select="2" string="Rent"/> | ||
2262 | 1087 | <field name="discount"/> | ||
2263 | 1088 | <newline/> | ||
2264 | 1089 | <field name="tax_id" colspan="4" nolabel="1"/> | ||
2265 | 1090 | <separator string="States" colspan="4"/> | ||
2266 | 1091 | <field name="state" select="2"/> | ||
2267 | 1092 | <field name="invoiced" select="2"/> | ||
2268 | 1093 | </group> | ||
2269 | 1094 | </page> | ||
2270 | 1095 | <page string="Extra Info"> | ||
2271 | 1096 | <group> | ||
2272 | 1097 | <field name="product_uos_qty"/> | ||
2273 | 1098 | <field name="product_uos" /> | ||
2274 | 1099 | <field name="address_allotment_id" select="2"/> | ||
2275 | 1100 | </group> | ||
2276 | 1101 | <!-- <separator string="Properties" colspan="4"/> --> | ||
2277 | 1102 | </page> | ||
2278 | 1103 | <page string="History"> | ||
2279 | 1104 | <separator string="Invoice Lines" colspan="4"/> | ||
2280 | 1105 | <field name="invoice_lines" colspan="4" nolabel="1"/> | ||
2281 | 1106 | </page> | ||
2282 | 1107 | </notebook> | ||
2283 | 1108 | </form> | ||
2284 | 1109 | <tree string = "Room Line"> | ||
2285 | 1110 | <field name="name"/> | ||
2286 | 1111 | <field name="checkin_date"/> | ||
2287 | 1112 | <field name="checkout_date"/> | ||
2288 | 1113 | <field name="product_id" string="Room No"/> | ||
2289 | 1114 | <field name="product_uom" string="Rent(UOM)"/> | ||
2290 | 1115 | <field name="price_unit" string="Rent"/> | ||
2291 | 1116 | <field name="price_subtotal"/> | ||
2292 | 1117 | <field name="state"/> | ||
2293 | 1118 | </tree> | ||
2294 | 1119 | </field> | ||
2295 | 1120 | <separator string="Service Lines" colspan="4"/> | ||
2296 | 1121 | <field name="service_lines" colspan="4" string = "Service Line" nolabel="1"> | ||
2297 | 1122 | <form string="Service Line" version="7.0"> | ||
2298 | 1123 | <notebook> | ||
2299 | 1124 | <page string="Service Line"> | ||
2300 | 1125 | <separator string="Automatic Declaration" colspan="4"/> | ||
2301 | 1126 | <group> | ||
2302 | 1127 | <field name="product_uom_qty" | ||
2303 | 1128 | on_change="product_id_change(parent.pricelist_id,product_id,product_uom_qty,product_uom,product_uos_qty,product_uos,name,parent.partner_id, False, False, parent.date_order)" | ||
2304 | 1129 | context="{'partner_id':parent.partner_id,'quantity':product_uom_qty,'pricelist':parent.pricelist_id,'shop':parent.shop_id,'uom':product_uom}" | ||
2305 | 1130 | select="1"/> | ||
2306 | 1131 | <field name="product_uom" | ||
2307 | 1132 | on_change="product_uom_change(parent.pricelist_id,product_id,product_uom_qty,product_uom,product_uos_qty,product_uos,name,parent.partner_id, False, False, parent.date_order)" | ||
2308 | 1133 | /> | ||
2309 | 1134 | <field name="product_id" | ||
2310 | 1135 | on_change="product_id_change(parent.pricelist_id,product_id,product_uom_qty,product_uom,product_uos_qty,product_uos,name,parent.partner_id, False, True, parent.date_order)" | ||
2311 | 1136 | context="{'partner_id':parent.partner_id,'quantity':product_uom_qty,'pricelist':parent.pricelist_id,'shop':parent.shop_id,'uom':product_uom}" | ||
2312 | 1137 | select="1" domain="[('isservice','=',True)]" /> | ||
2313 | 1138 | </group> | ||
2314 | 1139 | <separator string="Manual Description" | ||
2315 | 1140 | colspan="4"/> | ||
2316 | 1141 | <field name="name" colspan="4" select="2" placeholder="---Description---"/> | ||
2317 | 1142 | <group> | ||
2318 | 1143 | <field name="price_unit" select="2"/> | ||
2319 | 1144 | <field name="discount"/> | ||
2320 | 1145 | </group> | ||
2321 | 1146 | <newline/> | ||
2322 | 1147 | <field name="tax_id" colspan="4"/> | ||
2323 | 1148 | <group> | ||
2324 | 1149 | <separator string="States" colspan="4"/> | ||
2325 | 1150 | <field name="state" select="2"/> | ||
2326 | 1151 | <field name="invoiced" select="2"/> | ||
2327 | 1152 | </group> | ||
2328 | 1153 | </page> | ||
2329 | 1154 | <page string="Extra Info"> | ||
2330 | 1155 | <group> | ||
2331 | 1156 | <field name="product_uos_qty"/> | ||
2332 | 1157 | <field name="product_uos" /> | ||
2333 | 1158 | <field name="address_allotment_id" select="2"/> | ||
2334 | 1159 | </group> | ||
2335 | 1160 | <!-- <separator string="Properties" colspan="4"/> --> | ||
2336 | 1161 | </page> | ||
2337 | 1162 | <page string="History"> | ||
2338 | 1163 | <separator string="Invoice Lines" colspan="4"/> | ||
2339 | 1164 | <field name="invoice_lines" colspan="4" nolabel="1"/> | ||
2340 | 1165 | </page> | ||
2341 | 1166 | </notebook> | ||
2342 | 1167 | </form> | ||
2343 | 1168 | <tree string="Service Line"> | ||
2344 | 1169 | <field name="name"/> | ||
2345 | 1170 | <field name="product_id" /> | ||
2346 | 1171 | <field name="product_uom_qty"/> | ||
2347 | 1172 | <field name="price_unit"/> | ||
2348 | 1173 | <field name="price_subtotal"/> | ||
2349 | 1174 | <field name="state"/> | ||
2350 | 1175 | </tree> | ||
2351 | 1176 | </field> | ||
2352 | 1177 | <group colspan="2" class="oe_subtotal_footer oe_right"> | ||
2353 | 1178 | <field name="amount_untaxed" sum="Untaxed amount" widget='monetary' /> | ||
2354 | 1179 | <field name="amount_tax" widget='monetary'/> | ||
2355 | 1180 | <div class="oe_subtotal_footer_separator oe_inline"> | ||
2356 | 1181 | <label for="amount_total" /> | ||
2357 | 1182 | <button name="button_dummy" string="Compute" states="draft" type="object" icon="terp-sale" class="oe_highlight"/> | ||
2358 | 1183 | </div> | ||
2359 | 1184 | <field name="amount_total" nolabel="1" sum="Total amount" widget='monetary'/> | ||
2360 | 1185 | </group> | ||
2361 | 1186 | <div class="oe_clear"/> | ||
2362 | 1187 | </page> | ||
2363 | 1188 | <page string="Other data"> | ||
2364 | 1189 | <group> | ||
2365 | 1190 | <field name="user_id"/> | ||
2366 | 1191 | <field name="order_policy" invisible="1"/> | ||
2367 | 1192 | <field name="hotel_policy" attrs="{'readonly':[('state','not in',('draft'))]}"/> | ||
2368 | 1193 | <field name="client_order_ref" /> | ||
2369 | 1194 | </group> | ||
2370 | 1195 | </page> | ||
2371 | 1196 | <page string="History"> | ||
2372 | 1197 | <separator string="Related invoices" colspan="4"/> | ||
2373 | 1198 | <field name="invoice_ids" colspan="4" nolabel="1"/> | ||
2374 | 1199 | </page> | ||
2375 | 1200 | </notebook> | ||
2376 | 1201 | </sheet> | ||
2377 | 1202 | </form> | ||
2378 | 1203 | </field> | ||
2379 | 1204 | </record> | ||
2380 | 1205 | <record model="ir.ui.view" id="view_hotel_folio1_tree"> | ||
2381 | 1206 | <field name="name">hotel.folio.tree</field> | ||
2382 | 1207 | <field name="model">hotel.folio</field> | ||
2383 | 1208 | <field name="arch" type="xml"> | ||
2384 | 1209 | <tree string="Hotel Folio" colors="blue:state == 'draft';gray:state == 'done'"> | ||
2385 | 1210 | <field name="checkin_date" /> | ||
2386 | 1211 | <field name="checkout_date" /> | ||
2387 | 1212 | <field name="name" select="1"/> | ||
2388 | 1213 | <field name="partner_id" select="1"/> | ||
2389 | 1214 | <field name="date_order" select="1"/> | ||
2390 | 1215 | <field name="state"/> | ||
2391 | 1216 | <field name="amount_total" sum="Total amount"/> | ||
2392 | 1217 | </tree> | ||
2393 | 1218 | </field> | ||
2394 | 1219 | </record> | ||
2395 | 1220 | |||
2396 | 1221 | <record model="ir.ui.view" id="hotel_folio_calendar_view"> | ||
2397 | 1222 | <field name="name">Hotel- Folios Calendar</field> | ||
2398 | 1223 | <field name="model">hotel.folio</field> | ||
2399 | 1224 | <field name="arch" type="xml"> | ||
2400 | 1225 | <calendar string="Folios" date_start="checkin_date" color="user_id" date_stop="checkout_date"> | ||
2401 | 1226 | <field name="name"/> | ||
2402 | 1227 | <field name="partner_id"/> | ||
2403 | 1228 | <field name="duration"/> | ||
2404 | 1229 | </calendar> | ||
2405 | 1230 | </field> | ||
2406 | 1231 | </record> | ||
2407 | 1232 | |||
2408 | 1233 | <record model="ir.actions.act_window" id="open_hotel_folio1_form_tree_all"> | ||
2409 | 1234 | <field name="name">Hotel Folio</field> | ||
2410 | 1235 | <field name="res_model">hotel.folio</field> | ||
2411 | 1236 | <field name="view_type">form</field> | ||
2412 | 1237 | <field name="view_mode">tree,form,calendar</field> | ||
2413 | 1238 | </record> | ||
2414 | 1239 | |||
2415 | 1240 | <menuitem id="menu_all_folio" name="Folio" parent="hotel.hotel_management_menu" sequence="4"/> | ||
2416 | 1241 | <menuitem name="Generate Folio" | ||
2417 | 1242 | id="menu_open_hotel_folio1_form_tree_all" | ||
2418 | 1243 | action="open_hotel_folio1_form_tree_all" | ||
2419 | 1244 | sequence="5" | ||
2420 | 1245 | parent ="menu_all_folio"/> | ||
2421 | 1246 | |||
2422 | 1247 | <!-- Categories for Room, Amenities, Services --> | ||
2423 | 1248 | <record model="ir.actions.act_window" id="hotel_room_category_action"> | ||
2424 | 1249 | <field name="name">Rooms by Category</field> | ||
2425 | 1250 | <field name="type">ir.actions.act_window</field> | ||
2426 | 1251 | <field name="res_model">product.category</field> | ||
2427 | 1252 | <field name="domain">[('parent_id','=',False),('isroomtype','=',True)]</field> | ||
2428 | 1253 | <field name="view_type">tree</field> | ||
2429 | 1254 | <field name="view_id" ref="product.product_category_tree_view"/> | ||
2430 | 1255 | </record> | ||
2431 | 1256 | <menuitem name="Room by Category" | ||
2432 | 1257 | id="menu_hotel_room_category_action" | ||
2433 | 1258 | action="hotel_room_category_action" | ||
2434 | 1259 | sequence="7" | ||
2435 | 1260 | parent="hotel.menu_hotel_room"/> | ||
2436 | 1261 | |||
2437 | 1262 | <record model="ir.actions.act_window" id="hotel_amenity_category_action"> | ||
2438 | 1263 | <field name="name">Amenities by Category</field> | ||
2439 | 1264 | <field name="type">ir.actions.act_window</field> | ||
2440 | 1265 | <field name="res_model">product.category</field> | ||
2441 | 1266 | <field name="domain">[('parent_id','=',False),('isamenitype','=',True)]</field> | ||
2442 | 1267 | <field name="view_type">tree</field> | ||
2443 | 1268 | <field name="view_id" ref="product.product_category_tree_view"/> | ||
2444 | 1269 | </record> | ||
2445 | 1270 | <menuitem name="Amenities by Category" | ||
2446 | 1271 | id="menu_hotel_amenity_category_action" | ||
2447 | 1272 | action="hotel_amenity_category_action" | ||
2448 | 1273 | sequence="4" | ||
2449 | 1274 | parent="hotel.menu_amenity"/> | ||
2450 | 1275 | |||
2451 | 1276 | <record model="ir.actions.act_window" id="hotel_service_category_action"> | ||
2452 | 1277 | <field name="name">Services by Category</field> | ||
2453 | 1278 | <field name="type">ir.actions.act_window</field> | ||
2454 | 1279 | <field name="res_model">product.category</field> | ||
2455 | 1280 | <field name="domain">[('parent_id','=',False),('isservicetype','=',True)]</field> | ||
2456 | 1281 | <field name="view_type">tree</field> | ||
2457 | 1282 | <field name="view_id" ref="product.product_category_tree_view"/> | ||
2458 | 1283 | </record> | ||
2459 | 1284 | <menuitem name="Services by Category" | ||
2460 | 1285 | id="menu_hotel_service_category_action" | ||
2461 | 1286 | action="hotel_service_category_action" | ||
2462 | 1287 | sequence="10" | ||
2463 | 1288 | parent="hotel.menu_hotel_service"/> | ||
2464 | 1289 | |||
2465 | 1290 | </data> | ||
2466 | 1291 | </openerp>>>>>>>> MERGE-SOURCE | ||
2467 | 440 | 1292 | ||
2468 | === added file 'hotel/i18n/fr.po' | |||
2469 | --- hotel/i18n/fr.po 1970-01-01 00:00:00 +0000 | |||
2470 | +++ hotel/i18n/fr.po 2014-09-28 13:18:16 +0000 | |||
2471 | @@ -0,0 +1,752 @@ | |||
2472 | 1 | # Translation of OpenERP Server. | ||
2473 | 2 | # This file contains the translation of the following modules: | ||
2474 | 3 | # * hotel | ||
2475 | 4 | # | ||
2476 | 5 | msgid "" | ||
2477 | 6 | msgstr "" | ||
2478 | 7 | "Project-Id-Version: OpenERP Server 5.0.6\n" | ||
2479 | 8 | "Report-Msgid-Bugs-To: support@openerp.com\n" | ||
2480 | 9 | "POT-Creation-Date: 2009-11-26 07:33:36+0000\n" | ||
2481 | 10 | "PO-Revision-Date: 2014-07-19 13:06-0000\n" | ||
2482 | 11 | "Last-Translator: <>\n" | ||
2483 | 12 | "Language-Team: \n" | ||
2484 | 13 | "MIME-Version: 1.0\n" | ||
2485 | 14 | "Content-Type: text/plain; charset=UTF-8\n" | ||
2486 | 15 | "Content-Transfer-Encoding: 8bit\n" | ||
2487 | 16 | "Plural-Forms: \n" | ||
2488 | 17 | "Language: fr\n" | ||
2489 | 18 | "X-Generator: Poedit 1.6.6\n" | ||
2490 | 19 | |||
2491 | 20 | #. module: hotel | ||
2492 | 21 | #: model:ir.ui.menu,name:hotel.menu_open_hotel_folio1_form_tree | ||
2493 | 22 | msgid "Generate Folio" | ||
2494 | 23 | msgstr "Générer Classeur" | ||
2495 | 24 | |||
2496 | 25 | #. module: hotel | ||
2497 | 26 | #: view:hotel.folio:0 | ||
2498 | 27 | msgid "Recreate Procurement" | ||
2499 | 28 | msgstr "Recréer Approvisionnement" | ||
2500 | 29 | |||
2501 | 30 | #. module: hotel | ||
2502 | 31 | #: field:hotel.folio,checkout_date:0 field:hotel_folio.line,checkout_date:0 | ||
2503 | 32 | msgid "Check Out" | ||
2504 | 33 | msgstr "Départ" | ||
2505 | 34 | |||
2506 | 35 | #. module: hotel | ||
2507 | 36 | #: model:ir.ui.menu,name:hotel.menu_action_hotel_room_amenities_view_form | ||
2508 | 37 | msgid "Amenities" | ||
2509 | 38 | msgstr "Commodités" | ||
2510 | 39 | |||
2511 | 40 | #. module: hotel | ||
2512 | 41 | #: constraint:ir.actions.act_window:0 | ||
2513 | 42 | msgid "Invalid model name in the action definition." | ||
2514 | 43 | msgstr "Nom du modèle invalide dans la définition de l'action" | ||
2515 | 44 | |||
2516 | 45 | #. module: hotel | ||
2517 | 46 | #: field:hotel.floor,name:0 | ||
2518 | 47 | msgid "Floor Name" | ||
2519 | 48 | msgstr "Nom de l'étage" | ||
2520 | 49 | |||
2521 | 50 | #. module: hotel | ||
2522 | 51 | #: field:product.product,iscategid:0 | ||
2523 | 52 | msgid "Is categ id" | ||
2524 | 53 | msgstr "Is categ id" | ||
2525 | 54 | |||
2526 | 55 | #. module: hotel | ||
2527 | 56 | #: model:ir.model,name:hotel.model_hotel_room_amenities_type | ||
2528 | 57 | msgid "amenities Type" | ||
2529 | 58 | msgstr "Type de Commodités" | ||
2530 | 59 | |||
2531 | 60 | #. module: hotel | ||
2532 | 61 | #: view:hotel.room_amenities:0 | ||
2533 | 62 | msgid "Amenity rate" | ||
2534 | 63 | msgstr "Tarif Commodités" | ||
2535 | 64 | |||
2536 | 65 | #. module: hotel | ||
2537 | 66 | #: field:product.category,isservicetype:0 | ||
2538 | 67 | msgid "Is Service Type" | ||
2539 | 68 | msgstr "Es un Type de Service" | ||
2540 | 69 | |||
2541 | 70 | #. module: hotel | ||
2542 | 71 | #: view:hotel.folio:0 | ||
2543 | 72 | msgid "Set to Draft" | ||
2544 | 73 | msgstr "Mettre en brouillon" | ||
2545 | 74 | |||
2546 | 75 | #. module: hotel | ||
2547 | 76 | #: rml:folio.total:0 | ||
2548 | 77 | msgid "to" | ||
2549 | 78 | msgstr "A" | ||
2550 | 79 | |||
2551 | 80 | #. module: hotel | ||
2552 | 81 | #: wizard_view:hotel.folio.total_folio,init:0 | ||
2553 | 82 | msgid "Folio List" | ||
2554 | 83 | msgstr "Liste Classeur" | ||
2555 | 84 | |||
2556 | 85 | #. module: hotel | ||
2557 | 86 | #: model:ir.ui.menu,name:hotel.menu_open_hotel_services_form | ||
2558 | 87 | msgid "Services" | ||
2559 | 88 | msgstr "Services" | ||
2560 | 89 | |||
2561 | 90 | #. module: hotel | ||
2562 | 91 | #: view:hotel.folio:0 | ||
2563 | 92 | msgid "Cancel Order" | ||
2564 | 93 | msgstr "Annuler commande" | ||
2565 | 94 | |||
2566 | 95 | #. module: hotel | ||
2567 | 96 | #: view:hotel.folio:0 | ||
2568 | 97 | msgid "Confirm Order" | ||
2569 | 98 | msgstr "Confirmer Commande" | ||
2570 | 99 | |||
2571 | 100 | #. module: hotel | ||
2572 | 101 | #: model:product.category,name:hotel.hotel_room_amenities_type_0_product_category | ||
2573 | 102 | msgid "All Aminities" | ||
2574 | 103 | msgstr "Toutes les Commodités" | ||
2575 | 104 | |||
2576 | 105 | #. module: hotel | ||
2577 | 106 | #: view:hotel.folio:0 | ||
2578 | 107 | msgid "Notes" | ||
2579 | 108 | msgstr "Notes" | ||
2580 | 109 | |||
2581 | 110 | #. module: hotel | ||
2582 | 111 | #: view:hotel.floor:0 | ||
2583 | 112 | msgid " Hotel Floor" | ||
2584 | 113 | msgstr "Etage de l'hotel" | ||
2585 | 114 | |||
2586 | 115 | #. module: hotel | ||
2587 | 116 | #: rml:folio.total:0 | ||
2588 | 117 | msgid "Customer Name" | ||
2589 | 118 | msgstr "Nom Client" | ||
2590 | 119 | |||
2591 | 120 | #. module: hotel | ||
2592 | 121 | #: field:product.product,isroom:0 | ||
2593 | 122 | msgid "Is Room" | ||
2594 | 123 | msgstr "Es une Chambre" | ||
2595 | 124 | |||
2596 | 125 | #. module: hotel | ||
2597 | 126 | #: model:product.category,name:hotel.hotel_service_type_1_product_category | ||
2598 | 127 | msgid "Fixed" | ||
2599 | 128 | msgstr "Fixe" | ||
2600 | 129 | |||
2601 | 130 | #. module: hotel | ||
2602 | 131 | #: model:ir.model,name:hotel.model_hotel_service_line | ||
2603 | 132 | msgid "hotel Service line" | ||
2604 | 133 | msgstr "Prestations de l'Hotel" | ||
2605 | 134 | |||
2606 | 135 | #. module: hotel | ||
2607 | 136 | #: model:ir.ui.menu,name:hotel.menu_open_hotel_folio1_form_tree_all | ||
2608 | 137 | msgid "All Folio" | ||
2609 | 138 | msgstr "Tous les Classeurs" | ||
2610 | 139 | |||
2611 | 140 | #. module: hotel | ||
2612 | 141 | #: view:hotel.room:0 field:hotel.room,room_amenities:0 | ||
2613 | 142 | msgid "Room Amenities" | ||
2614 | 143 | msgstr "Commodités de Chambre" | ||
2615 | 144 | |||
2616 | 145 | #. module: hotel | ||
2617 | 146 | #: view:hotel.service_type:0 | ||
2618 | 147 | #: model:ir.actions.act_window,name:hotel.open_hotel_service_type_form_tree | ||
2619 | 148 | #: model:ir.model,name:hotel.model_hotel_service_type | ||
2620 | 149 | msgid "Service Type" | ||
2621 | 150 | msgstr "Type de Service" | ||
2622 | 151 | |||
2623 | 152 | #. module: hotel | ||
2624 | 153 | #: field:hotel_folio.line,order_line_id:0 | ||
2625 | 154 | msgid "order_line_id" | ||
2626 | 155 | msgstr "order_line_id" | ||
2627 | 156 | |||
2628 | 157 | #. module: hotel | ||
2629 | 158 | #: constraint:product.category:0 | ||
2630 | 159 | msgid "Error ! You can not create recursive categories." | ||
2631 | 160 | msgstr "Erreur! Impossible de créer des Tables recurssives" | ||
2632 | 161 | |||
2633 | 162 | #. module: hotel | ||
2634 | 163 | #: model:ir.model,name:hotel.model_hotel_folio | ||
2635 | 164 | msgid "hotel folio new" | ||
2636 | 165 | msgstr "Nouveau Classeur" | ||
2637 | 166 | |||
2638 | 167 | #. module: hotel | ||
2639 | 168 | #: view:hotel.folio:0 | ||
2640 | 169 | msgid "Extra Info" | ||
2641 | 170 | msgstr "Infos Supplémentaires" | ||
2642 | 171 | |||
2643 | 172 | #. module: hotel | ||
2644 | 173 | #: model:ir.actions.act_window,name:hotel.hotel_room_category_action | ||
2645 | 174 | msgid "Rooms by Category" | ||
2646 | 175 | msgstr "Chambres par Catégories" | ||
2647 | 176 | |||
2648 | 177 | #. module: hotel | ||
2649 | 178 | #: model:product.category,name:hotel.hotel_room_amenities_type_3_product_category | ||
2650 | 179 | msgid "Single Bed" | ||
2651 | 180 | msgstr "Lit Simple" | ||
2652 | 181 | |||
2653 | 182 | #. module: hotel | ||
2654 | 183 | #: model:ir.ui.menu,name:hotel.menu_open_hotel_service_type_form_tree | ||
2655 | 184 | msgid "Service Types" | ||
2656 | 185 | msgstr "Types de Services" | ||
2657 | 186 | |||
2658 | 187 | #. module: hotel | ||
2659 | 188 | #: model:product.category,name:hotel.hotel_room_amenities_type_2_product_category | ||
2660 | 189 | msgid "Tables" | ||
2661 | 190 | msgstr "Tables" | ||
2662 | 191 | |||
2663 | 192 | #. module: hotel | ||
2664 | 193 | #: view:hotel.folio:0 | ||
2665 | 194 | msgid "Folio" | ||
2666 | 195 | msgstr "Classeur" | ||
2667 | 196 | |||
2668 | 197 | #. module: hotel | ||
2669 | 198 | #: rml:folio.total:0 | ||
2670 | 199 | msgid "From" | ||
2671 | 200 | msgstr "De" | ||
2672 | 201 | |||
2673 | 202 | #. module: hotel | ||
2674 | 203 | #: view:hotel.folio:0 | ||
2675 | 204 | msgid "Recreate Invoice" | ||
2676 | 205 | msgstr "Recréer Facture" | ||
2677 | 206 | |||
2678 | 207 | #. module: hotel | ||
2679 | 208 | #: field:product.category,isamenitype:0 | ||
2680 | 209 | msgid "Is amenities Type" | ||
2681 | 210 | msgstr "Es un Type de Commodité" | ||
2682 | 211 | |||
2683 | 212 | #. module: hotel | ||
2684 | 213 | #: view:hotel.room:0 | ||
2685 | 214 | msgid " Room Amenities" | ||
2686 | 215 | msgstr "Commodités de Chambre" | ||
2687 | 216 | |||
2688 | 217 | #. module: hotel | ||
2689 | 218 | #: field:hotel.folio,checkin_date:0 field:hotel_folio.line,checkin_date:0 | ||
2690 | 219 | msgid "Check In" | ||
2691 | 220 | msgstr "Arrivé" | ||
2692 | 221 | |||
2693 | 222 | #. module: hotel | ||
2694 | 223 | #: model:ir.actions.act_window,name:hotel.hotel_amenity_category_action | ||
2695 | 224 | #: model:ir.ui.menu,name:hotel.menu_hotel_amenity_category_action | ||
2696 | 225 | msgid "Amenities by Category" | ||
2697 | 226 | msgstr "Commodités par Catégorie" | ||
2698 | 227 | |||
2699 | 228 | #. module: hotel | ||
2700 | 229 | #: field:hotel.services,service_id:0 | ||
2701 | 230 | msgid "Service_id" | ||
2702 | 231 | msgstr "Service_id" | ||
2703 | 232 | |||
2704 | 233 | #. module: hotel | ||
2705 | 234 | #: view:hotel.folio:0 | ||
2706 | 235 | msgid "Invoice Lines" | ||
2707 | 236 | msgstr "Ligne de facture" | ||
2708 | 237 | |||
2709 | 238 | #. module: hotel | ||
2710 | 239 | #: view:hotel.folio:0 | ||
2711 | 240 | msgid "Untaxed amount" | ||
2712 | 241 | msgstr "Montant non taxé" | ||
2713 | 242 | |||
2714 | 243 | #. module: hotel | ||
2715 | 244 | #: field:hotel.room_amenities_type,cat_id:0 field:hotel.room_type,cat_id:0 | ||
2716 | 245 | #: field:hotel.service_type,ser_id:0 | ||
2717 | 246 | msgid "category" | ||
2718 | 247 | msgstr "Catégorie" | ||
2719 | 248 | |||
2720 | 249 | #. module: hotel | ||
2721 | 250 | #: view:hotel.room:0 field:hotel.room,avail_status:0 | ||
2722 | 251 | msgid "Room Status" | ||
2723 | 252 | msgstr "Situation Chambre" | ||
2724 | 253 | |||
2725 | 254 | #. module: hotel | ||
2726 | 255 | #: field:hotel.room_amenities,room_categ_id:0 | ||
2727 | 256 | msgid "Product Category" | ||
2728 | 257 | msgstr "Catégorie de Produit" | ||
2729 | 258 | |||
2730 | 259 | #. module: hotel | ||
2731 | 260 | #: view:hotel.folio:0 | ||
2732 | 261 | msgid "Manual Description" | ||
2733 | 262 | msgstr "Description" | ||
2734 | 263 | |||
2735 | 264 | #. module: hotel | ||
2736 | 265 | #: model:product.category,name:hotel.hotel_service_type_0_product_category | ||
2737 | 266 | msgid "All Services" | ||
2738 | 267 | msgstr "Tous les Services" | ||
2739 | 268 | |||
2740 | 269 | #. module: hotel | ||
2741 | 270 | #: view:hotel.room:0 | ||
2742 | 271 | #: model:ir.actions.act_window,name:hotel.action_hotel_room_form | ||
2743 | 272 | #: model:ir.model,name:hotel.model_hotel_room | ||
2744 | 273 | msgid "Hotel Room" | ||
2745 | 274 | msgstr "Chambres d'Hotel" | ||
2746 | 275 | |||
2747 | 276 | #. module: hotel | ||
2748 | 277 | #: rml:folio.total:0 | ||
2749 | 278 | msgid "Folio No." | ||
2750 | 279 | msgstr "Classeur No." | ||
2751 | 280 | |||
2752 | 281 | #. module: hotel | ||
2753 | 282 | #: view:hotel.folio:0 | ||
2754 | 283 | msgid "Inventory Moves" | ||
2755 | 284 | msgstr "Mouvement Inventaire" | ||
2756 | 285 | |||
2757 | 286 | #. module: hotel | ||
2758 | 287 | #: model:ir.ui.menu,name:hotel.hotel_configuration_menu | ||
2759 | 288 | msgid "Configuration" | ||
2760 | 289 | msgstr "Configuration" | ||
2761 | 290 | |||
2762 | 291 | #. module: hotel | ||
2763 | 292 | #: view:hotel.folio:0 | ||
2764 | 293 | msgid "Total amount" | ||
2765 | 294 | msgstr "Montant Total" | ||
2766 | 295 | |||
2767 | 296 | #. module: hotel | ||
2768 | 297 | #: view:hotel.floor:0 | ||
2769 | 298 | msgid " Hotel Floors" | ||
2770 | 299 | msgstr "Etages de l'Hotel" | ||
2771 | 300 | |||
2772 | 301 | #. module: hotel | ||
2773 | 302 | #: constraint:ir.ui.view:0 | ||
2774 | 303 | msgid "Invalid XML for View Architecture!" | ||
2775 | 304 | msgstr "XML invalide pour cette vue!" | ||
2776 | 305 | |||
2777 | 306 | #. module: hotel | ||
2778 | 307 | #: field:hotel.folio,order_id:0 | ||
2779 | 308 | msgid "order_id" | ||
2780 | 309 | msgstr "order_id" | ||
2781 | 310 | |||
2782 | 311 | #. module: hotel | ||
2783 | 312 | #: field:hotel.room_amenities,amenity_rate:0 | ||
2784 | 313 | msgid "Amenity Rate" | ||
2785 | 314 | msgstr "Tarif Commodités" | ||
2786 | 315 | |||
2787 | 316 | #. module: hotel | ||
2788 | 317 | #: view:hotel.room:0 view:hotel.room_amenities:0 view:hotel.services:0 | ||
2789 | 318 | msgid "Procurement" | ||
2790 | 319 | msgstr "Approvisionnement" | ||
2791 | 320 | |||
2792 | 321 | #. module: hotel | ||
2793 | 322 | #: field:hotel.floor,sequence:0 | ||
2794 | 323 | msgid "Sequence" | ||
2795 | 324 | msgstr "Séquence" | ||
2796 | 325 | |||
2797 | 326 | #. module: hotel | ||
2798 | 327 | #: model:ir.ui.menu,name:hotel.menu_action_hotel_room_amenities_type_view_form | ||
2799 | 328 | msgid "Amenity Types" | ||
2800 | 329 | msgstr "Type de Commodités" | ||
2801 | 330 | |||
2802 | 331 | #. module: hotel | ||
2803 | 332 | #: model:ir.ui.menu,name:hotel.menu_hotel_room_category_action | ||
2804 | 333 | msgid "Room by Category" | ||
2805 | 334 | msgstr "Chambre par Catégorie" | ||
2806 | 335 | |||
2807 | 336 | #. module: hotel | ||
2808 | 337 | #: field:hotel.room_amenities,rcateg_id:0 | ||
2809 | 338 | msgid "Amenity Catagory" | ||
2810 | 339 | msgstr "Catégorie Commodité" | ||
2811 | 340 | |||
2812 | 341 | #. module: hotel | ||
2813 | 342 | #: view:hotel.folio:0 | ||
2814 | 343 | msgid "Other data" | ||
2815 | 344 | msgstr "Autres Info" | ||
2816 | 345 | |||
2817 | 346 | #. module: hotel | ||
2818 | 347 | #: field:hotel.room,max_child:0 | ||
2819 | 348 | msgid "Max Child" | ||
2820 | 349 | msgstr "Max Enfant" | ||
2821 | 350 | |||
2822 | 351 | #. module: hotel | ||
2823 | 352 | #: view:hotel.room:0 view:hotel.room_amenities:0 view:hotel.services:0 | ||
2824 | 353 | msgid "Descriptions" | ||
2825 | 354 | msgstr "Descriptions" | ||
2826 | 355 | |||
2827 | 356 | #. module: hotel | ||
2828 | 357 | #: wizard_field:hotel.folio.total_folio,init,date_start:0 | ||
2829 | 358 | msgid "Start Date" | ||
2830 | 359 | msgstr "Date Début" | ||
2831 | 360 | |||
2832 | 361 | #. module: hotel | ||
2833 | 362 | #: model:ir.model,name:hotel.model_hotel_folio_line | ||
2834 | 363 | msgid "hotel folio1 room line" | ||
2835 | 364 | msgstr "" | ||
2836 | 365 | |||
2837 | 366 | #. module: hotel | ||
2838 | 367 | #: field:product.category,isroomtype:0 | ||
2839 | 368 | msgid "Is Room Type" | ||
2840 | 369 | msgstr "Es un type de Chambre" | ||
2841 | 370 | |||
2842 | 371 | #. module: hotel | ||
2843 | 372 | #: rml:folio.total:0 | ||
2844 | 373 | msgid "Total Collection" | ||
2845 | 374 | msgstr "" | ||
2846 | 375 | |||
2847 | 376 | #. module: hotel | ||
2848 | 377 | #: view:hotel.folio:0 | ||
2849 | 378 | msgid "Automatic Declaration" | ||
2850 | 379 | msgstr "Déclaration Automatique" | ||
2851 | 380 | |||
2852 | 381 | #. module: hotel | ||
2853 | 382 | #: view:hotel.folio:0 | ||
2854 | 383 | msgid "Rent(UOM)" | ||
2855 | 384 | msgstr "Unités (UOM)" | ||
2856 | 385 | |||
2857 | 386 | #. module: hotel | ||
2858 | 387 | #: model:ir.model,name:hotel.model_hotel_services | ||
2859 | 388 | msgid "Hotel Services and its charges" | ||
2860 | 389 | msgstr "Services and charges comprises" | ||
2861 | 390 | |||
2862 | 391 | #. module: hotel | ||
2863 | 392 | #: view:hotel.folio:0 | ||
2864 | 393 | msgid "Procurement Corrected" | ||
2865 | 394 | msgstr "Approvisionnement correct" | ||
2866 | 395 | |||
2867 | 396 | #. module: hotel | ||
2868 | 397 | #: view:hotel.folio:0 | ||
2869 | 398 | msgid "Room Line" | ||
2870 | 399 | msgstr "Chambre" | ||
2871 | 400 | |||
2872 | 401 | #. module: hotel | ||
2873 | 402 | #: view:hotel.folio:0 | ||
2874 | 403 | msgid "Room No" | ||
2875 | 404 | msgstr "Chambre No" | ||
2876 | 405 | |||
2877 | 406 | #. module: hotel | ||
2878 | 407 | #: view:hotel.services:0 | ||
2879 | 408 | msgid "Service rate" | ||
2880 | 409 | msgstr "Tarif Service" | ||
2881 | 410 | |||
2882 | 411 | #. module: hotel | ||
2883 | 412 | #: model:ir.actions.act_window,name:hotel.open_hotel_folio1_form_tree | ||
2884 | 413 | #: model:ir.actions.act_window,name:hotel.open_hotel_folio1_form_tree_all | ||
2885 | 414 | msgid "Hotel Folio" | ||
2886 | 415 | msgstr "Classeur Hotel" | ||
2887 | 416 | |||
2888 | 417 | #. module: hotel | ||
2889 | 418 | #: field:hotel.folio,room_lines:0 field:hotel.folio,service_lines:0 | ||
2890 | 419 | msgid "unknown" | ||
2891 | 420 | msgstr "Inconnu" | ||
2892 | 421 | |||
2893 | 422 | #. module: hotel | ||
2894 | 423 | #: view:hotel.folio:0 | ||
2895 | 424 | msgid "Guest Name" | ||
2896 | 425 | msgstr "Client" | ||
2897 | 426 | |||
2898 | 427 | #. module: hotel | ||
2899 | 428 | #: view:hotel.folio:0 | ||
2900 | 429 | msgid "Service Line" | ||
2901 | 430 | msgstr "Services" | ||
2902 | 431 | |||
2903 | 432 | #. module: hotel | ||
2904 | 433 | #: view:hotel.room_amenities_type:0 | ||
2905 | 434 | #: model:ir.actions.act_window,name:hotel.action_hotel_room_amenities_type_view_form | ||
2906 | 435 | msgid "Hotel Room Amenities Type" | ||
2907 | 436 | msgstr "Type de Commodités de Chambre" | ||
2908 | 437 | |||
2909 | 438 | #. module: hotel | ||
2910 | 439 | #: view:hotel.folio:0 | ||
2911 | 440 | msgid "Folio Line" | ||
2912 | 441 | msgstr "Ligne Classeur" | ||
2913 | 442 | |||
2914 | 443 | #. module: hotel | ||
2915 | 444 | #: view:hotel.folio:0 | ||
2916 | 445 | msgid "Date" | ||
2917 | 446 | msgstr "Date" | ||
2918 | 447 | |||
2919 | 448 | #. module: hotel | ||
2920 | 449 | #: view:hotel.folio:0 view:hotel.room:0 view:hotel.room_amenities:0 | ||
2921 | 450 | #: view:hotel.services:0 | ||
2922 | 451 | msgid "Properties" | ||
2923 | 452 | msgstr "Propriété" | ||
2924 | 453 | |||
2925 | 454 | #. module: hotel | ||
2926 | 455 | #: view:hotel.room_amenities:0 view:hotel.services:0 | ||
2927 | 456 | msgid "Purchase Description" | ||
2928 | 457 | msgstr "Description Achat" | ||
2929 | 458 | |||
2930 | 459 | #. module: hotel | ||
2931 | 460 | #: view:hotel.folio:0 | ||
2932 | 461 | msgid "Compute" | ||
2933 | 462 | msgstr "Calculer" | ||
2934 | 463 | |||
2935 | 464 | #. module: hotel | ||
2936 | 465 | #: model:ir.model,name:hotel.model_hotel_room_amenities | ||
2937 | 466 | msgid "Room amenities" | ||
2938 | 467 | msgstr "Commodités de Chambre" | ||
2939 | 468 | |||
2940 | 469 | #. module: hotel | ||
2941 | 470 | #: model:product.category,name:hotel.hotel_room_type_3_product_category | ||
2942 | 471 | msgid "No Room" | ||
2943 | 472 | msgstr "Pas de Chambre" | ||
2944 | 473 | |||
2945 | 474 | #. module: hotel | ||
2946 | 475 | #: field:hotel_service.line,service_line_id:0 | ||
2947 | 476 | msgid "service_line_id" | ||
2948 | 477 | msgstr "service_line_id" | ||
2949 | 478 | |||
2950 | 479 | #. module: hotel | ||
2951 | 480 | #: model:product.category,name:hotel.hotel_room_amenities_type_1_product_category | ||
2952 | 481 | msgid "Beds" | ||
2953 | 482 | msgstr "Lits" | ||
2954 | 483 | |||
2955 | 484 | #. module: hotel | ||
2956 | 485 | #: model:product.category,name:hotel.hotel_service_type_2_product_category | ||
2957 | 486 | msgid "Variable" | ||
2958 | 487 | msgstr "Variable" | ||
2959 | 488 | |||
2960 | 489 | #. module: hotel | ||
2961 | 490 | #: field:hotel.room,floor_id:0 | ||
2962 | 491 | msgid "Floor No" | ||
2963 | 492 | msgstr "Etage No" | ||
2964 | 493 | |||
2965 | 494 | #. module: hotel | ||
2966 | 495 | #: view:hotel.services:0 | ||
2967 | 496 | #: model:ir.actions.act_window,name:hotel.action_hotel_services_form | ||
2968 | 497 | msgid "Hotel Services" | ||
2969 | 498 | msgstr "Services de l'Hotel" | ||
2970 | 499 | |||
2971 | 500 | #. module: hotel | ||
2972 | 501 | #: view:hotel.room_amenities:0 | ||
2973 | 502 | #: model:ir.actions.act_window,name:hotel.action_hotel_room_amenities_view_form | ||
2974 | 503 | msgid "Hotel Room Amenities" | ||
2975 | 504 | msgstr "Commodités de Chambre" | ||
2976 | 505 | |||
2977 | 506 | #. module: hotel | ||
2978 | 507 | #: view:hotel.folio:0 | ||
2979 | 508 | msgid "History" | ||
2980 | 509 | msgstr "Historique" | ||
2981 | 510 | |||
2982 | 511 | #. module: hotel | ||
2983 | 512 | #: model:ir.actions.act_window,name:hotel.open_hotel_floor_form_tree | ||
2984 | 513 | msgid "Floor Structure" | ||
2985 | 514 | msgstr "Structure Etage" | ||
2986 | 515 | |||
2987 | 516 | #. module: hotel | ||
2988 | 517 | #: rml:folio.total:0 | ||
2989 | 518 | msgid "Net Total :-" | ||
2990 | 519 | msgstr "Net Total :-" | ||
2991 | 520 | |||
2992 | 521 | #. module: hotel | ||
2993 | 522 | #: view:hotel.folio:0 | ||
2994 | 523 | msgid "Related invoices" | ||
2995 | 524 | msgstr "Factures Associées" | ||
2996 | 525 | |||
2997 | 526 | #. module: hotel | ||
2998 | 527 | #: selection:hotel.room,avail_status:0 | ||
2999 | 528 | msgid "Assigned" | ||
3000 | 529 | msgstr "Assigné" | ||
3001 | 530 | |||
3002 | 531 | #. module: hotel | ||
3003 | 532 | #: selection:hotel.room,avail_status:0 | ||
3004 | 533 | msgid "Unassigned" | ||
3005 | 534 | msgstr "Non-assigné" | ||
3006 | 535 | |||
3007 | 536 | #. module: hotel | ||
3008 | 537 | #: model:ir.module.module,shortdesc:hotel.module_meta_information | ||
3009 | 538 | #: model:ir.ui.menu,name:hotel.hotel_management_menu | ||
3010 | 539 | msgid "Hotel Management" | ||
3011 | 540 | msgstr "Hotel Management" | ||
3012 | 541 | |||
3013 | 542 | #. module: hotel | ||
3014 | 543 | #: wizard_button:hotel.folio.total_folio,init,end:0 | ||
3015 | 544 | msgid "Cancel" | ||
3016 | 545 | msgstr "Annulé" | ||
3017 | 546 | |||
3018 | 547 | #. module: hotel | ||
3019 | 548 | #: view:hotel.room:0 view:hotel.room_amenities:0 view:hotel.services:0 | ||
3020 | 549 | msgid "Information" | ||
3021 | 550 | msgstr "Information" | ||
3022 | 551 | |||
3023 | 552 | #. module: hotel | ||
3024 | 553 | #: constraint:ir.model:0 | ||
3025 | 554 | msgid "" | ||
3026 | 555 | "The Object name must start with x_ and not contain any special character !" | ||
3027 | 556 | msgstr "" | ||
3028 | 557 | "Le nom de l'objet doit commencer par x_ et ne doit pas contenir de " | ||
3029 | 558 | "caractères spéciaux !" | ||
3030 | 559 | |||
3031 | 560 | #. module: hotel | ||
3032 | 561 | #: field:hotel.room,product_id:0 | ||
3033 | 562 | msgid "Product_id" | ||
3034 | 563 | msgstr "Product_id" | ||
3035 | 564 | |||
3036 | 565 | #. module: hotel | ||
3037 | 566 | #: view:hotel.folio:0 | ||
3038 | 567 | msgid "Hotel Folio1" | ||
3039 | 568 | msgstr "Hôtel Classeur 1" | ||
3040 | 569 | |||
3041 | 570 | #. module: hotel | ||
3042 | 571 | #: view:hotel.room:0 model:ir.model,name:hotel.model_hotel_floor | ||
3043 | 572 | #: model:ir.ui.menu,name:hotel.menu_open_hotel_floor_form_tree | ||
3044 | 573 | msgid "Floor" | ||
3045 | 574 | msgstr "Etage" | ||
3046 | 575 | |||
3047 | 576 | #. module: hotel | ||
3048 | 577 | #: model:product.category,name:hotel.hotel_room_type_0_product_category | ||
3049 | 578 | msgid "All Rooms" | ||
3050 | 579 | msgstr "Toutes les Chambres" | ||
3051 | 580 | |||
3052 | 581 | #. module: hotel | ||
3053 | 582 | #: view:hotel.folio:0 | ||
3054 | 583 | msgid "Create Invoice" | ||
3055 | 584 | msgstr "Créer Facture" | ||
3056 | 585 | |||
3057 | 586 | #. module: hotel | ||
3058 | 587 | #: wizard_button:hotel.folio.total_folio,init,print_report:0 | ||
3059 | 588 | msgid "Print Report" | ||
3060 | 589 | msgstr "Imprimer Etat" | ||
3061 | 590 | |||
3062 | 591 | #. module: hotel | ||
3063 | 592 | #: model:ir.actions.report.xml,name:hotel.hotel_folio_details | ||
3064 | 593 | #: model:ir.actions.wizard,name:hotel.wizard_hotel_total | ||
3065 | 594 | msgid "Folio Total" | ||
3066 | 595 | msgstr "Total Classeur" | ||
3067 | 596 | |||
3068 | 597 | #. module: hotel | ||
3069 | 598 | #: model:ir.actions.act_window,name:hotel.open_hotel_room_type_form_tree | ||
3070 | 599 | #: model:ir.model,name:hotel.model_hotel_room_type | ||
3071 | 600 | msgid "Room Type" | ||
3072 | 601 | msgstr "Type de Chambre" | ||
3073 | 602 | |||
3074 | 603 | #. module: hotel | ||
3075 | 604 | #: view:hotel.room:0 view:hotel.room_amenities:0 view:hotel.services:0 | ||
3076 | 605 | msgid "Description" | ||
3077 | 606 | msgstr "Description" | ||
3078 | 607 | |||
3079 | 608 | #. module: hotel | ||
3080 | 609 | #: field:hotel_folio.line,folio_id:0 field:hotel_service.line,folio_id:0 | ||
3081 | 610 | msgid "folio_id" | ||
3082 | 611 | msgstr "folio_id" | ||
3083 | 612 | |||
3084 | 613 | #. module: hotel | ||
3085 | 614 | #: view:hotel.room_amenities:0 view:hotel.services:0 | ||
3086 | 615 | msgid "Sale Description" | ||
3087 | 616 | msgstr "Description Vente" | ||
3088 | 617 | |||
3089 | 618 | #. module: hotel | ||
3090 | 619 | #: model:product.category,name:hotel.hotel_room_amenities_type_4_product_category | ||
3091 | 620 | msgid "Double Bed" | ||
3092 | 621 | msgstr "Lit Double" | ||
3093 | 622 | |||
3094 | 623 | #. module: hotel | ||
3095 | 624 | #: field:product.product,isservice:0 | ||
3096 | 625 | msgid "Is Service id" | ||
3097 | 626 | msgstr "Es l'id du Service" | ||
3098 | 627 | |||
3099 | 628 | #. module: hotel | ||
3100 | 629 | #: model:ir.ui.menu,name:hotel.menu_open_hotel_room_type_form_tree | ||
3101 | 630 | msgid "Room Types" | ||
3102 | 631 | msgstr "Type de Chambre" | ||
3103 | 632 | |||
3104 | 633 | #. module: hotel | ||
3105 | 634 | #: rml:folio.total:0 | ||
3106 | 635 | msgid "CheckOut" | ||
3107 | 636 | msgstr "Départ" | ||
3108 | 637 | |||
3109 | 638 | #. module: hotel | ||
3110 | 639 | #: model:ir.actions.act_window,name:hotel.hotel_service_category_action | ||
3111 | 640 | #: model:ir.ui.menu,name:hotel.menu_hotel_service_category_action | ||
3112 | 641 | msgid "Services by Category" | ||
3113 | 642 | msgstr "Services par Catégorie" | ||
3114 | 643 | |||
3115 | 644 | #. module: hotel | ||
3116 | 645 | #: model:ir.ui.menu,name:hotel.menu_open_hotel_room_form | ||
3117 | 646 | msgid "Rooms" | ||
3118 | 647 | msgstr "Chambres" | ||
3119 | 648 | |||
3120 | 649 | #. module: hotel | ||
3121 | 650 | #: view:hotel.room:0 | ||
3122 | 651 | msgid "Room rate" | ||
3123 | 652 | msgstr "Tarif Chambre" | ||
3124 | 653 | |||
3125 | 654 | #. module: hotel | ||
3126 | 655 | #: wizard_field:hotel.folio.total_folio,init,date_end:0 | ||
3127 | 656 | msgid "End Date" | ||
3128 | 657 | msgstr "Date Fin" | ||
3129 | 658 | |||
3130 | 659 | #. module: hotel | ||
3131 | 660 | #: model:product.category,name:hotel.hotel_room_type_2_product_category | ||
3132 | 661 | msgid "Double" | ||
3133 | 662 | msgstr "Double" | ||
3134 | 663 | |||
3135 | 664 | #. module: hotel | ||
3136 | 665 | #: rml:folio.total:0 | ||
3137 | 666 | msgid "CheckIn" | ||
3138 | 667 | msgstr "Arrivée" | ||
3139 | 668 | |||
3140 | 669 | #. module: hotel | ||
3141 | 670 | #: field:hotel.room,max_adult:0 | ||
3142 | 671 | msgid "Max Adult" | ||
3143 | 672 | msgstr "Max Adulte" | ||
3144 | 673 | |||
3145 | 674 | #. module: hotel | ||
3146 | 675 | #: model:ir.module.module,description:hotel.module_meta_information | ||
3147 | 676 | msgid "" | ||
3148 | 677 | "\n" | ||
3149 | 678 | " Module for Hotel/Resort/Property management. You can manage:\n" | ||
3150 | 679 | " * Configure Property\n" | ||
3151 | 680 | " * Hotel Configuration\n" | ||
3152 | 681 | " * Check In, Check out\n" | ||
3153 | 682 | " * Manage Folio\n" | ||
3154 | 683 | " * Payment\n" | ||
3155 | 684 | "\n" | ||
3156 | 685 | " Different reports are also provided, mainly for hotel statistics.\n" | ||
3157 | 686 | " " | ||
3158 | 687 | msgstr "" | ||
3159 | 688 | "\n" | ||
3160 | 689 | " Module Hotel/Property management. Fonctionnalités:\n" | ||
3161 | 690 | " * Configure Property\n" | ||
3162 | 691 | " * Configuration Hotel\n" | ||
3163 | 692 | " * Arrivées, Départs\n" | ||
3164 | 693 | " * Classeurs de Factures\n" | ||
3165 | 694 | " * Paiements\n" | ||
3166 | 695 | "\n" | ||
3167 | 696 | " Plusieurs rapports sont disponibles pour les statistiques Hotel.\n" | ||
3168 | 697 | " " | ||
3169 | 698 | |||
3170 | 699 | #. module: hotel | ||
3171 | 700 | #: model:ir.ui.menu,name:hotel.hotel_report_menu | ||
3172 | 701 | msgid "Reports" | ||
3173 | 702 | msgstr "Rapports" | ||
3174 | 703 | |||
3175 | 704 | #. module: hotel | ||
3176 | 705 | #: view:hotel.folio:0 | ||
3177 | 706 | msgid "Related packings" | ||
3178 | 707 | msgstr "Package lié" | ||
3179 | 708 | |||
3180 | 709 | #. module: hotel | ||
3181 | 710 | #: view:hotel.folio:0 | ||
3182 | 711 | msgid "Folio No" | ||
3183 | 712 | msgstr "Classeur No" | ||
3184 | 713 | |||
3185 | 714 | #. module: hotel | ||
3186 | 715 | #: view:hotel.room_type:0 | ||
3187 | 716 | msgid " Hotel Room Type" | ||
3188 | 717 | msgstr "Type de Chambre d'Hotel" | ||
3189 | 718 | |||
3190 | 719 | #. module: hotel | ||
3191 | 720 | #: view:hotel.folio:0 | ||
3192 | 721 | msgid "Invoice Corrected" | ||
3193 | 722 | msgstr "Facture Corrigée" | ||
3194 | 723 | |||
3195 | 724 | #. module: hotel | ||
3196 | 725 | #: model:ir.ui.menu,name:hotel.wizard_hotel_menu | ||
3197 | 726 | msgid "Hotel Folio Report" | ||
3198 | 727 | msgstr "Etat Classeur Facture" | ||
3199 | 728 | |||
3200 | 729 | #. module: hotel | ||
3201 | 730 | #: view:hotel.folio:0 | ||
3202 | 731 | msgid "States" | ||
3203 | 732 | msgstr "Situations" | ||
3204 | 733 | |||
3205 | 734 | #. module: hotel | ||
3206 | 735 | #: model:product.category,name:hotel.hotel_room_type_1_product_category | ||
3207 | 736 | msgid "Single" | ||
3208 | 737 | msgstr "Seul" | ||
3209 | 738 | |||
3210 | 739 | #. module: hotel | ||
3211 | 740 | #: constraint:product.product:0 | ||
3212 | 741 | msgid "Error: Invalid ean code" | ||
3213 | 742 | msgstr "Erreur: Code EAN invalide" | ||
3214 | 743 | |||
3215 | 744 | #. module: hotel | ||
3216 | 745 | #: view:hotel.folio:0 | ||
3217 | 746 | msgid "Rent" | ||
3218 | 747 | msgstr "Louer" | ||
3219 | 748 | |||
3220 | 749 | #. module: hotel | ||
3221 | 750 | #: rml:folio.total:0 | ||
3222 | 751 | msgid "Total" | ||
3223 | 752 | msgstr "Total" | ||
3224 | 0 | 753 | ||
3225 | === modified file 'hotel/i18n/fr_BE.po' (properties changed: +x to -x) | |||
3226 | === modified file 'hotel/i18n/hotel.pot' (properties changed: +x to -x) | |||
3227 | --- hotel/i18n/hotel.pot 2012-05-22 14:06:57 +0000 | |||
3228 | +++ hotel/i18n/hotel.pot 2014-09-28 13:18:16 +0000 | |||
3229 | @@ -4,754 +4,975 @@ | |||
3230 | 4 | # | 4 | # |
3231 | 5 | msgid "" | 5 | msgid "" |
3232 | 6 | msgstr "" | 6 | msgstr "" |
3238 | 7 | "Project-Id-Version: OpenERP Server 5.0.6\n" | 7 | "Project-Id-Version: OpenERP Server 7.0\n" |
3239 | 8 | "Report-Msgid-Bugs-To: support@openerp.com\n" | 8 | "Report-Msgid-Bugs-To: \n" |
3240 | 9 | "POT-Creation-Date: 2009-11-26 07:33:36+0000\n" | 9 | "POT-Creation-Date: 2013-10-09 13:00+0000\n" |
3241 | 10 | "PO-Revision-Date: 2009-11-26 07:33:36+0000\n" | 10 | "PO-Revision-Date: 2013-10-09 18:33+0530\n" |
3242 | 11 | "Last-Translator: <>\n" | 11 | "Last-Translator: Anil Kesariya <a.kesariya.serpentcs@gmail.com>\n" |
3243 | 12 | "Language-Team: \n" | 12 | "Language-Team: \n" |
3244 | 13 | "MIME-Version: 1.0\n" | 13 | "MIME-Version: 1.0\n" |
3245 | 14 | "Content-Type: text/plain; charset=UTF-8\n" | 14 | "Content-Type: text/plain; charset=UTF-8\n" |
3247 | 15 | "Content-Transfer-Encoding: \n" | 15 | "Content-Transfer-Encoding: 8bit\n" |
3248 | 16 | "Plural-Forms: \n" | 16 | "Plural-Forms: \n" |
3249 | 17 | 17 | ||
3250 | 18 | #. module: hotel | 18 | #. module: hotel |
3252 | 19 | #: model:ir.ui.menu,name:hotel.menu_open_hotel_folio1_form_tree | 19 | #: model:ir.ui.menu,name:hotel.menu_open_hotel_folio1_form_tree_all |
3253 | 20 | msgid "Generate Folio" | 20 | msgid "Generate Folio" |
3255 | 21 | msgstr "" | 21 | msgstr "Generate Folio" |
3256 | 22 | |||
3257 | 23 | #. module: hotel | ||
3258 | 24 | #: help:hotel.folio,room_lines:0 | ||
3259 | 25 | msgid "Hotel room reservation detail." | ||
3260 | 26 | msgstr "Hotel room reservation detail." | ||
3261 | 22 | 27 | ||
3262 | 23 | #. module: hotel | 28 | #. module: hotel |
3263 | 24 | #: view:hotel.folio:0 | 29 | #: view:hotel.folio:0 |
3264 | 25 | msgid "Recreate Procurement" | 30 | msgid "Recreate Procurement" |
3272 | 26 | msgstr "" | 31 | msgstr "Recreate Procurement" |
3273 | 27 | 32 | ||
3274 | 28 | #. module: hotel | 33 | #. module: hotel |
3275 | 29 | #: field:hotel.folio,checkout_date:0 | 34 | #: view:hotel.services:0 |
3276 | 30 | #: field:hotel_folio.line,checkout_date:0 | 35 | msgid "Service" |
3277 | 31 | msgid "Check Out" | 36 | msgstr "Service" |
3278 | 32 | msgstr "" | 37 | |
3279 | 38 | #. module: hotel | ||
3280 | 39 | #: view:hotel.room:0 | ||
3281 | 40 | #: model:ir.actions.act_window,name:hotel.action_hotel_room_form | ||
3282 | 41 | #: model:ir.model,name:hotel.model_hotel_room | ||
3283 | 42 | msgid "Hotel Room" | ||
3284 | 43 | msgstr "Hotel Room" | ||
3285 | 44 | |||
3286 | 45 | #. module: hotel | ||
3287 | 46 | #: view:hotel.room:0 | ||
3288 | 47 | #: view:hotel.room.amenities:0 | ||
3289 | 48 | #: view:hotel.services:0 | ||
3290 | 49 | msgid "Group By..." | ||
3291 | 50 | msgstr "Group By..." | ||
3292 | 33 | 51 | ||
3293 | 34 | #. module: hotel | 52 | #. module: hotel |
3294 | 35 | #: model:ir.ui.menu,name:hotel.menu_action_hotel_room_amenities_view_form | 53 | #: model:ir.ui.menu,name:hotel.menu_action_hotel_room_amenities_view_form |
3295 | 36 | msgid "Amenities" | 54 | msgid "Amenities" |
3297 | 37 | msgstr "" | 55 | msgstr "Amenities" |
3298 | 38 | 56 | ||
3299 | 39 | #. module: hotel | 57 | #. module: hotel |
3303 | 40 | #: constraint:ir.actions.act_window:0 | 58 | #: view:hotel.folio:0 |
3304 | 41 | msgid "Invalid model name in the action definition." | 59 | msgid "Branch" |
3305 | 42 | msgstr "" | 60 | msgstr "Branch" |
3306 | 43 | 61 | ||
3307 | 44 | #. module: hotel | 62 | #. module: hotel |
3308 | 45 | #: field:hotel.floor,name:0 | 63 | #: field:hotel.floor,name:0 |
3309 | 46 | msgid "Floor Name" | 64 | msgid "Floor Name" |
3311 | 47 | msgstr "" | 65 | msgstr "Floor Name" |
3312 | 48 | 66 | ||
3313 | 49 | #. module: hotel | 67 | #. module: hotel |
3314 | 50 | #: field:product.product,iscategid:0 | 68 | #: field:product.product,iscategid:0 |
3315 | 51 | msgid "Is categ id" | 69 | msgid "Is categ id" |
3317 | 52 | msgstr "" | 70 | msgstr "Is categ id" |
3318 | 53 | 71 | ||
3319 | 54 | #. module: hotel | 72 | #. module: hotel |
3320 | 55 | #: model:ir.model,name:hotel.model_hotel_room_amenities_type | 73 | #: model:ir.model,name:hotel.model_hotel_room_amenities_type |
3321 | 56 | msgid "amenities Type" | 74 | msgid "amenities Type" |
3323 | 57 | msgstr "" | 75 | msgstr "amenities Type" |
3324 | 58 | 76 | ||
3325 | 59 | #. module: hotel | 77 | #. module: hotel |
3327 | 60 | #: view:hotel.room_amenities:0 | 78 | #: view:hotel.room.amenities:0 |
3328 | 61 | msgid "Amenity rate" | 79 | msgid "Amenity rate" |
3335 | 62 | msgstr "" | 80 | msgstr "Amenity rate" |
3336 | 63 | 81 | ||
3337 | 64 | #. module: hotel | 82 | #. module: hotel |
3338 | 65 | #: field:product.category,isservicetype:0 | 83 | #: field:room.rent,price:0 |
3339 | 66 | msgid "Is Service Type" | 84 | msgid "Room rent" |
3340 | 67 | msgstr "" | 85 | msgstr "Room rent" |
3341 | 86 | |||
3342 | 87 | #. module: hotel | ||
3343 | 88 | #: view:hotel.folio:0 | ||
3344 | 89 | msgid "Automatic Declaration" | ||
3345 | 90 | msgstr "Automatic Declaration" | ||
3346 | 68 | 91 | ||
3347 | 69 | #. module: hotel | 92 | #. module: hotel |
3348 | 70 | #: view:hotel.folio:0 | 93 | #: view:hotel.folio:0 |
3349 | 71 | msgid "Set to Draft" | 94 | msgid "Set to Draft" |
3363 | 72 | msgstr "" | 95 | msgstr "Set to Draft" |
3364 | 73 | 96 | ||
3365 | 74 | #. module: hotel | 97 | #. module: hotel |
3366 | 75 | #: rml:folio.total:0 | 98 | #: model:ir.ui.menu,name:hotel.menu_hotel_service |
3354 | 76 | msgid "to" | ||
3355 | 77 | msgstr "" | ||
3356 | 78 | |||
3357 | 79 | #. module: hotel | ||
3358 | 80 | #: wizard_view:hotel.folio.total_folio,init:0 | ||
3359 | 81 | msgid "Folio List" | ||
3360 | 82 | msgstr "" | ||
3361 | 83 | |||
3362 | 84 | #. module: hotel | ||
3367 | 85 | #: model:ir.ui.menu,name:hotel.menu_open_hotel_services_form | 99 | #: model:ir.ui.menu,name:hotel.menu_open_hotel_services_form |
3368 | 86 | msgid "Services" | 100 | msgid "Services" |
3380 | 87 | msgstr "" | 101 | msgstr "Services" |
3381 | 88 | 102 | ||
3382 | 89 | #. module: hotel | 103 | #. module: hotel |
3383 | 90 | #: view:hotel.folio:0 | 104 | #: view:hotel.room.amenities:0 |
3384 | 91 | msgid "Cancel Order" | 105 | msgid "Define supplier taxes if there any on the Amenity. " |
3385 | 92 | msgstr "" | 106 | msgstr "Define supplier taxes if there any on the Amenity. " |
3375 | 93 | |||
3376 | 94 | #. module: hotel | ||
3377 | 95 | #: view:hotel.folio:0 | ||
3378 | 96 | msgid "Confirm Order" | ||
3379 | 97 | msgstr "" | ||
3386 | 98 | 107 | ||
3387 | 99 | #. module: hotel | 108 | #. module: hotel |
3388 | 100 | #: model:product.category,name:hotel.hotel_room_amenities_type_0_product_category | 109 | #: model:product.category,name:hotel.hotel_room_amenities_type_0_product_category |
3389 | 101 | msgid "All Aminities" | 110 | msgid "All Aminities" |
3396 | 102 | msgstr "" | 111 | msgstr "All Aminities" |
3397 | 103 | 112 | ||
3398 | 104 | #. module: hotel | 113 | #. module: hotel |
3399 | 105 | #: view:hotel.folio:0 | 114 | #: selection:hotel.folio,hotel_policy:0 |
3400 | 106 | msgid "Notes" | 115 | msgid "On Booking" |
3401 | 107 | msgstr "" | 116 | msgstr "On Booking" |
3402 | 117 | |||
3403 | 118 | #. module: hotel | ||
3404 | 119 | #: view:hotel.room:0 | ||
3405 | 120 | #: view:hotel.room.amenities:0 | ||
3406 | 121 | msgid "Suppliers" | ||
3407 | 122 | msgstr "Suppliers" | ||
3408 | 108 | 123 | ||
3409 | 109 | #. module: hotel | 124 | #. module: hotel |
3410 | 110 | #: view:hotel.floor:0 | 125 | #: view:hotel.floor:0 |
3411 | 111 | msgid " Hotel Floor" | 126 | msgid " Hotel Floor" |
3416 | 112 | msgstr "" | 127 | msgstr " Hotel Floor" |
3417 | 113 | 128 | ||
3418 | 114 | #. module: hotel | 129 | #. module: hotel |
3419 | 115 | #: rml:folio.total:0 | 130 | #: help:hotel.room,floor_id:0 |
3420 | 131 | msgid "At which floor the room is located." | ||
3421 | 132 | msgstr "At which floor the room is located." | ||
3422 | 133 | |||
3423 | 134 | #. module: hotel | ||
3424 | 135 | #: report:folio.total:0 | ||
3425 | 116 | msgid "Customer Name" | 136 | msgid "Customer Name" |
3427 | 117 | msgstr "" | 137 | msgstr "Customer Name" |
3428 | 118 | 138 | ||
3429 | 119 | #. module: hotel | 139 | #. module: hotel |
3430 | 120 | #: field:product.product,isroom:0 | 140 | #: field:product.product,isroom:0 |
3431 | 121 | msgid "Is Room" | 141 | msgid "Is Room" |
3433 | 122 | msgstr "" | 142 | msgstr "Is Room" |
3434 | 123 | 143 | ||
3435 | 124 | #. module: hotel | 144 | #. module: hotel |
3436 | 125 | #: model:product.category,name:hotel.hotel_service_type_1_product_category | 145 | #: model:product.category,name:hotel.hotel_service_type_1_product_category |
3437 | 126 | msgid "Fixed" | 146 | msgid "Fixed" |
3439 | 127 | msgstr "" | 147 | msgstr "Fixed" |
3440 | 128 | 148 | ||
3441 | 129 | #. module: hotel | 149 | #. module: hotel |
3442 | 130 | #: model:ir.model,name:hotel.model_hotel_service_line | 150 | #: model:ir.model,name:hotel.model_hotel_service_line |
3443 | 131 | msgid "hotel Service line" | 151 | msgid "hotel Service line" |
3450 | 132 | msgstr "" | 152 | msgstr "hotel Service line" |
3445 | 133 | |||
3446 | 134 | #. module: hotel | ||
3447 | 135 | #: model:ir.ui.menu,name:hotel.menu_open_hotel_folio1_form_tree_all | ||
3448 | 136 | msgid "All Folio" | ||
3449 | 137 | msgstr "" | ||
3451 | 138 | 153 | ||
3452 | 139 | #. module: hotel | 154 | #. module: hotel |
3453 | 140 | #: view:hotel.room:0 | 155 | #: view:hotel.room:0 |
3454 | 141 | #: field:hotel.room,room_amenities:0 | 156 | #: field:hotel.room,room_amenities:0 |
3455 | 142 | msgid "Room Amenities" | 157 | msgid "Room Amenities" |
3457 | 143 | msgstr "" | 158 | msgstr "Room Amenities" |
3458 | 144 | 159 | ||
3459 | 145 | #. module: hotel | 160 | #. module: hotel |
3461 | 146 | #: view:hotel.service_type:0 | 161 | #: view:hotel.service.type:0 |
3462 | 147 | #: model:ir.actions.act_window,name:hotel.open_hotel_service_type_form_tree | 162 | #: model:ir.actions.act_window,name:hotel.open_hotel_service_type_form_tree |
3463 | 148 | #: model:ir.model,name:hotel.model_hotel_service_type | 163 | #: model:ir.model,name:hotel.model_hotel_service_type |
3464 | 149 | msgid "Service Type" | 164 | msgid "Service Type" |
3469 | 150 | msgstr "" | 165 | msgstr "Service Type" |
3470 | 151 | 166 | ||
3471 | 152 | #. module: hotel | 167 | #. module: hotel |
3472 | 153 | #: field:hotel_folio.line,order_line_id:0 | 168 | #: field:hotel.folio,hotel_policy:0 |
3473 | 169 | msgid "Hotel Policy" | ||
3474 | 170 | msgstr "Hotel Policy" | ||
3475 | 171 | |||
3476 | 172 | #. module: hotel | ||
3477 | 173 | #: field:hotel.folio.line,order_line_id:0 | ||
3478 | 154 | msgid "order_line_id" | 174 | msgid "order_line_id" |
3485 | 155 | msgstr "" | 175 | msgstr "order_line_id" |
3480 | 156 | |||
3481 | 157 | #. module: hotel | ||
3482 | 158 | #: constraint:product.category:0 | ||
3483 | 159 | msgid "Error ! You can not create recursive categories." | ||
3484 | 160 | msgstr "" | ||
3486 | 161 | 176 | ||
3487 | 162 | #. module: hotel | 177 | #. module: hotel |
3488 | 163 | #: model:ir.model,name:hotel.model_hotel_folio | 178 | #: model:ir.model,name:hotel.model_hotel_folio |
3489 | 164 | msgid "hotel folio new" | 179 | msgid "hotel folio new" |
3491 | 165 | msgstr "" | 180 | msgstr "hotel folio new" |
3492 | 166 | 181 | ||
3493 | 167 | #. module: hotel | 182 | #. module: hotel |
3494 | 168 | #: view:hotel.folio:0 | 183 | #: view:hotel.folio:0 |
3495 | 169 | msgid "Extra Info" | 184 | msgid "Extra Info" |
3497 | 170 | msgstr "" | 185 | msgstr "Extra Info" |
3498 | 171 | 186 | ||
3499 | 172 | #. module: hotel | 187 | #. module: hotel |
3500 | 173 | #: model:ir.actions.act_window,name:hotel.hotel_room_category_action | 188 | #: model:ir.actions.act_window,name:hotel.hotel_room_category_action |
3501 | 174 | msgid "Rooms by Category" | 189 | msgid "Rooms by Category" |
3503 | 175 | msgstr "" | 190 | msgstr "Rooms by Category" |
3504 | 191 | |||
3505 | 192 | #. module: hotel | ||
3506 | 193 | #: view:hotel.room:0 | ||
3507 | 194 | msgid "List of supplier taxes if there any on the defined room. " | ||
3508 | 195 | msgstr "List of supplier taxes if there any on the defined room. " | ||
3509 | 176 | 196 | ||
3510 | 177 | #. module: hotel | 197 | #. module: hotel |
3511 | 178 | #: model:product.category,name:hotel.hotel_room_amenities_type_3_product_category | 198 | #: model:product.category,name:hotel.hotel_room_amenities_type_3_product_category |
3512 | 179 | msgid "Single Bed" | 199 | msgid "Single Bed" |
3514 | 180 | msgstr "" | 200 | msgstr "Single Bed" |
3515 | 181 | 201 | ||
3516 | 182 | #. module: hotel | 202 | #. module: hotel |
3517 | 183 | #: model:ir.ui.menu,name:hotel.menu_open_hotel_service_type_form_tree | 203 | #: model:ir.ui.menu,name:hotel.menu_open_hotel_service_type_form_tree |
3518 | 184 | msgid "Service Types" | 204 | msgid "Service Types" |
3520 | 185 | msgstr "" | 205 | msgstr "Service Types" |
3521 | 186 | 206 | ||
3522 | 187 | #. module: hotel | 207 | #. module: hotel |
3523 | 188 | #: model:product.category,name:hotel.hotel_room_amenities_type_2_product_category | 208 | #: model:product.category,name:hotel.hotel_room_amenities_type_2_product_category |
3524 | 189 | msgid "Tables" | 209 | msgid "Tables" |
3526 | 190 | msgstr "" | 210 | msgstr "Tables" |
3527 | 191 | 211 | ||
3528 | 192 | #. module: hotel | 212 | #. module: hotel |
3529 | 193 | #: view:hotel.folio:0 | 213 | #: view:hotel.folio:0 |
3530 | 214 | #: model:ir.ui.menu,name:hotel.menu_all_folio | ||
3531 | 194 | msgid "Folio" | 215 | msgid "Folio" |
3538 | 195 | msgstr "" | 216 | msgstr "Folio" |
3533 | 196 | |||
3534 | 197 | #. module: hotel | ||
3535 | 198 | #: rml:folio.total:0 | ||
3536 | 199 | msgid "From" | ||
3537 | 200 | msgstr "" | ||
3539 | 201 | 217 | ||
3540 | 202 | #. module: hotel | 218 | #. module: hotel |
3541 | 203 | #: view:hotel.folio:0 | 219 | #: view:hotel.folio:0 |
3542 | 204 | msgid "Recreate Invoice" | 220 | msgid "Recreate Invoice" |
3544 | 205 | msgstr "" | 221 | msgstr "Recreate Invoice" |
3545 | 206 | 222 | ||
3546 | 207 | #. module: hotel | 223 | #. module: hotel |
3547 | 208 | #: field:product.category,isamenitype:0 | 224 | #: field:product.category,isamenitype:0 |
3548 | 209 | msgid "Is amenities Type" | 225 | msgid "Is amenities Type" |
3550 | 210 | msgstr "" | 226 | msgstr "Is amenities Type" |
3551 | 211 | 227 | ||
3552 | 212 | #. module: hotel | 228 | #. module: hotel |
3553 | 213 | #: view:hotel.room:0 | 229 | #: view:hotel.room:0 |
3554 | 214 | msgid " Room Amenities" | 230 | msgid " Room Amenities" |
3556 | 215 | msgstr "" | 231 | msgstr " Room Amenities" |
3557 | 232 | |||
3558 | 233 | #. module: hotel | ||
3559 | 234 | #: constraint:hotel.folio:0 | ||
3560 | 235 | msgid "You can not allocate the same room twice!" | ||
3561 | 236 | msgstr "You can not allocate the same room twice!" | ||
3562 | 216 | 237 | ||
3563 | 217 | #. module: hotel | 238 | #. module: hotel |
3564 | 218 | #: field:hotel.folio,checkin_date:0 | 239 | #: field:hotel.folio,checkin_date:0 |
3566 | 219 | #: field:hotel_folio.line,checkin_date:0 | 240 | #: field:hotel.folio.line,checkin_date:0 |
3567 | 220 | msgid "Check In" | 241 | msgid "Check In" |
3569 | 221 | msgstr "" | 242 | msgstr "Check In" |
3570 | 243 | |||
3571 | 244 | #. module: hotel | ||
3572 | 245 | #: view:hotel.folio:0 | ||
3573 | 246 | #: field:hotel.folio,name:0 | ||
3574 | 247 | msgid "Folio Number" | ||
3575 | 248 | msgstr "Folio Number" | ||
3576 | 222 | 249 | ||
3577 | 223 | #. module: hotel | 250 | #. module: hotel |
3578 | 224 | #: model:ir.actions.act_window,name:hotel.hotel_amenity_category_action | 251 | #: model:ir.actions.act_window,name:hotel.hotel_amenity_category_action |
3579 | 225 | #: model:ir.ui.menu,name:hotel.menu_hotel_amenity_category_action | 252 | #: model:ir.ui.menu,name:hotel.menu_hotel_amenity_category_action |
3580 | 226 | msgid "Amenities by Category" | 253 | msgid "Amenities by Category" |
3582 | 227 | msgstr "" | 254 | msgstr "Amenities by Category" |
3583 | 255 | |||
3584 | 256 | #. module: hotel | ||
3585 | 257 | #: view:folio.report.wizard:0 | ||
3586 | 258 | msgid "Print" | ||
3587 | 259 | msgstr "Print" | ||
3588 | 228 | 260 | ||
3589 | 229 | #. module: hotel | 261 | #. module: hotel |
3590 | 230 | #: field:hotel.services,service_id:0 | 262 | #: field:hotel.services,service_id:0 |
3591 | 231 | msgid "Service_id" | 263 | msgid "Service_id" |
3593 | 232 | msgstr "" | 264 | msgstr "Service_id" |
3594 | 265 | |||
3595 | 266 | #. module: hotel | ||
3596 | 267 | #: field:hotel.room.amenities.type,cat_id:0 | ||
3597 | 268 | #: field:hotel.room.type,cat_id:0 | ||
3598 | 269 | #: field:hotel.service.type,ser_id:0 | ||
3599 | 270 | msgid "category" | ||
3600 | 271 | msgstr "category" | ||
3601 | 233 | 272 | ||
3602 | 234 | #. module: hotel | 273 | #. module: hotel |
3603 | 235 | #: view:hotel.folio:0 | 274 | #: view:hotel.folio:0 |
3604 | 236 | msgid "Invoice Lines" | 275 | msgid "Invoice Lines" |
3622 | 237 | msgstr "" | 276 | msgstr "Invoice Lines" |
3623 | 238 | 277 | ||
3624 | 239 | #. module: hotel | 278 | #. module: hotel |
3625 | 240 | #: view:hotel.folio:0 | 279 | #: model:ir.ui.menu,name:hotel.menu_hotel_room |
3626 | 241 | msgid "Untaxed amount" | 280 | msgid "Room" |
3627 | 242 | msgstr "" | 281 | msgstr "Room" |
3628 | 243 | 282 | ||
3629 | 244 | #. module: hotel | 283 | #. module: hotel |
3630 | 245 | #: field:hotel.room_amenities_type,cat_id:0 | 284 | #: view:hotel.room:0 |
3631 | 246 | #: field:hotel.room_type,cat_id:0 | 285 | #: selection:hotel.room,status:0 |
3632 | 247 | #: field:hotel.service_type,ser_id:0 | 286 | msgid "Available" |
3633 | 248 | msgid "category" | 287 | msgstr "Available" |
3634 | 249 | msgstr "" | 288 | |
3635 | 250 | 289 | #. module: hotel | |
3636 | 251 | #. module: hotel | 290 | #: report:folio.total:0 |
3637 | 252 | #: view:hotel.room:0 | 291 | msgid "\" To \"" |
3638 | 253 | #: field:hotel.room,avail_status:0 | 292 | msgstr "\" To \"" |
3639 | 293 | |||
3640 | 294 | #. module: hotel | ||
3641 | 295 | #: view:hotel.room:0 | ||
3642 | 254 | msgid "Room Status" | 296 | msgid "Room Status" |
3644 | 255 | msgstr "" | 297 | msgstr "Room Status" |
3645 | 256 | 298 | ||
3646 | 257 | #. module: hotel | 299 | #. module: hotel |
3648 | 258 | #: field:hotel.room_amenities,room_categ_id:0 | 300 | #: field:hotel.room.amenities,room_categ_id:0 |
3649 | 301 | #: model:ir.model,name:hotel.model_product_category | ||
3650 | 259 | msgid "Product Category" | 302 | msgid "Product Category" |
3652 | 260 | msgstr "" | 303 | msgstr "Product Category" |
3653 | 261 | 304 | ||
3654 | 262 | #. module: hotel | 305 | #. module: hotel |
3655 | 263 | #: view:hotel.folio:0 | 306 | #: view:hotel.folio:0 |
3656 | 264 | msgid "Manual Description" | 307 | msgid "Manual Description" |
3658 | 265 | msgstr "" | 308 | msgstr "Manual Description" |
3659 | 266 | 309 | ||
3660 | 267 | #. module: hotel | 310 | #. module: hotel |
3661 | 268 | #: model:product.category,name:hotel.hotel_service_type_0_product_category | 311 | #: model:product.category,name:hotel.hotel_service_type_0_product_category |
3662 | 269 | msgid "All Services" | 312 | msgid "All Services" |
3664 | 270 | msgstr "" | 313 | msgstr "All Services" |
3665 | 314 | |||
3666 | 315 | #. module: hotel | ||
3667 | 316 | #: view:hotel.folio:0 | ||
3668 | 317 | msgid "---Description---" | ||
3669 | 318 | msgstr "---Description---" | ||
3670 | 319 | |||
3671 | 320 | #. module: hotel | ||
3672 | 321 | #: field:hotel.folio,checkout_date:0 | ||
3673 | 322 | #: field:hotel.folio.line,checkout_date:0 | ||
3674 | 323 | msgid "Check Out" | ||
3675 | 324 | msgstr "Check Out" | ||
3676 | 271 | 325 | ||
3677 | 272 | #. module: hotel | 326 | #. module: hotel |
3678 | 273 | #: view:hotel.room:0 | 327 | #: view:hotel.room:0 |
3683 | 274 | #: model:ir.actions.act_window,name:hotel.action_hotel_room_form | 328 | msgid "state" |
3684 | 275 | #: model:ir.model,name:hotel.model_hotel_room | 329 | msgstr "state" |
3681 | 276 | msgid "Hotel Room" | ||
3682 | 277 | msgstr "" | ||
3685 | 278 | 330 | ||
3686 | 279 | #. module: hotel | 331 | #. module: hotel |
3688 | 280 | #: rml:folio.total:0 | 332 | #: report:folio.total:0 |
3689 | 281 | msgid "Folio No." | 333 | msgid "Folio No." |
3696 | 282 | msgstr "" | 334 | msgstr "Folio No." |
3691 | 283 | |||
3692 | 284 | #. module: hotel | ||
3693 | 285 | #: view:hotel.folio:0 | ||
3694 | 286 | msgid "Inventory Moves" | ||
3695 | 287 | msgstr "" | ||
3697 | 288 | 335 | ||
3698 | 289 | #. module: hotel | 336 | #. module: hotel |
3699 | 290 | #: model:ir.ui.menu,name:hotel.hotel_configuration_menu | 337 | #: model:ir.ui.menu,name:hotel.hotel_configuration_menu |
3700 | 291 | msgid "Configuration" | 338 | msgid "Configuration" |
3702 | 292 | msgstr "" | 339 | msgstr "Configuration" |
3703 | 293 | 340 | ||
3704 | 294 | #. module: hotel | 341 | #. module: hotel |
3705 | 295 | #: view:hotel.folio:0 | 342 | #: view:hotel.folio:0 |
3706 | 296 | msgid "Total amount" | 343 | msgid "Total amount" |
3708 | 297 | msgstr "" | 344 | msgstr "Total amount" |
3709 | 298 | 345 | ||
3710 | 299 | #. module: hotel | 346 | #. module: hotel |
3711 | 300 | #: view:hotel.floor:0 | 347 | #: view:hotel.floor:0 |
3712 | 301 | msgid " Hotel Floors" | 348 | msgid " Hotel Floors" |
3719 | 302 | msgstr "" | 349 | msgstr " Hotel Floors" |
3720 | 303 | 350 | ||
3721 | 304 | #. module: hotel | 351 | #. module: hotel |
3722 | 305 | #: constraint:ir.ui.view:0 | 352 | #: view:hotel.room:0 |
3723 | 306 | msgid "Invalid XML for View Architecture!" | 353 | msgid "Status" |
3724 | 307 | msgstr "" | 354 | msgstr "Status" |
3725 | 355 | |||
3726 | 356 | #. module: hotel | ||
3727 | 357 | #: field:res.company,additional_hours:0 | ||
3728 | 358 | msgid "Additional Hours" | ||
3729 | 359 | msgstr "Additional Hours" | ||
3730 | 360 | |||
3731 | 361 | #. module: hotel | ||
3732 | 362 | #: view:hotel.room:0 | ||
3733 | 363 | #: field:hotel.room,room_rent_ids:0 | ||
3734 | 364 | #: field:room.rent,rent_id:0 | ||
3735 | 365 | msgid "Room Rent" | ||
3736 | 366 | msgstr "Room Rent" | ||
3737 | 367 | |||
3738 | 368 | #. module: hotel | ||
3739 | 369 | #: report:folio.total:0 | ||
3740 | 370 | msgid "From \"" | ||
3741 | 371 | msgstr "From \"" | ||
3742 | 308 | 372 | ||
3743 | 309 | #. module: hotel | 373 | #. module: hotel |
3744 | 310 | #: field:hotel.folio,order_id:0 | 374 | #: field:hotel.folio,order_id:0 |
3745 | 311 | msgid "order_id" | 375 | msgid "order_id" |
3756 | 312 | msgstr "" | 376 | msgstr "order_id" |
3757 | 313 | 377 | ||
3758 | 314 | #. module: hotel | 378 | #. module: hotel |
3759 | 315 | #: field:hotel.room_amenities,amenity_rate:0 | 379 | #: view:hotel.room:0 |
3760 | 316 | msgid "Amenity Rate" | 380 | msgid "Customer taxes apply on the perticular room. " |
3761 | 317 | msgstr "" | 381 | msgstr "Customer taxes apply on the perticular room. " |
3762 | 318 | 382 | ||
3763 | 319 | #. module: hotel | 383 | #. module: hotel |
3764 | 320 | #: view:hotel.room:0 | 384 | #: view:hotel.folio:0 |
3765 | 321 | #: view:hotel.room_amenities:0 | 385 | msgid "Service Lines" |
3766 | 386 | msgstr "Service Lines" | ||
3767 | 387 | |||
3768 | 388 | #. module: hotel | ||
3769 | 389 | #: view:hotel.room:0 | ||
3770 | 390 | #: view:hotel.room.amenities:0 | ||
3771 | 322 | #: view:hotel.services:0 | 391 | #: view:hotel.services:0 |
3772 | 323 | msgid "Procurement" | 392 | msgid "Procurement" |
3774 | 324 | msgstr "" | 393 | msgstr "Procurement" |
3775 | 325 | 394 | ||
3776 | 326 | #. module: hotel | 395 | #. module: hotel |
3777 | 327 | #: field:hotel.floor,sequence:0 | 396 | #: field:hotel.floor,sequence:0 |
3778 | 328 | msgid "Sequence" | 397 | msgid "Sequence" |
3780 | 329 | msgstr "" | 398 | msgstr "Sequence" |
3781 | 330 | 399 | ||
3782 | 331 | #. module: hotel | 400 | #. module: hotel |
3783 | 332 | #: model:ir.ui.menu,name:hotel.menu_action_hotel_room_amenities_type_view_form | 401 | #: model:ir.ui.menu,name:hotel.menu_action_hotel_room_amenities_type_view_form |
3784 | 333 | msgid "Amenity Types" | 402 | msgid "Amenity Types" |
3786 | 334 | msgstr "" | 403 | msgstr "Amenity Types" |
3787 | 404 | |||
3788 | 405 | #. module: hotel | ||
3789 | 406 | #: view:hotel.room:0 | ||
3790 | 407 | msgid "Delete" | ||
3791 | 408 | msgstr "Delete" | ||
3792 | 335 | 409 | ||
3793 | 336 | #. module: hotel | 410 | #. module: hotel |
3794 | 337 | #: model:ir.ui.menu,name:hotel.menu_hotel_room_category_action | 411 | #: model:ir.ui.menu,name:hotel.menu_hotel_room_category_action |
3795 | 338 | msgid "Room by Category" | 412 | msgid "Room by Category" |
3800 | 339 | msgstr "" | 413 | msgstr "Room by Category" |
3801 | 340 | 414 | ||
3802 | 341 | #. module: hotel | 415 | #. module: hotel |
3803 | 342 | #: field:hotel.room_amenities,rcateg_id:0 | 416 | #: field:hotel.folio,duration:0 |
3804 | 417 | msgid "Duration in Days" | ||
3805 | 418 | msgstr "Duration in Days" | ||
3806 | 419 | |||
3807 | 420 | #. module: hotel | ||
3808 | 421 | #: field:hotel.room.amenities,rcateg_id:0 | ||
3809 | 343 | msgid "Amenity Catagory" | 422 | msgid "Amenity Catagory" |
3811 | 344 | msgstr "" | 423 | msgstr "Amenity Catagory" |
3812 | 345 | 424 | ||
3813 | 346 | #. module: hotel | 425 | #. module: hotel |
3814 | 347 | #: view:hotel.folio:0 | 426 | #: view:hotel.folio:0 |
3815 | 348 | msgid "Other data" | 427 | msgid "Other data" |
3817 | 349 | msgstr "" | 428 | msgstr "Other data" |
3818 | 350 | 429 | ||
3819 | 351 | #. module: hotel | 430 | #. module: hotel |
3820 | 352 | #: field:hotel.room,max_child:0 | 431 | #: field:hotel.room,max_child:0 |
3821 | 353 | msgid "Max Child" | 432 | msgid "Max Child" |
3823 | 354 | msgstr "" | 433 | msgstr "Max Child" |
3824 | 434 | |||
3825 | 435 | #. module: hotel | ||
3826 | 436 | #: help:hotel.folio,service_lines:0 | ||
3827 | 437 | msgid "Hotel services detail provide to customer and it will include in main Invoice." | ||
3828 | 438 | msgstr "Hotel services detail provide to customer and it will include in main Invoice." | ||
3829 | 439 | |||
3830 | 440 | #. module: hotel | ||
3831 | 441 | #: help:hotel.folio,duration:0 | ||
3832 | 442 | msgid "Number of days which will automatically count from the check-in and check-out date. " | ||
3833 | 443 | msgstr "Number of days which will automatically count from the check-in and check-out date. " | ||
3834 | 444 | |||
3835 | 445 | #. module: hotel | ||
3836 | 446 | #: selection:hotel.folio,hotel_policy:0 | ||
3837 | 447 | msgid "On Check In" | ||
3838 | 448 | msgstr "On Check In" | ||
3839 | 355 | 449 | ||
3840 | 356 | #. module: hotel | 450 | #. module: hotel |
3841 | 357 | #: view:hotel.room:0 | 451 | #: view:hotel.room:0 |
3843 | 358 | #: view:hotel.room_amenities:0 | 452 | #: view:hotel.room.amenities:0 |
3844 | 359 | #: view:hotel.services:0 | 453 | #: view:hotel.services:0 |
3845 | 360 | msgid "Descriptions" | 454 | msgid "Descriptions" |
3850 | 361 | msgstr "" | 455 | msgstr "Descriptions" |
3851 | 362 | 456 | ||
3852 | 363 | #. module: hotel | 457 | #. module: hotel |
3853 | 364 | #: wizard_field:hotel.folio.total_folio,init,date_start:0 | 458 | #: view:hotel.services:0 |
3854 | 459 | msgid "Customer taxes applied on the service. " | ||
3855 | 460 | msgstr "Customer taxes applied on the service. " | ||
3856 | 461 | |||
3857 | 462 | #. module: hotel | ||
3858 | 463 | #: view:hotel.services:0 | ||
3859 | 464 | msgid "List of supplier taxes related to the service provided by hotel. " | ||
3860 | 465 | msgstr "List of supplier taxes related to the service provided by hotel. " | ||
3861 | 466 | |||
3862 | 467 | #. module: hotel | ||
3863 | 468 | #: field:folio.report.wizard,date_start:0 | ||
3864 | 365 | msgid "Start Date" | 469 | msgid "Start Date" |
3866 | 366 | msgstr "" | 470 | msgstr "Start Date" |
3867 | 471 | |||
3868 | 472 | #. module: hotel | ||
3869 | 473 | #: selection:hotel.room,status:0 | ||
3870 | 474 | msgid "Occupied" | ||
3871 | 475 | msgstr "Occupied" | ||
3872 | 367 | 476 | ||
3873 | 368 | #. module: hotel | 477 | #. module: hotel |
3874 | 369 | #: model:ir.model,name:hotel.model_hotel_folio_line | 478 | #: model:ir.model,name:hotel.model_hotel_folio_line |
3875 | 370 | msgid "hotel folio1 room line" | 479 | msgid "hotel folio1 room line" |
3877 | 371 | msgstr "" | 480 | msgstr "hotel folio1 room line" |
3878 | 372 | 481 | ||
3879 | 373 | #. module: hotel | 482 | #. module: hotel |
3880 | 374 | #: field:product.category,isroomtype:0 | 483 | #: field:product.category,isroomtype:0 |
3881 | 375 | msgid "Is Room Type" | 484 | msgid "Is Room Type" |
3883 | 376 | msgstr "" | 485 | msgstr "Is Room Type" |
3884 | 377 | 486 | ||
3885 | 378 | #. module: hotel | 487 | #. module: hotel |
3887 | 379 | #: rml:folio.total:0 | 488 | #: report:folio.total:0 |
3888 | 380 | msgid "Total Collection" | 489 | msgid "Total Collection" |
3890 | 381 | msgstr "" | 490 | msgstr "Total Collection" |
3891 | 491 | |||
3892 | 492 | #. module: hotel | ||
3893 | 493 | #: field:product.category,isservicetype:0 | ||
3894 | 494 | msgid "Is Service Type" | ||
3895 | 495 | msgstr "Is Service Type" | ||
3896 | 382 | 496 | ||
3897 | 383 | #. module: hotel | 497 | #. module: hotel |
3898 | 384 | #: view:hotel.folio:0 | 498 | #: view:hotel.folio:0 |
3901 | 385 | msgid "Automatic Declaration" | 499 | msgid "Room Lines" |
3902 | 386 | msgstr "" | 500 | msgstr "Room Lines" |
3903 | 387 | 501 | ||
3904 | 388 | #. module: hotel | 502 | #. module: hotel |
3905 | 389 | #: view:hotel.folio:0 | 503 | #: view:hotel.folio:0 |
3906 | 390 | msgid "Rent(UOM)" | 504 | msgid "Rent(UOM)" |
3908 | 391 | msgstr "" | 505 | msgstr "Rent(UOM)" |
3909 | 392 | 506 | ||
3910 | 393 | #. module: hotel | 507 | #. module: hotel |
3911 | 394 | #: model:ir.model,name:hotel.model_hotel_services | 508 | #: model:ir.model,name:hotel.model_hotel_services |
3912 | 395 | msgid "Hotel Services and its charges" | 509 | msgid "Hotel Services and its charges" |
3914 | 396 | msgstr "" | 510 | msgstr "Hotel Services and its charges" |
3915 | 397 | 511 | ||
3916 | 398 | #. module: hotel | 512 | #. module: hotel |
3917 | 399 | #: view:hotel.folio:0 | 513 | #: view:hotel.folio:0 |
3918 | 400 | msgid "Procurement Corrected" | 514 | msgid "Procurement Corrected" |
3920 | 401 | msgstr "" | 515 | msgstr "Procurement Corrected" |
3921 | 402 | 516 | ||
3922 | 403 | #. module: hotel | 517 | #. module: hotel |
3923 | 404 | #: view:hotel.folio:0 | 518 | #: view:hotel.folio:0 |
3924 | 405 | msgid "Room Line" | 519 | msgid "Room Line" |
3926 | 406 | msgstr "" | 520 | msgstr "Room Line" |
3927 | 407 | 521 | ||
3928 | 408 | #. module: hotel | 522 | #. module: hotel |
3929 | 409 | #: view:hotel.folio:0 | 523 | #: view:hotel.folio:0 |
3930 | 410 | msgid "Room No" | 524 | msgid "Room No" |
3932 | 411 | msgstr "" | 525 | msgstr "Room No" |
3933 | 412 | 526 | ||
3934 | 413 | #. module: hotel | 527 | #. module: hotel |
3935 | 414 | #: view:hotel.services:0 | 528 | #: view:hotel.services:0 |
3936 | 415 | msgid "Service rate" | 529 | msgid "Service rate" |
3941 | 416 | msgstr "" | 530 | msgstr "Service rate" |
3942 | 417 | 531 | ||
3943 | 418 | #. module: hotel | 532 | #. module: hotel |
3944 | 419 | #: model:ir.actions.act_window,name:hotel.open_hotel_folio1_form_tree | 533 | #: view:hotel.folio:0 |
3945 | 534 | msgid "Folios" | ||
3946 | 535 | msgstr "Folios" | ||
3947 | 536 | |||
3948 | 537 | #. module: hotel | ||
3949 | 538 | #: view:hotel.folio:0 | ||
3950 | 420 | #: model:ir.actions.act_window,name:hotel.open_hotel_folio1_form_tree_all | 539 | #: model:ir.actions.act_window,name:hotel.open_hotel_folio1_form_tree_all |
3951 | 421 | msgid "Hotel Folio" | 540 | msgid "Hotel Folio" |
3953 | 422 | msgstr "" | 541 | msgstr "Hotel Folio" |
3954 | 542 | |||
3955 | 543 | #. module: hotel | ||
3956 | 544 | #: view:hotel.room:0 | ||
3957 | 545 | msgid "í" | ||
3958 | 546 | msgstr "í" | ||
3959 | 547 | |||
3960 | 548 | #. module: hotel | ||
3961 | 549 | #: help:hotel.room,room_amenities:0 | ||
3962 | 550 | msgid "List of room amenities. " | ||
3963 | 551 | msgstr "List of room amenities. " | ||
3964 | 423 | 552 | ||
3965 | 424 | #. module: hotel | 553 | #. module: hotel |
3966 | 425 | #: field:hotel.folio,room_lines:0 | 554 | #: field:hotel.folio,room_lines:0 |
3967 | 426 | #: field:hotel.folio,service_lines:0 | 555 | #: field:hotel.folio,service_lines:0 |
3968 | 427 | msgid "unknown" | 556 | msgid "unknown" |
3970 | 428 | msgstr "" | 557 | msgstr "unknown" |
3971 | 429 | 558 | ||
3972 | 430 | #. module: hotel | 559 | #. module: hotel |
3973 | 431 | #: view:hotel.folio:0 | 560 | #: view:hotel.folio:0 |
3974 | 432 | msgid "Guest Name" | 561 | msgid "Guest Name" |
3976 | 433 | msgstr "" | 562 | msgstr "Guest Name" |
3977 | 563 | |||
3978 | 564 | #. module: hotel | ||
3979 | 565 | #: view:hotel.room:0 | ||
3980 | 566 | #: view:hotel.room.amenities:0 | ||
3981 | 567 | #: view:hotel.services:0 | ||
3982 | 568 | msgid "Customer Taxes" | ||
3983 | 569 | msgstr "Customer Taxes" | ||
3984 | 434 | 570 | ||
3985 | 435 | #. module: hotel | 571 | #. module: hotel |
3986 | 436 | #: view:hotel.folio:0 | 572 | #: view:hotel.folio:0 |
3987 | 437 | msgid "Service Line" | 573 | msgid "Service Line" |
3989 | 438 | msgstr "" | 574 | msgstr "Service Line" |
3990 | 439 | 575 | ||
3991 | 440 | #. module: hotel | 576 | #. module: hotel |
3993 | 441 | #: view:hotel.room_amenities_type:0 | 577 | #: view:hotel.room.amenities.type:0 |
3994 | 442 | #: model:ir.actions.act_window,name:hotel.action_hotel_room_amenities_type_view_form | 578 | #: model:ir.actions.act_window,name:hotel.action_hotel_room_amenities_type_view_form |
3995 | 443 | msgid "Hotel Room Amenities Type" | 579 | msgid "Hotel Room Amenities Type" |
3997 | 444 | msgstr "" | 580 | msgstr "Hotel Room Amenities Type" |
3998 | 445 | 581 | ||
3999 | 446 | #. module: hotel | 582 | #. module: hotel |
4000 | 447 | #: view:hotel.folio:0 | 583 | #: view:hotel.folio:0 |
4001 | 448 | msgid "Folio Line" | 584 | msgid "Folio Line" |
4019 | 449 | msgstr "" | 585 | msgstr "Folio Line" |
4020 | 450 | 586 | ||
4021 | 451 | #. module: hotel | 587 | #. module: hotel |
4022 | 452 | #: view:hotel.folio:0 | 588 | #: model:res.groups,name:hotel.group_hotel_user |
4023 | 453 | msgid "Date" | 589 | msgid "Hotel Management / User" |
4024 | 454 | msgstr "" | 590 | msgstr "Hotel Management / User" |
4025 | 455 | 591 | ||
4026 | 456 | #. module: hotel | 592 | #. module: hotel |
4027 | 457 | #: view:hotel.folio:0 | 593 | #: model:product.category,name:hotel.hotel_service_type_2_product_category |
4028 | 458 | #: view:hotel.room:0 | 594 | msgid "Variable" |
4029 | 459 | #: view:hotel.room_amenities:0 | 595 | msgstr "Variable" |
4030 | 460 | #: view:hotel.services:0 | 596 | |
4031 | 461 | msgid "Properties" | 597 | #. module: hotel |
4032 | 462 | msgstr "" | 598 | #: help:hotel.folio,hotel_policy:0 |
4033 | 463 | 599 | msgid "Hotel policy for payment that either the guest has to payment at booking time or check-in check-out time." | |
4034 | 464 | #. module: hotel | 600 | msgstr "Hotel policy for payment that either the guest has to payment at booking time or check-in check-out time." |
4035 | 465 | #: view:hotel.room_amenities:0 | 601 | |
4036 | 602 | #. module: hotel | ||
4037 | 603 | #: view:hotel.room.amenities:0 | ||
4038 | 466 | #: view:hotel.services:0 | 604 | #: view:hotel.services:0 |
4039 | 467 | msgid "Purchase Description" | 605 | msgid "Purchase Description" |
4041 | 468 | msgstr "" | 606 | msgstr "Purchase Description" |
4042 | 469 | 607 | ||
4043 | 470 | #. module: hotel | 608 | #. module: hotel |
4044 | 471 | #: view:hotel.folio:0 | 609 | #: view:hotel.folio:0 |
4045 | 472 | msgid "Compute" | 610 | msgid "Compute" |
4047 | 473 | msgstr "" | 611 | msgstr "Compute" |
4048 | 474 | 612 | ||
4049 | 475 | #. module: hotel | 613 | #. module: hotel |
4050 | 476 | #: model:ir.model,name:hotel.model_hotel_room_amenities | 614 | #: model:ir.model,name:hotel.model_hotel_room_amenities |
4051 | 477 | msgid "Room amenities" | 615 | msgid "Room amenities" |
4053 | 478 | msgstr "" | 616 | msgstr "Room amenities" |
4054 | 479 | 617 | ||
4055 | 480 | #. module: hotel | 618 | #. module: hotel |
4056 | 481 | #: model:product.category,name:hotel.hotel_room_type_3_product_category | 619 | #: model:product.category,name:hotel.hotel_room_type_3_product_category |
4057 | 482 | msgid "No Room" | 620 | msgid "No Room" |
4062 | 483 | msgstr "" | 621 | msgstr "No Room" |
4063 | 484 | 622 | ||
4064 | 485 | #. module: hotel | 623 | #. module: hotel |
4065 | 486 | #: field:hotel_service.line,service_line_id:0 | 624 | #: model:ir.model,name:hotel.model_res_company |
4066 | 625 | msgid "Companies" | ||
4067 | 626 | msgstr "Companies" | ||
4068 | 627 | |||
4069 | 628 | #. module: hotel | ||
4070 | 629 | #: field:hotel.service.line,service_line_id:0 | ||
4071 | 487 | msgid "service_line_id" | 630 | msgid "service_line_id" |
4073 | 488 | msgstr "" | 631 | msgstr "service_line_id" |
4074 | 632 | |||
4075 | 633 | #. module: hotel | ||
4076 | 634 | #: view:hotel.room:0 | ||
4077 | 635 | msgid "Status:" | ||
4078 | 636 | msgstr "Status:" | ||
4079 | 637 | |||
4080 | 638 | #. module: hotel | ||
4081 | 639 | #: model:ir.model,name:hotel.model_folio_report_wizard | ||
4082 | 640 | msgid "folio.report.wizard" | ||
4083 | 641 | msgstr "folio.report.wizard" | ||
4084 | 489 | 642 | ||
4085 | 490 | #. module: hotel | 643 | #. module: hotel |
4086 | 491 | #: model:product.category,name:hotel.hotel_room_amenities_type_1_product_category | 644 | #: model:product.category,name:hotel.hotel_room_amenities_type_1_product_category |
4087 | 492 | msgid "Beds" | 645 | msgid "Beds" |
4089 | 493 | msgstr "" | 646 | msgstr "Beds" |
4090 | 494 | 647 | ||
4091 | 495 | #. module: hotel | 648 | #. module: hotel |
4095 | 496 | #: model:product.category,name:hotel.hotel_service_type_2_product_category | 649 | #: view:hotel.room:0 |
4096 | 497 | msgid "Variable" | 650 | msgid "Available Rooms" |
4097 | 498 | msgstr "" | 651 | msgstr "Available Rooms" |
4098 | 499 | 652 | ||
4099 | 500 | #. module: hotel | 653 | #. module: hotel |
4100 | 501 | #: field:hotel.room,floor_id:0 | 654 | #: field:hotel.room,floor_id:0 |
4101 | 502 | msgid "Floor No" | 655 | msgid "Floor No" |
4103 | 503 | msgstr "" | 656 | msgstr "Floor No" |
4104 | 504 | 657 | ||
4105 | 505 | #. module: hotel | 658 | #. module: hotel |
4106 | 506 | #: view:hotel.services:0 | 659 | #: view:hotel.services:0 |
4107 | 507 | #: model:ir.actions.act_window,name:hotel.action_hotel_services_form | 660 | #: model:ir.actions.act_window,name:hotel.action_hotel_services_form |
4108 | 508 | msgid "Hotel Services" | 661 | msgid "Hotel Services" |
4110 | 509 | msgstr "" | 662 | msgstr "Hotel Services" |
4111 | 510 | 663 | ||
4112 | 511 | #. module: hotel | 664 | #. module: hotel |
4114 | 512 | #: view:hotel.room_amenities:0 | 665 | #: view:hotel.room.amenities:0 |
4115 | 513 | #: model:ir.actions.act_window,name:hotel.action_hotel_room_amenities_view_form | 666 | #: model:ir.actions.act_window,name:hotel.action_hotel_room_amenities_view_form |
4116 | 514 | msgid "Hotel Room Amenities" | 667 | msgid "Hotel Room Amenities" |
4118 | 515 | msgstr "" | 668 | msgstr "Hotel Room Amenities" |
4119 | 669 | |||
4120 | 670 | #. module: hotel | ||
4121 | 671 | #: view:hotel.room:0 | ||
4122 | 672 | msgid "Rate:" | ||
4123 | 673 | msgstr "Rate:" | ||
4124 | 516 | 674 | ||
4125 | 517 | #. module: hotel | 675 | #. module: hotel |
4126 | 518 | #: view:hotel.folio:0 | 676 | #: view:hotel.folio:0 |
4127 | 519 | msgid "History" | 677 | msgid "History" |
4129 | 520 | msgstr "" | 678 | msgstr "History" |
4130 | 679 | |||
4131 | 680 | #. module: hotel | ||
4132 | 681 | #: view:hotel.room.amenities:0 | ||
4133 | 682 | #: model:ir.ui.menu,name:hotel.menu_amenity | ||
4134 | 683 | msgid "Amenity" | ||
4135 | 684 | msgstr "Amenity" | ||
4136 | 521 | 685 | ||
4137 | 522 | #. module: hotel | 686 | #. module: hotel |
4138 | 523 | #: model:ir.actions.act_window,name:hotel.open_hotel_floor_form_tree | 687 | #: model:ir.actions.act_window,name:hotel.open_hotel_floor_form_tree |
4139 | 524 | msgid "Floor Structure" | 688 | msgid "Floor Structure" |
4144 | 525 | msgstr "" | 689 | msgstr "Floor Structure" |
4145 | 526 | 690 | ||
4146 | 527 | #. module: hotel | 691 | #. module: hotel |
4147 | 528 | #: rml:folio.total:0 | 692 | #: view:hotel.room.amenities:0 |
4148 | 693 | msgid "List of customer taxes applied on the Amenity. " | ||
4149 | 694 | msgstr "List of customer taxes applied on the Amenity. " | ||
4150 | 695 | |||
4151 | 696 | #. module: hotel | ||
4152 | 697 | #: report:folio.total:0 | ||
4153 | 529 | msgid "Net Total :-" | 698 | msgid "Net Total :-" |
4155 | 530 | msgstr "" | 699 | msgstr "Net Total :-" |
4156 | 531 | 700 | ||
4157 | 532 | #. module: hotel | 701 | #. module: hotel |
4158 | 533 | #: view:hotel.folio:0 | 702 | #: view:hotel.folio:0 |
4159 | 534 | msgid "Related invoices" | 703 | msgid "Related invoices" |
4174 | 535 | msgstr "" | 704 | msgstr "Related invoices" |
4175 | 536 | 705 | ||
4176 | 537 | #. module: hotel | 706 | #. module: hotel |
4163 | 538 | #: selection:hotel.room,avail_status:0 | ||
4164 | 539 | msgid "Assigned" | ||
4165 | 540 | msgstr "" | ||
4166 | 541 | |||
4167 | 542 | #. module: hotel | ||
4168 | 543 | #: selection:hotel.room,avail_status:0 | ||
4169 | 544 | msgid "Unassigned" | ||
4170 | 545 | msgstr "" | ||
4171 | 546 | |||
4172 | 547 | #. module: hotel | ||
4173 | 548 | #: model:ir.module.module,shortdesc:hotel.module_meta_information | ||
4177 | 549 | #: model:ir.ui.menu,name:hotel.hotel_management_menu | 707 | #: model:ir.ui.menu,name:hotel.hotel_management_menu |
4178 | 550 | msgid "Hotel Management" | 708 | msgid "Hotel Management" |
4180 | 551 | msgstr "" | 709 | msgstr "Hotel Management" |
4181 | 552 | 710 | ||
4182 | 553 | #. module: hotel | 711 | #. module: hotel |
4184 | 554 | #: wizard_button:hotel.folio.total_folio,init,end:0 | 712 | #: view:folio.report.wizard:0 |
4185 | 555 | msgid "Cancel" | 713 | msgid "Cancel" |
4187 | 556 | msgstr "" | 714 | msgstr "Cancel" |
4188 | 557 | 715 | ||
4189 | 558 | #. module: hotel | 716 | #. module: hotel |
4190 | 559 | #: view:hotel.room:0 | 717 | #: view:hotel.room:0 |
4192 | 560 | #: view:hotel.room_amenities:0 | 718 | #: view:hotel.room.amenities:0 |
4193 | 561 | #: view:hotel.services:0 | 719 | #: view:hotel.services:0 |
4194 | 562 | msgid "Information" | 720 | msgid "Information" |
4196 | 563 | msgstr "" | 721 | msgstr "Information" |
4197 | 564 | 722 | ||
4198 | 565 | #. module: hotel | 723 | #. module: hotel |
4202 | 566 | #: constraint:ir.model:0 | 724 | #: view:hotel.room:0 |
4203 | 567 | msgid "The Object name must start with x_ and not contain any special character !" | 725 | msgid "-->" |
4204 | 568 | msgstr "" | 726 | msgstr "-->" |
4205 | 569 | 727 | ||
4206 | 570 | #. module: hotel | 728 | #. module: hotel |
4207 | 571 | #: field:hotel.room,product_id:0 | 729 | #: field:hotel.room,product_id:0 |
4208 | 572 | msgid "Product_id" | 730 | msgid "Product_id" |
4215 | 573 | msgstr "" | 731 | msgstr "Product_id" |
4210 | 574 | |||
4211 | 575 | #. module: hotel | ||
4212 | 576 | #: view:hotel.folio:0 | ||
4213 | 577 | msgid "Hotel Folio1" | ||
4214 | 578 | msgstr "" | ||
4216 | 579 | 732 | ||
4217 | 580 | #. module: hotel | 733 | #. module: hotel |
4218 | 581 | #: view:hotel.room:0 | 734 | #: view:hotel.room:0 |
4219 | 582 | #: model:ir.model,name:hotel.model_hotel_floor | 735 | #: model:ir.model,name:hotel.model_hotel_floor |
4220 | 583 | #: model:ir.ui.menu,name:hotel.menu_open_hotel_floor_form_tree | 736 | #: model:ir.ui.menu,name:hotel.menu_open_hotel_floor_form_tree |
4221 | 584 | msgid "Floor" | 737 | msgid "Floor" |
4223 | 585 | msgstr "" | 738 | msgstr "Floor" |
4224 | 739 | |||
4225 | 740 | #. module: hotel | ||
4226 | 741 | #: model:ir.model,name:hotel.model_room_rent | ||
4227 | 742 | msgid "room.rent" | ||
4228 | 743 | msgstr "room.rent" | ||
4229 | 586 | 744 | ||
4230 | 587 | #. module: hotel | 745 | #. module: hotel |
4231 | 588 | #: model:product.category,name:hotel.hotel_room_type_0_product_category | 746 | #: model:product.category,name:hotel.hotel_room_type_0_product_category |
4232 | 589 | msgid "All Rooms" | 747 | msgid "All Rooms" |
4234 | 590 | msgstr "" | 748 | msgstr "All Rooms" |
4235 | 591 | 749 | ||
4236 | 592 | #. module: hotel | 750 | #. module: hotel |
4237 | 593 | #: view:hotel.folio:0 | 751 | #: view:hotel.folio:0 |
4238 | 594 | msgid "Create Invoice" | 752 | msgid "Create Invoice" |
4245 | 595 | msgstr "" | 753 | msgstr "Create Invoice" |
4240 | 596 | |||
4241 | 597 | #. module: hotel | ||
4242 | 598 | #: wizard_button:hotel.folio.total_folio,init,print_report:0 | ||
4243 | 599 | msgid "Print Report" | ||
4244 | 600 | msgstr "" | ||
4246 | 601 | 754 | ||
4247 | 602 | #. module: hotel | 755 | #. module: hotel |
4248 | 603 | #: model:ir.actions.report.xml,name:hotel.hotel_folio_details | 756 | #: model:ir.actions.report.xml,name:hotel.hotel_folio_details |
4249 | 604 | #: model:ir.actions.wizard,name:hotel.wizard_hotel_total | ||
4250 | 605 | msgid "Folio Total" | 757 | msgid "Folio Total" |
4262 | 606 | msgstr "" | 758 | msgstr "Folio Total" |
4263 | 607 | 759 | ||
4264 | 608 | #. module: hotel | 760 | #. module: hotel |
4265 | 609 | #: model:ir.actions.act_window,name:hotel.open_hotel_room_type_form_tree | 761 | #: field:hotel.room,room_reservation_line_ids:0 |
4266 | 610 | #: model:ir.model,name:hotel.model_hotel_room_type | 762 | msgid "Room Reservation Line" |
4267 | 611 | msgid "Room Type" | 763 | msgstr "Room Reservation Line" |
4268 | 612 | msgstr "" | 764 | |
4269 | 613 | 765 | #. module: hotel | |
4270 | 614 | #. module: hotel | 766 | #: help:res.company,additional_hours:0 |
4271 | 615 | #: view:hotel.room:0 | 767 | msgid "Provide the min hours value for check in checkout days, whatever the hours will be provided here based on that extra days will be calculated." |
4272 | 616 | #: view:hotel.room_amenities:0 | 768 | msgstr "Provide the min hours value for check in checkout days, whatever the hours will be provided here based on that extra days will be calculated." |
4273 | 769 | |||
4274 | 770 | #. module: hotel | ||
4275 | 771 | #: view:hotel.room:0 | ||
4276 | 772 | msgid "occupied" | ||
4277 | 773 | msgstr "occupied" | ||
4278 | 774 | |||
4279 | 775 | #. module: hotel | ||
4280 | 776 | #: model:ir.actions.act_window,name:hotel.hotel_folio_wizard | ||
4281 | 777 | msgid "Hotel Folio Wizard" | ||
4282 | 778 | msgstr "Hotel Folio Wizard" | ||
4283 | 779 | |||
4284 | 780 | #. module: hotel | ||
4285 | 781 | #: model:ir.model,name:hotel.model_product_product | ||
4286 | 782 | msgid "Product" | ||
4287 | 783 | msgstr "Product" | ||
4288 | 784 | |||
4289 | 785 | #. module: hotel | ||
4290 | 786 | #: view:hotel.room:0 | ||
4291 | 787 | #: view:hotel.room.amenities:0 | ||
4292 | 617 | #: view:hotel.services:0 | 788 | #: view:hotel.services:0 |
4293 | 618 | msgid "Description" | 789 | msgid "Description" |
4299 | 619 | msgstr "" | 790 | msgstr "Description" |
4300 | 620 | 791 | ||
4301 | 621 | #. module: hotel | 792 | #. module: hotel |
4302 | 622 | #: field:hotel_folio.line,folio_id:0 | 793 | #: sql_constraint:hotel.folio:0 |
4303 | 623 | #: field:hotel_service.line,folio_id:0 | 794 | msgid "Check in Date Should be less than the Check Out Date!" |
4304 | 795 | msgstr "Check in Date Should be less than the Check Out Date!" | ||
4305 | 796 | |||
4306 | 797 | #. module: hotel | ||
4307 | 798 | #: field:hotel.folio.line,folio_id:0 | ||
4308 | 799 | #: field:hotel.service.line,folio_id:0 | ||
4309 | 624 | msgid "folio_id" | 800 | msgid "folio_id" |
4311 | 625 | msgstr "" | 801 | msgstr "folio_id" |
4312 | 626 | 802 | ||
4313 | 627 | #. module: hotel | 803 | #. module: hotel |
4315 | 628 | #: view:hotel.room_amenities:0 | 804 | #: view:hotel.room.amenities:0 |
4316 | 629 | #: view:hotel.services:0 | 805 | #: view:hotel.services:0 |
4317 | 630 | msgid "Sale Description" | 806 | msgid "Sale Description" |
4319 | 631 | msgstr "" | 807 | msgstr "Sale Description" |
4320 | 632 | 808 | ||
4321 | 633 | #. module: hotel | 809 | #. module: hotel |
4322 | 634 | #: model:product.category,name:hotel.hotel_room_amenities_type_4_product_category | 810 | #: model:product.category,name:hotel.hotel_room_amenities_type_4_product_category |
4323 | 635 | msgid "Double Bed" | 811 | msgid "Double Bed" |
4325 | 636 | msgstr "" | 812 | msgstr "Double Bed" |
4326 | 637 | 813 | ||
4327 | 638 | #. module: hotel | 814 | #. module: hotel |
4328 | 639 | #: field:product.product,isservice:0 | 815 | #: field:product.product,isservice:0 |
4329 | 640 | msgid "Is Service id" | 816 | msgid "Is Service id" |
4331 | 641 | msgstr "" | 817 | msgstr "Is Service id" |
4332 | 818 | |||
4333 | 819 | #. module: hotel | ||
4334 | 820 | #: view:hotel.services:0 | ||
4335 | 821 | msgid "Suplliers" | ||
4336 | 822 | msgstr "Suplliers" | ||
4337 | 642 | 823 | ||
4338 | 643 | #. module: hotel | 824 | #. module: hotel |
4339 | 644 | #: model:ir.ui.menu,name:hotel.menu_open_hotel_room_type_form_tree | 825 | #: model:ir.ui.menu,name:hotel.menu_open_hotel_room_type_form_tree |
4340 | 645 | msgid "Room Types" | 826 | msgid "Room Types" |
4345 | 646 | msgstr "" | 827 | msgstr "Room Types" |
4346 | 647 | 828 | ||
4347 | 648 | #. module: hotel | 829 | #. module: hotel |
4348 | 649 | #: rml:folio.total:0 | 830 | #: view:hotel.folio:0 |
4349 | 831 | msgid "Untaxed amount" | ||
4350 | 832 | msgstr "Untaxed amount" | ||
4351 | 833 | |||
4352 | 834 | #. module: hotel | ||
4353 | 835 | #: report:folio.total:0 | ||
4354 | 650 | msgid "CheckOut" | 836 | msgid "CheckOut" |
4356 | 651 | msgstr "" | 837 | msgstr "CheckOut" |
4357 | 652 | 838 | ||
4358 | 653 | #. module: hotel | 839 | #. module: hotel |
4359 | 654 | #: model:ir.actions.act_window,name:hotel.hotel_service_category_action | 840 | #: model:ir.actions.act_window,name:hotel.hotel_service_category_action |
4360 | 655 | #: model:ir.ui.menu,name:hotel.menu_hotel_service_category_action | 841 | #: model:ir.ui.menu,name:hotel.menu_hotel_service_category_action |
4361 | 656 | msgid "Services by Category" | 842 | msgid "Services by Category" |
4363 | 657 | msgstr "" | 843 | msgstr "Services by Category" |
4364 | 658 | 844 | ||
4365 | 659 | #. module: hotel | 845 | #. module: hotel |
4369 | 660 | #: model:ir.ui.menu,name:hotel.menu_open_hotel_room_form | 846 | #: view:hotel.folio:0 |
4370 | 661 | msgid "Rooms" | 847 | msgid "Cancel Folio" |
4371 | 662 | msgstr "" | 848 | msgstr "Cancel Folio" |
4372 | 663 | 849 | ||
4373 | 664 | #. module: hotel | 850 | #. module: hotel |
4374 | 665 | #: view:hotel.room:0 | 851 | #: view:hotel.room:0 |
4375 | 666 | msgid "Room rate" | 852 | msgid "Room rate" |
4377 | 667 | msgstr "" | 853 | msgstr "Room rate" |
4378 | 668 | 854 | ||
4379 | 669 | #. module: hotel | 855 | #. module: hotel |
4381 | 670 | #: wizard_field:hotel.folio.total_folio,init,date_end:0 | 856 | #: field:folio.report.wizard,date_end:0 |
4382 | 671 | msgid "End Date" | 857 | msgid "End Date" |
4384 | 672 | msgstr "" | 858 | msgstr "End Date" |
4385 | 859 | |||
4386 | 860 | #. module: hotel | ||
4387 | 861 | #: model:res.groups,name:hotel.group_hotel_manager | ||
4388 | 862 | msgid "Hotel Management/ Manager" | ||
4389 | 863 | msgstr "Hotel Management/ Manager" | ||
4390 | 864 | |||
4391 | 865 | #. module: hotel | ||
4392 | 866 | #: view:hotel.room:0 | ||
4393 | 867 | msgid "Name" | ||
4394 | 868 | msgstr "Name" | ||
4395 | 869 | |||
4396 | 870 | #. module: hotel | ||
4397 | 871 | #: view:folio.report.wizard:0 | ||
4398 | 872 | msgid "Folio Report" | ||
4399 | 873 | msgstr "Folio Report" | ||
4400 | 874 | |||
4401 | 875 | #. module: hotel | ||
4402 | 876 | #: view:hotel.room:0 | ||
4403 | 877 | msgid "Edit" | ||
4404 | 878 | msgstr "Edit" | ||
4405 | 673 | 879 | ||
4406 | 674 | #. module: hotel | 880 | #. module: hotel |
4407 | 675 | #: model:product.category,name:hotel.hotel_room_type_2_product_category | 881 | #: model:product.category,name:hotel.hotel_room_type_2_product_category |
4408 | 676 | msgid "Double" | 882 | msgid "Double" |
4410 | 677 | msgstr "" | 883 | msgstr "Double" |
4411 | 678 | 884 | ||
4412 | 679 | #. module: hotel | 885 | #. module: hotel |
4414 | 680 | #: rml:folio.total:0 | 886 | #: report:folio.total:0 |
4415 | 681 | msgid "CheckIn" | 887 | msgid "CheckIn" |
4417 | 682 | msgstr "" | 888 | msgstr "CheckIn" |
4418 | 683 | 889 | ||
4419 | 684 | #. module: hotel | 890 | #. module: hotel |
4420 | 685 | #: field:hotel.room,max_adult:0 | 891 | #: field:hotel.room,max_adult:0 |
4421 | 686 | msgid "Max Adult" | 892 | msgid "Max Adult" |
4423 | 687 | msgstr "" | 893 | msgstr "Max Adult" |
4424 | 688 | 894 | ||
4425 | 689 | #. module: hotel | 895 | #. module: hotel |
4438 | 690 | #: model:ir.module.module,description:hotel.module_meta_information | 896 | #: model:ir.actions.act_window,name:hotel.open_hotel_room_type_form_tree |
4439 | 691 | msgid "\n" | 897 | #: model:ir.model,name:hotel.model_hotel_room_type |
4440 | 692 | " Module for Hotel/Resort/Property management. You can manage:\n" | 898 | msgid "Room Type" |
4441 | 693 | " * Configure Property\n" | 899 | msgstr "Room Type" |
4430 | 694 | " * Hotel Configuration\n" | ||
4431 | 695 | " * Check In, Check out\n" | ||
4432 | 696 | " * Manage Folio\n" | ||
4433 | 697 | " * Payment\n" | ||
4434 | 698 | "\n" | ||
4435 | 699 | " Different reports are also provided, mainly for hotel statistics.\n" | ||
4436 | 700 | " " | ||
4437 | 701 | msgstr "" | ||
4442 | 702 | 900 | ||
4443 | 703 | #. module: hotel | 901 | #. module: hotel |
4444 | 704 | #: model:ir.ui.menu,name:hotel.hotel_report_menu | 902 | #: model:ir.ui.menu,name:hotel.hotel_report_menu |
4445 | 705 | msgid "Reports" | 903 | msgid "Reports" |
4460 | 706 | msgstr "" | 904 | msgstr "Reports" |
4461 | 707 | 905 | ||
4462 | 708 | #. module: hotel | 906 | #. module: hotel |
4463 | 709 | #: view:hotel.folio:0 | 907 | #: view:hotel.room.amenities:0 |
4464 | 710 | msgid "Related packings" | 908 | #: view:hotel.services:0 |
4465 | 711 | msgstr "" | 909 | msgid "Catagory" |
4466 | 712 | 910 | msgstr "Catagory" | |
4467 | 713 | #. module: hotel | 911 | |
4468 | 714 | #: view:hotel.folio:0 | 912 | #. module: hotel |
4469 | 715 | msgid "Folio No" | 913 | #: field:room.rent,day:0 |
4470 | 716 | msgstr "" | 914 | msgid "Weekday" |
4471 | 717 | 915 | msgstr "Weekday" | |
4472 | 718 | #. module: hotel | 916 | |
4473 | 719 | #: view:hotel.room_type:0 | 917 | #. module: hotel |
4474 | 918 | #: model:ir.ui.menu,name:hotel.menu_open_hotel_room_form | ||
4475 | 919 | msgid "Rooms" | ||
4476 | 920 | msgstr "Rooms" | ||
4477 | 921 | |||
4478 | 922 | #. module: hotel | ||
4479 | 923 | #: view:hotel.room.type:0 | ||
4480 | 720 | msgid " Hotel Room Type" | 924 | msgid " Hotel Room Type" |
4482 | 721 | msgstr "" | 925 | msgstr " Hotel Room Type" |
4483 | 722 | 926 | ||
4484 | 723 | #. module: hotel | 927 | #. module: hotel |
4485 | 724 | #: view:hotel.folio:0 | 928 | #: view:hotel.folio:0 |
4486 | 725 | msgid "Invoice Corrected" | 929 | msgid "Invoice Corrected" |
4488 | 726 | msgstr "" | 930 | msgstr "Invoice Corrected" |
4489 | 931 | |||
4490 | 932 | #. module: hotel | ||
4491 | 933 | #: selection:hotel.folio,hotel_policy:0 | ||
4492 | 934 | msgid "On Checkout" | ||
4493 | 935 | msgstr "On Checkout" | ||
4494 | 727 | 936 | ||
4495 | 728 | #. module: hotel | 937 | #. module: hotel |
4496 | 729 | #: model:ir.ui.menu,name:hotel.wizard_hotel_menu | 938 | #: model:ir.ui.menu,name:hotel.wizard_hotel_menu |
4497 | 730 | msgid "Hotel Folio Report" | 939 | msgid "Hotel Folio Report" |
4499 | 731 | msgstr "" | 940 | msgstr "Hotel Folio Report" |
4500 | 941 | |||
4501 | 942 | #. module: hotel | ||
4502 | 943 | #: view:hotel.folio:0 | ||
4503 | 944 | msgid "Confirm Folio" | ||
4504 | 945 | msgstr "Confirm Folio" | ||
4505 | 732 | 946 | ||
4506 | 733 | #. module: hotel | 947 | #. module: hotel |
4507 | 734 | #: view:hotel.folio:0 | 948 | #: view:hotel.folio:0 |
4508 | 735 | msgid "States" | 949 | msgid "States" |
4510 | 736 | msgstr "" | 950 | msgstr "States" |
4511 | 737 | 951 | ||
4512 | 738 | #. module: hotel | 952 | #. module: hotel |
4513 | 739 | #: model:product.category,name:hotel.hotel_room_type_1_product_category | 953 | #: model:product.category,name:hotel.hotel_room_type_1_product_category |
4514 | 740 | msgid "Single" | 954 | msgid "Single" |
4516 | 741 | msgstr "" | 955 | msgstr "Single" |
4517 | 742 | 956 | ||
4518 | 743 | #. module: hotel | 957 | #. module: hotel |
4522 | 744 | #: constraint:product.product:0 | 958 | #: field:hotel.room,status:0 |
4523 | 745 | msgid "Error: Invalid ean code" | 959 | msgid "status" |
4524 | 746 | msgstr "" | 960 | msgstr "status" |
4525 | 747 | 961 | ||
4526 | 748 | #. module: hotel | 962 | #. module: hotel |
4527 | 749 | #: view:hotel.folio:0 | 963 | #: view:hotel.folio:0 |
4528 | 750 | msgid "Rent" | 964 | msgid "Rent" |
4530 | 751 | msgstr "" | 965 | msgstr "Rent" |
4531 | 752 | 966 | ||
4532 | 753 | #. module: hotel | 967 | #. module: hotel |
4534 | 754 | #: rml:folio.total:0 | 968 | #: report:folio.total:0 |
4535 | 755 | msgid "Total" | 969 | msgid "Total" |
4537 | 756 | msgstr "" | 970 | msgstr "Total" |
4538 | 971 | |||
4539 | 972 | #. module: hotel | ||
4540 | 973 | #: view:hotel.room:0 | ||
4541 | 974 | #: view:hotel.room.amenities:0 | ||
4542 | 975 | #: view:hotel.services:0 | ||
4543 | 976 | msgid "Supplier Taxes" | ||
4544 | 977 | msgstr "Supplier Taxes" | ||
4545 | 757 | 978 | ||
4546 | 758 | 979 | ||
4547 | === modified file 'hotel/report/__init__.py' | |||
4548 | --- hotel/report/__init__.py 2012-05-22 14:06:57 +0000 | |||
4549 | +++ hotel/report/__init__.py 2014-09-28 13:18:16 +0000 | |||
4550 | @@ -1,24 +1,25 @@ | |||
4552 | 1 | # -*- encoding: utf-8 -*- | 1 | # -*- coding: utf-8 -*- |
4553 | 2 | ############################################################################## | 2 | ############################################################################## |
4555 | 3 | # | 3 | # |
4556 | 4 | # OpenERP, Open Source Management Solution | 4 | # OpenERP, Open Source Management Solution |
4558 | 5 | # Copyright (C) 2004-2009 Tiny SPRL (<http://tiny.be>). | 5 | # Copyright (C) 2012-Today Serpent Consulting Services Pvt. Ltd. (<http://www.serpentcs.com>) |
4559 | 6 | # Copyright (C) 2004 OpenERP SA (<http://www.openerp.com>) | ||
4560 | 6 | # | 7 | # |
4561 | 7 | # This program is free software: you can redistribute it and/or modify | 8 | # This program is free software: you can redistribute it and/or modify |
4565 | 8 | # it under the terms of the GNU Affero General Public License as | 9 | # it under the terms of the GNU General Public License as published by |
4566 | 9 | # published by the Free Software Foundation, either version 3 of the | 10 | # the Free Software Foundation, either version 3 of the License, or |
4567 | 10 | # License, or (at your option) any later version. | 11 | # (at your option) any later version. |
4568 | 11 | # | 12 | # |
4569 | 12 | # This program is distributed in the hope that it will be useful, | 13 | # This program is distributed in the hope that it will be useful, |
4570 | 13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | 14 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
4571 | 14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 15 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
4573 | 15 | # GNU Affero General Public License for more details. | 16 | # GNU General Public License for more details. |
4574 | 16 | # | 17 | # |
4577 | 17 | # You should have received a copy of the GNU Affero General Public License | 18 | # You should have received a copy of the GNU General Public License |
4578 | 18 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | 19 | # along with this program. If not, see <http://www.gnu.org/licenses/> |
4579 | 19 | # | 20 | # |
4580 | 20 | ############################################################################## | 21 | ############################################################################## |
4581 | 21 | 22 | ||
4583 | 22 | import hotel_report | 23 | from . import hotel_report |
4584 | 23 | 24 | ||
4585 | 24 | # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: | 25 | # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: |
4586 | 25 | \ No newline at end of file | 26 | \ No newline at end of file |
4587 | 26 | 27 | ||
4588 | === modified file 'hotel/report/hotel_report.py' | |||
4589 | --- hotel/report/hotel_report.py 2012-05-23 07:17:58 +0000 | |||
4590 | +++ hotel/report/hotel_report.py 2014-09-28 13:18:16 +0000 | |||
4591 | @@ -1,53 +1,52 @@ | |||
4593 | 1 | # -*- encoding: utf-8 -*- | 1 | # -*- coding: utf-8 -*- |
4594 | 2 | ############################################################################## | 2 | ############################################################################## |
4596 | 3 | # | 3 | # |
4597 | 4 | # OpenERP, Open Source Management Solution | 4 | # OpenERP, Open Source Management Solution |
4599 | 5 | # Copyright (C) 2004-2009 Tiny SPRL (<http://tiny.be>). | 5 | # Copyright (C) 2012-Today Serpent Consulting Services Pvt. Ltd. (<http://www.serpentcs.com>) |
4600 | 6 | # Copyright (C) 2004 OpenERP SA (<http://www.openerp.com>) | ||
4601 | 6 | # | 7 | # |
4602 | 7 | # This program is free software: you can redistribute it and/or modify | 8 | # This program is free software: you can redistribute it and/or modify |
4606 | 8 | # it under the terms of the GNU Affero General Public License as | 9 | # it under the terms of the GNU General Public License as published by |
4607 | 9 | # published by the Free Software Foundation, either version 3 of the | 10 | # the Free Software Foundation, either version 3 of the License, or |
4608 | 10 | # License, or (at your option) any later version. | 11 | # (at your option) any later version. |
4609 | 11 | # | 12 | # |
4610 | 12 | # This program is distributed in the hope that it will be useful, | 13 | # This program is distributed in the hope that it will be useful, |
4611 | 13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | 14 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
4612 | 14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 15 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
4614 | 15 | # GNU Affero General Public License for more details. | 16 | # GNU General Public License for more details. |
4615 | 16 | # | 17 | # |
4618 | 17 | # You should have received a copy of the GNU Affero General Public License | 18 | # You should have received a copy of the GNU General Public License |
4619 | 18 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | 19 | # along with this program. If not, see <http://www.gnu.org/licenses/> |
4620 | 19 | # | 20 | # |
4621 | 20 | ############################################################################## | 21 | ############################################################################## |
4622 | 21 | 22 | ||
4623 | 22 | import time | 23 | import time |
4627 | 23 | from report import report_sxw | 24 | from openerp.report import report_sxw |
4628 | 24 | import datetime | 25 | |
4626 | 25 | import pooler | ||
4629 | 26 | class folio_report(report_sxw.rml_parse): | 26 | class folio_report(report_sxw.rml_parse): |
4630 | 27 | def __init__(self, cr, uid, name, context): | 27 | def __init__(self, cr, uid, name, context): |
4631 | 28 | super(folio_report, self).__init__(cr, uid, name, context) | 28 | super(folio_report, self).__init__(cr, uid, name, context) |
4632 | 29 | self.localcontext.update( { | 29 | self.localcontext.update( { |
4633 | 30 | 'time': time, | 30 | 'time': time, |
4634 | 31 | 'get_data': self.get_data, | 31 | 'get_data': self.get_data, |
4636 | 32 | 'get_Total' : self.getTotal, | 32 | 'get_Total': self.getTotal, |
4637 | 33 | 'get_total': self.gettotal, | 33 | 'get_total': self.gettotal, |
4638 | 34 | }) | 34 | }) |
4639 | 35 | self.temp = 0.0 | 35 | self.temp = 0.0 |
4640 | 36 | 36 | ||
4644 | 37 | def get_data(self,date_start,date_end): | 37 | def get_data(self, date_start, date_end): |
4645 | 38 | tids = self.pool.get('hotel.folio').search(self.cr,self.uid,[('checkin_date', '>=', date_start),('checkout_date', '<=', date_end)]) | 38 | folio_obj = self.pool.get('hotel.folio') |
4646 | 39 | res = self.pool.get('hotel.folio').browse(self.cr,self.uid,tids) | 39 | tids = folio_obj.search(self.cr, self.uid, [('checkin_date', '>=', date_start), ('checkout_date', '<=', date_end)]) |
4647 | 40 | res = folio_obj.browse(self.cr, self.uid, tids) | ||
4648 | 40 | return res | 41 | return res |
4651 | 41 | 42 | ||
4652 | 42 | def gettotal(self,total): | 43 | def gettotal(self, total): |
4653 | 43 | self.temp = self.temp + float(total) | 44 | self.temp = self.temp + float(total) |
4654 | 44 | return total | 45 | return total |
4656 | 45 | 46 | ||
4657 | 46 | def getTotal(self): | 47 | def getTotal(self): |
4658 | 47 | return self.temp | 48 | return self.temp |
4663 | 48 | 49 | ||
4664 | 49 | report_sxw.report_sxw('report.folio.total', 'hotel.folio', 'addons/hotel/report/total_folio.rml',parser= folio_report) | 50 | report_sxw.report_sxw('report.folio.total', 'hotel.folio', 'addons/hotel/report/total_folio.rml', parser=folio_report) |
4661 | 50 | |||
4662 | 51 | |||
4665 | 52 | 51 | ||
4666 | 53 | # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: | 52 | # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: |
4667 | 54 | \ No newline at end of file | 53 | \ No newline at end of file |
4668 | 55 | 54 | ||
4669 | === modified file 'hotel/report/hotel_report.xml' | |||
4670 | --- hotel/report/hotel_report.xml 2012-05-23 07:17:58 +0000 | |||
4671 | +++ hotel/report/hotel_report.xml 2014-09-28 13:18:16 +0000 | |||
4672 | @@ -1,6 +1,7 @@ | |||
4673 | 1 | <?xml version="1.0"?> | 1 | <?xml version="1.0"?> |
4674 | 2 | <openerp> | 2 | <openerp> |
4675 | 3 | <data> | 3 | <data> |
4676 | 4 | |||
4677 | 4 | <report id="hotel_folio_details" | 5 | <report id="hotel_folio_details" |
4678 | 5 | string="Folio Total" | 6 | string="Folio Total" |
4679 | 6 | model="hotel.folio" | 7 | model="hotel.folio" |
4680 | 7 | 8 | ||
4681 | === modified file 'hotel/report/total_folio.rml' | |||
4682 | --- hotel/report/total_folio.rml 2012-05-22 14:06:57 +0000 | |||
4683 | +++ hotel/report/total_folio.rml 2014-09-28 13:18:16 +0000 | |||
4684 | @@ -13,6 +13,7 @@ | |||
4685 | 13 | <blockTableStyle id="Table1"> | 13 | <blockTableStyle id="Table1"> |
4686 | 14 | <blockAlignment value="LEFT"/> | 14 | <blockAlignment value="LEFT"/> |
4687 | 15 | <blockValign value="TOP"/> | 15 | <blockValign value="TOP"/> |
4688 | 16 | <lineStyle kind="GRID" colorName="black"/> | ||
4689 | 16 | <blockBackground colorName="#c0c0c0" start="0,0" stop="0,0"/> | 17 | <blockBackground colorName="#c0c0c0" start="0,0" stop="0,0"/> |
4690 | 17 | <blockBackground colorName="#c0c0c0" start="1,0" stop="1,0"/> | 18 | <blockBackground colorName="#c0c0c0" start="1,0" stop="1,0"/> |
4691 | 18 | <blockBackground colorName="#c0c0c0" start="2,0" stop="2,0"/> | 19 | <blockBackground colorName="#c0c0c0" start="2,0" stop="2,0"/> |
4692 | @@ -22,6 +23,7 @@ | |||
4693 | 22 | <blockTableStyle id="Table2"> | 23 | <blockTableStyle id="Table2"> |
4694 | 23 | <blockAlignment value="LEFT"/> | 24 | <blockAlignment value="LEFT"/> |
4695 | 24 | <blockValign value="TOP"/> | 25 | <blockValign value="TOP"/> |
4696 | 26 | <lineStyle kind="GRID" colorName="black"/> | ||
4697 | 25 | <blockBackground colorName="#ffffff" start="0,0" stop="0,0"/> | 27 | <blockBackground colorName="#ffffff" start="0,0" stop="0,0"/> |
4698 | 26 | <blockBackground colorName="#c0c0c0" start="1,0" stop="1,0"/> | 28 | <blockBackground colorName="#c0c0c0" start="1,0" stop="1,0"/> |
4699 | 27 | </blockTableStyle> | 29 | </blockTableStyle> |
4700 | @@ -52,9 +54,21 @@ | |||
4701 | 52 | <para style="P2"> | 54 | <para style="P2"> |
4702 | 53 | <font color="white"> </font> | 55 | <font color="white"> </font> |
4703 | 54 | </para> | 56 | </para> |
4705 | 55 | <para style="P9">Total Collection</para> | 57 | <para style="P2"> |
4706 | 58 | <font color="white"> </font> | ||
4707 | 59 | </para> | ||
4708 | 60 | <para style="P2"> | ||
4709 | 61 | <font color="white"> </font> | ||
4710 | 62 | </para> | ||
4711 | 63 | <para style="P9" alignment="CENTER"><b>Total Collection</b></para> | ||
4712 | 64 | <para style="P2"> | ||
4713 | 65 | <font color="white"> </font> | ||
4714 | 66 | </para> | ||
4715 | 56 | <para style="P10">[[repeatIn(objects,'o')]]</para> | 67 | <para style="P10">[[repeatIn(objects,'o')]]</para> |
4717 | 57 | <para style="P12">From [[ data['form']['date_start'] ]] to [[ data['form']['date_end'] ]] </para> | 68 | <para style="P12"><b>From "</b>[[ formatLang(data['form']['date_start'],date=True) ]]<b>" To "</b>[[ formatLang(data['form']['date_end'],date=True) ]]<b>"</b></para> |
4718 | 69 | <para style="P4"> | ||
4719 | 70 | <font color="white"> </font> | ||
4720 | 71 | </para> | ||
4721 | 58 | <blockTable colWidths="90.0,129.0,98.0,96.0,69.0" style="Table1"> | 72 | <blockTable colWidths="90.0,129.0,98.0,96.0,69.0" style="Table1"> |
4722 | 59 | <tr> | 73 | <tr> |
4723 | 60 | <td> | 74 | <td> |
4724 | @@ -74,27 +88,25 @@ | |||
4725 | 74 | </td> | 88 | </td> |
4726 | 75 | </tr> | 89 | </tr> |
4727 | 76 | <tr> | 90 | <tr> |
4745 | 77 | <td> | 91 | <para style="P6">[[ repeatIn(get_data(data['form']['date_start'],data['form']['date_end']) ,'o') ]]</para> |
4746 | 78 | <para style="P6">[[ repeatIn(get_data(data['form']['date_start'],data['form']['date_end']) ,'o') ]]</para> | 92 | <td> |
4747 | 79 | <para style="P4">[[o.order_id.name]]</para> | 93 | <para style="P4">[[o.name or '' ]]</para> |
4748 | 80 | </td> | 94 | </td> |
4749 | 81 | <td> | 95 | <td> |
4750 | 82 | <para style="P4">[[o.partner_id.name]]</para> | 96 | <para style="P4" alignment="LEFT">[[o.partner_id and o.partner_id.name or '']]</para> |
4751 | 83 | </td> | 97 | </td> |
4752 | 84 | <td> | 98 | <td> |
4753 | 85 | <para style="P4">[[o.checkin_date]]</para> | 99 | <para style="P4">[[ formatLang(o.checkin_date, date=True) ]]</para> |
4754 | 86 | </td> | 100 | </td> |
4755 | 87 | <td> | 101 | <td> |
4756 | 88 | <para style="P4">[[o.checkout_date]]</para> | 102 | <para style="P4">[[ formatLang(o.checkout_date, date=True) ]]</para> |
4757 | 89 | </td> | 103 | </td> |
4758 | 90 | <td> | 104 | <td> |
4759 | 91 | <para style="P4">[[o.amount_total]]</para> | 105 | <para style="P4" alignment="RIGHT">[[formatLang(get_total(o.amount_total), digits=get_digits(dp='Account')) ]]</para> |
4743 | 92 | |||
4744 | 93 | <para style="P4">[[get_total(o.amount_total)]]</para> | ||
4760 | 94 | </td> | 106 | </td> |
4761 | 95 | </tr> | 107 | </tr> |
4762 | 96 | </blockTable> | 108 | </blockTable> |
4764 | 97 | <blockTable colWidths="316.0,96.0,69.0" style="Table2"> | 109 | <blockTable colWidths="317.0,96.0,69.0" style="Table2"> |
4765 | 98 | <tr> | 110 | <tr> |
4766 | 99 | <td> | 111 | <td> |
4767 | 100 | <para style="P8"> | 112 | <para style="P8"> |
4768 | @@ -105,7 +117,7 @@ | |||
4769 | 105 | <para style="P7">Net Total :-</para> | 117 | <para style="P7">Net Total :-</para> |
4770 | 106 | </td> | 118 | </td> |
4771 | 107 | <td> | 119 | <td> |
4773 | 108 | <para style="P4">[[get_Total()]]</para> | 120 | <para style="P4" alignment="RIGHT">[[formatLang(get_Total(), digits=get_digits(dp='Account')) ]]</para> |
4774 | 109 | </td> | 121 | </td> |
4775 | 110 | </tr> | 122 | </tr> |
4776 | 111 | </blockTable> | 123 | </blockTable> |
4777 | 112 | 124 | ||
4778 | === modified file 'hotel/security/ir.model.access.csv' | |||
4779 | --- hotel/security/ir.model.access.csv 2012-05-22 14:06:57 +0000 | |||
4780 | +++ hotel/security/ir.model.access.csv 2014-09-28 13:18:16 +0000 | |||
4781 | @@ -1,13 +1,34 @@ | |||
4782 | 1 | "id","name","model_id:id","group_id:id","perm_read","perm_write","perm_create","perm_unlink" | 1 | "id","name","model_id:id","group_id:id","perm_read","perm_write","perm_create","perm_unlink" |
4795 | 2 | "access_hotel_floor_group","hotel.floor","model_hotel_floor","hotel.group_hotel_user",1,1,0,0 | 2 | "access_hotel_floor_group","hotel.floor.user","model_hotel_floor","hotel.group_hotel_user",1,1,1,0 |
4796 | 3 | "access_product_category","product.category","product.model_product_category","hotel.group_hotel_user",1,1,0,0 | 3 | "access_product_category","product.category.user","product.model_product_category","hotel.group_hotel_user",1,1,1,0 |
4797 | 4 | "access_hotel_room_type","hotel.room_type","model_hotel_room_type","hotel.group_hotel_user",1,1,0,0 | 4 | "access_hotel_room_type","hotel.room_type.user","model_hotel_room_type","hotel.group_hotel_user",1,1,1,0 |
4798 | 5 | "access_product_product","product.product","product.model_product_product","hotel.group_hotel_user",1,1,1,1 | 5 | "access_hotel_room_rent","hotel.room_rent.user","model_room_rent","hotel.group_hotel_user",1,1,1,0 |
4799 | 6 | "access_hotel_room_amenities_type","hotel.room_amenities_type","model_hotel_room_amenities_type","hotel.group_hotel_user",1,1,0,0 | 6 | "access_product_product","product.product.user","product.model_product_product","hotel.group_hotel_user",1,1,1,0 |
4800 | 7 | "access_hotel_room_amenities","hotel.room_aminities","model_hotel_room_amenities","hotel.group_hotel_user",1,1,0,0 | 7 | "access_hotel_room_amenities_type","hotel.room_amenities_type.user","model_hotel_room_amenities_type","hotel.group_hotel_user",1,1,1,0 |
4801 | 8 | "access_hotel_room","hotel.room","model_hotel_room","hotel.group_hotel_user",1,1,0,0 | 8 | "access_hotel_room_amenities","hotel.room_aminities.user","model_hotel_room_amenities","hotel.group_hotel_user",1,1,1,0 |
4802 | 9 | "access_hotel_folio","hotel.folio","model_hotel_folio","hotel.group_hotel_user",1,1,1,1 | 9 | "access_hotel_room","hotel.room.user","model_hotel_room","hotel.group_hotel_user",1,1,1,0 |
4803 | 10 | "access_hotel_folio_line","hotel_folio.line","model_hotel_folio_line","hotel.group_hotel_user",1,1,1,1 | 10 | "access_hotel_folio","hotel.folio.user","model_hotel_folio","hotel.group_hotel_user",1,1,1,0 |
4804 | 11 | "access_hotel_service_line","hotel_service.line","model_hotel_service_line","hotel.group_hotel_user",1,1,1,1 | 11 | "access_hotel_folio_line","hotel_folio.line.user","model_hotel_folio_line","hotel.group_hotel_user",1,1,1,0 |
4805 | 12 | "acess_hotel_service_type","hotel.service_type","model_hotel_service_type","hotel.group_hotel_user",1,1,0,0 | 12 | "access_hotel_service_line","hotel_service.line.user","model_hotel_service_line","hotel.group_hotel_user",1,1,1,0 |
4806 | 13 | "access_hotel_services","hotel.sevices","model_hotel_services","hotel.group_hotel_user",1,1,0,0 | 13 | "acess_hotel_service_type","hotel.service_type.user","model_hotel_service_type","hotel.group_hotel_user",1,1,1,0 |
4807 | 14 | "access_hotel_services","hotel.sevices.user","model_hotel_services","hotel.group_hotel_user",1,1,1,0 | ||
4808 | 15 | "access_hotel_order_user","hotel.order.user","sale.model_sale_order","hotel.group_hotel_user",1,1,1,0 | ||
4809 | 16 | "access_hotel_order_line_user","hotel.order.line.user","sale.model_sale_order_line","hotel.group_hotel_user",1,1,1,0 | ||
4810 | 17 | "access_hotel_invoice_user","account.invoice.user","account.model_account_invoice","hotel.group_hotel_user",1,1,1,0 | ||
4811 | 18 | |||
4812 | 19 | "access_hotel_floor_group_manager","hotel.floor.manager","model_hotel_floor","hotel.group_hotel_manager",1,1,1,1 | ||
4813 | 20 | "access_product_category_manager","product.category.manager","product.model_product_category","hotel.group_hotel_manager",1,1,1,1 | ||
4814 | 21 | "access_hotel_room_type_manager","hotel.room_type.manager","model_hotel_room_type","hotel.group_hotel_manager",1,1,1,1 | ||
4815 | 22 | "access_hotel_room_rent_manager","hotel.room_rent.manager","model_room_rent","hotel.group_hotel_manager",1,1,1,1 | ||
4816 | 23 | "access_product_product_manager","product.product.manager","product.model_product_product","hotel.group_hotel_manager",1,1,1,1 | ||
4817 | 24 | "access_hotel_room_amenities_type_manager","hotel.room_amenities_type.manager","model_hotel_room_amenities_type","hotel.group_hotel_manager",1,1,1,1 | ||
4818 | 25 | "access_hotel_room_amenities_manager","hotel.room_aminities.manager","model_hotel_room_amenities","hotel.group_hotel_manager",1,1,1,1 | ||
4819 | 26 | "access_hotel_room_manager","hotel.room.manager","model_hotel_room","hotel.group_hotel_manager",1,1,1,1 | ||
4820 | 27 | "access_hotel_folio_manager","hotel.folio.manager","model_hotel_folio","hotel.group_hotel_manager",1,1,1,1 | ||
4821 | 28 | "access_hotel_folio_line_manager","hotel_folio.line.manager","model_hotel_folio_line","hotel.group_hotel_manager",1,1,1,1 | ||
4822 | 29 | "access_hotel_service_line_manager","hotel_service.line.manager","model_hotel_service_line","hotel.group_hotel_manager",1,1,1,1 | ||
4823 | 30 | "acess_hotel_service_type_manager","hotel.service_type.manager","model_hotel_service_type","hotel.group_hotel_manager",1,1,1,1 | ||
4824 | 31 | "access_hotel_services_manager","hotel.sevices.manager","model_hotel_services","hotel.group_hotel_manager",1,1,1,1 | ||
4825 | 32 | "access_hotel_order_manager_manager","hotel.order.manager","sale.model_sale_order","hotel.group_hotel_manager",1,1,1,1 | ||
4826 | 33 | "access_hotel_order_line_manager","hotel.order.line.manager","sale.model_sale_order_line","hotel.group_hotel_manager",1,1,1,0 | ||
4827 | 34 | "access_hotel_invoice_manager","account.invoice.manager","account.model_account_invoice","hotel.group_hotel_manager",1,1,1,1 | ||
4828 | 14 | \ No newline at end of file | 35 | \ No newline at end of file |
4829 | 15 | 36 | ||
4830 | === added directory 'hotel/static' | |||
4831 | === renamed directory 'hotel/static' => 'hotel/static.moved' | |||
4832 | === added directory 'hotel/static/src' | |||
4833 | === added directory 'hotel/static/src/css' | |||
4834 | === added file 'hotel/static/src/css/room_kanban.css' | |||
4835 | --- hotel/static/src/css/room_kanban.css 1970-01-01 00:00:00 +0000 | |||
4836 | +++ hotel/static/src/css/room_kanban.css 2014-09-28 13:18:16 +0000 | |||
4837 | @@ -0,0 +1,4 @@ | |||
4838 | 1 | .openerp .oe_kanban_view .oe_kanban_status { | ||
4839 | 2 | position: relative; | ||
4840 | 3 | top: -13px; | ||
4841 | 4 | } | ||
4842 | 0 | \ No newline at end of file | 5 | \ No newline at end of file |
4843 | 1 | 6 | ||
4844 | === modified file 'hotel/wizard/__init__.py' | |||
4845 | --- hotel/wizard/__init__.py 2012-05-22 14:06:57 +0000 | |||
4846 | +++ hotel/wizard/__init__.py 2014-09-28 13:18:16 +0000 | |||
4847 | @@ -1,24 +1,25 @@ | |||
4848 | 1 | # -*- encoding: utf-8 -*- | 1 | # -*- encoding: utf-8 -*- |
4849 | 2 | ############################################################################## | 2 | ############################################################################## |
4851 | 3 | # | 3 | # |
4852 | 4 | # OpenERP, Open Source Management Solution | 4 | # OpenERP, Open Source Management Solution |
4854 | 5 | # Copyright (C) 2004-2009 Tiny SPRL (<http://tiny.be>). | 5 | # Copyright (C) 2012-Today Serpent Consulting Services Pvt. Ltd. (<http://www.serpentcs.com>) |
4855 | 6 | # Copyright (C) 2004 OpenERP SA (<http://www.openerp.com>) | ||
4856 | 6 | # | 7 | # |
4857 | 7 | # This program is free software: you can redistribute it and/or modify | 8 | # This program is free software: you can redistribute it and/or modify |
4861 | 8 | # it under the terms of the GNU Affero General Public License as | 9 | # it under the terms of the GNU General Public License as published by |
4862 | 9 | # published by the Free Software Foundation, either version 3 of the | 10 | # the Free Software Foundation, either version 3 of the License, or |
4863 | 10 | # License, or (at your option) any later version. | 11 | # (at your option) any later version. |
4864 | 11 | # | 12 | # |
4865 | 12 | # This program is distributed in the hope that it will be useful, | 13 | # This program is distributed in the hope that it will be useful, |
4866 | 13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | 14 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
4867 | 14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 15 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
4869 | 15 | # GNU Affero General Public License for more details. | 16 | # GNU General Public License for more details. |
4870 | 16 | # | 17 | # |
4873 | 17 | # You should have received a copy of the GNU Affero General Public License | 18 | # You should have received a copy of the GNU General Public License |
4874 | 18 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | 19 | # along with this program. If not, see <http://www.gnu.org/licenses/> |
4875 | 19 | # | 20 | # |
4876 | 20 | ############################################################################## | 21 | ############################################################################## |
4877 | 21 | 22 | ||
4879 | 22 | import hotel_wizard | 23 | from . import hotel_wizard |
4880 | 23 | 24 | ||
4881 | 24 | # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: | 25 | # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: |
4882 | 25 | \ No newline at end of file | 26 | \ No newline at end of file |
4883 | 26 | 27 | ||
4884 | === modified file 'hotel/wizard/hotel_wizard.py' | |||
4885 | --- hotel/wizard/hotel_wizard.py 2012-05-23 07:17:58 +0000 | |||
4886 | +++ hotel/wizard/hotel_wizard.py 2014-09-28 13:18:16 +0000 | |||
4887 | @@ -1,50 +1,45 @@ | |||
4888 | 1 | # -*- encoding: utf-8 -*- | 1 | # -*- encoding: utf-8 -*- |
4889 | 2 | ############################################################################## | 2 | ############################################################################## |
4891 | 3 | # | 3 | # |
4892 | 4 | # OpenERP, Open Source Management Solution | 4 | # OpenERP, Open Source Management Solution |
4894 | 5 | # Copyright (C) 2004-2009 Tiny SPRL (<http://tiny.be>). | 5 | # Copyright (C) 2012-Today Serpent Consulting Services Pvt. Ltd. (<http://www.serpentcs.com>) |
4895 | 6 | # Copyright (C) 2004 OpenERP SA (<http://www.openerp.com>) | ||
4896 | 6 | # | 7 | # |
4897 | 7 | # This program is free software: you can redistribute it and/or modify | 8 | # This program is free software: you can redistribute it and/or modify |
4901 | 8 | # it under the terms of the GNU Affero General Public License as | 9 | # it under the terms of the GNU General Public License as published by |
4902 | 9 | # published by the Free Software Foundation, either version 3 of the | 10 | # the Free Software Foundation, either version 3 of the License, or |
4903 | 10 | # License, or (at your option) any later version. | 11 | # (at your option) any later version. |
4904 | 11 | # | 12 | # |
4905 | 12 | # This program is distributed in the hope that it will be useful, | 13 | # This program is distributed in the hope that it will be useful, |
4906 | 13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | 14 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
4907 | 14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 15 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
4919 | 15 | # GNU Affero General Public License for more details. | 16 | # GNU General Public License for more details. |
4920 | 16 | # | 17 | # |
4921 | 17 | # You should have received a copy of the GNU Affero General Public License | 18 | # You should have received a copy of the GNU General Public License |
4922 | 18 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | 19 | # along with this program. If not, see <http://www.gnu.org/licenses/> |
4923 | 19 | # | 20 | # |
4924 | 20 | ############################################################################## | 21 | ################################################################################ |
4925 | 21 | 22 | ||
4926 | 22 | from osv import osv,fields | 23 | from openerp.osv import osv, fields |
4927 | 23 | 24 | ||
4928 | 24 | class folio_report_wizard(osv.osv_memory): | 25 | class folio_report_wizard(osv.TransientModel): |
4918 | 25 | |||
4929 | 26 | _name = 'folio.report.wizard' | 26 | _name = 'folio.report.wizard' |
4930 | 27 | |||
4931 | 28 | _rec_name = 'date_start' | 27 | _rec_name = 'date_start' |
4932 | 29 | _columns = { | 28 | _columns = { |
4937 | 30 | 'date_start':fields.datetime('Start Date'), | 29 | 'date_start': fields.datetime('Start Date'), |
4938 | 31 | 'date_end':fields.datetime('End Date') | 30 | 'date_end': fields.datetime('End Date') |
4939 | 32 | } | 31 | } |
4940 | 33 | 32 | ||
4941 | 34 | def print_report(self, cr, uid, ids, context=None): | 33 | def print_report(self, cr, uid, ids, context=None): |
4946 | 35 | datas = { | 34 | values = { |
4947 | 36 | 'ids': ids, | 35 | 'ids': ids, |
4948 | 37 | 'model': 'hotel.folio', | 36 | 'model': 'hotel.folio', |
4949 | 38 | 'form': self.read(cr, uid, ids)[0] | 37 | 'form': self.read(cr, uid, ids, context=context)[0] |
4950 | 39 | } | 38 | } |
4951 | 40 | return { | 39 | return { |
4952 | 41 | 'type': 'ir.actions.report.xml', | 40 | 'type': 'ir.actions.report.xml', |
4953 | 42 | 'report_name': 'folio.total', | 41 | 'report_name': 'folio.total', |
4955 | 43 | 'datas': datas, | 42 | 'datas': values, |
4956 | 44 | } | 43 | } |
4957 | 45 | 44 | ||
4963 | 46 | 45 | # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: | |
4959 | 47 | folio_report_wizard() | ||
4960 | 48 | |||
4961 | 49 | # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: | ||
4962 | 50 | |||
4964 | 51 | \ No newline at end of file | 46 | \ No newline at end of file |
4965 | 52 | 47 | ||
4966 | === modified file 'hotel/wizard/hotel_wizard.xml' | |||
4967 | --- hotel/wizard/hotel_wizard.xml 2012-05-23 07:17:58 +0000 | |||
4968 | +++ hotel/wizard/hotel_wizard.xml 2014-09-28 13:18:16 +0000 | |||
4969 | @@ -1,37 +1,39 @@ | |||
4970 | 1 | <?xml version="1.0" ?> | 1 | <?xml version="1.0" ?> |
4971 | 2 | <openerp> | 2 | <openerp> |
4972 | 3 | <data> | ||
4973 | 4 | |||
4974 | 5 | <record model="ir.ui.view" id="view_hotel_folio_wizard"> | ||
4975 | 6 | <field name="name">folio.report.wizard</field> | ||
4976 | 7 | <field name="model">folio.report.wizard</field> | ||
4977 | 8 | <field name="type">form</field> | ||
4978 | 9 | <field name="arch" type="xml"> | ||
4979 | 10 | <form string="Folio Report"> | ||
4980 | 11 | <field name="date_start" required="1"/> | ||
4981 | 12 | <field name="date_end" required="1"/> | ||
4982 | 13 | <newline/> | ||
4983 | 14 | <separator colspan='4'/> | ||
4984 | 15 | <newline/> | ||
4985 | 16 | <button icon="gtk-cancel" string="Cancel" special="cancel"/> | ||
4986 | 17 | <button icon="gtk-print" name="print_report" string="Print" type="object"/> | ||
4987 | 18 | </form> | ||
4988 | 19 | </field> | ||
4989 | 20 | </record> | ||
4990 | 21 | |||
4991 | 22 | <record model="ir.actions.act_window" id="hotel_folio_wizard"> | ||
4992 | 23 | <field name="name">Hotel Folio Wizard</field> | ||
4993 | 24 | <field name="res_model">folio.report.wizard</field> | ||
4994 | 25 | <field name="view_type">form</field> | ||
4995 | 26 | <field name="view_mode">form</field> | ||
4996 | 27 | <field name="target">new</field> | ||
4997 | 28 | </record> | ||
4998 | 29 | |||
4999 | 30 | <menuitem | ||
5000 | 31 | name="Hotel Folio Report" |
The diff has been truncated for viewing.