[fix] corrected some inconsistencies
bzr revid: nicolas.vanhoren@openerp.com-20111003150557-3ltyat0ldh0g3n7i
This commit is contained in:
@@ -63,19 +63,19 @@
|
||||
}
|
||||
|
||||
Pos.prototype.ready = $.Deferred();
|
||||
Pos.prototype.session = new db.base.Session('DEBUG');
|
||||
Pos.prototype.session = new db.web.Session('DEBUG');
|
||||
Pos.prototype.store = new Store;
|
||||
Pos.prototype.fetch = function(osvModel, fields, domain, callback, errorCallback) {
|
||||
var dataSetSearch;
|
||||
callback = callback || __bind( function(result) {
|
||||
return this.store.set(osvModel, result);
|
||||
}, this);
|
||||
dataSetSearch = new db.base.DataSetSearch(this, osvModel, null, domain);
|
||||
dataSetSearch = new db.web.DataSetSearch(this, osvModel, null, domain);
|
||||
return dataSetSearch.read_slice(fields, 0, null, callback);
|
||||
};
|
||||
Pos.prototype.push = function(osvModel, record, callback, errorCallback) {
|
||||
var dataSet;
|
||||
dataSet = new db.base.DataSet(this, osvModel, null);
|
||||
dataSet = new db.web.DataSet(this, osvModel, null);
|
||||
return dataSet.create(record, callback, errorCallback);
|
||||
};
|
||||
Pos.prototype.categories = {};
|
||||
|
||||
@@ -24,14 +24,14 @@
|
||||
<body>
|
||||
|
||||
<div id="topheader">
|
||||
<div id="branding"><img src="/point_of_sale2/static/img/logo.png" /></div>
|
||||
<div id="branding"><img src="/point_of_sale/static/src/img/logo.png" /></div>
|
||||
<div id="steps">
|
||||
<input type="radio" id="products-step-button" class="step-button" data-step='products' name="radio" checked="checked" />
|
||||
<label for="products-step-button">Products</label>
|
||||
<img src="/point_of_sale2/static/img/steps-arrow.png">
|
||||
<img src="/point_of_sale/static/src/img/steps-arrow.png">
|
||||
<input type="radio" id="payment-step-button" class="step-button" data-step='payment' name="radio" />
|
||||
<label for="payment-step-button">Payment</label>
|
||||
<img src="/point_of_sale2/static/img/steps-arrow.png">
|
||||
<img src="/point_of_sale/static/src/img/steps-arrow.png">
|
||||
<input type="radio" id="receipt-step-button" class="step-button" data-step='receipt' name="radio" />
|
||||
<label for="receipt-step-button">Receipt</label>
|
||||
</div>
|
||||
@@ -91,7 +91,7 @@
|
||||
<button class="input-button number-char">0</button>
|
||||
<button class="input-button number-char">.</button>
|
||||
<button class="input-button" id="numpad-backspace">
|
||||
<img src="/point_of_sale2/static/img/backspace.png" width="24" height="21">
|
||||
<img src="/point_of_sale/static/src/img/backspace.png" width="24" height="21">
|
||||
</button><br>
|
||||
</div>
|
||||
</footer>
|
||||
@@ -134,18 +134,18 @@
|
||||
<header>
|
||||
<ol class="breadcrumb">
|
||||
<li>
|
||||
<a href="#"><img src="/point_of_sale2/static/img/home.png" class="homeimg"></a>
|
||||
<a href="#"><img src="/point_of_sale/static/src/img/home.png" class="homeimg"></a>
|
||||
</li>
|
||||
<% _.each(breadcrumb, function(category) { %>
|
||||
<li>
|
||||
<img src="/point_of_sale2/static/img/bc-arrow.png" class="bc-arrow">
|
||||
<img src="/point_of_sale/static/src/img/bc-arrow.png" class="bc-arrow">
|
||||
<a href="#category/<%= category.id %>"><%= category.name %></a>
|
||||
</li>
|
||||
<% }); %>
|
||||
</ol>
|
||||
<div class="searchbox">
|
||||
<input placeholder="Search Products">
|
||||
<img class="search-clear" src="/point_of_sale2/static/img/search_reset.gif">
|
||||
<img class="search-clear" src="/point_of_sale/static/src/img/search_reset.gif">
|
||||
</div>
|
||||
</header>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user