Browse Source

[IMP] All accounts are for all reports

pull/7/merge
Humberto Arocha 12 years ago
parent
commit
c53093a170
  1. 6
      account_financial_report/report/parser.py

6
account_financial_report/report/parser.py

@ -439,6 +439,10 @@ class account_balance(report_sxw.rml_parse):
#
###############################################################
account_black_ids = account_obj.search(self.cr, self.uid, (
[('id', 'in', [i[0] for i in account_ids]),
('type', 'not in',
('view', 'consolidation'))]))
all_account_period = {} # todas las cuentas por periodo
if form['columns'] == 'thirteen':
for p_act in range(0, 13):
@ -454,8 +458,6 @@ class account_balance(report_sxw.rml_parse):
ctx_i = _ctx_init(self.context.copy())
ctx_to_use = _ctx_init(self.context.copy())
account_black_ids = account_obj.search(self.cr, self.uid, ([('id', 'in', [i[
0] for i in account_ids]), ('type', 'not in', ('view', 'consolidation'))]))
account_black = account_obj.browse(
self.cr, self.uid, account_black_ids, ctx_to_use)

Loading…
Cancel
Save