Skip to content

Commit

Permalink
[IMP]improved code
Browse files Browse the repository at this point in the history
  • Loading branch information
MalayKhamar-SerpentCS committed Aug 6, 2015
1 parent 85cd9f5 commit f295728
Show file tree
Hide file tree
Showing 51 changed files with 1,051 additions and 553 deletions.
22 changes: 12 additions & 10 deletions board_frontdesk/__init__.py
Original file line number Diff line number Diff line change
@@ -1,20 +1,22 @@
# -*- encoding: utf-8 -*-
##############################################################################
#
#############################################################################
#
# OpenERP, Open Source Management Solution
# Copyright (C) 2004-2009 Tiny SPRL (<http://tiny.be>).
# Copyright (C) 2012-Today Serpent Consulting Services Pvt. Ltd.
# (<http://www.serpentcs.com>)
# Copyright (C) 2004 OpenERP SA (<http://www.openerp.com>)
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
# GNU General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>
#
##############################################################################
#############################################################################
25 changes: 15 additions & 10 deletions board_frontdesk/__openerp__.py
Original file line number Diff line number Diff line change
@@ -1,23 +1,26 @@
# -*- encoding: utf-8 -*-
##############################################################################
#
#############################################################################
#
# OpenERP, Open Source Management Solution
# Copyright (C) 2004-2009 Tiny SPRL (<http://tiny.be>).
# Copyright (C) 2012-Today Serpent Consulting Services Pvt. Ltd.
# (<http://www.serpentcs.com>)
# Copyright (C) 2004 OpenERP SA (<http://www.openerp.com>)
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
# GNU General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>
#
##############################################################################
#############################################################################

{
"name": "Board for Hotel FrontDesk",
"version": "1.0",
Expand All @@ -40,3 +43,5 @@
"active": False,
"installable": True,
}

# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
2 changes: 0 additions & 2 deletions board_frontdesk/views/board_frontdesk_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,6 @@
<field name="view_id" ref="board_frontdesk_form"/>
</record>



<menuitem name="Hotel FrontDesk Board"
action="open_board_frontdesk" sequence="1"
id="menu_board_frontdesk" icon="terp-graph"
Expand Down
9 changes: 5 additions & 4 deletions hotel/__init__.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
# -*- coding: utf-8 -*-
##############################################################################
# -*- encoding: utf-8 -*-
#############################################################################
#
# OpenERP, Open Source Management Solution
# Copyright (C) 2012-Today Serpent Consulting Services Pvt. Ltd. (<http://www.serpentcs.com>)
# Copyright (C) 2012-Today Serpent Consulting Services Pvt. Ltd.
# (<http://www.serpentcs.com>)
# Copyright (C) 2004 OpenERP SA (<http://www.openerp.com>)
#
# This program is free software: you can redistribute it and/or modify
Expand All @@ -18,7 +19,7 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>
#
##############################################################################
#############################################################################

from . import models
from . import wizard
Expand Down
11 changes: 6 additions & 5 deletions hotel/__openerp__.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
# -*- coding: utf-8 -*-
##############################################################################
# -*- encoding: utf-8 -*-
#############################################################################
#
# OpenERP, Open Source Management Solution
# Copyright (C) 2012-Today Serpent Consulting Services Pvt. Ltd. (<http://www.serpentcs.com>)
# Copyright (C) 2012-Today Serpent Consulting Services Pvt. Ltd.
# (<http://www.serpentcs.com>)
# Copyright (C) 2004 OpenERP SA (<http://www.openerp.com>)
#
# This program is free software: you can redistribute it and/or modify
Expand All @@ -18,7 +19,7 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>
#
##############################################################################
#############################################################################

{
"name": "Hotel Management",
Expand All @@ -36,7 +37,7 @@
Different reports are also provided, mainly for hotel statistics.
""",
"website": ["http://www.serpentcs.com", "http://www.openerp.com"],
"depends": ["sale_stock", "report_extended" , "point_of_sale"],
"depends": ["sale_stock", "report_extended", "point_of_sale"],
"demo": ["views/hotel_data.xml"],
"data": [
"security/hotel_security.xml",
Expand Down
11 changes: 7 additions & 4 deletions hotel/models/__init__.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
# -*- coding: utf-8 -*-
##############################################################################
# -*- encoding: utf-8 -*-
#############################################################################
#
# OpenERP, Open Source Management Solution
# Copyright (C) 2012-Today Serpent Consulting Services Pvt. Ltd. (<http://www.serpentcs.com>)
# Copyright (C) 2012-Today Serpent Consulting Services Pvt. Ltd.
# (<http://www.serpentcs.com>)
# Copyright (C) 2004 OpenERP SA (<http://www.openerp.com>)
#
# This program is free software: you can redistribute it and/or modify
Expand All @@ -18,6 +19,8 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>
#
##############################################################################
#############################################################################

from . import hotel

# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
Loading

0 comments on commit f295728

Please sign in to comment.