7 changed files with 70 additions and 103 deletions
@ -0,0 +1,43 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################## |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# Copyright (C) 2009-TODAY Cybrosys Technologies(<http://www.cybrosys.com>). |
||||
|
# Author: Nilmar Shereef(<http://www.cybrosys.com>) |
||||
|
# you can modify it under the terms of the GNU LESSER |
||||
|
# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. |
||||
|
# |
||||
|
# It is forbidden to publish, distribute, sublicense, or sell copies |
||||
|
# of the Software or modified copies of the Software. |
||||
|
# |
||||
|
# 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 LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. |
||||
|
# |
||||
|
# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE |
||||
|
# GENERAL PUBLIC LICENSE (LGPL v3) along with this program. |
||||
|
# If not, see <http://www.gnu.org/licenses/>. |
||||
|
# |
||||
|
############################################################################## |
||||
|
{ |
||||
|
'name': "Automatic Developer Mode", |
||||
|
'summary': """Automatically Activate Developer Mode & Running DB Name on Left Top""", |
||||
|
'version': '10.0.2.0.0', |
||||
|
'author': 'Cybrosys Techno Solutions', |
||||
|
'website': "http://www.cybrosys.com", |
||||
|
'company': 'Cybrosys Techno Solutions', |
||||
|
'category': 'Extra Tools', |
||||
|
'depends': ['base', 'web', 'base_setup'], |
||||
|
'data': [ |
||||
|
'views/web_view.xml', |
||||
|
'security/security_data.xml', |
||||
|
'views/developer_mode_view.xml', |
||||
|
'views/ir_rule_view.xml', |
||||
|
'data/cybro_developer_data.xml', |
||||
|
], |
||||
|
'images': ['static/description/banner.jpg'], |
||||
|
'license': 'AGPL-3', |
||||
|
'installable': True, |
||||
|
'auto_install': False, |
||||
|
} |
Before Width: | Height: | Size: 143 KiB After Width: | Height: | Size: 146 KiB |
@ -1,96 +0,0 @@ |
|||||
<section class="oe_container"> |
|
||||
<div class="oe_row oe_spaced"> |
|
||||
<div class="oe_span12"> |
|
||||
<h2 class="oe_slogan">Automatic Developer Mode</h2> |
|
||||
<h3 class="oe_slogan">Developers! Keep up your smile..</h3> |
|
||||
<h4 class="oe_slogan">Cybrosys Technologies , www.cybrosys.com</h4> |
|
||||
</div> |
|
||||
<div class="oe_row oe_spaced"> |
|
||||
<h4><p style="margin-left: 41px;"> Developers, So Many Reasons to Smile:</p></h4> |
|
||||
<ul> |
|
||||
<li style="list-style:none !important;"><span style="color:green;"> ☺</span> Automatically Trigger Developer Mode.</li> |
|
||||
<li style="list-style:none !important;"><span style="color:green;"> ☺</span> Showing Running DB On Left Top.</li> |
|
||||
<li style="list-style:none !important;"><span style="color:green;"> ☺</span> Update Modules Easily.</li> |
|
||||
<li style="list-style:none !important;"><span style="color:green;"> ☺</span> Custom Email Template for Sending Mail with Failure Details.</li> |
|
||||
</ul> |
|
||||
</div> |
|
||||
<div class="oe_span6"> |
|
||||
<div class="oe_demo oe_picture oe_screenshot"> |
|
||||
<img src="dev.jpg"> |
|
||||
</div> |
|
||||
</div> |
|
||||
<div class="oe_span6"> |
|
||||
<p class="oe_mt32"> |
|
||||
<p>This module make you free from activate developer mode operations over and over(It is very boring when we switching many users). |
|
||||
When you login, It will trigger the DEVELOPER MODE Automatically.</p> |
|
||||
</p> |
|
||||
</div> |
|
||||
</div> |
|
||||
</section> |
|
||||
|
|
||||
<section class="oe_container"> |
|
||||
<div class="oe_row oe_spaced"> |
|
||||
<div class="oe_span6"> |
|
||||
<p class="oe_mt32"> |
|
||||
<p>As shown here, Simply automate the developer mode. It help developer in several perspective. NOTE That, you have to re-login after the module installation</p> |
|
||||
</p> |
|
||||
</div> |
|
||||
<div class="oe_span6"> |
|
||||
<div class="oe_demo oe_picture oe_screenshot"> |
|
||||
<img src="im_login.jpg"> |
|
||||
</div> |
|
||||
</div> |
|
||||
</div> |
|
||||
</section> |
|
||||
|
|
||||
<section class="oe_container"> |
|
||||
<div class="oe_row oe_spaced"> |
|
||||
<div class="oe_span6"> |
|
||||
<p class="oe_mt32"> |
|
||||
<p>The developer can identify running DB easily.</p> |
|
||||
</p> |
|
||||
</div> |
|
||||
<div class="oe_span6"> |
|
||||
<div class="oe_demo oe_picture oe_screenshot"> |
|
||||
<img src="working_db.png"> |
|
||||
</div> |
|
||||
</div> |
|
||||
</div> |
|
||||
</section> |
|
||||
|
|
||||
<section class="oe_container"> |
|
||||
<div class="oe_row oe_spaced"> |
|
||||
<div class="oe_span6"> |
|
||||
<p class="oe_mt32"> |
|
||||
<p>Easily update any module without opening the form.</p> |
|
||||
</p> |
|
||||
</div> |
|
||||
<div class="oe_span6"> |
|
||||
<div class="oe_demo oe_picture oe_screenshot"> |
|
||||
<img src="apps_view.png"> |
|
||||
</div> |
|
||||
</div> |
|
||||
</div> |
|
||||
</section> |
|
||||
|
|
||||
<section class="oe_container oe_dark"> |
|
||||
<h2 class="oe_slogan" style="margin-top:20px;" >Need Any Help?</h2> |
|
||||
<div class="oe_slogan" style="margin-top:10px !important;"> |
|
||||
<a class="btn btn-primary btn-lg mt8" |
|
||||
style="color: #FFFFFF !important;" href="http://www.cybrosys.com"><i |
|
||||
class="fa fa-envelope"></i> Email </a> <a |
|
||||
class="btn btn-primary btn-lg mt8" style="color: #FFFFFF !important;" |
|
||||
href="http://www.cybrosys.com/contact/"><i |
|
||||
class="fa fa-phone"></i> Contact Us </a> <a |
|
||||
class="btn btn-primary btn-lg mt8" style="color: #FFFFFF !important;" |
|
||||
href="http://www.cybrosys.com/odoo-customization-and-installation/"><i |
|
||||
class="fa fa-check-square"></i> Request Customization </a> |
|
||||
</div> |
|
||||
<img src="cybro_logo.png" style="width: 190px; margin-bottom: 20px;" class="center-block"> |
|
||||
</section> |
|
||||
|
|
||||
|
|
||||
|
|
||||
|
|
||||
|
|
||||
|
|
@ -0,0 +1,20 @@ |
|||||
|
odoo.define('pos_restaurant_floor_facility.floor_facility_rate_addition', function (require) { |
||||
|
'use strict'; |
||||
|
alert("aaaaaaaa"); |
||||
|
var models = require('point_of_sale.models'); |
||||
|
var screens = require('point_of_sale.screens'); |
||||
|
var restaurant = require('pos_restaurant.floors'); |
||||
|
|
||||
|
models.load_fields("restaurant.floor",['facility_service_percentage']); |
||||
|
|
||||
|
screens.ProductScreenWidget.include({ |
||||
|
click_product: function(product) { |
||||
|
if(product.to_weight && this.pos.config.iface_electronic_scale){ |
||||
|
this.gui.show_screen('scale',{product: product}); |
||||
|
}else{ |
||||
|
this.pos.get_order().add_product(product,{ price: product.price + |
||||
|
(product.price * this.pos.table.floor.facility_service_percentage)/100}); |
||||
|
} |
||||
|
} |
||||
|
}); |
||||
|
}); |
Loading…
Reference in new issue