542
542
# Get interesting journals once
543
543
journal_ids = journal_obj.search(cursor, uid, [
544
('type', 'in', ('sale','purchase')),
544
('type', 'in', ('sale','purchase',
545
546
('company_id', '=', company.id),
547
548
# Get all unreconciled moves predating the last statement in one big