[IMP] All accounts are for all reports
parent
8fb2a5591d
commit
c53093a170
|
@ -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
|
all_account_period = {} # todas las cuentas por periodo
|
||||||
if form['columns'] == 'thirteen':
|
if form['columns'] == 'thirteen':
|
||||||
for p_act in range(0, 13):
|
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_i = _ctx_init(self.context.copy())
|
||||||
ctx_to_use = _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(
|
account_black = account_obj.browse(
|
||||||
self.cr, self.uid, account_black_ids, ctx_to_use)
|
self.cr, self.uid, account_black_ids, ctx_to_use)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue