assert.strictEqual(widget.$('.accounting_view tbody .cell_right').text(),"$1100.00","should display the value 1100.00 in right column");
assert.strictEqual(widget.$('.accounting_view tfoot .cell_right').text(),"$75.00","should display 'Open Balance' line because the rest to reconcile is 75.00");
assert.strictEqual(widget.$('.accounting_view tbody .cell_right').text(),"$1100.00","should display the value 1100.00 in right column");
assert.strictEqual(widget.$('.accounting_view tfoot .cell_right').text(),"$75.00","should display 'Open Balance' line because the rest to reconcile is 75.00");
assert.strictEqual(widget.$('.accounting_view tbody tr').length,1,"should have ever only the created reconcile line");
assert.strictEqual(widget.$('.accounting_view tbody tr').text().replace(/[\n\r\s$,]+/g,' ')," 101200 SAJ/2014/002 and SAJ/2014/003 1100.00 ",
"the new line should be update the amout");
@@ -1001,9 +1001,9 @@ QUnit.module('account', {
$('.ui-autocomplete .ui-menu-item a:contains(101000 Current Assets)').trigger('mouseenter').trigger('click');
assert.strictEqual(widget.$('.accounting_view tfoot .cell_right').text(),"$175.00","should display 'Open Balance' line because the rest to reconcile is 175.00");
assert.strictEqual(widget.$('.accounting_view tfoot .cell_right').text(),"$175.00","should display 'Open Balance' line because the rest to reconcile is 175.00");
assert.strictEqual(widget.$('.accounting_view tbody tr').length,2,"should have 2 created reconcile lines");
@@ -792,7 +792,7 @@ var MockServer = Class.extend({
varresult=this._mockSearchReadController({
model:model,
domain:kwargs.domain||args[0],
fields:kwargs.fields||args[1],
fields:kwargs.fields||args[1],
offset:kwargs.offset||args[2],
limit:kwargs.limit||args[3],
order:kwargs.order||args[4],
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.