|
@ -35,6 +35,7 @@ from report import report_sxw |
|
|
from tools import config |
|
|
from tools import config |
|
|
from tools.translate import _ |
|
|
from tools.translate import _ |
|
|
from osv import osv |
|
|
from osv import osv |
|
|
|
|
|
import pdb |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class account_balance(report_sxw.rml_parse): |
|
|
class account_balance(report_sxw.rml_parse): |
|
@ -437,7 +438,10 @@ class account_balance(report_sxw.rml_parse): |
|
|
# |
|
|
# |
|
|
# |
|
|
# |
|
|
############################################################### |
|
|
############################################################### |
|
|
form['periods'] = [0] |
|
|
|
|
|
|
|
|
pdb.set_trace() |
|
|
|
|
|
print period_ids |
|
|
|
|
|
for p_id in period_ids: |
|
|
|
|
|
form['periods'] = [p_id] |
|
|
ctx_init = _ctx_init(self.context.copy()) |
|
|
ctx_init = _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_ids = account_obj.search(self.cr, self.uid, ([('id', 'in', [i[0] for i in account_ids]),('type','not in',('view','consolidation'))])) |
|
|