Skip to content
Snippets Groups Projects
Commit db6e3bb4 authored by Martin Trigaux's avatar Martin Trigaux
Browse files

[MERGE] [FIX] OPW 590066 account: remove accounting information lines from Journal items

bzr revid: mat@openerp.com-20130624124418-r6fkvaokbfn3dvbg
parents 58badffa c2de1c53
Branches
Tags
No related merge requests found
......@@ -84,7 +84,7 @@ openerp.account.quickadd = function (instance) {
},
search_by_journal_period: function() {
var self = this;
var domain = [];
var domain = ['|',['debit', '!=', 0], ['credit', '!=', 0]];
if (self.current_journal !== null) domain.push(["journal_id", "=", self.current_journal]);
if (self.current_period !== null) domain.push(["period_id", "=", self.current_period]);
self.last_context["journal_id"] = self.current_journal === null ? false : self.current_journal;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment